train 3.6.2 → 3.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/train/transports/azure.rb +4 -6
  3. metadata +7 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19b9885778f6b955bb1239371e5192ef25e7ddd21f79a87117f38bc185b213f3
4
- data.tar.gz: b43c04a718b9a3c9b8eac6b33b20f90a5f53d0576691a009942965b9c07eea33
3
+ metadata.gz: d45767176d88f1e55ad8892f1262e2f1b92af26af078568625df6686d96f230c
4
+ data.tar.gz: ce6fc6ec8f146b195ea95e495cee0b2ef4bc1a40bf63531c8a85a1246c86cf62
5
5
  SHA512:
6
- metadata.gz: 82891e944073a70eefd4d3146863bde5897a5651710717a05e58818dd4d559de56d5e59182978b639fa58fd7b8ec14f1ae0a44a745766c860f76e4792b683616
7
- data.tar.gz: d948d3df1b04c90f7739f8637ee4ef49b858ad3aa26ca62dde98e43086c6887b5f82d69e2c38f6b4bb5766d3e89d9609f48f2be9e99cea53d851770e6c275fc6
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
- begin
167
- TCPSocket.new("localhost", port).close
168
- true
169
- rescue SystemCallError
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.6.2
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-04-14 00:00:00.000000000 Z
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.6.2
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.6.2
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: 5.2.4.3
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: 5.2.4.3
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.4'
233
+ version: '2.5'
240
234
  required_rubygems_version: !ruby/object:Gem::Requirement
241
235
  requirements:
242
236
  - - ">="