appoxy / aws

Amazon Web Services (AWS) Ruby Gem
https://rubygems.org/gems/aws
236 stars 87 forks source link

list_bucket changes value of arguments #107

Closed alexfarrill closed 11 years ago

alexfarrill commented 12 years ago

Seeing this behavior:

x = 'myown-videos'

Aws::S3Interface.new( KEY, SECRET ).list_bucket x, :prefix => 'go'

x => "myown-videos?prefix=go"

alexfarrill commented 12 years ago

Think you want += or use .dup before instead of doing << into the 'bucket' parameter

Meekohi commented 12 years ago

I confirm this issue as well.

Meekohi commented 11 years ago

Wow, 11 months later and this one got me again.

Meekohi commented 11 years ago

Maybe now future-Meekohi won't get screwed by this too.

treeder commented 11 years ago

Thanks for pull. Need a release?

Meekohi commented 11 years ago

Thanks! We're all set, so if you want to put off the next release to batch up some changes that's fine.