kumo_keisei 4.0.0 → 4.0.1

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: ee8cf3ca725828906b7a8c98b2ddd15957964443
4
- data.tar.gz: b5a1bcbb5b5f0093f86aec78378a2a08c4c86a31
3
+ metadata.gz: a66315fbd003e8f9df5a8da1ac35242cabbd076f
4
+ data.tar.gz: f0a69c4e6c24abe0d13cb51886dbe0c63332a09d
5
5
  SHA512:
6
- metadata.gz: e81b694610cf7626e3ab8ad2bbd39a6e6f273b007200c89057b7ff4405b8812c8e9c44afe81af74bec88a84b9603b036df37ec816d82edebcff8e9047e54b6b9
7
- data.tar.gz: 2a6e0142a23dc0520a193379163db5f8c72963e2dcda1d687105705d30e0353bec25f4f4c5a34cbd3a2a254a9b308faa352fd0afd85b0b829fbc800597e52328
6
+ metadata.gz: 48c9b4ea445da9296f83cc6cace3e181038b96ddd4c2896fcca38668d8a1361ec418e06fb8d232f410b1f1555287492233ea035c1704351ca7c76f5b667a07ea
7
+ data.tar.gz: 7c36b72fcdda1a3dcc0b5bb5d595effb513daef4368428cddd7cfc20bee866b8c4b43d0a3f2c4dae700bd4aecf33aca2b9a94c652d2d58fde3019eb69c72666b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.0.0
1
+ 4.0.1
@@ -28,14 +28,14 @@ module KumoKeisei
28
28
  self.new(app_name, environment_name).exists?
29
29
  end
30
30
 
31
- def initialize(app_name, environment_name, options = { confirmation_timeout: 30, waiter_delay: 20, waiter_attempts: 90, prompt_user: true })
31
+ def initialize(app_name, environment_name, options = { confirmation_timeout: 30, waiter_delay: 20, waiter_attempts: 90 }, prompt_user = true)
32
32
  @env_name = environment_name
33
33
  @app_name = app_name
34
34
  @stack_name = "#{app_name}-#{ environment_name }"
35
35
  @confirmation_timeout = options[:confirmation_timeout]
36
36
  @waiter_delay = options[:waiter_delay]
37
37
  @waiter_attempts = options[:waiter_attempts]
38
- prompt_user if options[:prompt_user]
38
+ prompt_user if prompt_user
39
39
  end
40
40
 
41
41
  def prompt_user
@@ -31,7 +31,7 @@ describe KumoKeisei::Stack do
31
31
  cf_stack_update_params.merge(on_failure: "DELETE")
32
32
  end
33
33
  let(:confirmation_timeout) { 30 }
34
- subject(:instance) { KumoKeisei::Stack.new(app_name, environment_name, confirmation_timeout: 30, waiter_delay: 20, waiter_attempts: 90, prompt_user: false ) }
34
+ subject(:instance) { KumoKeisei::Stack.new(app_name, environment_name, {confirmation_timeout: 30, waiter_delay: 20, waiter_attempts: 90}, false ) }
35
35
  let(:stack_config) {
36
36
  {
37
37
  config_path: 'config-path',
@@ -290,7 +290,7 @@ describe KumoKeisei::Stack do
290
290
  }
291
291
  }
292
292
  it "will raise an error" do
293
- expect { described_class.new(app_name, environment_name, prompt_user: false).config(stack_config)}.to raise_error(KumoKeisei::Stack::UsageError)
293
+ expect { described_class.new(app_name, environment_name, {}, false).config(stack_config)}.to raise_error(KumoKeisei::Stack::UsageError)
294
294
  end
295
295
  end
296
296
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumo_keisei
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Redbubble
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-10 00:00:00.000000000 Z
11
+ date: 2016-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk