test-kitchen 2.3.3 → 2.3.4

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: 34c410800999eeef2338cb3954d3784a13c0bc827111ef2e5a4af90b9d84be2f
4
- data.tar.gz: ca8e03f5bd16c3bb89c73abc26e839c5a75299ce8fdd976f480627bce2b81cf2
3
+ metadata.gz: 15c9a72eb04c9c0bc9e568e4e239dc05c7dad13d721370afdcc1b35df180ff12
4
+ data.tar.gz: 528b0c3bc29d1b16c3e56feeaf35f87a5b1b6d1c37b757f6460e19045a219b15
5
5
  SHA512:
6
- metadata.gz: 70e91eeb4057e9032d4583609d80f2ca75eb5940c81e7c7e0efae0e51c2c4cd8d294b911a6862e6c4a32123caf63bbd90f721504ee2636d44d83771540e8d6a9
7
- data.tar.gz: c032bc41d53cdd1486a9d2b2158d41f190b292735eb82f07ce1f957876a7af55d1dc06f12bc44be4f03b47e14e87b0f28fd5f4d660d797aef1ee23f05cbec8c1
6
+ metadata.gz: 9a4fe9ce79cad2bce2c4fa8fd61b2a5a105183c4d5962c5041f25b0f79e95e2e75c0d84190d21b5915cdb88498bb94e7cce7644aa6ee16428c8bbb760aaa89c6
7
+ data.tar.gz: f9cf235f6fcaa1594747e92695b34160bbfd3f45fc9f061c553c74d1bda51663fa2ae0304c2f5fae2feb54deb6779f5c033ee56f3aab4bed3e9c109c46f60ff0
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ group :integration do
10
10
  end
11
11
 
12
12
  group :changelog do
13
- gem "github_changelog_generator", "1.14.3"
13
+ gem "github_changelog_generator", "1.15.0"
14
14
  end
15
15
 
16
16
  group :debug do
@@ -30,12 +30,12 @@ module Kitchen
30
30
 
31
31
  # Invoke the command.
32
32
  def call
33
- banner "Starting Kitchen (v#{Kitchen::VERSION})"
33
+ banner "Starting Test Kitchen (v#{Kitchen::VERSION})"
34
34
  elapsed = Benchmark.measure do
35
35
  results = parse_subcommand(args.first)
36
36
  run_action(action, results)
37
37
  end
38
- banner "Kitchen is finished. #{Util.duration(elapsed.real)}"
38
+ banner "Test Kitchen is finished. #{Util.duration(elapsed.real)}"
39
39
  end
40
40
  end
41
41
  end
@@ -34,14 +34,14 @@ module Kitchen
34
34
  raise ArgumentError, "Destroy mode must be passing, always, or never."
35
35
  end
36
36
 
37
- banner "Starting Kitchen (v#{Kitchen::VERSION})"
37
+ banner "Starting Test Kitchen (v#{Kitchen::VERSION})"
38
38
  elapsed = Benchmark.measure do
39
39
  destroy_mode = options[:destroy].to_sym
40
40
  results = parse_subcommand(args.join("|"))
41
41
 
42
42
  run_action(:test, results, destroy_mode)
43
43
  end
44
- banner "Kitchen is finished. #{Util.duration(elapsed.real)}"
44
+ banner "Test Kitchen is finished. #{Util.duration(elapsed.real)}"
45
45
  end
46
46
  end
47
47
  end
@@ -136,13 +136,20 @@ module Kitchen
136
136
  # @raise [UserError] if the `chef` command is not in the PATH
137
137
  # @api private
138
138
  def detect_chef_command!(logger)
139
- unless ENV["PATH"].split(File::PATH_SEPARATOR).any? do |p|
140
- File.exist?(File.join(p, "chef"))
139
+ unless ENV["PATH"].split(File::PATH_SEPARATOR).any? do |path|
140
+ if RbConfig::CONFIG["host_os"] =~ /mswin|mingw/
141
+ # Windows could have different extentions: BAT, EXE or NONE
142
+ %w{chef chef.exe chef.bat}.each do |bin|
143
+ File.exist?(File.join(path, bin))
144
+ end
145
+ else
146
+ File.exist?(File.join(path, "chef"))
147
+ end
141
148
  end
142
149
  logger.fatal("The `chef` executable cannot be found in your " \
143
150
  "PATH. Ensure you have installed ChefDK or Chef Workstation " \
144
151
  "from https://downloads.chef.io and that your PATH " \
145
- "setting includes the path to the `chef` comand.")
152
+ "setting includes the path to the `chef` command.")
146
153
  raise UserError,
147
154
  "Could not find the chef executable in your PATH."
148
155
  end
@@ -17,5 +17,5 @@
17
17
  # limitations under the License.
18
18
 
19
19
  module Kitchen
20
- VERSION = "2.3.3".freeze
20
+ VERSION = "2.3.4".freeze
21
21
  end
@@ -44,9 +44,9 @@ Gem::Specification.new do |gem|
44
44
 
45
45
  gem.add_development_dependency "aruba", "~> 0.11"
46
46
  gem.add_development_dependency "fakefs", "~> 0.4"
47
- gem.add_development_dependency "minitest", "~> 5.3", "< 5.11"
47
+ gem.add_development_dependency "minitest", "~> 5.3", "< 5.12"
48
48
  gem.add_development_dependency "mocha", "~> 1.1"
49
- gem.add_development_dependency "cucumber", "~> 2.1"
49
+ gem.add_development_dependency "cucumber", ">= 2.1", "< 4.0" # we just need to validate 4.0 when it comes out
50
50
  gem.add_development_dependency "countloc", "~> 0.4"
51
51
  gem.add_development_dependency "maruku", "~> 0.6"
52
52
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-kitchen
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-18 00:00:00.000000000 Z
11
+ date: 2019-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout
@@ -287,7 +287,7 @@ dependencies:
287
287
  version: '5.3'
288
288
  - - "<"
289
289
  - !ruby/object:Gem::Version
290
- version: '5.11'
290
+ version: '5.12'
291
291
  type: :development
292
292
  prerelease: false
293
293
  version_requirements: !ruby/object:Gem::Requirement
@@ -297,7 +297,7 @@ dependencies:
297
297
  version: '5.3'
298
298
  - - "<"
299
299
  - !ruby/object:Gem::Version
300
- version: '5.11'
300
+ version: '5.12'
301
301
  - !ruby/object:Gem::Dependency
302
302
  name: mocha
303
303
  requirement: !ruby/object:Gem::Requirement
@@ -316,16 +316,22 @@ dependencies:
316
316
  name: cucumber
317
317
  requirement: !ruby/object:Gem::Requirement
318
318
  requirements:
319
- - - "~>"
319
+ - - ">="
320
320
  - !ruby/object:Gem::Version
321
321
  version: '2.1'
322
+ - - "<"
323
+ - !ruby/object:Gem::Version
324
+ version: '4.0'
322
325
  type: :development
323
326
  prerelease: false
324
327
  version_requirements: !ruby/object:Gem::Requirement
325
328
  requirements:
326
- - - "~>"
329
+ - - ">="
327
330
  - !ruby/object:Gem::Version
328
331
  version: '2.1'
332
+ - - "<"
333
+ - !ruby/object:Gem::Version
334
+ version: '4.0'
329
335
  - !ruby/object:Gem::Dependency
330
336
  name: countloc
331
337
  requirement: !ruby/object:Gem::Requirement