specinfra 2.60.2 → 2.60.3

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: 3a79d1edfd7cb65575ae542e1270f008acc4bd45
4
- data.tar.gz: 14fe261f4f3192afbccbba41b773c8440d05b3ee
3
+ metadata.gz: 8dec37dc15eddd3ac64b1ebc9d9ccbb15efe7f92
4
+ data.tar.gz: adb464889589652d943534bccebab9492f0f0d96
5
5
  SHA512:
6
- metadata.gz: a62ff1e52f7bbb78c6e60b63d929729e6ba4f4a3a751168d04711e7a839aff03b34461a43b41e387a2cb8dd346b1b0aed085c83164ef4cdf302fdd1d5191cef8
7
- data.tar.gz: 68071ff3bea231d61abcbbbc8577b15f91924f560c20ed5985463b8db65610c76047ac95b1195a8fcd42a4f6d293da24d81be573dee77b553be8e301d8382a57
6
+ metadata.gz: 18b508772c250f90e6d7e530e0d03799b8ba12a67d555093d811168fc4c6df4c808cdee778044f85c9775192800838cf6153cc7dd82b48b8d9687f60d14003fd
7
+ data.tar.gz: b78cb30597e6bf0d3df68593f058437ed61d5c10ee545f53858d60e2002aef39033fa335c2a3c5c328de2fe633644be53fd483654edcdbf6e999bc6ccf490eca
@@ -16,7 +16,7 @@ module Specinfra
16
16
  # https://github.com/serverspec/serverspec/blob/master/lib/serverspec/type/port.rb
17
17
  def inaddr_any_to_asterisk(local_address)
18
18
  if local_address == '0.0.0.0'
19
- '*'
19
+ '\*'
20
20
  else
21
21
  local_address
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.60.2"
2
+ VERSION = "2.60.3"
3
3
  end
@@ -12,11 +12,11 @@ describe Specinfra::Command::Module::Ss do
12
12
  it { expect(klass.check_is_listening('80', options={:protocol => 'udp'})).to eq 'ss -unl4 | grep -- :80\ ' }
13
13
  it { expect(klass.check_is_listening('80', options={:protocol => 'udp6'})).to eq 'ss -unl6 | grep -- :80\ ' }
14
14
 
15
- it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0'})).to eq 'ss -tunl | grep -- \ \*:80\ ' }
16
- it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0', :protocol => 'tcp'})).to eq 'ss -tnl4 | grep -- \ \*:80\ ' }
17
- it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0', :protocol => 'tcp6'})).to eq 'ss -tnl6 | grep -- \ \*:80\ ' }
18
- it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0', :protocol => 'udp'})).to eq 'ss -unl4 | grep -- \ \*:80\ ' }
19
- it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0', :protocol => 'udp6'})).to eq 'ss -unl6 | grep -- \ \*:80\ ' }
15
+ it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0'})).to eq 'ss -tunl | grep -- \ \\\\\*:80\ ' }
16
+ it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0', :protocol => 'tcp'})).to eq 'ss -tnl4 | grep -- \ \\\\\*:80\ ' }
17
+ it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0', :protocol => 'tcp6'})).to eq 'ss -tnl6 | grep -- \ \\\\\*:80\ ' }
18
+ it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0', :protocol => 'udp'})).to eq 'ss -unl4 | grep -- \ \\\\\*:80\ ' }
19
+ it { expect(klass.check_is_listening('80', options={:local_address => '0.0.0.0', :protocol => 'udp6'})).to eq 'ss -unl6 | grep -- \ \\\\\*:80\ ' }
20
20
 
21
21
  it { expect(klass.check_is_listening('80', options={:local_address => '1.2.3.4'})).to eq 'ss -tunl | grep -- \ 1.2.3.4:80\ ' }
22
22
  it { expect(klass.check_is_listening('80', options={:local_address => '1.2.3.4', :protocol => 'tcp'})).to eq 'ss -tnl4 | grep -- \ 1.2.3.4:80\ ' }
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.60.2
4
+ version: 2.60.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-24 00:00:00.000000000 Z
11
+ date: 2016-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp