rspec-puppet 2.7.8 → 2.7.10
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 +9 -0
- data/lib/rspec-puppet/monkey_patches.rb +10 -0
- 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: 38af21b6f0c4e9fcfeb90c063d299c725fd80d63e6d74b44d0a6e6f937f6d955
|
|
4
|
+
data.tar.gz: 977523988ad9525e31c461040c33894e1cbd79c9180252f9521f8b8172ac111b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8145ad0c55a4c52f7032f67ea2f73dc7fb72f162c32214e8b3e5aa5bd69efe1bd0ded6c2e36cff165e2e8f51734e0f94017c74f07ad0ce3b1bbeca90463ad34
|
|
7
|
+
data.tar.gz: 149c839eb092309b0e3bb1be2c0887aed4dc0ebe8fb9ea2b4b5b562a797df8b39800486e24e181dc7d44abdddbe94bc9938978e0d5862e35fa73581203475545
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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.10]
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
* Fix issues with removal of `default_env` method in Puppet 6.17.0.
|
|
9
|
+
|
|
10
|
+
## [2.7.9]
|
|
11
|
+
|
|
12
|
+
This release had unintended breaking changes and was withdrawn.
|
|
13
|
+
|
|
5
14
|
## [2.7.8]
|
|
6
15
|
|
|
7
16
|
### Fixed
|
|
@@ -132,6 +132,16 @@ module Puppet
|
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
module Util
|
|
135
|
+
# Fix for removal of default_env function
|
|
136
|
+
# Bug: https://github.com/rodjek/rspec-puppet/issues/796
|
|
137
|
+
# Upstream: https://github.com/puppetlabs/puppet/commit/94df3c1a3992d89b2d7d5db8a70373c135bdd86b
|
|
138
|
+
if !respond_to?(:default_env)
|
|
139
|
+
def default_env()
|
|
140
|
+
DEFAULT_ENV
|
|
141
|
+
end
|
|
142
|
+
module_function :default_env
|
|
143
|
+
end
|
|
144
|
+
|
|
135
145
|
if respond_to?(:get_env)
|
|
136
146
|
alias :old_get_env :get_env
|
|
137
147
|
module_function :old_get_env
|
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.7.
|
|
4
|
+
version: 2.7.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Sharpe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-07-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|