chefspec 9.2.0 → 9.2.1
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/chefspec/api/stubs_for.rb +1 -1
- data/lib/chefspec/file_cache_path_proxy.rb +2 -2
- data/lib/chefspec/version.rb +1 -1
- data/lib/chefspec/zero_server.rb +1 -1
- data/spec/unit/solo_runner_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5591af3861eae4ba3b5d9c37d274f38fa0279c9a5d91e2668d923251d1885ae
|
|
4
|
+
data.tar.gz: 36be14ae6da887efee4516070e3b6884e43950a8b9fddbbc28660d1ea7f6c841
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24e86fab969faea333b44ab9db94663efe783383c37760ce581bd0a088e1f3dc96927dc8bab7624da966d5e60440cf6c97e31a2b56b3c72a89135b0805d17ebc
|
|
7
|
+
data.tar.gz: d6b244cc4207077b59a6f53f343b632fe2550549b4e3778bdbfca9848a510861d7fdbe885bc26556c38ba5d74dbb5d619e1073521a2d0a4da3f7d1bd3b94576d
|
data/lib/chefspec/version.rb
CHANGED
data/lib/chefspec/zero_server.rb
CHANGED
|
@@ -122,7 +122,7 @@ module ChefSpec
|
|
|
122
122
|
require "chef_zero/data_store/memory_store_v2"
|
|
123
123
|
ChefZero::DataStore::MemoryStoreV2.new
|
|
124
124
|
when :on_disk
|
|
125
|
-
require "tmpdir"
|
|
125
|
+
require "tmpdir" unless defined?(Dir.mktmpdir)
|
|
126
126
|
require "chef_zero/data_store/raw_file_store"
|
|
127
127
|
tmpdir = Dir.mktmpdir
|
|
128
128
|
ChefZero::DataStore::RawFileStore.new(Dir.mktmpdir)
|
|
@@ -98,7 +98,7 @@ describe ChefSpec::SoloRunner do
|
|
|
98
98
|
it 'sets the attributes from fauxhai' do
|
|
99
99
|
expect(hash['os']).to eq('linux')
|
|
100
100
|
expect(hash['languages']['ruby']['ruby_bin']).to eq('/usr/local/bin/ruby')
|
|
101
|
-
expect(hash['os_version']).to match(/
|
|
101
|
+
expect(hash['os_version']).to match(/5.3.0-.*-.*/) # avoid failing when fauxhai data changes
|
|
102
102
|
expect(hash['fqdn']).to eq('fauxhai.local')
|
|
103
103
|
expect(hash['domain']).to eq('local')
|
|
104
104
|
expect(hash['ipaddress']).to eq('10.0.0.2')
|
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.2.
|
|
4
|
+
version: 9.2.1
|
|
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: 2020-
|
|
12
|
+
date: 2020-08-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: chef
|