chefspec 9.3.1 → 9.3.2

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: ef97b147dacaeb64bafc2b4825cfdf18eb7e88a898d82231d2aa4924ff6ccf83
4
- data.tar.gz: a53dd7fe6e2062efb147f40c364e81022e550cb1a93145a95b8dbb71a677c25e
3
+ metadata.gz: f6c7cfe24449c26cf7c162ff03fcb0279233a402573dc1795be75ccd6c9c4c4f
4
+ data.tar.gz: 0c08b215bd78b52f552b4ba12b129ccf27d58ca5fb320f4629745b7f110d0ef0
5
5
  SHA512:
6
- metadata.gz: 6cceb0d5a03b5960e344570d3db7677adbc4b35c4febf8fae0a6e08f223ecd8b4e102ea212f2afb0b959d9555d3409654a1f5da6c654743c06c1fe9d3739879f
7
- data.tar.gz: 635a5a3217295693c973fae336b9516ea4ca5cf0b3f5530366332cb165c3a7bfeeca740296ff1de0477477d2cfa66fae96f9f10cccaf06c8530353f8c98a5fb5
6
+ metadata.gz: 3d23c7e16d28869b8a7d8e8f3c674518b039f616a51d50b02cd2d9613136017e4bbd8b8fef539ad60575af706bd46e1290fdec0324169c5610245078018e34e7
7
+ data.tar.gz: 9312250b50df27d109703253798bfc065cc26edba1cd8e978ac9c6448a5b206e198509ed2c8ec619482542210544c95fee0851ae0d44fa1101acfd995daadc83
@@ -27,9 +27,12 @@ module ChefSpec
27
27
  policyfile_path = File.join(Dir.pwd, "Policyfile.rb")
28
28
  end
29
29
 
30
+ Chef::WorkstationConfigLoader.new(nil).load
31
+
30
32
  installer = ChefCLI::PolicyfileServices::Install.new(
31
33
  policyfile: policyfile_path,
32
- ui: ChefCLI::UI.null
34
+ ui: ChefCLI::UI.null,
35
+ config: Chef::Config
33
36
  )
34
37
 
35
38
  installer.run
@@ -1,3 +1,3 @@
1
1
  module ChefSpec
2
- VERSION = "9.3.1".freeze
2
+ VERSION = "9.3.2".freeze
3
3
  end
data/spec/support/hash.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
  class Hash
7
7
  # Like, seriously Windows?
8
- undef_method(:timeout)
8
+ undef_method(:timeout) if method_defined?(:timeout)
9
9
 
10
10
  #
11
11
  # Monkey-patch to allow mash-style look ups for tests
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chefspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.3.1
4
+ version: 9.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Crump
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-08-23 00:00:00.000000000 Z
12
+ date: 2022-02-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubygems_version: 3.2.22
217
+ rubygems_version: 3.3.3
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: Write RSpec examples and generate coverage reports for Chef recipes!