aws-s3-deploy 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deploy.rb +2 -2
- data/lib/deploy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a43791c7c87db82be54e04d90274f4fb508a6099
|
4
|
+
data.tar.gz: 6341dbd822a6360ec2f76d5a82cf50d5753db2a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 070c13a18a5847e2cf8e227704260ca36209c905dbfcde6e006a2683a74af31d7697219f86227eaaa711a31c5a0315fbb0b7aa4eaac0b176ac4efa7ba0564e67
|
7
|
+
data.tar.gz: 5b7eb627a1b2e016fad40c94420982d92669cc529a1621a6d076b8b8942290128b6f336e4adf46bffb9e2659cf5639c5c7a643c2186fa215ecc50dab1e6e9ffe
|
data/lib/deploy.rb
CHANGED
@@ -62,11 +62,11 @@ module Deploy
|
|
62
62
|
if File.exist?("#{file}.gz")
|
63
63
|
puts "+ #{file} (compressed)"
|
64
64
|
s3.put_object(bucket: @config['aws_bucket'], key: remote_file, body: File.read("#{file}.gz"),
|
65
|
-
content_type: content_type, content_encoding: 'gzip')
|
65
|
+
content_type: content_type, content_encoding: 'gzip', acl: 'public-read')
|
66
66
|
else
|
67
67
|
puts "+ #{file}"
|
68
68
|
s3.put_object(bucket: @config['aws_bucket'], key: remote_file, body: File.read(file),
|
69
|
-
content_type: content_type)
|
69
|
+
content_type: content_type, acl: 'public-read')
|
70
70
|
end
|
71
71
|
|
72
72
|
end
|
data/lib/deploy/version.rb
CHANGED