stack_master 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_master/change_set.rb +1 -1
- data/lib/stack_master/version.rb +1 -1
- data/spec/stack_master/change_set_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8d7c06c818e3f34290f0cf825ff2edbf0345e7c
|
4
|
+
data.tar.gz: 570f49fdf0bb8c83729e3eb3e381a9a5ef1de805
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11cc834e25489e928352ee4aa92937b1e63ba12889644decce84b57f57c08dd6c22f777c2f69a4eeda78271bb0c7a655b12354e8d16ed0d2b696664dae36a440
|
7
|
+
data.tar.gz: ead584da13331f9714bac80c224aa2f9f59222cb87950a8181b227e334ce41adfbf04a865e568316bbeb06dc30e32df4ba90c37a61f1f6236bff60cac5bc75f9
|
data/lib/stack_master/version.rb
CHANGED
@@ -4,6 +4,14 @@ RSpec.describe StackMaster::ChangeSet do
|
|
4
4
|
let(:stack_name) { 'myapp-vpc' }
|
5
5
|
let(:change_set_name) { 'changeset-123' }
|
6
6
|
|
7
|
+
describe '.generate_change_set_name' do
|
8
|
+
context 'valid name' do
|
9
|
+
it 'creates a valid name' do
|
10
|
+
expect(StackMaster::ChangeSet.generate_change_set_name).to match(/^[a-zA-Z][-a-zA-Z0-9]*$/)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
7
15
|
describe '.create' do
|
8
16
|
before do
|
9
17
|
allow(StackMaster::ChangeSet).to receive(:generate_change_set_name).and_return(change_set_name)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stack_master
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Hodgkiss
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|