train 3.7.0 → 3.8.5

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: e4e68414986172e73763ef89b9bfcac8903567fa2715e05ab11164960b00d3fc
4
- data.tar.gz: e7643f6ada520f214fcd4f8656aca9a67fa88cabf313493d72ba04322b9267b8
3
+ metadata.gz: 7b52ad27ce497ed7d534cd6412776798e5fc2d7e4c015408ed77988238a34240
4
+ data.tar.gz: 5756ad04b2902c0fd1fa1968f293583fc3d225065b4d439477fa54f5082e4faa
5
5
  SHA512:
6
- metadata.gz: 3a12e33786c1bf058923e3a07c15b98e878ed0c2957f08e00175a509e001a5ebd8067e0c1fd46480e37e973cddbef5dda484cdb6247994ffb2b54498a2bed167
7
- data.tar.gz: 2d21149eeef299ea18afcc68ec2c99a3bec2c3fce9d2e532aa6c4b44f294376da4b0692780f0f67b7605fe263e5750d7ff337ab4fbffb5dcdf4dfb4fceff52ea
6
+ metadata.gz: 13da72c60f71ef33d1f1a75c87bb0ccbda5a1c196804af02ac04bf3043b813e7f27ade9fb13e8bf5fd6535189b2aed46ba4ecdb120fd380c71be10ddd0107257
7
+ data.tar.gz: 1a4e21a0257b23955fe0cc59abc82c7159b7dddac00ffa94b76ac9690291fd97e5dca03198bc1c5c848c5322b8b3d21cab327e7d8e10f56fcfa3636e26b80baa
@@ -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.7.0
4
+ version: 3.8.5
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-28 00:00:00.000000000 Z
11
+ date: 2021-11-30 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.0
19
+ version: 3.8.5
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.0
26
+ version: 3.8.5
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
  - - ">="