lib/rudy/cli/aws/s3/buckets.rb in rudy-0.7.3 vs lib/rudy/cli/aws/s3/buckets.rb in rudy-0.7.4

- old
+ new

@@ -24,12 +24,11 @@ def create_buckets_valid? raise "No bucket name supplied" unless @argv.name true end def create_buckets - execute_check(:low) s3 = Rudy::AWS::S3.new(@@global.accesskey, @@global.secretkey, @@global.region) - s3.create_bucket(@argv.name) + s3.create_bucket(@argv.name, @option.location) buckets end def destroy_buckets_valid? raise "No bucket name supplied" unless @argv.name \ No newline at end of file