train 3.3.6 → 3.3.27

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
  SHA256:
3
- metadata.gz: 447254a06276c73e0b12dbbab111f3625d2c3100337bbae018a77c74e5d8f776
4
- data.tar.gz: c73221c1866a72710764264c4f8960e412fb100ae5db296d5f6b1fccb2eb58b6
3
+ metadata.gz: 85322dba83ca895d55a093f5f1a1940050167a4704cf29d8a3bf16610afa440f
4
+ data.tar.gz: 2d3bb29c4db28147b601eb65f8b179be97375bc24f1dfecdd7e46d4c30c12567
5
5
  SHA512:
6
- metadata.gz: 1ccc642cff79507a9e9c6b3bf174f7897258b680adf4f41e9128c6a185e3f1eabe0bcb6953f57c9bdc01f02e4c898b9abd611eb5c5507aed84709bf3bba3a6ac
7
- data.tar.gz: 97b4c541892945f9ba82b9714a850f449dd2a27acba7daa2cccc1486cbf6e6bb6fb3766c1080f920fc3138c9cd0a2941bbb5299f9663bf57656751c1a1b081ae
6
+ metadata.gz: 631f3c7082aa1a49032213415340a34c8e9b634000c5716b6278a11e73eebe1f39bc9a37257e44ed89ebd83ede00e010bd24282ba0a04ec23bfd84dbd7939d43
7
+ data.tar.gz: b2b9fbb55b55a663c9c0e3a26b64489a02584093452635398602f9e8eaaf9b2ce7ff908a1735dd7f0556a58fd855951123344a0eaa4eadf6e4dc8ab2a6ab5c6c
@@ -1,12 +1,10 @@
1
- # encoding: utf-8
2
-
3
1
  require "train/plugins"
4
2
  require "ms_rest_azure"
5
3
  require "azure_mgmt_resources"
6
4
  require "azure_graph_rbac"
7
5
  require "azure_mgmt_key_vault"
8
- require "socket"
9
- require "timeout"
6
+ require "socket" unless defined?(Socket)
7
+ require "timeout" unless defined?(Timeout)
10
8
  require "train/transports/helpers/azure/file_credentials"
11
9
  require "train/transports/clients/azure/graph_rbac"
12
10
  require "train/transports/clients/azure/vault"
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require "azure_graph_rbac"
4
2
 
5
3
  # Wrapper class for ::Azure::GraphRbac::Profiles::Latest::Client allowing custom configuration,
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require "azure_mgmt_key_vault"
4
2
 
5
3
  # Wrapper class for ::Azure::KeyVault::Profiles::Latest::Mgmt::Client allowing custom configuration,
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require "train/plugins"
4
2
  require "google/apis"
5
3
  require "google/apis/cloudresourcemanager_v1"
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require "inifile"
4
2
  require_relative "file_parser"
5
3
  require_relative "subscription_number_file_parser"
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Train::Transports
4
2
  module Helpers
5
3
  module Azure
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Train::Transports
4
2
  module Helpers
5
3
  module Azure
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Train::Transports
4
2
  module Helpers
5
3
  module Azure
@@ -1,8 +1,7 @@
1
- # encoding: utf-8
2
1
  require "train/plugins"
3
2
  require "open3"
4
- require "ostruct"
5
- require "json"
3
+ require "ostruct" unless defined?(OpenStruct)
4
+ require "json" unless defined?(JSON)
6
5
  require "mkmf"
7
6
 
8
7
  module Train::Transports
@@ -17,7 +16,7 @@ module Train::Transports
17
16
  @connection ||= Connection.new(@options)
18
17
  end
19
18
 
20
- class Connection < BaseConnection # rubocop:disable ClassLength
19
+ class Connection < BaseConnection # rubocop:disable Metrics/ClassLength
21
20
  POWERSHELL_PROMPT_REGEX = /PS\s.*> $/.freeze
22
21
 
23
22
  def initialize(options)
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.3.6
4
+ version: 3.3.27
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: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2020-10-19 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.3.6
19
+ version: 3.3.27
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.3.6
26
+ version: 3.3.27
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: train-winrm
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -146,16 +146,22 @@ dependencies:
146
146
  name: docker-api
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - "~>"
149
+ - - ">="
150
150
  - !ruby/object:Gem::Version
151
151
  version: '1.26'
152
+ - - "<"
153
+ - !ruby/object:Gem::Version
154
+ version: '3.0'
152
155
  type: :runtime
153
156
  prerelease: false
154
157
  version_requirements: !ruby/object:Gem::Requirement
155
158
  requirements:
156
- - - "~>"
159
+ - - ">="
157
160
  - !ruby/object:Gem::Version
158
161
  version: '1.26'
162
+ - - "<"
163
+ - !ruby/object:Gem::Version
164
+ version: '3.0'
159
165
  - !ruby/object:Gem::Dependency
160
166
  name: google-api-client
161
167
  requirement: !ruby/object:Gem::Requirement
@@ -165,7 +171,7 @@ dependencies:
165
171
  version: 0.23.9
166
172
  - - "<"
167
173
  - !ruby/object:Gem::Version
168
- version: 0.35.0
174
+ version: 0.44.1
169
175
  type: :runtime
170
176
  prerelease: false
171
177
  version_requirements: !ruby/object:Gem::Requirement
@@ -175,7 +181,7 @@ dependencies:
175
181
  version: 0.23.9
176
182
  - - "<"
177
183
  - !ruby/object:Gem::Version
178
- version: 0.35.0
184
+ version: 0.44.1
179
185
  - !ruby/object:Gem::Dependency
180
186
  name: googleauth
181
187
  requirement: !ruby/object:Gem::Requirement
@@ -185,7 +191,7 @@ dependencies:
185
191
  version: 0.6.6
186
192
  - - "<"
187
193
  - !ruby/object:Gem::Version
188
- version: 0.11.0
194
+ version: 0.13.1
189
195
  type: :runtime
190
196
  prerelease: false
191
197
  version_requirements: !ruby/object:Gem::Requirement
@@ -195,7 +201,7 @@ dependencies:
195
201
  version: 0.6.6
196
202
  - - "<"
197
203
  - !ruby/object:Gem::Version
198
- version: 0.11.0
204
+ version: 0.13.1
199
205
  description: Transport interface to talk to different backends.
200
206
  email:
201
207
  - inspec@chef.io