philnash / bitly

🗜 A Ruby wrapper for the bit.ly API
https://rubygems.org/gems/bitly
MIT License
451 stars 139 forks source link

Fix for issue #12 #13

Closed azanar closed 12 years ago

azanar commented 12 years ago

This patch will cause the Client lookup methods to create a dup of the array if they were called with an array argument, to avoid having mutations carried up into the caller context.