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 13 years ago

azanar commented 13 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.