linux-ip-addr 0.0.3 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 269094dea99ea7f151ed6f8d0de3e222aabbdd42
4
- data.tar.gz: c4bb5532b51d8d7bbfbfe16a386102916ec796f7
3
+ metadata.gz: 78928113363b17568489686985c1ca74fcb7a30f
4
+ data.tar.gz: 16a4ef57052b82c8151b7b137f45e02c50bb0fd3
5
5
  SHA512:
6
- metadata.gz: 68bcb338912391e45f130fa04388b82867157859ab50c55474f421c71e4c04543fd7625c973a3d29032a9db7f8bc4fecaae7ac04e9998ac4f14b7f7fead983b6
7
- data.tar.gz: e4275d7d58b3e83a102422034accc08e787bd5bf779e1491296c28ce4ead43727979434483a9e3e8396970f92cc17d17a7a8eb04fb32bce3a230dc484a603c4b
6
+ metadata.gz: 2161d99141a93a1b76d4de7dbea92b9ecd88e8396f52a95883c1bb4d51d7d2345fd3b7cdd4ec7f495e837a1d62194b8715532c3d898088573cb098c1473faa21
7
+ data.tar.gz: f028a11d558d99f74902015fd9c189949e36e9a9675981c4b78fc9284a3db97f67374ae128bd9185ed659aadaba500c5ba87b95249baafd775421ca5c386076e
@@ -1,7 +1,7 @@
1
1
  module Linux
2
2
  module Ip
3
3
  module Addr
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
6
6
  end
7
7
  end
@@ -97,7 +97,7 @@ module Linux
97
97
  end
98
98
 
99
99
  def self.parse
100
- parse_from_lines(IO.popen("ip -4 route show").read.lines + IO.popen("ip -6 route show").read.lines)
100
+ parse_from_lines(IO.popen("ip -4 route show").read.lines.to_a + IO.popen("ip -6 route show").read.lines.to_a)
101
101
  end
102
102
 
103
103
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linux-ip-addr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Meno Abels