motdotla / digitalocean

The easiest and most complete rubygem for DigitalOcean.
http://rubygems.org/gems/digitalocean
MIT License
153 stars 42 forks source link

Fix issue where post_query and pre_query are overwritten #15

Closed mpchlets closed 10 years ago

mpchlets commented 10 years ago

This was causing a problem when you called the method twice in a row, you will receive the previous values - even if there should be an error.

mpchlets commented 10 years ago

This is the same as https://github.com/scottmotte/digitalocean/issues/14

motdotla commented 10 years ago

Wow, ok, adding a spec to confirm. But this looks like a good catch.