heroku/heroku.rb — pull request #9 by kmayer (2012-04-06 06:47:17+00:00)
Title: Deep clone STACKS constant

I found a bug where setting the stack on an app was persisting across tests.

i.e. in a test, create an app with a non-default stack.
in the next test create an app with out specifying a stack, when you look at STACKS, it has been modified.

STACKS.dup does a shallow copy, I replaced it with a deep one.