rspec-puppet-facts 5.3.0 → 5.3.1
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 +8 -0
- data/lib/rspec-puppet-facts/version.rb +1 -1
- data/lib/rspec-puppet-facts.rb +1 -1
- data/spec/rspec_puppet_facts_spec.rb +1 -1
- 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: fc8d63556bf5f6c7790b578e927c9501f685522ed66df043c3452ed1ca4a78e3
|
4
|
+
data.tar.gz: dd679dc8651d0e945dbcac16d19de2f88b95e19725504ab4b7b3dfa9afa8dae7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6df650e8a2e79e9ac0f0a6eab5a45398ed9a04788ce1ae5b25f97325cbd5f9bb6d8e05c8e7ab793e172874a7aba56320d0be10928946c1bf23700ca7e7c5ff29
|
7
|
+
data.tar.gz: 1f00aaa70a64d08b5b432edc62254a35b61d96fed701f6beed2bd88d468dbb383d6b1f582d10e8acd3b7c7667402d8ce703caf99a51a712ad9206367166d71f1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [5.3.1](https://github.com/voxpupuli/rspec-puppet-facts/tree/5.3.1) (2025-04-28)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/rspec-puppet-facts/compare/5.3.0...5.3.1)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
- Fix compatibility with Ruby 2.7 [\#207](https://github.com/voxpupuli/rspec-puppet-facts/pull/207) ([silug](https://github.com/silug))
|
10
|
+
|
3
11
|
## [5.3.0](https://github.com/voxpupuli/rspec-puppet-facts/tree/5.3.0) (2025-04-28)
|
4
12
|
|
5
13
|
[Full Changelog](https://github.com/voxpupuli/rspec-puppet-facts/compare/5.2.0...5.3.0)
|
data/lib/rspec-puppet-facts.rb
CHANGED
@@ -397,7 +397,7 @@ module RspecPuppetFacts
|
|
397
397
|
return Facter.version
|
398
398
|
end
|
399
399
|
|
400
|
-
version_map = JSON.
|
400
|
+
version_map = JSON.parse(File.read(json_path)).map do |puppet, facter|
|
401
401
|
[Gem::Version.new(puppet), facter]
|
402
402
|
end
|
403
403
|
|
@@ -60,7 +60,7 @@ describe RspecPuppetFacts do
|
|
60
60
|
|
61
61
|
context 'when the component JSON file is unparseable' do
|
62
62
|
before do
|
63
|
-
allow(
|
63
|
+
allow(File).to receive(:read).with(component_json_path).and_return('not json')
|
64
64
|
allow(described_class).to receive(:warning)
|
65
65
|
end
|
66
66
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-puppet-facts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime-types
|