lib/travis/cli/setup/s3.rb in travis-1.6.15.travis.562.6 vs lib/travis/cli/setup/s3.rb in travis-1.6.15.travis.563.6
- old
+ new
@@ -13,9 +13,10 @@
config['bucket'] = ask("Bucket: ").to_s
local_dir = ask("Local project directory to upload (Optional): ").to_s
config['local-dir'] = local_dir unless local_dir.empty?
upload_dir = ask("S3 upload directory (Optional): ").to_s
config['upload-dir'] = upload_dir unless upload_dir.empty?
+ config['acl'] = ask("S3 ACL Settings (private, public_read, public_read_write, authenticated_read, bucket_owner_read, bucket_owner_full_control): ") { |q| q.default = 'private'}
encrypt(config, 'secret_access_key') if agree("Encrypt secret access key? ") { |q| q.default = 'yes' }
end
end
end
end