rspec-puppet 2.9.0 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +55 -48
- data/lib/rspec-puppet/support.rb +1 -1
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5080461a94379bc7c865bed5eaa5584f911379ea08bdf7af878ffd24ff23424c
|
4
|
+
data.tar.gz: eac73ffab8b13a3ded43d3533c4c454a168d61511f8b73bea4fb94227232cb66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b5c1d81b22bca79e3b5c7edde653396d7cbc3506c66d60d69be618066fcdbe75782b29adffe35f89046dafcb3b7db2faec5b30a25eb6b57f5d91d1e12631bf8
|
7
|
+
data.tar.gz: 35833aa537d9f12c11131108bd2f664e74e0ea47f8d8c7029efd9a86c2b344c2ea3a9dfe10dca91eb96efe2128ba748320b805ea4778ed72b8578cda7069c634
|
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.10.0]
|
6
|
+
The release sees rspec-puppet move into the puppetlabs namespace
|
7
|
+
|
8
|
+
### Added
|
9
|
+
* Add ruby 3 support ([GH-11](https://github.com/puppetlabs/rspec-puppet/pull/11))
|
10
|
+
|
5
11
|
## [2.9.0]
|
6
12
|
|
7
13
|
### Added
|
@@ -15,8 +21,8 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
|
15
21
|
### Breaking Changes
|
16
22
|
* As of the 2.8.0 release, the `rspec-puppet` project no longer guarantees compatibility
|
17
23
|
with Puppet 2.x or 3.x (running under Ruby 1.8.7) or Puppet 4.x (running under Ruby 1.9.3).
|
18
|
-
* This release adds support for the [`Sensitive`](https://puppet.com/docs/puppet/latest/lang_data_sensitive.html)
|
19
|
-
data type, however existing tests that were expecting `String` content may need to be updated
|
24
|
+
* This release adds support for the [`Sensitive`](https://puppet.com/docs/puppet/latest/lang_data_sensitive.html)
|
25
|
+
data type, however existing tests that were expecting `String` content may need to be updated
|
20
26
|
to wrap the expected value in the new `sensitive` helper:
|
21
27
|
|
22
28
|
```ruby
|
@@ -28,20 +34,20 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
|
28
34
|
```
|
29
35
|
|
30
36
|
### Added
|
31
|
-
* Added support for [trusted external fact data](https://github.com/
|
32
|
-
* Added the ability to exclude resources from the coverage report calculations using a regular expression.
|
37
|
+
* Added support for [trusted external fact data](https://github.com/puppetlabs/rspec-puppet#specifying-trusted-external-data).
|
38
|
+
* Added the ability to exclude resources from the coverage report calculations using a regular expression.
|
33
39
|
(See [documentation](https://rspec-puppet.com/documentation/coverage/#excluded-resources) for an example.
|
34
|
-
* Added `have_unique_values_for_all` matcher to assert a specific resource parameter value is unique across
|
35
|
-
the entire catalogue.
|
40
|
+
* Added `have_unique_values_for_all` matcher to assert a specific resource parameter value is unique across
|
41
|
+
the entire catalogue.
|
36
42
|
(See [documentation](https://rspec-puppet.com/documentation/classes/#test-resource-parameter-values-for-uniqueness).)
|
37
|
-
* Added ability to customize module-layer Hiera configuration via new settings. See
|
43
|
+
* Added ability to customize module-layer Hiera configuration via new settings. See
|
38
44
|
[documentation](https://rspec-puppet.com/documentation/configuration/#disable_module_hiera) for details.
|
39
45
|
|
40
46
|
### Changed
|
41
47
|
* `RSpec::Puppet::Cache` now evicts least recently used entries when it reaches max size.
|
42
|
-
* `rspec-puppet`'s implementation of `match_manifests` will no longer look in `init.pp` for class
|
48
|
+
* `rspec-puppet`'s implementation of `match_manifests` will no longer look in `init.pp` for class
|
43
49
|
declarations if a manifest file exactly matching the class name exists.
|
44
|
-
|
50
|
+
|
45
51
|
### Fixed
|
46
52
|
* Resolved compatibility issues with Ruby 2.7.x and added Ruby 2.7.x to the test matrix.
|
47
53
|
* Resolved issues calculating coverage and reporting results when there are 0 tested resources.
|
@@ -554,42 +560,43 @@ Thanks to Adrien Thebo, Alex Harvey, Brian, Dan Bode, Dominic Cleal, Javier Pala
|
|
554
560
|
## 1.0.1 and earlier
|
555
561
|
For changelog of versions 1.0.1 and earlier, see http://rspec-puppet.com/changelog/
|
556
562
|
|
557
|
-
[2.x]: https://github.com/
|
558
|
-
[2.
|
559
|
-
[2.
|
560
|
-
[2.
|
561
|
-
[2.7.
|
562
|
-
[2.7.
|
563
|
-
[2.7.
|
564
|
-
[2.7.
|
565
|
-
[2.7.
|
566
|
-
[2.7.
|
567
|
-
[2.7.
|
568
|
-
[2.7.
|
569
|
-
[2.7.
|
570
|
-
[2.7.
|
571
|
-
[2.
|
572
|
-
[2.6.
|
573
|
-
[2.6.
|
574
|
-
[2.6.
|
575
|
-
[2.6.
|
576
|
-
[2.6.
|
577
|
-
[2.6.
|
578
|
-
[2.6.
|
579
|
-
[2.6.
|
580
|
-
[2.6.
|
581
|
-
[2.6.
|
582
|
-
[2.6.
|
583
|
-
[2.6.
|
584
|
-
[2.6.
|
585
|
-
[2.6.
|
586
|
-
[2.6.
|
587
|
-
[2.
|
588
|
-
[2.
|
589
|
-
[2.
|
590
|
-
[2.3.
|
591
|
-
[2.3.
|
592
|
-
[2.
|
593
|
-
[2.
|
594
|
-
[2.0
|
595
|
-
[2.0.
|
563
|
+
[2.x]: https://github.com/puppetlabs/rspec-puppet/compare/v2.10.0...master
|
564
|
+
[2.10.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.9.0...v2.10.0
|
565
|
+
[2.9.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.8.0...v2.9.0
|
566
|
+
[2.8.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.10...v2.8.0
|
567
|
+
[2.7.10]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.9...v2.7.10
|
568
|
+
[2.7.9]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.8...v2.7.9
|
569
|
+
[2.7.8]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.7...v2.7.8
|
570
|
+
[2.7.7]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.6...v2.7.7
|
571
|
+
[2.7.6]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.5...v2.7.6
|
572
|
+
[2.7.5]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.4...v2.7.5
|
573
|
+
[2.7.4]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.3...v2.7.4
|
574
|
+
[2.7.3]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.2...v2.7.3
|
575
|
+
[2.7.2]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.1...v2.7.2
|
576
|
+
[2.7.1]: https://github.com/puppetlabs/rspec-puppet/compare/v2.7.0...v2.7.1
|
577
|
+
[2.7.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.15...v2.7.0
|
578
|
+
[2.6.15]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.14...v2.6.15
|
579
|
+
[2.6.14]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.13...v2.6.14
|
580
|
+
[2.6.13]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.12...v2.6.13
|
581
|
+
[2.6.12]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.11...v2.6.12
|
582
|
+
[2.6.11]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.10...v2.6.11
|
583
|
+
[2.6.10]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.9...v2.6.10
|
584
|
+
[2.6.9]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.8...v2.6.9
|
585
|
+
[2.6.8]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.7...v2.6.8
|
586
|
+
[2.6.7]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.6...v2.6.7
|
587
|
+
[2.6.6]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.5...v2.6.6
|
588
|
+
[2.6.5]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.4...v2.6.5
|
589
|
+
[2.6.4]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.3...v2.6.4
|
590
|
+
[2.6.3]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.2...v2.6.3
|
591
|
+
[2.6.2]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.1...v2.6.2
|
592
|
+
[2.6.1]: https://github.com/puppetlabs/rspec-puppet/compare/v2.6.0...v2.6.1
|
593
|
+
[2.6.0]: https://github.com/puppetlabs/rspec-puppet/compare/2.5.0...v2.6.0
|
594
|
+
[2.5.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.4.0...v2.5.0
|
595
|
+
[2.4.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.3.2...v2.4.0
|
596
|
+
[2.3.2]: https://github.com/puppetlabs/rspec-puppet/compare/v2.3.1...v2.3.2
|
597
|
+
[2.3.1]: https://github.com/puppetlabs/rspec-puppet/compare/v2.3.0...v2.3.1
|
598
|
+
[2.3.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.2.0...v2.3.0
|
599
|
+
[2.2.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.1.0...v2.2.0
|
600
|
+
[2.1.0]: https://github.com/puppetlabs/rspec-puppet/compare/v2.0.1...v2.1.0
|
601
|
+
[2.0.1]: https://github.com/puppetlabs/rspec-puppet/compare/v2.0.0...v2.0.1
|
602
|
+
[2.0.0]: https://github.com/puppetlabs/rspec-puppet/compare/v1.0.1...v2.0.0
|
data/lib/rspec-puppet/support.rb
CHANGED
@@ -485,7 +485,7 @@ module RSpec::Puppet
|
|
485
485
|
def build_catalog(*args)
|
486
486
|
@@cache.get(*args) do |*args|
|
487
487
|
if args.length == 1 && args.first.is_a?(Hash)
|
488
|
-
build_catalog_without_cache_v2(args.first)
|
488
|
+
build_catalog_without_cache_v2(**args.first)
|
489
489
|
else
|
490
490
|
build_catalog_without_cache(*args)
|
491
491
|
end
|
metadata
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Sharpe
|
8
|
-
|
8
|
+
- Puppet, Inc.
|
9
|
+
- Community Contributors
|
10
|
+
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain: []
|
11
|
-
date: 2021-
|
13
|
+
date: 2021-08-02 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
16
|
name: rspec
|
@@ -25,7 +27,9 @@ dependencies:
|
|
25
27
|
- !ruby/object:Gem::Version
|
26
28
|
version: '0'
|
27
29
|
description: RSpec tests for your Puppet manifests
|
28
|
-
email:
|
30
|
+
email:
|
31
|
+
- tim@sharpe.id.au
|
32
|
+
- modules-team@puppet.com
|
29
33
|
executables:
|
30
34
|
- rspec-puppet-init
|
31
35
|
extensions: []
|
@@ -72,11 +76,11 @@ files:
|
|
72
76
|
- lib/rspec-puppet/spec_helper.rb
|
73
77
|
- lib/rspec-puppet/support.rb
|
74
78
|
- lib/rspec-puppet/tasks/release_test.rb
|
75
|
-
homepage: https://github.com/
|
79
|
+
homepage: https://github.com/puppetlabs/rspec-puppet/
|
76
80
|
licenses:
|
77
81
|
- MIT
|
78
82
|
metadata: {}
|
79
|
-
post_install_message:
|
83
|
+
post_install_message:
|
80
84
|
rdoc_options: []
|
81
85
|
require_paths:
|
82
86
|
- lib
|
@@ -91,8 +95,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
95
|
- !ruby/object:Gem::Version
|
92
96
|
version: '0'
|
93
97
|
requirements: []
|
94
|
-
|
95
|
-
|
98
|
+
rubyforge_project:
|
99
|
+
rubygems_version: 2.7.6.2
|
100
|
+
signing_key:
|
96
101
|
specification_version: 4
|
97
102
|
summary: RSpec tests for your Puppet manifests
|
98
103
|
test_files: []
|