train 3.6.2 → 3.8.1
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 +7 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d45767176d88f1e55ad8892f1262e2f1b92af26af078568625df6686d96f230c
|
4
|
+
data.tar.gz: ce6fc6ec8f146b195ea95e495cee0b2ef4bc1a40bf63531c8a85a1246c86cf62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a8dc2b6be0f950f05913a32daf98ceb22021257f35feb0f595a16a472af77bc662879d9508bc1d3af13b74b5ab9ec7c1055235fb623a6be41655f5846baceee
|
7
|
+
data.tar.gz: 51fe9eeb5a3967a57a443312ef7502bbb5b17fc2fdfc6b6d94db1feb94f1d5aaf4b5ca76f24c681a98240ab8164228876a894795d429a0bf66ff715dabba1fec
|
@@ -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.
|
4
|
+
version: 3.8.1
|
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-07-27 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.
|
19
|
+
version: 3.8.1
|
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.
|
26
|
+
version: 3.8.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: train-winrm
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,20 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
- - "<"
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: 6.0.0
|
47
|
+
version: 6.0.3.1
|
51
48
|
type: :runtime
|
52
49
|
prerelease: false
|
53
50
|
version_requirements: !ruby/object:Gem::Requirement
|
54
51
|
requirements:
|
55
52
|
- - ">="
|
56
53
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
58
|
-
- - "<"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 6.0.0
|
54
|
+
version: 6.0.3.1
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
name: inifile
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -236,7 +230,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
236
230
|
requirements:
|
237
231
|
- - ">="
|
238
232
|
- !ruby/object:Gem::Version
|
239
|
-
version: '2.
|
233
|
+
version: '2.5'
|
240
234
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
235
|
requirements:
|
242
236
|
- - ">="
|