kumo_keisei 3.0.3.pre.alpha3 → 3.0.3.pre.alpha4

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: 1b0b8f9561af6fcd79747c9f3984edbad7eb4a20
4
- data.tar.gz: b3477c0ceddfe92f0f7b7ef384c8104ceefd7a59
3
+ metadata.gz: dc70e43f439a964e7a404ebac636262f653cb450
4
+ data.tar.gz: 8384a7510833990f8db26cfe6bb6f85c62c0ee83
5
5
  SHA512:
6
- metadata.gz: 5d1b9aa91e9b948d7b33e3a25652f30ba36f000e9b519a92a58858e1fc40bf1bd90f67a5e73ee2f43bbdeedb7515c071c699f5f8533df59144e834871843a736
7
- data.tar.gz: 9105fcfbf29eeaa92108e8dcd80595e6c515d44b8d647a3647195077efd071f0d9e42ce4c968580ac6c452167f7537f1ce3edcadd7ffc94c7de46c08b2548502
6
+ metadata.gz: 5a0d01b50ada8b8058e638fc2abc6a42d727393e4e3081cb1cfede5ae32fb4411df3e87d6278826f9955bb17a836c9c1ca883fef3e3db33cfea1d74b72c5bc7f
7
+ data.tar.gz: 0d512db6f093c58074c220a7519dab0efd0bbbc7f869c0e7d16221212fc81c9a2ddb7c299d0b29c5a3eb1121bae17b0867c378a204983ec5d41107403ffe87ec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.3-alpha3
1
+ 3.0.3-alpha4
@@ -27,9 +27,10 @@ module KumoKeisei
27
27
  self.new(app_name, environment_name).exists?
28
28
  end
29
29
 
30
- def initialize(app_name, environment_name, type = 'nodes', options = { confirmation_timeout: 30, waiter_delay: 20, waiter_attempts: 90})
31
- @app_name = app_name
30
+ def initialize(app_name, environment_name, options = { confirmation_timeout: 30, waiter_delay: 20, waiter_attempts: 90 })
31
+ type = options.fetch(:type, 'nodes')
32
32
  @env_name = environment_name
33
+ @app_name = app_name
33
34
  @stack_name = "#{app_name}-#{type}-#{ environment_name }"
34
35
  @confirmation_timeout = options[:confirmation_timeout]
35
36
  @waiter_delay = options[:waiter_delay]
@@ -260,7 +260,7 @@ describe KumoKeisei::Stack do
260
260
  end
261
261
 
262
262
  it "embeds the type into the name of the stack if set" do
263
- subject = KumoKeisei::Stack.new(app_name, environment_name, type = "vpc")
263
+ subject = KumoKeisei::Stack.new(app_name, environment_name, { type: "vpc" } )
264
264
  expect(subject.stack_name).to eq("#{app_name}-vpc-#{environment_name}")
265
265
  end
266
266
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumo_keisei
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3.pre.alpha3
4
+ version: 3.0.3.pre.alpha4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Redbubble