simp-rake-helpers 6.1.0 → 6.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 187143b51a314e79b65f0e1392213c5569ea67f776d1f84e75382f3424d43ce2
4
- data.tar.gz: a75929e673723f7ce4a9a36398a98fad8994c0e94e69f0dd9aebc30bb62bd230
3
+ metadata.gz: 1dae60b5581d4d25dad26bc624efcf9f2e8353b455fe57eb1b72a0e8267d2e54
4
+ data.tar.gz: 743c891b894e75a8a17de431c8031ddab8134b6665509b1faada8c39b0da513c
5
5
  SHA512:
6
- metadata.gz: 5a703c78bca2339cfef781ee2b253fb4e03cd1333e1fd38bffe610ad63c94148b21a2c257051ece7f3d19eb241a49834df0b9fa73661cc6d7dd582d14d1eafe1
7
- data.tar.gz: 5870971485f38854c577f41cfd086a20ac72065a460f48a65041c7cb195eca8ee1d71f796792f871bc4c90ab36b1387430aead64afe2834fd138c1a7e46e3378
6
+ metadata.gz: 99cae465be8b5bc91ca7777249604e16ef08cf581eb319fe48af3230a51cc83908d98fab507dadb970e3c7f4d9fcac8d21a7b875dada4d6ec2565e11f4a68d68
7
+ data.tar.gz: 030f78f5ff5e168cf08c9fbfd9100856239b29979f97588c3b5dec76f9578b36b11eeced34fb2a6fb45e77b7d600f30b7e6d3a260217540f26c390fb0311c87e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ ### 6.3.0 / 2026-10-03
2
+ - Changed
3
+ - Allow voxpupuli-test 15, which moves to rubocop 1.91, rubocop-rspec 3.10
4
+ and rspec-puppet 6
5
+ - The OpenVox 9 spec row tests the 9.0.0 release (`~> 9.0`, openfact
6
+ `~> 6.0`) and is blocking
7
+ - Fixed
8
+ - Require `json` < 3. openvox's `Puppet::Util::Json` is incompatible with
9
+ json 3.0, which breaks every rspec-puppet catalog compilation; rubocop
10
+ 1.85 used to keep json below 3, but the rubocop 1.91 that voxpupuli-test
11
+ 15 brings does not
12
+
13
+ ### 6.2.0 / 2026-09-23
14
+ - Added
15
+ - Support for OpenVox 9
16
+ - Widened the `openvox` dependency to `>= 8.0, < 10.0`
17
+ - Widened the default `puppet`/`openvox` gem range in the `Gemfile` to
18
+ `>= 8, < 10`
19
+ - The spec matrix now tests OpenVox 8 on Ruby 3.2 and the OpenVox 9
20
+ release candidate on Ruby 4.0 (non-blocking until OpenVox 9.0.0 ships)
21
+ - `OPENFACT_VERSION` in the `Gemfile` pins the `openfact` gem; the OpenVox 8
22
+ spec row pins it to `~> 5.0`, the series OpenVox 8 AIO packages ship
23
+ (`openvox` 8 accepts `openfact` 6)
24
+
1
25
  ### 6.1.0 / 2026-09-03
2
26
  - Added
3
27
  - Absorbed `Simp::Build::ReleaseMapper` from the unmaintained
data/Gemfile CHANGED
@@ -3,7 +3,9 @@
3
3
  # SIMP_GEM_SERVERS | a space/comma delimited list of rubygem servers
4
4
  # PUPPET_VERSION | specifies the version of the puppet/openvox gems to load
5
5
  # OPENVOX_VERSION | overrides the openvox gem version (defaults to PUPPET_VERSION)
6
- puppet_version = ENV.fetch('PUPPET_VERSION', ['>= 8', '< 9'])
6
+ # OPENFACT_VERSION | pins the openfact gem version (e.g. to the openfact an
7
+ # | OpenVox AIO release ships); unset or empty = unpinned
8
+ puppet_version = ENV.fetch('PUPPET_VERSION', ['>= 8', '< 10'])
7
9
  openvox_version = ENV.fetch('OPENVOX_VERSION', puppet_version)
8
10
  gem_sources = ENV.key?('SIMP_GEM_SERVERS') ? ENV['SIMP_GEM_SERVERS'].split(/[, ]+/) : ['https://rubygems.org']
9
11
 
@@ -18,6 +20,8 @@ gem 'rake', '>= 12.3.3'
18
20
  gem 'beaker-docker'
19
21
 
20
22
  gem 'openvox', openvox_version
23
+ openfact_version = ENV.fetch('OPENFACT_VERSION', '').strip
24
+ gem 'openfact', openfact_version unless openfact_version.empty?
21
25
 
22
26
  group :test do
23
27
  # rubocop, rubocop-rake, and rubocop-rspec are pulled in and version-pinned by
@@ -32,8 +32,8 @@ class Simp::Rake::Build::Pkg < Rake::TaskLib
32
32
  # nil = default not set; use local preference
33
33
  @fetch_published_rpm_default = if ENV['SIMP_PKG_fetch_published_rpm']
34
34
  (
35
- (ENV.fetch('SIMP_PKG_fetch_published_rpm', nil) =~ %r{\A(yes|true)\Z}i) ? true : false
36
- )
35
+ (ENV.fetch('SIMP_PKG_fetch_published_rpm', nil) =~ %r{\A(yes|true)\Z}i) ? true : false
36
+ )
37
37
  else
38
38
  nil
39
39
  end
@@ -4,5 +4,5 @@ module Simp; end
4
4
  module Simp::Rake; end
5
5
 
6
6
  class Simp::Rake::Helpers
7
- VERSION = '6.1.0'
7
+ VERSION = '6.3.0'
8
8
  end
data/lib/simp/rake/pkg.rb CHANGED
@@ -318,9 +318,9 @@ class Simp::Rake::Pkg < Rake::TaskLib
318
318
  end
319
319
 
320
320
  if latest_rpm && (
321
- Gem::Version.new(latest_rpm.full_version) >=
322
- Gem::Version.new(@spec_info.full_version)
323
- )
321
+ Gem::Version.new(latest_rpm.full_version) >=
322
+ Gem::Version.new(@spec_info.full_version)
323
+ )
324
324
  latest_rpm.rpm_name
325
325
  else
326
326
  "#{f}-#{@spec_info.full_version}-#{@spec_info.arch}.rpm"
@@ -357,7 +357,7 @@ class Simp::Rake::Pupmod::Helpers < Rake::TaskLib
357
357
  # determine mission-impacting files that have changed
358
358
  files_changed = `git diff tags/#{last_tag} --name-only`.strip.split("\n")
359
359
  files_changed.delete_if do |file|
360
- file[0] == '.' || file =~ %r{^Gemfile} || file == 'Rakefile' || file =~ %r{^spec/} || file =~ %r{^doc/} || file =~ %r{^rakelib/}
360
+ file[0] == '.' || file =~ %r{^Gemfile} || file == 'Rakefile' || file =~ %r{^spec/} || file =~ %r{^doc/} || file =~ %r{^rakelib/}
361
361
  end
362
362
 
363
363
  if files_changed.empty?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simp-rake-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.0
4
+ version: 6.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer
8
8
  - Trevor Vaughan
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-11 00:00:00.000000000 Z
11
+ date: 2026-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simp-beaker-helpers
@@ -73,7 +73,7 @@ dependencies:
73
73
  version: '8.0'
74
74
  - - "<"
75
75
  - !ruby/object:Gem::Version
76
- version: '9.0'
76
+ version: '10.0'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -83,7 +83,27 @@ dependencies:
83
83
  version: '8.0'
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
- version: '9.0'
86
+ version: '10.0'
87
+ - !ruby/object:Gem::Dependency
88
+ name: json
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '2.3'
94
+ - - "<"
95
+ - !ruby/object:Gem::Version
96
+ version: '3'
97
+ type: :runtime
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '2.3'
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: '3'
87
107
  - !ruby/object:Gem::Dependency
88
108
  name: puppet-modulebuilder
89
109
  requirement: !ruby/object:Gem::Requirement
@@ -173,7 +193,7 @@ dependencies:
173
193
  version: '14.0'
174
194
  - - "<"
175
195
  - !ruby/object:Gem::Version
176
- version: '15.0'
196
+ version: '16.0'
177
197
  type: :runtime
178
198
  prerelease: false
179
199
  version_requirements: !ruby/object:Gem::Requirement
@@ -183,7 +203,7 @@ dependencies:
183
203
  version: '14.0'
184
204
  - - "<"
185
205
  - !ruby/object:Gem::Version
186
- version: '15.0'
206
+ version: '16.0'
187
207
  - !ruby/object:Gem::Dependency
188
208
  name: metadata-json-lint
189
209
  requirement: !ruby/object:Gem::Requirement
@@ -646,7 +666,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
646
666
  - !ruby/object:Gem::Version
647
667
  version: '0'
648
668
  requirements: []
649
- rubygems_version: 4.0.16
669
+ rubygems_version: 4.0.20
650
670
  specification_version: 4
651
671
  summary: SIMP rake helpers
652
672
  test_files: []