chef-config 18.2.7 → 18.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2835b90eabdd255a907a2c767c0cf4efce65a92eb98bd0e744c8d70bc38adc8
4
- data.tar.gz: 345cd054ef627cb429fe8a80c87e3057cd92404a4d7c1ce7529f7f16709458dc
3
+ metadata.gz: 4eb9cf6e54784c6960ec4f0ed42aca3c398067aef6d0cbaac6b15c5cba59c656
4
+ data.tar.gz: cf37fd7bd622d9d01d05bfdc53d8773a9c7f4b4614e035a0ccf8af04c95b6e3d
5
5
  SHA512:
6
- metadata.gz: 56a33a2a2c52e40c26b7fb99b77d8f59a4eecc1c3c7c4fcf508004eddefd594ec335d703bc252e0687dfb8cc428250e072c4504fdc6427c0e75d3b7e9abe899f
7
- data.tar.gz: 3bed712c41a3c056914bf98048629a8397e868a692c7bd0b275730931653ac42559ecbf589a42947d1c1b60a10f35b658aac0a725965a050c8c966761ea0ca41
6
+ metadata.gz: f2a005c3e964ffdf3e7e66da38b376b23fe26a0e7d0b19ef231f8740d371d7db3528fe54ebfc7c958793388736d40ca94c08e57497e3b3e96223fd45f51e3458
7
+ data.tar.gz: ba3a02ad1c923f7c3d5912de6f3b8f6d3bbb70df0ab94c7ff4a79015b0f2b858848689bef5b6948c71adc7f56f594cd3cb82f49fdab3c2997b2b545104265e36
@@ -15,5 +15,5 @@
15
15
 
16
16
  module ChefConfig
17
17
  CHEFCONFIG_ROOT = File.expand_path("..", __dir__)
18
- VERSION = "18.2.7".freeze
18
+ VERSION = "18.3.0".freeze
19
19
  end
@@ -525,7 +525,7 @@ RSpec.describe ChefConfig::Config do
525
525
 
526
526
  context "when /var/chef does not exist and /var is accessible" do
527
527
  it "defaults to /var/chef" do
528
- allow(File).to receive(:exists?).with(ChefConfig::Config.var_chef_dir).and_return(false)
528
+ allow(File).to receive(:exist?).with(ChefConfig::Config.var_chef_dir).and_return(false)
529
529
  allow(ChefConfig::Config).to receive(:path_accessible?).with(ChefConfig::Config.var_root_dir).and_return(true)
530
530
  expect(ChefConfig::Config[:cache_path]).to eq(primary_cache_path)
531
531
  end
@@ -533,7 +533,7 @@ RSpec.describe ChefConfig::Config do
533
533
 
534
534
  context "when /var/chef does not exist and /var is not accessible" do
535
535
  it "defaults to $HOME/.chef" do
536
- allow(File).to receive(:exists?).with(ChefConfig::Config.var_chef_dir).and_return(false)
536
+ allow(File).to receive(:exist?).with(ChefConfig::Config.var_chef_dir).and_return(false)
537
537
  allow(ChefConfig::Config).to receive(:path_accessible?).with(ChefConfig::Config.var_root_dir).and_return(false)
538
538
  expect(ChefConfig::Config[:cache_path]).to eq(secondary_cache_path)
539
539
  end
@@ -541,7 +541,7 @@ RSpec.describe ChefConfig::Config do
541
541
 
542
542
  context "when /var/chef exists and is not accessible" do
543
543
  before do
544
- allow(File).to receive(:exists?).with(ChefConfig::Config.var_chef_dir).and_return(true)
544
+ allow(File).to receive(:exist?).with(ChefConfig::Config.var_chef_dir).and_return(true)
545
545
  allow(File).to receive(:readable?).with(ChefConfig::Config.var_chef_dir).and_return(true)
546
546
  allow(File).to receive(:writable?).with(ChefConfig::Config.var_chef_dir).and_return(false)
547
547
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.2.7
4
+ version: 18.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-04 00:00:00.000000000 Z
11
+ date: 2023-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-utils
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 18.2.7
19
+ version: 18.3.0
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: 18.2.7
26
+ version: 18.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-shellout
29
29
  requirement: !ruby/object:Gem::Requirement