chefspec 7.2.0 → 7.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/CHANGELOG.md +8 -1
- data/examples/server/spec/node_spec.rb +1 -1
- data/lib/chefspec/version.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: 27b7c297c627d6ca7e5c5115aa75d544879ecca8e9d601784aad2a8834a367c4
|
|
4
|
+
data.tar.gz: 293c807e58f9f61bb73aacbe0a86fede3833adc3bc79fc255b8dab4dbe9fd945
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb27b20b64cc932b1b543d9a93f49dec7dfc4c101b3fe6b57a2132e1d0366cfc4f9f8bcfb189332dc3a1280792d755499c836f38cb78ddb9fe003eb0eedb6ab8
|
|
7
|
+
data.tar.gz: b7bacaf0f808fae388fa2eb061524645f2d6d3077fc715e519626ad74f5184b6d4382dd32cf5d5abbb74a9bd8d409e4382f90a1196ec4b068da2e1295cb6e4a0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
# CHANGELOG for ChefSpec
|
|
2
2
|
|
|
3
|
+
## 7.2.1 (May, 8, 2018)
|
|
4
|
+
|
|
5
|
+
- Updated an example and test for that example
|
|
6
|
+
|
|
3
7
|
## 7.2.0 (April, 10, 2018)
|
|
4
8
|
|
|
5
|
-
- The fauxhai dependency is no longer constrained. This removes the need to release a new version of Chefspec each time a major release of Fauxhai is released. Previously Fauxhai was constraine to < 6
|
|
9
|
+
- The fauxhai dependency is no longer constrained. This removes the need to release a new version of Chefspec each time a major release of Fauxhai is released. Previously Fauxhai was constraine to < 6\. The current release is 6.1.0, which includes significant new platform data and dumps that are updated for Chef 14.
|
|
6
10
|
|
|
7
11
|
## 7.1.2 (March, 6, 2018)
|
|
8
12
|
|
|
@@ -15,11 +19,14 @@ This release deprecated the spec coverage feature, which will be removed in a fu
|
|
|
15
19
|
## 7.1.0 (May 9, 2017)
|
|
16
20
|
|
|
17
21
|
- Resource matchers are now generated automatically. What does this mean for you? A lot:
|
|
22
|
+
|
|
18
23
|
1. You won't have to worry about older releases of ChefSpec not knowing about new resources in chef-client.
|
|
19
24
|
2. You won't have to define the matchers in your cookbook code, which also means you won't have issues if a community cookbook lacks matchers
|
|
20
25
|
|
|
21
26
|
- Removed the usage of Cucumber for testing
|
|
27
|
+
|
|
22
28
|
- Removed all test deps from the Gemspec
|
|
29
|
+
|
|
23
30
|
- Added a warning about stubbing core Ruby methods and the issues that can cause
|
|
24
31
|
|
|
25
32
|
## 7.0.0 (April 18, 2017)
|
|
@@ -27,7 +27,7 @@ describe 'server::node' do
|
|
|
27
27
|
|
|
28
28
|
node = chef_run.get_node('chefspec')
|
|
29
29
|
expect(node['kernel']['name']).to eq('Linux')
|
|
30
|
-
expect(node['kernel']['release']).to match(/4.4.0
|
|
30
|
+
expect(node['kernel']['release']).to match(/4.4.0-.*-.*/) # avoid failing when fauxhai data changes
|
|
31
31
|
expect(node['kernel']['machine']).to eq('x86_64')
|
|
32
32
|
end
|
|
33
33
|
end
|
data/lib/chefspec/version.rb
CHANGED
|
@@ -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(/4.4.0
|
|
101
|
+
expect(hash['os_version']).to match(/4.4.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: 7.2.
|
|
4
|
+
version: 7.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: 2018-
|
|
12
|
+
date: 2018-05-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: chef
|