rspec-puppet 2.7.4 → 2.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rspec-puppet/coverage.rb +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e33fa5eda2bf9349af429c677c62cd0c3456bbb81c77cf8ecaf03a1a4af31a14
|
4
|
+
data.tar.gz: b7693cd9f85ba31b5c952d75c0afd04fdfe1f9670221d9379eadcb16870b4bc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c277a6e3f6c6271e0d7e301a8dc973d77d7c8805101f64487e875bbb60e47ce791948c567a72dd57fc837ef8467fc9c043d14980f848a7d561772ece677c1115
|
7
|
+
data.tar.gz: 386013fdab15bb3299e83d0a22504cf3d80c7dc5c0c1bc74233a5e8b3973f8f70f60d7f813405fb2013d1077297cb10cf4f23bdfd632f503e8b9380fb4144b2b
|
data/CHANGELOG.md
CHANGED
@@ -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
|
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
|