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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e24b651bd8873cb6156894c361501ccf9a92d85
4
- data.tar.gz: 8adcb23c21275ccf94fdb42bea6291381ff9891e
3
+ metadata.gz: 4091da838326377ef94b07ae9b26011de7769fb9
4
+ data.tar.gz: 4157f26e7591567eece6b67067e1aa1fb3da32f7
5
5
  SHA512:
6
- metadata.gz: 035225f56e38e494f3eaca7d47069b631f82f5aadae1ace7ca37f244453f8c1d86ad6f201fc7d176bc9ea70a58b450debae33ea1fe80d11a2cf9555f4d689409
7
- data.tar.gz: 78d124e8f6b8e4188857f2f95605b2a26aaffe956338da9d420b5edf4c55645d1340f79d4def0630a477a3cb1e5de12f71f3b16f0e7693c01ce57d4e72006307
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
 
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.82.12"
2
+ VERSION = "2.82.13"
3
3
  end
@@ -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.12
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-03-05 00:00:00.000000000 Z
11
+ date: 2020-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp