s3_deployer 0.7.1 → 0.7.2

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
- SHA1:
3
- metadata.gz: faec80ce2ca49b98310908d1298c5f21f6ee0c22
4
- data.tar.gz: 61ff8c10ce42136438a465798a817886b63db29b
2
+ SHA256:
3
+ metadata.gz: 1a7e60574cd879dd669db0104515c1c17df05c33df6c64cbd34ace66cbf0bae6
4
+ data.tar.gz: bba8ba9b5917b0b3e5765987527b248936d649eeab8ef2b101c93a21ad1f13cf
5
5
  SHA512:
6
- metadata.gz: b34bf05c7a6f66fe139c7d93c85510e66aaf455354e0aa703387dfc19fbc06a45fb493220e639054f53f5f924c9b2f7e3b0abc3cffc9063ffb17613495625112
7
- data.tar.gz: d47f12961a6268ed014987b8c174af62e11b9d3fa048cec4f546e581a7c582025db5d248395338620575f0db0fdea707b76db77eb912667284c915ab3fef77f8
6
+ metadata.gz: e26ce12c735d4ab150c61771979e46a3d9f690486f1e33cbd557b177ed3de9b63d66ddf1017723f29f6e0061557b25b28b32c7025ed5287b327a6a79a75d5af1
7
+ data.tar.gz: be6c0516aec80b42bf5527a5961b3b93269ed3843dec898a1743db636793f85d22e4e2c873bc927a100b3700fe500f416377ba135d3a64a03635a48efe656b65
data/README.md CHANGED
@@ -77,6 +77,7 @@ S3Deployer.configure do
77
77
 
78
78
  access_key_id 'your S3 access key id'
79
79
  secret_access_key 'your S3 secret access key'
80
+ session_token 'your s3 session token (optional)'
80
81
  end
81
82
  ```
82
83
 
data/lib/s3_deployer.rb CHANGED
@@ -28,7 +28,7 @@ class S3Deployer
28
28
 
29
29
  Aws.config.update({
30
30
  region: config.region,
31
- credentials: Aws::Credentials.new(config.access_key_id, config.secret_access_key),
31
+ credentials: Aws::Credentials.new(config.access_key_id, config.secret_access_key, config.session_token),
32
32
  })
33
33
  end
34
34
 
@@ -7,7 +7,8 @@ class S3Deployer
7
7
  @revision = ENV["REVISION"]
8
8
  @access_key_id = ENV["AWS_ACCESS_KEY_ID"]
9
9
  @secret_access_key = ENV["AWS_SECRET_ACCESS_KEY"]
10
-
10
+ @session_token = ENV["AWS_SESSION_TOKEN"]
11
+
11
12
  @env = ENV["ENV"] || "production"
12
13
  @env_settings = {}
13
14
  colorize true
@@ -1,3 +1,3 @@
1
1
  class S3Deployer
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Astashov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-20 00:00:00.000000000 Z
11
+ date: 2019-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project:
148
- rubygems_version: 2.4.5.1
148
+ rubygems_version: 2.7.10
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: Simple gem for deploying client apps to S3