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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da12216f356aa371b255a495fa7eb0f3d3eb8b553aac7eed5e17c3098540f8f8
4
- data.tar.gz: d774a6780c00fc787131c80f7bcbdb277e8b80b16c9b121be38f1ed4126f7f8e
3
+ metadata.gz: da71a6bace6154b6a96720fc40cd0a6b97c0b97a12a34d83e9c6e0ccd97dc426
4
+ data.tar.gz: e702fd33ab98a486ed2c46308847f43207501d8b3d689530d420dd54f014d529
5
5
  SHA512:
6
- metadata.gz: 5350e14d6a9c61a6d1f01a7cbf0773048b10d305dd0901199d760106c8aa8e98ab8aa9d506a44f7142dbf6399b6dadb11322bc9682f8145c92a8598d2c2c9511
7
- data.tar.gz: 52c83ec12e7926331107efd13642e68232bad5906a92a88c8cdb765247635d02239f9e0f942b40a70cbbb23256d0de8d15486935f1225eb88fa981557ad0110f
6
+ metadata.gz: c937584ddb32373385fff1fa675e0185ea36d23312dca68038b3e9ae11fe7253d324b4258472194e0c70ad3470e6b3984f7f32914daa40d6186b2b0b227510b3
7
+ data.tar.gz: 22436159251dee0962eaa7a7ba4a6e7e8fe6b3b839c999cd91321d21f9efe3ed35ee5ac8ed94a19edf6db35a7c196e5c5380b8a5a7022754d17bda2315118c99
data/CHANGELOG.md CHANGED
@@ -1,6 +1,19 @@
1
1
  # Changelog
2
2
 
3
- ## [5.0.0](https://github.com/voxpupuli/rspec-puppet-facts/tree/5.0.0) (2024-07-04)
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