network-utility 1.1.36 → 1.1.37

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: 65716ca5467b8a54ee81c0ce88e292751add2763c7a9eae97271a3bc62bdce1f
4
- data.tar.gz: 5968c31b641681cbe0e2e6facd6b4011c5fcf5a14cf3fdd64c6eb60aab2918d1
3
+ metadata.gz: 806756db10bd4ab8fc9e4d26543578a0cdf40872b6eed69cfcb1f05b60902594
4
+ data.tar.gz: a9fd3481c42709bbacd846e63d3ce606857afffbf86d37ed39126bdcf41bcab8
5
5
  SHA512:
6
- metadata.gz: 4e8408045681d38b137b8a515638e75084799fcc8c04d3c783a65c80134258d23aa7f17a542b98997323be12cfc083b0707d300fd82434f7489df01e6c4a6046
7
- data.tar.gz: 98d3d6ffad4352ad92ab1393d1d6517b58ad3b4ffcade4663562b748e2e075edfe4459b13f0263d13d45f5120c6ba790da14e8f5a50b90bd84f563694559102c
6
+ metadata.gz: 6d66879ce6f7a63666c89f1865a4e0d5f54d90e55024572dfa55fd99daefd73101a84a704e34c5fe61fff96a0f40dc6aede5ab4cf00a859e6aee80741cbaf237
7
+ data.tar.gz: f8401ba31b6c4c320a530045f5b52699c9f22b23668669195898032c448c27fcf5fa3b92045f96323f4dcca8bd633f4038fbf139101bc66053531d056b36ef68
@@ -13,6 +13,7 @@ module NE5000E_20
13
13
  (配置散列[tag] || []).each do|part|
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
+ next unless line.include?('route-static')
16
17
  items = line.split(" ")
17
18
  record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
18
19
  static_routes << record
@@ -13,6 +13,7 @@ module NE5000E_X16
13
13
  (配置散列[tag] || []).each do|part|
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
+ next unless line.include?('route-static')
16
17
  items = line.split(" ")
17
18
  record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
18
19
  static_routes << record
@@ -13,6 +13,7 @@ module NE5000E_X16A
13
13
  (配置散列[tag] || []).each do|part|
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
+ next unless line.include?('route-static')
16
17
  items = line.split(" ")
17
18
  record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
18
19
  static_routes << record
@@ -13,6 +13,7 @@ module NE8000E_X8
13
13
  (配置散列[tag] || []).each do|part|
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
+ next unless line.include?('route-static')
16
17
  items = line.split(" ")
17
18
  record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
18
19
  static_routes << record
@@ -13,6 +13,7 @@ module NE8100_X8
13
13
  (配置散列[tag] || []).each do|part|
14
14
  if part.include?('route-static')
15
15
  part.split("\n").each do|line|
16
+ next unless line.include?('route-static')
16
17
  items = line.split(" ")
17
18
  record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
18
19
  static_routes << record
data/network.rb CHANGED
@@ -22,5 +22,5 @@
22
22
  ].each{|mod|require mod}
23
23
 
24
24
  module Network
25
- VERSION = '1.1.36'
25
+ VERSION = '1.1.37'
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.36
4
+ version: 1.1.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt