ra10ke 3.0.0 → 4.0.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 +4 -4
- data/.github/workflows/release.yml +4 -4
- data/.github/workflows/test.yml +3 -4
- data/.rubocop.yml +3 -0
- data/.rubocop_todo.yml +8 -1
- data/CHANGELOG.md +32 -1
- data/Gemfile +2 -1
- data/Rakefile +1 -10
- data/lib/ra10ke/solve.rb +1 -1
- data/lib/ra10ke/version.rb +1 -1
- data/ra10ke.gemspec +6 -6
- metadata +25 -31
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 243d5bb6ab67f59d83bd35459b5b3298e8dc7e4cbf1fd7ee9b43cc94f8e82cc0
|
|
4
|
+
data.tar.gz: c669f309afdf94e8161e3172a0480297d2004813d919495ed146774fb77c8630
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40d61d18fd971499b78b1b99a1b62113308df55459ff1c9f77dcd2e8b5e6db3103f4470a5854f0d39ccbe79f4202948d82619f1c4710e2c7d314f7d75d22247f
|
|
7
|
+
data.tar.gz: c11c06f6183dec11f793d92ec3d8f53e45a40b1d8edd81245153e49abbefda6181dca344d9891569a5b7c13b41aaeaeb93d1baf362de22a6b58d44d0a4fb557b
|
|
@@ -10,15 +10,15 @@ jobs:
|
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
if: github.repository_owner == 'voxpupuli'
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
14
|
-
- name: Install Ruby 3.
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- name: Install Ruby 3.3
|
|
15
15
|
uses: ruby/setup-ruby@v1
|
|
16
16
|
with:
|
|
17
|
-
ruby-version: '3.
|
|
17
|
+
ruby-version: '3.3'
|
|
18
18
|
env:
|
|
19
19
|
BUNDLE_WITHOUT: release
|
|
20
20
|
- name: Build gem
|
|
21
|
-
run: gem build *.gemspec
|
|
21
|
+
run: gem build --strict --verbose *.gemspec
|
|
22
22
|
- name: Publish gem to rubygems.org
|
|
23
23
|
run: gem push *.gem
|
|
24
24
|
env:
|
data/.github/workflows/test.yml
CHANGED
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
rubocop:
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
17
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
18
18
|
uses: ruby/setup-ruby@v1
|
|
19
19
|
with:
|
|
@@ -27,16 +27,15 @@ jobs:
|
|
|
27
27
|
fail-fast: false
|
|
28
28
|
matrix:
|
|
29
29
|
include:
|
|
30
|
-
- ruby: "2.7"
|
|
31
|
-
- ruby: "3.0"
|
|
32
30
|
- ruby: "3.1"
|
|
33
31
|
coverage: "yes"
|
|
34
32
|
- ruby: "3.2"
|
|
33
|
+
- ruby: "3.3"
|
|
35
34
|
env:
|
|
36
35
|
COVERAGE: ${{ matrix.coverage }}
|
|
37
36
|
name: Ruby ${{ matrix.ruby }}
|
|
38
37
|
steps:
|
|
39
|
-
- uses: actions/checkout@
|
|
38
|
+
- uses: actions/checkout@v4
|
|
40
39
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
41
40
|
uses: ruby/setup-ruby@v1
|
|
42
41
|
with:
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on
|
|
3
|
+
# on 2024-03-13 18:23:33 UTC using RuboCop version 1.62.1.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
@@ -25,6 +25,7 @@ Lint/SuppressedException:
|
|
|
25
25
|
|
|
26
26
|
# Offense count: 5
|
|
27
27
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
28
|
+
# Configuration parameters: AutoCorrect.
|
|
28
29
|
Lint/UselessAssignment:
|
|
29
30
|
Exclude:
|
|
30
31
|
- 'lib/ra10ke/dependencies.rb'
|
|
@@ -225,6 +226,12 @@ Style/RedundantInterpolation:
|
|
|
225
226
|
Exclude:
|
|
226
227
|
- 'lib/ra10ke/duplicates.rb'
|
|
227
228
|
|
|
229
|
+
# Offense count: 1
|
|
230
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
231
|
+
Style/RedundantLineContinuation:
|
|
232
|
+
Exclude:
|
|
233
|
+
- 'lib/ra10ke/validate.rb'
|
|
234
|
+
|
|
228
235
|
# Offense count: 1
|
|
229
236
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
230
237
|
Style/RedundantSort:
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [v4.0.0](https://github.com/voxpupuli/ra10ke/tree/v4.0.0) (2025-01-02)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/ra10ke/compare/v3.1.0...v4.0.0)
|
|
8
|
+
|
|
9
|
+
**Breaking changes:**
|
|
10
|
+
|
|
11
|
+
- Require Ruby 3.1 & puppet\_forge 6 & r10k 5 [\#106](https://github.com/voxpupuli/ra10ke/pull/106) ([bastelfreak](https://github.com/bastelfreak))
|
|
12
|
+
|
|
13
|
+
**Merged pull requests:**
|
|
14
|
+
|
|
15
|
+
- Update pry requirement from ~\> 0.14.2 to ~\> 0.15.2 [\#114](https://github.com/voxpupuli/ra10ke/pull/114) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
16
|
+
- Cleanup Rakefile; remove unused rake tasks [\#109](https://github.com/voxpupuli/ra10ke/pull/109) ([bastelfreak](https://github.com/bastelfreak))
|
|
17
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.8.0 to ~\> 3.0.0 [\#108](https://github.com/voxpupuli/ra10ke/pull/108) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
18
|
+
|
|
19
|
+
## [v3.1.0](https://github.com/voxpupuli/ra10ke/tree/v3.1.0) (2024-06-28)
|
|
20
|
+
|
|
21
|
+
[Full Changelog](https://github.com/voxpupuli/ra10ke/compare/v3.0.0...v3.1.0)
|
|
22
|
+
|
|
23
|
+
**Implemented enhancements:**
|
|
24
|
+
|
|
25
|
+
- Update git requirement from ~\> 1.18 to \>= 1.18, \< 3.0 [\#103](https://github.com/voxpupuli/ra10ke/pull/103) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
26
|
+
- Add Ruby 3.3 to CI [\#100](https://github.com/voxpupuli/ra10ke/pull/100) ([bastelfreak](https://github.com/bastelfreak))
|
|
27
|
+
|
|
28
|
+
**Merged pull requests:**
|
|
29
|
+
|
|
30
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.6.0 to ~\> 2.8.0 [\#104](https://github.com/voxpupuli/ra10ke/pull/104) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
31
|
+
- Gemfile: add faraday as GCG dependency [\#101](https://github.com/voxpupuli/ra10ke/pull/101) ([bastelfreak](https://github.com/bastelfreak))
|
|
32
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.4.0 to ~\> 2.6.0 [\#99](https://github.com/voxpupuli/ra10ke/pull/99) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
33
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.3.0 to ~\> 2.4.0 [\#97](https://github.com/voxpupuli/ra10ke/pull/97) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
34
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.2.0 to ~\> 2.3.0 [\#96](https://github.com/voxpupuli/ra10ke/pull/96) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
35
|
+
- Update voxpupuli-rubocop requirement from ~\> 2.0.0 to ~\> 2.2.0 [\#95](https://github.com/voxpupuli/ra10ke/pull/95) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
36
|
+
|
|
5
37
|
## [v3.0.0](https://github.com/voxpupuli/ra10ke/tree/v3.0.0) (2023-08-23)
|
|
6
38
|
|
|
7
39
|
[Full Changelog](https://github.com/voxpupuli/ra10ke/compare/v2.0.0...v3.0.0)
|
|
@@ -22,7 +54,6 @@ All notable changes to this project will be documented in this file.
|
|
|
22
54
|
**Merged pull requests:**
|
|
23
55
|
|
|
24
56
|
- dependencies: Add strict version boundaries [\#91](https://github.com/voxpupuli/ra10ke/pull/91) ([bastelfreak](https://github.com/bastelfreak))
|
|
25
|
-
- Bump actions/checkout from 2 to 3 [\#90](https://github.com/voxpupuli/ra10ke/pull/90) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
26
57
|
- dependabot: check for github actions and gems [\#88](https://github.com/voxpupuli/ra10ke/pull/88) ([bastelfreak](https://github.com/bastelfreak))
|
|
27
58
|
- Fix fixture for deprecation test [\#87](https://github.com/voxpupuli/ra10ke/pull/87) ([sebastianrakel](https://github.com/sebastianrakel))
|
|
28
59
|
|
data/Gemfile
CHANGED
|
@@ -4,7 +4,8 @@ source 'https://rubygems.org'
|
|
|
4
4
|
gemspec
|
|
5
5
|
|
|
6
6
|
group :release do
|
|
7
|
-
gem '
|
|
7
|
+
gem 'faraday-retry', '~> 2.1', require: false
|
|
8
|
+
gem 'github_changelog_generator', '~> 1.16.4', require: false
|
|
8
9
|
end
|
|
9
10
|
|
|
10
11
|
group :coverage, optional: ENV['COVERAGE'] != 'yes' do
|
data/Rakefile
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
require 'rake'
|
|
2
|
-
require 'rake/clean'
|
|
3
|
-
require 'rubygems'
|
|
4
|
-
require 'bundler/gem_tasks'
|
|
5
|
-
require 'fileutils'
|
|
6
|
-
require 'rspec/core'
|
|
7
1
|
require 'rspec/core/rake_task'
|
|
8
2
|
|
|
9
|
-
CLEAN.include('pkg/', 'tmp/')
|
|
10
|
-
CLOBBER.include('Gemfile.lock')
|
|
11
|
-
|
|
12
3
|
task default: [:spec]
|
|
13
4
|
|
|
14
5
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
@@ -21,7 +12,7 @@ begin
|
|
|
21
12
|
version = Ra10ke::VERSION
|
|
22
13
|
config.future_release = "v#{version}" if /^\d+\.\d+.\d+$/.match?(version)
|
|
23
14
|
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
|
|
24
|
-
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog]
|
|
15
|
+
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog github_actions]
|
|
25
16
|
config.user = 'voxpupuli'
|
|
26
17
|
config.project = 'ra10ke'
|
|
27
18
|
end
|
data/lib/ra10ke/solve.rb
CHANGED
|
@@ -33,7 +33,7 @@ module Ra10ke::Solve
|
|
|
33
33
|
ignore_modules = []
|
|
34
34
|
ignore_modules = File.readlines('.r10kignore').each(&:chomp!) if File.exist?('.r10kignore')
|
|
35
35
|
# Actual new logic begins here:
|
|
36
|
-
cache =
|
|
36
|
+
cache = ENV['XDG_CACHE_DIR'] || File.expand_path('~/.cache')
|
|
37
37
|
|
|
38
38
|
FileUtils.mkdir_p(cache)
|
|
39
39
|
|
data/lib/ra10ke/version.rb
CHANGED
data/ra10ke.gemspec
CHANGED
|
@@ -14,17 +14,17 @@ Gem::Specification.new do |spec|
|
|
|
14
14
|
|
|
15
15
|
spec.files = `git ls-files`.split($/)
|
|
16
16
|
spec.require_paths = ['lib']
|
|
17
|
-
spec.required_ruby_version = '>=
|
|
17
|
+
spec.required_ruby_version = '>= 3.1.0'
|
|
18
18
|
|
|
19
|
-
spec.add_dependency 'git', '
|
|
20
|
-
spec.add_dependency 'puppet_forge', '~>
|
|
21
|
-
spec.add_dependency 'r10k', '
|
|
19
|
+
spec.add_dependency 'git', '>= 1.18', '< 3.0'
|
|
20
|
+
spec.add_dependency 'puppet_forge', '~> 6.0'
|
|
21
|
+
spec.add_dependency 'r10k', '~> 5.0'
|
|
22
22
|
spec.add_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
|
23
23
|
spec.add_dependency 'semverse', '>= 2.0', '< 4'
|
|
24
24
|
spec.add_dependency 'solve', '~> 4.0', '>= 4.0.4'
|
|
25
25
|
spec.add_dependency 'table_print', '~> 1.5.6'
|
|
26
|
-
spec.add_development_dependency 'pry', '~> 0.
|
|
26
|
+
spec.add_development_dependency 'pry', '~> 0.15.2'
|
|
27
27
|
spec.add_development_dependency 'rspec', '~> 3.6'
|
|
28
28
|
spec.add_development_dependency 'simplecov', '~> 0.22.0'
|
|
29
|
-
spec.add_development_dependency 'voxpupuli-rubocop', '~>
|
|
29
|
+
spec.add_development_dependency 'voxpupuli-rubocop', '~> 3.0.0'
|
|
30
30
|
end
|
metadata
CHANGED
|
@@ -1,70 +1,64 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ra10ke
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 4.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Theo Chatzimichos
|
|
8
8
|
- Vox Pupuli
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2025-01-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: git
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
requirements:
|
|
18
|
-
- - "
|
|
18
|
+
- - ">="
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
20
|
version: '1.18'
|
|
21
|
+
- - "<"
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: '3.0'
|
|
21
24
|
type: :runtime
|
|
22
25
|
prerelease: false
|
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
27
|
requirements:
|
|
25
|
-
- - "
|
|
28
|
+
- - ">="
|
|
26
29
|
- !ruby/object:Gem::Version
|
|
27
30
|
version: '1.18'
|
|
31
|
+
- - "<"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '3.0'
|
|
28
34
|
- !ruby/object:Gem::Dependency
|
|
29
35
|
name: puppet_forge
|
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
|
31
37
|
requirements:
|
|
32
38
|
- - "~>"
|
|
33
39
|
- !ruby/object:Gem::Version
|
|
34
|
-
version: '
|
|
35
|
-
- - ">="
|
|
36
|
-
- !ruby/object:Gem::Version
|
|
37
|
-
version: 5.0.1
|
|
40
|
+
version: '6.0'
|
|
38
41
|
type: :runtime
|
|
39
42
|
prerelease: false
|
|
40
43
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
44
|
requirements:
|
|
42
45
|
- - "~>"
|
|
43
46
|
- !ruby/object:Gem::Version
|
|
44
|
-
version: '
|
|
45
|
-
- - ">="
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: 5.0.1
|
|
47
|
+
version: '6.0'
|
|
48
48
|
- !ruby/object:Gem::Dependency
|
|
49
49
|
name: r10k
|
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: 2.6.5
|
|
55
|
-
- - "<"
|
|
52
|
+
- - "~>"
|
|
56
53
|
- !ruby/object:Gem::Version
|
|
57
|
-
version: '5'
|
|
54
|
+
version: '5.0'
|
|
58
55
|
type: :runtime
|
|
59
56
|
prerelease: false
|
|
60
57
|
version_requirements: !ruby/object:Gem::Requirement
|
|
61
58
|
requirements:
|
|
62
|
-
- - "
|
|
63
|
-
- !ruby/object:Gem::Version
|
|
64
|
-
version: 2.6.5
|
|
65
|
-
- - "<"
|
|
59
|
+
- - "~>"
|
|
66
60
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: '5'
|
|
61
|
+
version: '5.0'
|
|
68
62
|
- !ruby/object:Gem::Dependency
|
|
69
63
|
name: rake
|
|
70
64
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -145,14 +139,14 @@ dependencies:
|
|
|
145
139
|
requirements:
|
|
146
140
|
- - "~>"
|
|
147
141
|
- !ruby/object:Gem::Version
|
|
148
|
-
version: 0.
|
|
142
|
+
version: 0.15.2
|
|
149
143
|
type: :development
|
|
150
144
|
prerelease: false
|
|
151
145
|
version_requirements: !ruby/object:Gem::Requirement
|
|
152
146
|
requirements:
|
|
153
147
|
- - "~>"
|
|
154
148
|
- !ruby/object:Gem::Version
|
|
155
|
-
version: 0.
|
|
149
|
+
version: 0.15.2
|
|
156
150
|
- !ruby/object:Gem::Dependency
|
|
157
151
|
name: rspec
|
|
158
152
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -187,14 +181,14 @@ dependencies:
|
|
|
187
181
|
requirements:
|
|
188
182
|
- - "~>"
|
|
189
183
|
- !ruby/object:Gem::Version
|
|
190
|
-
version:
|
|
184
|
+
version: 3.0.0
|
|
191
185
|
type: :development
|
|
192
186
|
prerelease: false
|
|
193
187
|
version_requirements: !ruby/object:Gem::Requirement
|
|
194
188
|
requirements:
|
|
195
189
|
- - "~>"
|
|
196
190
|
- !ruby/object:Gem::Version
|
|
197
|
-
version:
|
|
191
|
+
version: 3.0.0
|
|
198
192
|
description: R10K and Puppetfile rake tasks
|
|
199
193
|
email:
|
|
200
194
|
- voxpupuli@groups.io
|
|
@@ -252,7 +246,7 @@ homepage: https://github.com/voxpupuli/ra10ke
|
|
|
252
246
|
licenses:
|
|
253
247
|
- MIT
|
|
254
248
|
metadata: {}
|
|
255
|
-
post_install_message:
|
|
249
|
+
post_install_message:
|
|
256
250
|
rdoc_options: []
|
|
257
251
|
require_paths:
|
|
258
252
|
- lib
|
|
@@ -260,15 +254,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
260
254
|
requirements:
|
|
261
255
|
- - ">="
|
|
262
256
|
- !ruby/object:Gem::Version
|
|
263
|
-
version:
|
|
257
|
+
version: 3.1.0
|
|
264
258
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
265
259
|
requirements:
|
|
266
260
|
- - ">="
|
|
267
261
|
- !ruby/object:Gem::Version
|
|
268
262
|
version: '0'
|
|
269
263
|
requirements: []
|
|
270
|
-
rubygems_version: 3.
|
|
271
|
-
signing_key:
|
|
264
|
+
rubygems_version: 3.5.22
|
|
265
|
+
signing_key:
|
|
272
266
|
specification_version: 4
|
|
273
267
|
summary: Syntax check for the Puppetfile, check for outdated installed puppet modules
|
|
274
268
|
test_files: []
|