fastlane-plugin-deploy_aws_s3_cloudfront 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0500edd450135787216b697b265b00710648c47
4
- data.tar.gz: '0952020dbc72a12eaa3da0d27563a0bdbe466299'
3
+ metadata.gz: 929bf6275e265d2b534b43a466839e3c25d2ec7c
4
+ data.tar.gz: 707870aebec51d4ae80787b901e334caec96ad63
5
5
  SHA512:
6
- metadata.gz: 6f95baa3f9d161cdef7f69391c3c041b7c702fcf13390c7df0b90e09efa43a6a9ce76301eefd9e890077bcefbc2b6be6df8c6df5616d9d88906bd552bfd990c7
7
- data.tar.gz: fb60b4b167cab1df74390f51e704ec4ccc8efbbdc0fa063783869b54015d6757b4994b505db5dd3b5c18efa32defe37b397c59eb0c79431915158f4169c9c1b7
6
+ metadata.gz: a2af86f57e4296732d7323a72a0ddc9085544bf83be60d8e4afa55425fca4e2ebec992f5c2e282740752dd4125e09a35f59179de035f897d7a7cb8c6bcda6aab
7
+ data.tar.gz: e9d9020693d53d22c187dd7235da1f9c049be254a398387936e47d569394da78575087521178b41af53ec7e3182d87be2ca44c93d6cd7ef6519904f811e15c95
@@ -17,11 +17,11 @@ module Fastlane
17
17
 
18
18
  files = get_files_from_source(source)
19
19
 
20
- paths = files.map { |file|
20
+ paths = files.map {|file|
21
21
  key = file.relative_path_from(Pathname(source)).to_s
22
22
  content_type = get_content_type(file)
23
23
  s3client.put_object({body: file.open("rb"), bucket: bucket, key: key.to_s, content_type: content_type})
24
- return "/" + key
24
+ "/" + key
25
25
  }
26
26
 
27
27
  cloudfront = Aws::CloudFront::Client.new
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module DeployAwsS3Cloudfront
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-deploy_aws_s3_cloudfront
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
  - Hector