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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e2ca6467a28efb995a05bc5270d2994f31ba5b545f20b616da47d90b5f6bd89
4
- data.tar.gz: eef091ebf325a9812e0e2ad2221adb099de8b2d32267abb9231e188da9d760e7
3
+ metadata.gz: 69c48eb6ff49dfee399339f17340c782a0542ad794d3add0c3067ce1eb089652
4
+ data.tar.gz: 52d6b381270df63541a08347f4f4852220d30e234c6669a356bf64711ec1886d
5
5
  SHA512:
6
- metadata.gz: 4db35e5e70e9e25794977542643e7d8323eb9be349ef5bb6af9377c7741ebf89e277ff227f8e3a11f498ae8c374ed84cd1da15e02ec610c94445a4c514863dbd
7
- data.tar.gz: b211f98a1a6c64596319994445af35f68514b26cf1f60f63d39b4bfa4e1e81daa9bd5c511a1be076146d65f8276d12d47e601cf01bd5a53a2185ef90d13dfe0e
6
+ metadata.gz: 4c5f254d1591e753455c82f7b863a81e6dd7ab214e955a3ef973dfbf12fd939366bc99d85f3dfa93370e66d5bf68da332a39a0d111c3e605de8f4e92b8738a59
7
+ data.tar.gz: 9a0906e15d67b53b853b4b8acb2b4283826a8ee895542eb15e15ab7faccdd9f3bbf8e7243c5ff34ec3d41821e8e89f03cd105b1563ad388584f2c050ddea54e5
data/bin/rebi CHANGED
@@ -125,6 +125,7 @@ command :init do |c|
125
125
  raise Rebi::Error.new("Stage cannot be nil") if stage.blank?
126
126
  raise Rebi::Error.new("Env cannot be blank") if env.blank?
127
127
 
128
+ Rebi.config.reload!
128
129
  Rebi.init stage, env
129
130
  end
130
131
  end
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Rebi
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
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.1
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-01-09 00:00:00.000000000 Z
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
- rubyforge_project:
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