kumo_keisei 2.1.1.pre → 2.1.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: b982791b556698d4c9e779c8f60aa5d2cdf1751c
4
- data.tar.gz: 6f8be5d13cf247d70367eaf408515ac0f4d3b0bb
3
+ metadata.gz: 46f5547a94ab0b5ebf78c917c6c3e52601feb2a9
4
+ data.tar.gz: 77ef2bd8d4d7036b2e5280c482b61ee698da110a
5
5
  SHA512:
6
- metadata.gz: c7aa5506399e3b8316662ae92dbca13eb2f9f3024418c70fcff66909a43ab59db12817835f101c09f143e7457548a65cef01e897d3b8b50ed068f632e0824f0f
7
- data.tar.gz: 28b6d3717c7c023697fbbcf6b0380a5174918421c11965d7a0c1534af8d79b6238218e026001e8aa3c924a12c8f82b34294d60bb4a0be0f4eddafc1a011ec7e7
6
+ metadata.gz: 9fa288cd5db63d3ffe142b1c7a05309db66ffaa880e8c02448fe499c95d38561b1ae25be6afa4f7252f8334d5b92ac30b8f8e53fd84c5b4095dc2a8b8b21010a
7
+ data.tar.gz: b27322e1387e73618aa90ba396e7bfac1234f4d9dea5a5edb33089855faec9ee88ffc833b51a51f526638ea0356052df01101dc1a7d311e0b38db6fc27fc3716
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.1.pre
1
+ 2.1.1
@@ -61,17 +61,6 @@ describe KumoKeisei::CloudFormationStack do
61
61
  end
62
62
 
63
63
  describe "#initialize" do
64
- it "accepts short stack names" do
65
- instance
66
- end
67
-
68
- context "a stack name that is too long" do
69
- let(:stack_name) { "long-stack-name-that-will-make-aws-barf" }
70
-
71
- it "blows up since the ELB names have to be 32 or shorter" do
72
- expect { instance }.to raise_error(KumoKeisei::StackValidationError, "The stack name needs to be 32 characters or shorter")
73
- end
74
- end
75
64
  end
76
65
 
77
66
  describe "#apply!" do
@@ -200,6 +189,25 @@ describe KumoKeisei::CloudFormationStack do
200
189
  expect { subject.apply! }.to raise_error("Stack is busy, try again soon")
201
190
  end
202
191
  end
192
+
193
+ it "accepts short stack names" do
194
+ allow(cloudformation).to receive(:wait_until).with(:stack_update_complete, stack_name: stack_name)
195
+ allow(cloudformation).to receive(:update_stack)
196
+
197
+ subject.apply!
198
+ end
199
+
200
+ context "a stack name that is too long" do
201
+ let(:stack_name) { "long-stack-name-that-will-make-aws-barf" }
202
+
203
+ it "blows up since the ELB names have to be 32 or shorter" do
204
+ allow(cloudformation).to receive(:wait_until).with(:stack_update_complete, stack_name: stack_name)
205
+ allow(cloudformation).to receive(:update_stack)
206
+ allow(subject).to receive(:updatable?).and_return(false)
207
+
208
+ expect { subject.apply! }.to raise_error(KumoKeisei::StackValidationError, "The stack name needs to be 32 characters or shorter")
209
+ end
210
+ end
203
211
  end
204
212
 
205
213
  describe "#outputs" do
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: 2.1.1.pre
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Redbubble
@@ -127,9 +127,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ">"
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
- version: 1.3.1
132
+ version: '0'
133
133
  requirements: []
134
134
  rubyforge_project:
135
135
  rubygems_version: 2.2.2