awful 0.0.63 → 0.0.64
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awful/cloudformation.rb +3 -0
- data/lib/awful/version.rb +1 -1
- 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: 197984134d5cd711e7621da746ab62517ecfdb45
|
4
|
+
data.tar.gz: 588c9979e01069e6817fa3335b2fe76d4b3c32fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebda32f8f5061fe2aabadf78075cd304da15ff59b34b2f60f56550ac9e5e165a366b0eb5a23aaf20db8fc0d2618b185017775ef1ed215a36f7addc4629d3d6bb
|
7
|
+
data.tar.gz: b56a1ed0e90e116882d65fc59abc271cce22186ac3b3bf7c276463d8a99c5c47baacc655dfc940fcaaa9175dedbe3c9d20c0116add40958b71d0e52d1c5182d5
|
data/lib/awful/cloudformation.rb
CHANGED
@@ -118,6 +118,9 @@ module Awful
|
|
118
118
|
stack.stack_name.match(name)
|
119
119
|
end.first
|
120
120
|
|
121
|
+
## bail if no stack found with this name
|
122
|
+
return [] if stack.nil?
|
123
|
+
|
121
124
|
## get resource from stack
|
122
125
|
cf.list_stack_resources(stack_name: stack.stack_name).stack_resource_summaries.select do |resource|
|
123
126
|
resource.resource_type.match(/#{options[:type]}/i)
|
data/lib/awful/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.64
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ric Lister
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|