fog/fog-core — pull request #25 by wchrisjohnson (2014-03-18 22:17:31+00:00)
Title: Clone init attributes to prevent side effects

In the new openstack provider, we are seeing side effects in specs/tests when we new up more than one model object (User, Tenant, Role) with a given spec/test. We tracked it back to the way that the fog model.rb is handling the ``new_attributes``` options hash. It's mutating the hash as it comes in while newing up the first object, which affects the second and third objects being created. We worked around it by not using the options hash more than once, but this still should be addressed.

Hopefully this PR will fix this.