gce-host 0.5.3 → 0.5.4
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 +6 -0
- data/README.md +2 -0
- data/lib/gce/host/host_data.rb +2 -2
- data/lib/gce/host/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63ca87bc5beac1e7654771f722473f2f948026d7
|
4
|
+
data.tar.gz: 5e1748acfe4659c96d4f7121b2cee05491a7e139
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36c9d9da00f936c971d2114ca8b8aea4d952a6f9846dd11acf7974b5c0514b52c7c5b90bfa6ad5d70251df642acf088c337765d47d4acf193781190496cffac9
|
7
|
+
data.tar.gz: 1383bc9f13c3d00c85b2b682410ac0a722b312a4caed8313eb611c116b65da4077c499824e76b47915c081526a05523d794aefafa0570b5ea1a3cd01721b4455
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/gce/host/host_data.rb
CHANGED
@@ -203,9 +203,9 @@ class GCE
|
|
203
203
|
condition.each do |key, values|
|
204
204
|
v = instance_variable_recursive_get(key)
|
205
205
|
if v.is_a?(Array)
|
206
|
-
return false unless v.find {|_| values.include?(_) }
|
206
|
+
return false unless v.find {|_| values.include?(_.to_s) }
|
207
207
|
else
|
208
|
-
return false unless values.include?(v)
|
208
|
+
return false unless values.include?(v.to_s)
|
209
209
|
end
|
210
210
|
end
|
211
211
|
true
|
data/lib/gce/host/version.rb
CHANGED