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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e701544803cd678b3775cc1dce82f89e109ac79
4
- data.tar.gz: d25a717f1b04d1e7d76bc1a34d8dd0a6054b18c6
3
+ metadata.gz: a43791c7c87db82be54e04d90274f4fb508a6099
4
+ data.tar.gz: 6341dbd822a6360ec2f76d5a82cf50d5753db2a1
5
5
  SHA512:
6
- metadata.gz: 8e7aa5f11215e1241806ade0766920bd372c84d6d51fa6174cde4e487115c0568333000c44352159eaede50b5250025fd4db2fd5489220e66e3ae6ff22b635ae
7
- data.tar.gz: 19c4bc85b23844ddecfe7c3a1591092ee94c2c7785668f117d148b4e00b6a43c731a31193f154c98717ee9a0e48432097741334487006fc830cd28cf5be744c7
6
+ metadata.gz: 070c13a18a5847e2cf8e227704260ca36209c905dbfcde6e006a2683a74af31d7697219f86227eaaa711a31c5a0315fbb0b7aa4eaac0b176ac4efa7ba0564e67
7
+ data.tar.gz: 5b7eb627a1b2e016fad40c94420982d92669cc529a1621a6d076b8b8942290128b6f336e4adf46bffb9e2659cf5639c5c7a643c2186fa215ecc50dab1e6e9ffe
@@ -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
@@ -1,7 +1,7 @@
1
1
  module Aws
2
2
  module S3
3
3
  module Deploy
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-s3-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bill Centinaro