kitchen-nodes 0.3.3 → 0.3.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 424fe1bbfb440631414f59ffae27b23fa42c7737
|
4
|
+
data.tar.gz: 8d048f80afcb78ae15f54e6e38e03c69ed26b262
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec45a10ac026b972be556a91f772b322f1f88f6fb59a4d5c865d29b38de5bb5175901bd2296cb1e98324ff31e688f73cf448e6af91ee0299bda5397ffc24b57f
|
7
|
+
data.tar.gz: d36de7c35202337667153848ddb5bad6136f1bfec52ca4dd839c29165962c59a0c65193ea45f3bc3edf3c907ec87783d17f9a3243ddc0970859004dd8636e496
|
@@ -86,7 +86,8 @@ module Kitchen
|
|
86
86
|
response.split(/^[0-9]+: /).each do |device|
|
87
87
|
next if device.include?('LOOPBACK') || device.include?('NO-CARRIER')
|
88
88
|
next if device == ''
|
89
|
-
|
89
|
+
found_ips = IP4REGEX.match(device)
|
90
|
+
ips << IP4REGEX.match(device)[1] unless found_ips.nil?
|
90
91
|
end
|
91
92
|
ips.compact
|
92
93
|
end
|
data/spec/unit/stubs/ip.txt
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-nodes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Wrock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ping
|