specinfra 2.82.21 → 2.82.22

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
  SHA256:
3
- metadata.gz: 1aa21aa7df9050070d308c73b13bd884d6978abe7880a58a0bca2155341ca09b
4
- data.tar.gz: 72235c0a17560c82dd765849b015d4bbaa80695d00ed6a66d5f596bca74cc15e
3
+ metadata.gz: de49bdd9fd6857b6cf500325aacc404eaf0c9eac696ff6b4a72d3b22aa5adf14
4
+ data.tar.gz: 5f047ed2ddc78b139f15fc29531b8ae52fdf184c87abd3011e35280d8fcf851b
5
5
  SHA512:
6
- metadata.gz: 9dcca7817a96c799461e76fd7ff45c392b3d5f46bb60b992cbea4ff5b22b7610a9b9027a2383ed16c4a1bff2c5deed89b16f0dcf3d242ea638161ef98be07593
7
- data.tar.gz: dcd61ecca8e3b92998e4e86079e849768939200a43034281d3557480516514886057ab914dd6e5c86da5d589f3aba5d309e2336117167b228a1cedb9ca190ffc
6
+ metadata.gz: 7cc5c36ee688c840f61f65e6e2b5776393cd539df7bc505eca2ce533bfb9eb01ee739bfcecae8a17bb710f3384a35c983a3f8194f4edf5acfdbe4566dee01cd6
7
+ data.tar.gz: 761f275ff8a9e0fa09b6b9dc28984bdcb2b0263e29c2254112b3814e9c1dd2750f8a9b997665846964928614bb997adb4f1469dfc35ba6dd114777f22bc15214
@@ -6,9 +6,10 @@ function IsPortListening
6
6
  [array] $networkIPs += "0.0.0.0"
7
7
  [array] $networkIPs += "127.0.0.1"
8
8
  [array] $networkIPs += "[::1]"
9
+ [array] $networkIPs += "[::]"
9
10
  foreach ($ipaddress in $networkIPs)
10
11
  {
11
- $matchExpression = ("$ipaddress" + ":" + $portNumber + ".*LISTENING")
12
+ $matchExpression = ("$ipaddress" + ":" + $portNumber + ".*(LISTENING|\*:\*)")
12
13
  if ($protocol) { $matchExpression = ($protocol.toUpper() + "\s+$matchExpression") }
13
14
  if ($netstatOutput -match $matchExpression) { return $true }
14
15
  }
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.82.21"
2
+ VERSION = "2.82.22"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.82.21
4
+ version: 2.82.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-11 00:00:00.000000000 Z
11
+ date: 2020-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp