specinfra 2.82.12 → 2.82.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/command/darwin/base/host.rb +1 -1
- data/lib/specinfra/version.rb +1 -1
- data/spec/command/darwin/host_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4091da838326377ef94b07ae9b26011de7769fb9
|
4
|
+
data.tar.gz: 4157f26e7591567eece6b67067e1aa1fb3da32f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21aa8c43ffd5c01fe64a4c380b4729d6c93511277196925db37e9c836d8c1a3354c588c10affbbb34693d51761e4a5ca6d2f89a16d261f2cfbcdb9b41a08cd48
|
7
|
+
data.tar.gz: db8d758cd7964e6af9a70792d78ccaec01d63f395e371ccb3a7c8e888c00bfb56e321411760b174e66c458b48d55b775f9d7ec1739563b8047428a060362bc41
|
@@ -16,7 +16,7 @@ class Specinfra::Command::Darwin::Base::Host < Specinfra::Command::Base::Host
|
|
16
16
|
if port.nil?
|
17
17
|
"ping -t #{escape(timeout)} -c 2 -n #{escape(host)}"
|
18
18
|
else
|
19
|
-
"nc -vvvvz#{escape(proto[0].chr)} #{escape(host)} #{escape(port)} -w #{escape(timeout)}"
|
19
|
+
"nc -vvvvz#{escape(proto[0].chr)} #{escape(host)} #{escape(port)} -w #{escape(timeout)} -G #{escape(timeout)}"
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
data/lib/specinfra/version.rb
CHANGED
@@ -19,8 +19,8 @@ describe get_command(:check_host_is_reachable, 'pink.unicorn.com', nil, 'tcp', 1
|
|
19
19
|
it { should eq "ping -t 10 -c 2 -n pink.unicorn.com"}
|
20
20
|
end
|
21
21
|
|
22
|
-
describe get_command(:check_host_is_reachable, 'pink.unicorn.com', 53, 'udp', 66) do
|
23
|
-
it { should eq "nc -vvvvzu pink.unicorn.com 53 -w 66" }
|
22
|
+
describe get_command(:check_host_is_reachable, 'pink.unicorn.com', 53, 'udp', 66) do
|
23
|
+
it { should eq "nc -vvvvzu pink.unicorn.com 53 -w 66 -G 66" }
|
24
24
|
end
|
25
25
|
|
26
26
|
describe get_command(:get_host_ipaddress, 'pink.unicorn.com') do
|
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.
|
4
|
+
version: 2.82.13
|
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-
|
11
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|