chefspec 7.2.0 → 7.2.1

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: 584c37d8c6995d8d0b66e9095e1696ac3efeb6eda198a8386b0053fc0ed5780d
4
- data.tar.gz: 2cd03ebfe5637d1a110dcd48231bc88ded4bf00835fd05415395303c4d64deb9
3
+ metadata.gz: 27b7c297c627d6ca7e5c5115aa75d544879ecca8e9d601784aad2a8834a367c4
4
+ data.tar.gz: 293c807e58f9f61bb73aacbe0a86fede3833adc3bc79fc255b8dab4dbe9fd945
5
5
  SHA512:
6
- metadata.gz: a13521da7279d75feb41cd7f6abe5352000b159cac3da76b5f36885da4043939ef6e77d66d4cd29eb2c463fec55a8f2049e1bedd0d02315237d4a80fd3b67a92
7
- data.tar.gz: b3af400a9cfc0ae0db5517ab44242797728c1e84d06477b503cb0074a0e8e3510bcfed6f5576dfa40874f7a18e7fe96fb0ec45219002b787532564a93f893565
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. The current release is 6.1.0, which includes significant new platform data and dumps that are updated for Chef 14.
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-.*-generic/) # avoid failing when fauxhai data changes
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
@@ -1,3 +1,3 @@
1
1
  module ChefSpec
2
- VERSION = '7.2.0'
2
+ VERSION = '7.2.1'
3
3
  end
@@ -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-.*-generic/) # avoid failing when fauxhai data changes
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.0
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-04-10 00:00:00.000000000 Z
12
+ date: 2018-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef