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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 838579407d4f4d8373a3447e842a7c65ff05a6dc
4
- data.tar.gz: 320d7466dae268b2e6555bf4f978d857a1f768c0
3
+ metadata.gz: 197984134d5cd711e7621da746ab62517ecfdb45
4
+ data.tar.gz: 588c9979e01069e6817fa3335b2fe76d4b3c32fe
5
5
  SHA512:
6
- metadata.gz: 27ffeba59bcc5a12d8e937893082c28630be89bad814db812ba5f494a326a1053b8e2418d3d18780e0dba794e24b6bfc4ca3d3ea9194c6ee8bf91a91eaef3aa0
7
- data.tar.gz: 5709f47d2461e8d2b3f33f2e041ecf28441c1629befeb9b0c447159c58d7a1c8204ec9438598b3b611e770334732eab2039c38be637ab69520fe53430560b65c
6
+ metadata.gz: ebda32f8f5061fe2aabadf78075cd304da15ff59b34b2f60f56550ac9e5e165a366b0eb5a23aaf20db8fc0d2618b185017775ef1ed215a36f7addc4629d3d6bb
7
+ data.tar.gz: b56a1ed0e90e116882d65fc59abc271cce22186ac3b3bf7c276463d8a99c5c47baacc655dfc940fcaaa9175dedbe3c9d20c0116add40958b71d0e52d1c5182d5
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = "0.0.63"
2
+ VERSION = "0.0.64"
3
3
  end
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.63
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-17 00:00:00.000000000 Z
11
+ date: 2015-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler