network-utility 1.1.38 → 1.1.39

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
  SHA256:
3
- metadata.gz: 5afbdff8fac23bb46f333b5586dc89054a53074634dcc4fc23c730f9709ac835
4
- data.tar.gz: ae014b2a0c026c19214a3c4e0c73ed2bacd5d13203bd67674b3405a2722769bb
3
+ metadata.gz: 7c2dc9bc77702947c4a064178253c7f85252172f3cf339862fece0d8f3f5301e
4
+ data.tar.gz: e2c5978914f3ce9bea4cac63eb1ea421fe864690f3ea5f46fcddd30d00383b7d
5
5
  SHA512:
6
- metadata.gz: 75e7afcfc1ae1596b5a014e69f22cfadffb5603b1b244d9111d210e0c91d47244a3cd6b5821ea8c8dbd70225c934c186b73f3c6d7dc9806fbe27e3f87465ff69
7
- data.tar.gz: 423ad152c8e1fc623b143930fd0181b1eb432f7c1cb2664742f609da2543dcf783f28de399974f98b1dc734bb2ddea2bfdfb40bd74c9baae1e32a47fc4a031b8
6
+ metadata.gz: e2a04a8f51c09f505447032c1888cbe52c0b219d5f514c3287416aed4eb88dcffc66b3d926004bd860ded59fc1331877858744fa0497ede484d4e18d00ec407e
7
+ data.tar.gz: 380e1308c159efe22c395c613e7d8511242c65e6f9d841eb3262fd0136c31a74d80ba320fefaa5feb722448fb4e5c9ec61f7b6bde8840e9857955e17b6785672
@@ -14,7 +14,7 @@ module MA5200G_8
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
16
  items = line.split(" ")
17
- record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
17
+ record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
18
18
  static_routes << record
19
19
  end
20
20
  end
@@ -14,7 +14,7 @@ module ME60_16
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
16
  items = line.split(" ")
17
- record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
17
+ record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
18
18
  static_routes << record
19
19
  end
20
20
  end
@@ -14,7 +14,7 @@ module ME60_X16
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
16
  items = line.split(" ")
17
- record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
17
+ record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
18
18
  static_routes << record
19
19
  end
20
20
  end
@@ -14,7 +14,7 @@ module NE40E_X16
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
16
  items = line.split(" ")
17
- record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
17
+ record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
18
18
  static_routes << record
19
19
  end
20
20
  end
@@ -14,7 +14,7 @@ module NE40E_X16A
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
16
  items = line.split(" ")
17
- record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
17
+ record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
18
18
  static_routes << record
19
19
  end
20
20
  end
@@ -14,7 +14,7 @@ module NE40E_X8
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
16
  items = line.split(" ")
17
- record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
17
+ record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
18
18
  static_routes << record
19
19
  end
20
20
  end
@@ -14,7 +14,7 @@ module NE40E
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
16
  items = line.split(" ")
17
- record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
17
+ record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
18
18
  static_routes << record
19
19
  end
20
20
  end
@@ -14,7 +14,7 @@ module NE80E
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
16
  items = line.split(" ")
17
- record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
17
+ record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
18
18
  static_routes << record
19
19
  end
20
20
  end
data/network.rb CHANGED
@@ -22,5 +22,5 @@
22
22
  ].each{|mod|require mod}
23
23
 
24
24
  module Network
25
- VERSION = '1.1.38'
25
+ VERSION = '1.1.39'
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: network-utility
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.38
4
+ version: 1.1.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt