rspec-puppet 2.7.4 → 2.7.5

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: 95bf3d879ba756cda5b177f912cfe475bbbc4bc447f5406f9f1316fbfe993ba4
4
- data.tar.gz: 2f28954f31be33d33106a654b223674813dbe077e9389da1a2c3e1220f4f9aa6
3
+ metadata.gz: e33fa5eda2bf9349af429c677c62cd0c3456bbb81c77cf8ecaf03a1a4af31a14
4
+ data.tar.gz: b7693cd9f85ba31b5c952d75c0afd04fdfe1f9670221d9379eadcb16870b4bc3
5
5
  SHA512:
6
- metadata.gz: de1fe9a59b9f74dc5da66bf23121cdcc7b0330837fc6ba3305e5e40d4170b5a45447d454ee7c20aa747a40bb59a8536430f966b55ee963c5bb274ca595746ef4
7
- data.tar.gz: e1f45453a1d1263244c14d12550bd7ace1c291983c93aa4516bd7cb6f3f4b75dbac047c3ebad7bb41937082a2f225292cb3161c6bf2618ce22b30af15d36c8a5
6
+ metadata.gz: c277a6e3f6c6271e0d7e301a8dc973d77d7c8805101f64487e875bbb60e47ce791948c567a72dd57fc837ef8467fc9c043d14980f848a7d561772ece677c1115
7
+ data.tar.gz: 386013fdab15bb3299e83d0a22504cf3d80c7dc5c0c1bc74233a5e8b3973f8f70f60d7f813405fb2013d1077297cb10cf4f23bdfd632f503e8b9380fb4144b2b
@@ -2,6 +2,12 @@
2
2
  All notable changes to this project will be documented in this file. This
3
3
  project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [2.7.5]
6
+
7
+ ### Fixed
8
+ * Minor refactor to prevent the fix introduced in 2.7.4 from raising
9
+ a deprecation warning on latest RSpec.
10
+
5
11
  ## [2.7.4]
6
12
 
7
13
  ### Fixed
@@ -159,7 +159,13 @@ module RSpec::Puppet
159
159
  end
160
160
  coverage_test.run(RSpec.configuration.reporter)
161
161
 
162
- if coverage_results.execution_result[:status] == :failed
162
+ status = if coverage_results.execution_result.respond_to?(:status)
163
+ coverage_results.execution_result.status
164
+ else
165
+ coverage_results.execution_result[:status]
166
+ end
167
+
168
+ if status == :failed
163
169
  RSpec.world.non_example_failure = true
164
170
  RSpec.world.wants_to_quit = true
165
171
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.4
4
+ version: 2.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Sharpe