rspec-puppet 2.6.6 → 2.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/rspec-puppet/monkey_patches.rb +13 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f566b2171b96404fe94df6cbc1453c1f06ab9963
|
4
|
+
data.tar.gz: 7eb940e7fea32c49cedc972b20f77a5bbd2010c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4dd3865ee6571c5ad0983c7d723862acfba73d23d47789bbcac5e60d8a026ee234bbec04460011cc62c5d2a045e6c3292c222ed057e8353b1732bcb450dabc4
|
7
|
+
data.tar.gz: e5b070746880deb423cd1f00f29f4e9e27ca76eca529327ea8f228a77781ef9e534138d816fc0a097ceaf77ca432b7cacf2985594716c33c6024e8856e4492aa
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,13 @@
|
|
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.6.7]
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
|
9
|
+
* An issue where the optional minimum resource coverage check would throw an
|
10
|
+
exception when the coverage wasn't 100%.
|
11
|
+
|
5
12
|
## [2.6.6]
|
6
13
|
|
7
14
|
### Fixed
|
@@ -9,6 +9,18 @@ class RSpec::Puppet::EventListener
|
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
+
def self.example_passed(example)
|
13
|
+
@rspec_puppet_example = false
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.example_pending(example)
|
17
|
+
@rspec_puppet_example = false
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.example_failed(example)
|
21
|
+
@rspec_puppet_example = false
|
22
|
+
end
|
23
|
+
|
12
24
|
def self.rspec_puppet_example?
|
13
25
|
@rspec_puppet_example || false
|
14
26
|
end
|
@@ -22,7 +34,7 @@ class RSpec::Puppet::EventListener
|
|
22
34
|
end
|
23
35
|
end
|
24
36
|
|
25
|
-
RSpec.configuration.reporter.register_listener(RSpec::Puppet::EventListener, :example_started)
|
37
|
+
RSpec.configuration.reporter.register_listener(RSpec::Puppet::EventListener, :example_started, :example_pending, :example_passed, :example_failed)
|
26
38
|
|
27
39
|
module Puppet
|
28
40
|
# Allow rspec-puppet to prevent Puppet::Type from automatically picking
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Sharpe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|