samsymons / RedditKit.rb

[Deprecated] A Ruby wrapper for the reddit API
https://redditkit.com/
MIT License
152 stars 26 forks source link

Imutopts #31

Closed na-g closed 9 years ago

na-g commented 9 years ago

Clones (shallow copies) the options hash before it is modified anywhere in the lib. I went for clarity over cleverness.

The tests are not failing any worse than they were before.

This commit fixes #30

samsymons commented 9 years ago

Very nice, thanks for the fix! Sorry it took so long to get to it! My plan is to get the tests passing again tomorrow, and have a new version out by early next week, to catch up on some reddit API changes.