rebi 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: 60cb77c8b19d62be65ae7300fa4096365bc6e073
4
- data.tar.gz: aebf1f9224a7fc93716df58ce1b0318da92154de
3
+ metadata.gz: c736ca210cc37506e55b13fd727a6fcc7391775b
4
+ data.tar.gz: 8623d7389dc2769960a0e91b702b4d6644bd41fc
5
5
  SHA512:
6
- metadata.gz: edffd486287a4f1f4d8475b9de89a9edab64a8b7eb53e0fb4d895eef147a67f2856e22143b1e3cb7cb296954b43b42422caf54fed5a9b2bbcb928cb481bf125c
7
- data.tar.gz: 6cb6b54a0d751f277dc2dbaf179c162262354487a1675708e9bfed7729d47cb917d91a07bed4a71aa73636cb460789bf3745c9b92b76af329e92deea01788178
6
+ metadata.gz: 6662a5e7d63f93fc350fb34a8e0d62eb6189888bc0ab3d452ea74d970750b8e52e1da24231253e005d54bde024a562e47e44803736f6a1aa63feb57733db195d
7
+ data.tar.gz: 56f36f5c92d9f87b5f9d81da88129e94d8e7326807c2fa18b0f2f277c8275023becf468abd416f84337b7829d25ca4838cb718e8fdf28fb45fc91b5c479846d3
@@ -176,18 +176,17 @@ module Rebi
176
176
  self.check_instance_profile
177
177
 
178
178
  self.api_data = client.create_environment({
179
- application_name: config.app_name,
180
- cname_prefix: config.cname_prefix,
181
- environment_name: config.name,
182
- version_label: version_label,
183
- tier: config.tier,
184
- description: config.description,
185
- option_settings: config.opts_array,
186
- }.merge(if(config.platform_arn)
187
- { platform_arn: config.platform_arn}
188
- else
189
- { solution_stack_name: config.solution_stack_name}
190
- end))
179
+ application_name: config.app_name,
180
+ environment_name: config.name,
181
+ version_label: version_label,
182
+ tier: config.tier,
183
+ description: config.description,
184
+ option_settings: config.opts_array,
185
+ }.merge(
186
+ config.worker? ? {} : { cname_prefix: config.cname_prefix }
187
+ ).merge(config.platform_arn ? { platform_arn: config.platform_arn } : { solution_stack_name: config.solution_stack_name })
188
+ )
189
+
191
190
  request_id = events(start_time).select do |e|
192
191
  e.message.match(response_msgs('event.createstarting'))
193
192
  end.map(&:request_id).first
@@ -1,3 +1,3 @@
1
1
  module Rebi
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - KhiemNS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-21 00:00:00.000000000 Z
11
+ date: 2017-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip