heroku/heroku — pull request #816 by deafbybeheading (2013-06-04 16:43:30+00:00)
Title: Better HEROKU_POSTGRESQL_HOST env var handling for staging

Because Shogun staging environments are now set up on herokuapp.com
and RestClient doesn't follow 301s, that means some commands (like
`heroku pg:reset` and `heroku pg:credentials --reset`) don't work in
staging. This change always points to herokuapp.com for staging.