rebi 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rebi +1 -0
- data/lib/rebi/config.rb +5 -1
- data/lib/rebi/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69c48eb6ff49dfee399339f17340c782a0542ad794d3add0c3067ce1eb089652
|
4
|
+
data.tar.gz: 52d6b381270df63541a08347f4f4852220d30e234c6669a356bf64711ec1886d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c5f254d1591e753455c82f7b863a81e6dd7ab214e955a3ef973dfbf12fd939366bc99d85f3dfa93370e66d5bf68da332a39a0d111c3e605de8f4e92b8738a59
|
7
|
+
data.tar.gz: 9a0906e15d67b53b853b4b8acb2b4283826a8ee895542eb15e15ab7faccdd9f3bbf8e7243c5ff34ec3d41821e8e89f03cd105b1563ad388584f2c050ddea54e5
|
data/bin/rebi
CHANGED
data/lib/rebi/config.rb
CHANGED
@@ -28,6 +28,10 @@ module Rebi
|
|
28
28
|
data[:aws_secret] || ENV["AWS_SECRET_ACCESS_KEY"]
|
29
29
|
end
|
30
30
|
|
31
|
+
def aws_session_token
|
32
|
+
ENV["AWS_SESSION_TOKEN"]
|
33
|
+
end
|
34
|
+
|
31
35
|
def region
|
32
36
|
data[:region]
|
33
37
|
end
|
@@ -114,7 +118,7 @@ module Rebi
|
|
114
118
|
})
|
115
119
|
elsif aws_secret && aws_key
|
116
120
|
conf.merge!(
|
117
|
-
credentials: Aws::Credentials::new(aws_key, aws_secret)
|
121
|
+
credentials: Aws::Credentials::new(aws_key, aws_secret, aws_session_token)
|
118
122
|
)
|
119
123
|
end
|
120
124
|
|
data/lib/rebi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rebi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KhiemNS
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -225,8 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
- !ruby/object:Gem::Version
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
|
-
|
229
|
-
rubygems_version: 2.7.8
|
228
|
+
rubygems_version: 3.0.3
|
230
229
|
signing_key:
|
231
230
|
specification_version: 4
|
232
231
|
summary: ElasticBeanstalk Deployment Tool
|