simple_deploy 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/simple_deploy/aws/instance_reader.rb +1 -1
- data/lib/simple_deploy/version.rb +1 -1
- data/spec/aws/instance_reader_spec.rb +3 -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: ebaeaca78fc47bc6bccf96bc14c6e9e45674d2d2
|
|
4
|
+
data.tar.gz: f73df170ccaa5d0f646d87e084e4815e62ef3c3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c4c6995dc63e8ae6126cba0c4c7c391b50f854b1c1b2a291a4e2b27db0a645166c841a19a46fbb9ad057496979ec03bfe3cf897e29c3524c8996df3ac56ffb1
|
|
7
|
+
data.tar.gz: 2385d7000d4fba22b0ede10ff47a1ddf7230970565ab5fe8780baaf4b22da15e38886563cbf8506e2d3d2aada49bdf844dc321096fddd2a0549cdbe3cb4e1586
|
data/CHANGELOG.md
CHANGED
|
@@ -67,7 +67,7 @@ module SimpleDeploy
|
|
|
67
67
|
def nested_stacks_names(stack_name)
|
|
68
68
|
cf_stack_resources = cloud_formation.stack_resources stack_name
|
|
69
69
|
asgs = cf_stack_resources.select do |r|
|
|
70
|
-
r['ResourceType'] == 'AWS::CloudFormation::Stack'
|
|
70
|
+
r['ResourceType'] == 'AWS::CloudFormation::Stack' && cloud_formation.stack_status(r['PhysicalResourceId']) != 'DELETE_COMPLETE'
|
|
71
71
|
end
|
|
72
72
|
asgs.any? ? asgs.map {|asg| asg['PhysicalResourceId'] } : []
|
|
73
73
|
end
|
|
@@ -107,6 +107,9 @@ describe SimpleDeploy::AWS::InstanceReader do
|
|
|
107
107
|
before do
|
|
108
108
|
stack_resource_results = []
|
|
109
109
|
@nested_stacks = ['nested_stack1', 'nested_stack2'].each do |nested_stack|
|
|
110
|
+
@cloud_formation_mock.should_receive(:stack_status).
|
|
111
|
+
with(nested_stack).
|
|
112
|
+
and_return 'CREATE_COMPLETE'
|
|
110
113
|
stack_resource_results << { 'StackName' => 'stack',
|
|
111
114
|
'ResourceType' => 'AWS::CloudFormation::Stack',
|
|
112
115
|
'PhysicalResourceId' => nested_stack }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brett Weaver
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-04-
|
|
11
|
+
date: 2014-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fakefs
|