train 3.7.2 → 3.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/train/transports/azure.rb +4 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a635c9c1309b6c1b95a92d535773aabf7d51f25957f454f683eaa09f8a86b52
|
4
|
+
data.tar.gz: 5af13a937a6c21279d4042ba244a9d31670f9bd184b81ee067178646675a8c66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f9049829dad441bce260c1d600243d8ac98a38425a7bc52f4008b7b3363f4f1206825e097bf8d71ebc756e6cc0a5fb90b88d7d0aa09c3d1e37b4be2e22a0ffc
|
7
|
+
data.tar.gz: e92f42fcd4dc1b959a886dc90c89036df0b6e88b65cd33c9f96361a93f10fd93f44e8623b74f5ba96d7fc8eb49881ea576d19f8ee0a81e356065c19c8569a252
|
@@ -163,12 +163,10 @@ module Train::Transports
|
|
163
163
|
|
164
164
|
def port_open?(port, seconds = 3)
|
165
165
|
Timeout.timeout(seconds) do
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
false
|
171
|
-
end
|
166
|
+
TCPSocket.new("localhost", port).close
|
167
|
+
true
|
168
|
+
rescue SystemCallError
|
169
|
+
false
|
172
170
|
end
|
173
171
|
rescue Timeout::Error
|
174
172
|
false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: train
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef InSpec Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: train-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.7.
|
19
|
+
version: 3.7.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.7.
|
26
|
+
version: 3.7.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: train-winrm
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|