beaker-hiera 2.0.0 → 2.1.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: 3e415fb3e45f9facc0e6acc10174da56d166106a8b3739f44bdb941f2f7fb5ec
4
- data.tar.gz: 5a93a85d293e587e158aefff869b61f638abf798785649774f5258605ce05917
3
+ metadata.gz: 05604decdcf144229079072c7bc33e49e3e6cfb797e46e7ab0f3bc88f517bd00
4
+ data.tar.gz: fcff09ef8ac306b6a831f51e8b584823605a8511c175e914f1d02fee3e4e4c14
5
5
  SHA512:
6
- metadata.gz: 177503d7d724d4691417181f5b26cf4c89978137fbfdade6ea11e34c52868f7b45872ff7f0f04d492806a24487c63afda14b8630966900efa9d58ddc1466ca71
7
- data.tar.gz: 0a8c4cdb7df056cfb1839006a2af6f21a8e00e4a8198ee878939741bba910fed647ea7e8e7df9135936863ac23837b52ac691d066cda9947abe2d01c226b900b
6
+ metadata.gz: e954f369c6fda89a573ff97d5c967952a5af004f7c474b22ee667afb18390d4c731aaf2925a620003d81c1588eed09d11ce56e0bd4342ff4b32e1bbe018259d6
7
+ data.tar.gz: 330b1f647ebc3e14a2b5c00252f67efb7498899f793e68086874cf1445386d5c21dc69dd6875f760577a76e9f23330c250486242230afe09a303087eacfb0d68
@@ -0,0 +1,41 @@
1
+ ---
2
+ # https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
3
+
4
+ changelog:
5
+ exclude:
6
+ labels:
7
+ - duplicate
8
+ - invalid
9
+ - modulesync
10
+ - question
11
+ - skip-changelog
12
+ - wont-fix
13
+ - wontfix
14
+ - github_actions
15
+
16
+ categories:
17
+ - title: Breaking Changes 🛠
18
+ labels:
19
+ - backwards-incompatible
20
+
21
+ - title: New Features 🎉
22
+ labels:
23
+ - enhancement
24
+
25
+ - title: Bug Fixes 🐛
26
+ labels:
27
+ - bug
28
+ - bugfix
29
+
30
+ - title: Documentation Updates 📚
31
+ labels:
32
+ - documentation
33
+ - docs
34
+
35
+ - title: Dependency Updates ⬆️
36
+ labels:
37
+ - dependencies
38
+
39
+ - title: Other Changes
40
+ labels:
41
+ - "*"
@@ -15,7 +15,7 @@ jobs:
15
15
  name: Build the gem
16
16
  runs-on: ubuntu-24.04
17
17
  steps:
18
- - uses: actions/checkout@v4
18
+ - uses: actions/checkout@v6
19
19
  - name: Install Ruby
20
20
  uses: ruby/setup-ruby@v1
21
21
  with:
@@ -24,7 +24,7 @@ jobs:
24
24
  shell: bash
25
25
  run: gem build --verbose *.gemspec
26
26
  - name: Upload gem to GitHub cache
27
- uses: actions/upload-artifact@v4
27
+ uses: actions/upload-artifact@v6
28
28
  with:
29
29
  name: gem-artifact
30
30
  path: '*.gem'
@@ -39,7 +39,7 @@ jobs:
39
39
  contents: write # clone repo and create release
40
40
  steps:
41
41
  - name: Download gem from GitHub cache
42
- uses: actions/download-artifact@v5
42
+ uses: actions/download-artifact@v7
43
43
  with:
44
44
  name: gem-artifact
45
45
  - name: Create Release
@@ -56,7 +56,7 @@ jobs:
56
56
  packages: write # publish to rubygems.pkg.github.com
57
57
  steps:
58
58
  - name: Download gem from GitHub cache
59
- uses: actions/download-artifact@v5
59
+ uses: actions/download-artifact@v7
60
60
  with:
61
61
  name: gem-artifact
62
62
  - name: Publish gem to GitHub packages
@@ -73,7 +73,7 @@ jobs:
73
73
  id-token: write # rubygems.org authentication
74
74
  steps:
75
75
  - name: Download gem from GitHub cache
76
- uses: actions/download-artifact@v5
76
+ uses: actions/download-artifact@v7
77
77
  with:
78
78
  name: gem-artifact
79
79
  - uses: rubygems/configure-rubygems-credentials@v1.0.0
@@ -92,7 +92,7 @@ jobs:
92
92
  - release-to-rubygems
93
93
  steps:
94
94
  - name: Download gem from GitHub cache
95
- uses: actions/download-artifact@v5
95
+ uses: actions/download-artifact@v7
96
96
  with:
97
97
  name: gem-artifact
98
98
  - name: Install Ruby
@@ -7,22 +7,25 @@ on:
7
7
  branches:
8
8
  - master
9
9
 
10
+ permissions:
11
+ contents: read
12
+
10
13
  jobs:
11
14
  rubocop_and_matrix:
12
15
  runs-on: ubuntu-24.04
13
16
  outputs:
14
17
  ruby: ${{ steps.ruby.outputs.versions }}
15
18
  steps:
16
- - uses: actions/checkout@v4
19
+ - uses: actions/checkout@v6
17
20
  - name: Install Ruby ${{ matrix.ruby }}
18
21
  uses: ruby/setup-ruby@v1
19
22
  with:
20
- ruby-version: "3.4"
23
+ ruby-version: '4.0'
21
24
  bundler-cache: true
22
25
  - name: Run Rubocop
23
26
  run: bundle exec rake rubocop
24
27
  - id: ruby
25
- uses: voxpupuli/ruby-version@v1
28
+ uses: voxpupuli/ruby-version@v2
26
29
 
27
30
  spec:
28
31
  runs-on: ubuntu-24.04
@@ -33,7 +36,7 @@ jobs:
33
36
  ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
34
37
  name: RSpec - Ruby ${{ matrix.ruby }}
35
38
  steps:
36
- - uses: actions/checkout@v4
39
+ - uses: actions/checkout@v6
37
40
  - name: Install Ruby ${{ matrix.ruby }}
38
41
  uses: ruby/setup-ruby@v1
39
42
  with:
data/.rubocop.yml CHANGED
@@ -4,6 +4,3 @@ inherit_from: .rubocop_todo.yml
4
4
 
5
5
  inherit_gem:
6
6
  voxpupuli-rubocop: rubocop.yml
7
-
8
- AllCops:
9
- TargetRubyVersion: 3.2
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config --no-auto-gen-timestamp`
3
- # using RuboCop version 1.75.8.
3
+ # using RuboCop version 1.81.7.
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
@@ -21,10 +21,6 @@ Naming/FileName:
21
21
  RSpec/MessageSpies:
22
22
  EnforcedStyle: receive
23
23
 
24
- # Offense count: 2
25
- RSpec/MultipleExpectations:
26
- Max: 2
27
-
28
24
  # Offense count: 11
29
25
  # Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
30
26
  # SupportedStyles: always, named_only
@@ -33,8 +29,8 @@ RSpec/NamedSubject:
33
29
  - 'spec/beaker-hiera/helpers_spec.rb'
34
30
 
35
31
  # Offense count: 1
36
- # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
37
- # Include: **/*_spec.rb
32
+ # Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata, InflectorPath, EnforcedInflector.
33
+ # SupportedInflectors: default, active_support
38
34
  RSpec/SpecFilePathFormat:
39
35
  Exclude:
40
36
  - '**/spec/routing/**/*'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.1.0](https://github.com/voxpupuli/beaker-hiera/tree/2.1.0) (2026-01-06)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/beaker-hiera/compare/2.0.0...2.1.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Add Ruby 4.0 support [\#54](https://github.com/voxpupuli/beaker-hiera/pull/54) ([bastelfreak](https://github.com/bastelfreak))
10
+
3
11
  ## [2.0.0](https://github.com/voxpupuli/beaker-hiera/tree/2.0.0) (2025-08-07)
4
12
 
5
13
  [Full Changelog](https://github.com/voxpupuli/beaker-hiera/compare/1.1.1...2.0.0)
data/beaker-hiera.gemspec CHANGED
@@ -15,13 +15,13 @@ Gem::Specification.new do |s|
15
15
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
16
16
  s.require_paths = ['lib']
17
17
 
18
- s.required_ruby_version = '>= 3.2', '< 4'
18
+ s.required_ruby_version = '>= 3.2', '< 5'
19
19
 
20
20
  # Testing dependencies
21
21
  s.add_development_dependency 'pry', '~> 0.10'
22
22
  s.add_development_dependency 'rake', '~> 13.0'
23
23
  s.add_development_dependency 'rspec', '~> 3.0'
24
- s.add_development_dependency 'voxpupuli-rubocop', '~> 4.1.0'
24
+ s.add_development_dependency 'voxpupuli-rubocop', '~> 5.1.0'
25
25
 
26
26
  # Run time dependencies
27
27
  s.add_dependency 'beaker', '>= 4', '< 8'
@@ -4,7 +4,7 @@ module Beaker
4
4
  module Hiera
5
5
  module Version
6
6
  # Current version of beaker-hiera
7
- STRING = '2.0.0'.freeze
7
+ STRING = '2.1.0'.freeze
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-hiera
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 4.1.0
61
+ version: 5.1.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 4.1.0
68
+ version: 5.1.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: beaker
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -95,6 +95,7 @@ extensions: []
95
95
  extra_rdoc_files: []
96
96
  files:
97
97
  - ".github/dependabot.yml"
98
+ - ".github/release.yml"
98
99
  - ".github/workflows/release.yml"
99
100
  - ".github/workflows/test.yml"
100
101
  - ".gitignore"
@@ -127,14 +128,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
128
  version: '3.2'
128
129
  - - "<"
129
130
  - !ruby/object:Gem::Version
130
- version: '4'
131
+ version: '5'
131
132
  required_rubygems_version: !ruby/object:Gem::Requirement
132
133
  requirements:
133
134
  - - ">="
134
135
  - !ruby/object:Gem::Version
135
136
  version: '0'
136
137
  requirements: []
137
- rubygems_version: 3.6.9
138
+ rubygems_version: 4.0.3
138
139
  specification_version: 4
139
140
  summary: Hiera DSL Helpers!
140
141
  test_files: []