rspec-puppet 2.7.1 → 2.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/rspec-puppet/matchers/parameter_matcher.rb +2 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 176a810cdf4b4c2640ac1d8d8ec5085ef192d8c99b921a0a7b8612f9a067a35e
|
4
|
+
data.tar.gz: c4397dd3a4636280346e7ca4d5a251d8de496f004b47d9b3cd233e96314399c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23ed9a0f35e5193952868083155e0519620d0e09e2deee04e5c272ef695935c398637bec4102ef04f224f47cbd8ba884de3248f4e78fb389f3294eeb1071f370
|
7
|
+
data.tar.gz: 01ad7d0d738923721f0ba267b58d31b5d8ccc6fb32cc2590f085a24a562302af62ec049a4d3e15f33dfdd604f9233b5902423a8afd2d29afe1ca5cf5f6a39c60
|
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.2]
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
* Reverted the change introduced in 2.7.0 that reencoded resource parameter
|
9
|
+
values to modify their line endings.
|
10
|
+
|
5
11
|
## [2.7.1]
|
6
12
|
|
7
13
|
### Fixed
|
data/README.md
CHANGED
@@ -78,7 +78,7 @@ module RSpec::Puppet
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def check_regexp(expected, actual)
|
81
|
-
!!(
|
81
|
+
!!(actual.to_s.match expected) == @should_match
|
82
82
|
end
|
83
83
|
|
84
84
|
# Ensure that two hashes have the same number of keys, and that for each
|
@@ -119,17 +119,7 @@ module RSpec::Puppet
|
|
119
119
|
end
|
120
120
|
|
121
121
|
def check_string(expected, actual)
|
122
|
-
(expected.to_s ==
|
123
|
-
end
|
124
|
-
|
125
|
-
def munge_line_endings(value)
|
126
|
-
return value unless value.respond_to?(:encode)
|
127
|
-
|
128
|
-
if Puppet::Util::Platform.windows?
|
129
|
-
value.encode(:crlf_newline => true)
|
130
|
-
else
|
131
|
-
value.encode(:universal_newline => true)
|
132
|
-
end
|
122
|
+
(expected.to_s == actual.to_s) == @should_match
|
133
123
|
end
|
134
124
|
end
|
135
125
|
end
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Sharpe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
91
|
rubyforge_project:
|
92
|
-
rubygems_version: 2.
|
92
|
+
rubygems_version: 2.7.7
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: RSpec tests for your Puppet manifests
|