lib/heirloom/acl/s3.rb in heirloom-0.11.0 vs lib/heirloom/acl/s3.rb in heirloom-0.11.1

- old
+ new

@@ -17,10 +17,10 @@ key_folder = args[:key_folder] accounts = args[:accounts] key = "#{key_folder}/#{key_name}" - current_acls = s3.get_bucket_acl bucket + current_acls = s3.get_object_acl :bucket => bucket, :object_name => key name = current_acls['Owner']['Name'] id = current_acls['Owner']['ID'] grants = build_bucket_grants :id => id, :name => name,