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 +4 -4
- data/lib/chef-config/version.rb +1 -1
- data/spec/unit/config_spec.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4eb9cf6e54784c6960ec4f0ed42aca3c398067aef6d0cbaac6b15c5cba59c656
|
4
|
+
data.tar.gz: cf37fd7bd622d9d01d05bfdc53d8773a9c7f4b4614e035a0ccf8af04c95b6e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2a005c3e964ffdf3e7e66da38b376b23fe26a0e7d0b19ef231f8740d371d7db3528fe54ebfc7c958793388736d40ca94c08e57497e3b3e96223fd45f51e3458
|
7
|
+
data.tar.gz: ba3a02ad1c923f7c3d5912de6f3b8f6d3bbb70df0ab94c7ff4a79015b0f2b858848689bef5b6948c71adc7f56f594cd3cb82f49fdab3c2997b2b545104265e36
|
data/lib/chef-config/version.rb
CHANGED
data/spec/unit/config_spec.rb
CHANGED
@@ -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(:
|
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(:
|
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(:
|
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 18.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mixlib-shellout
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|