mccloud 0.0.27 → 0.0.28

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: 37846d3bd3cb493e2e48baaa9b24dec753e3a5bb
4
- data.tar.gz: b6178d5b78800b75e83a4609b27fc12f8619d61f
3
+ metadata.gz: 4ae0d84467bd58d659e995a324b01ddf98c77352
4
+ data.tar.gz: c4e28e4107c7cdb3e13d632c5802f54713e1d9d5
5
5
  SHA512:
6
- metadata.gz: 6dffa63e32717ee9c674dbc28e32e4b1efa3558b17ddc59580bcbbc5136aa999eda9e194c2ce3676dbb51a94b5d5143d184a1c9b242bf362f63db0a0eb5f77e6
7
- data.tar.gz: 4941a4a5f9f2bc5d7368e860e6cc99164cbc1de7a4af4ed306a2847d736109e68de36cde2fd98ddeac6783eeaf92da715be29cf753a222efc65543768665bc67
6
+ metadata.gz: 8d78206241f0c90f20eb1c572a91365744148799e609a7e908de8ef3fe28ec6ccc4fb333d877d86de5f41b184baa4c2cbc2a42d867977d36e9f1b2efceb26a7e
7
+ data.tar.gz: fa63a1c78ec011ff94fb40645b335cc52b112f28c6e7a08d1ad80d0ef74d6014163923c219f480fb717c9b45ea9170147b701a2fb9fbf465fd272eca383789f3
@@ -219,12 +219,14 @@ module Mccloud
219
219
 
220
220
  self.raw.servers.each do |s|
221
221
  name_tag = s.tags["Name"]
222
- if name_tag.start_with?(filter)
223
- servername = name_tag.sub(/^#{filter}/,'')
224
- h = Hash.new
225
- h['public_ip_address']=s.public_ip_address
226
- h['private_ip_address']=s.private_ip_address
227
- hostentries[servername] = h
222
+ if (!name_tag.nil?)
223
+ if name_tag.start_with?(filter)
224
+ servername = name_tag.sub(/^#{filter}/,'')
225
+ h = Hash.new
226
+ h['public_ip_address']=s.public_ip_address
227
+ h['private_ip_address']=s.private_ip_address
228
+ hostentries[servername] = h
229
+ end
228
230
  end
229
231
  end
230
232
 
@@ -2,5 +2,5 @@ module Mccloud
2
2
  end
3
3
 
4
4
  unless defined?(Mccloud::VERSION)
5
- ::Mccloud::VERSION = "0.0.27"
5
+ ::Mccloud::VERSION = "0.0.28"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mccloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Debois
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-16 00:00:00.000000000 Z
11
+ date: 2014-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh