rspec-puppet-facts 5.0.0 → 5.1.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 +14 -1
- data/Rakefile +2 -1
- data/ext/puppet_agent_components.json +5824 -1
- data/lib/rspec-puppet-facts/version.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: da71a6bace6154b6a96720fc40cd0a6b97c0b97a12a34d83e9c6e0ccd97dc426
|
4
|
+
data.tar.gz: e702fd33ab98a486ed2c46308847f43207501d8b3d689530d420dd54f014d529
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c937584ddb32373385fff1fa675e0185ea36d23312dca68038b3e9ae11fe7253d324b4258472194e0c70ad3470e6b3984f7f32914daa40d6186b2b0b227510b3
|
7
|
+
data.tar.gz: 22436159251dee0962eaa7a7ba4a6e7e8fe6b3b839c999cd91321d21f9efe3ed35ee5ac8ed94a19edf6db35a7c196e5c5380b8a5a7022754d17bda2315118c99
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [5.
|
3
|
+
## [5.1.0](https://github.com/voxpupuli/rspec-puppet-facts/tree/5.1.0) (2024-08-13)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/rspec-puppet-facts/compare/5.0.0...5.1.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Update components.json with Puppet 8.8.1 [\#197](https://github.com/voxpupuli/rspec-puppet-facts/pull/197) ([bastelfreak](https://github.com/bastelfreak))
|
10
|
+
- Update components.json with Puppet 8.7.0 [\#195](https://github.com/voxpupuli/rspec-puppet-facts/pull/195) ([bastelfreak](https://github.com/bastelfreak))
|
11
|
+
|
12
|
+
**Merged pull requests:**
|
13
|
+
|
14
|
+
- Generate a pretty `ext/puppet_agent_components.json` file [\#196](https://github.com/voxpupuli/rspec-puppet-facts/pull/196) ([smortex](https://github.com/smortex))
|
15
|
+
|
16
|
+
## [5.0.0](https://github.com/voxpupuli/rspec-puppet-facts/tree/5.0.0) (2024-07-08)
|
4
17
|
|
5
18
|
[Full Changelog](https://github.com/voxpupuli/rspec-puppet-facts/compare/4.0.0...5.0.0)
|
6
19
|
|
data/Rakefile
CHANGED
@@ -21,6 +21,7 @@ namespace :puppet_versions do
|
|
21
21
|
require 'net/http'
|
22
22
|
require 'net/https'
|
23
23
|
require 'uri'
|
24
|
+
require 'json'
|
24
25
|
|
25
26
|
uri = URI.parse('https://forgeapi.puppet.com/private/versions/puppet-agent')
|
26
27
|
http = Net::HTTP.new(uri.host, uri.port)
|
@@ -31,7 +32,7 @@ namespace :puppet_versions do
|
|
31
32
|
raise unless response.is_a?(Net::HTTPSuccess)
|
32
33
|
|
33
34
|
File.open(PUPPET_VERSIONS_PATH, 'wb:UTF-8') do |fd|
|
34
|
-
fd.write(response.body)
|
35
|
+
fd.write(JSON.pretty_generate(JSON.parse(response.body)))
|
35
36
|
end
|
36
37
|
end
|
37
38
|
|