puppet-syntax 5.0.0 → 6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa1f289751fd476cf68888ea7332859a070fd13da470cb62e1d3c71d8afc1291
4
- data.tar.gz: 44a4d1f9652ef9b40d1ee6318321073d2a46d393aa4b043aa4bab225db542a2f
3
+ metadata.gz: 0d209405021810780763afb46ea91a1cd32f73bf00c377e80d9a4d54a7b3e393
4
+ data.tar.gz: 88032a92bef8f809a9401192d77ed001e74cc209506df50e2f95aac00563cbe2
5
5
  SHA512:
6
- metadata.gz: eb28b604491202ead9128626b736462b5aa16761fce9437f45e3d890aecfdaf6737c3d4b823c14864c84b07f425ab642859408dd210fb31d91f81ed6e38db9c8
7
- data.tar.gz: 8830caf03c537c2a229a2686ea5fbfe729d6a73525d1078a27f0b1c0317d13bc81802415ffd3004fa9486486d9df2d9c52bf0d5f941079a83b43a0b30632c76c
6
+ metadata.gz: 94cdfcb6bbfc0b842e1f516ad47554060bf55269e75af792b3f8711fa55ab00fa50859d731cc61b1fde3b3dee1724f62e3f8285c830fdff1e03a940e4df3a50c
7
+ data.tar.gz: b7fac42960a853446d121bc41f14ea6f8972951b4469caebf6f0280513daa8116f45329ab847f832082061260e09aca4bc2ccab27ee6fdd49bbd226f05fdf01c
@@ -0,0 +1,40 @@
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
+
29
+ - title: Documentation Updates 📚
30
+ labels:
31
+ - documentation
32
+ - docs
33
+
34
+ - title: Dependency Updates ⬆️
35
+ labels:
36
+ - dependencies
37
+
38
+ - title: Other Changes
39
+ labels:
40
+ - "*"
@@ -1,3 +1,4 @@
1
+ ---
1
2
  name: Release
2
3
 
3
4
  on:
@@ -7,22 +8,18 @@ on:
7
8
 
8
9
  jobs:
9
10
  release:
10
- runs-on: ubuntu-latest
11
+ runs-on: ubuntu-24.04
12
+ environment: release
11
13
  if: github.repository_owner == 'voxpupuli'
14
+
15
+ # required permissions to make a GitHub release and push to the GitHub Gem Registry
16
+ permissions:
17
+ id-token: write
18
+ contents: write
19
+ packages: write
20
+
12
21
  steps:
13
- - uses: actions/checkout@v4
14
- - name: Install Ruby 3.1
15
- uses: ruby/setup-ruby@v1
16
- with:
17
- ruby-version: '3.1'
18
- env:
19
- BUNDLE_WITHOUT: release
20
- - name: Build gem
21
- run: gem build --strict --verbose *.gemspec
22
- - name: Publish gem to rubygems.org
23
- run: gem push *.gem
24
- env:
25
- GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
22
+ - uses: voxpupuli/ruby-release@v0
26
23
  - name: Setup GitHub packages access
27
24
  run: |
28
25
  mkdir -p ~/.gem
@@ -30,3 +27,13 @@ jobs:
30
27
  chmod 0600 ~/.gem/credentials
31
28
  - name: Publish gem to GitHub packages
32
29
  run: gem push --key github --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
30
+ - name: Create Release Page
31
+ shell: bash
32
+ env:
33
+ GH_TOKEN: ${{ github.token }}
34
+ run: gh release create ${{ github.ref_name }} --generate-notes
35
+ - name: Attach gem to GitHub Release
36
+ shell: bash
37
+ env:
38
+ GH_TOKEN: ${{ github.token }}
39
+ run: gh release upload ${{ github.ref_name }} *.gem
@@ -1,3 +1,4 @@
1
+ ---
1
2
  name: Test
2
3
 
3
4
  on:
@@ -8,6 +9,9 @@ on:
8
9
  env:
9
10
  BUNDLE_WITHOUT: development:release
10
11
 
12
+ permissions:
13
+ contents: read
14
+
11
15
  jobs:
12
16
  rubocop_and_matrix:
13
17
  env:
@@ -28,7 +32,7 @@ jobs:
28
32
  uses: voxpupuli/ruby-version@v1
29
33
 
30
34
  test:
31
- runs-on: ubuntu-latest
35
+ runs-on: ubuntu-24.04
32
36
  needs: rubocop_and_matrix
33
37
  strategy:
34
38
  fail-fast: false
@@ -37,17 +41,21 @@ jobs:
37
41
  puppet:
38
42
  - "~> 8.0"
39
43
  - "~> 7.0"
40
- - "https://github.com/puppetlabs/puppet.git#main"
44
+ - "https://github.com/OpenVoxProject/puppet.git#main"
41
45
  exclude:
46
+ - ruby: '3.3'
47
+ puppet: '~> 7.0'
48
+ - ruby: '3.4'
49
+ puppet: '~> 7.0'
42
50
  - ruby: "3.0"
43
51
  puppet: "~> 8.0"
44
52
  - ruby: "2.7"
45
53
  puppet: "~> 8.0"
46
54
  - ruby: "3.0"
47
- puppet: "https://github.com/puppetlabs/puppet.git#main"
55
+ puppet: "https://github.com/OpenVoxProject/puppet.git#main"
48
56
  - ruby: "2.7"
49
- puppet: "https://github.com/puppetlabs/puppet.git#main"
50
- name: "Ruby ${{ matrix.ruby }} - Puppet ${{ matrix.puppet }}"
57
+ puppet: "https://github.com/OpenVoxProject/puppet.git#main"
58
+ name: "Ruby ${{ matrix.ruby }} - OpenVox ${{ matrix.puppet }}"
51
59
  env:
52
60
  PUPPET_VERSION: ${{ matrix.puppet }}
53
61
  steps:
@@ -57,6 +65,8 @@ jobs:
57
65
  with:
58
66
  ruby-version: ${{ matrix.ruby }}
59
67
  bundler-cache: true
68
+ - name: Output Ruby environment
69
+ run: bundle env
60
70
  - name: Run tests
61
71
  run: bundle exec rake
62
72
  - name: Build gem
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [v6.0.0](https://github.com/voxpupuli/puppet-syntax/tree/v6.0.0) (2025-06-10)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v5.0.0...v6.0.0)
8
+
9
+ **Breaking changes:**
10
+
11
+ - Switch from puppet to openvox [\#189](https://github.com/voxpupuli/puppet-syntax/pull/189) ([bastelfreak](https://github.com/bastelfreak))
12
+
5
13
  ## [v5.0.0](https://github.com/voxpupuli/puppet-syntax/tree/v5.0.0) (2025-05-23)
6
14
 
7
15
  [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v4.1.1...v5.0.0)
data/Gemfile CHANGED
@@ -19,11 +19,8 @@ gemspec
19
19
 
20
20
  # Override gemspec for CI matrix builds.
21
21
  # But only if the environment variable is set
22
- gem 'puppet', *location_for(ENV['PUPPET_VERSION']) if ENV['PUPPET_VERSION']
22
+ gem 'openvox', *location_for(ENV['PUPPET_VERSION']) if ENV['PUPPET_VERSION']
23
23
  # Puppet on Ruby 3.3 / 3.4 has some missing dependencies
24
- gem 'base64', '~> 0.2' if RUBY_VERSION >= '3.4'
25
- gem 'getoptlong', '~> 0.2' if RUBY_VERSION >= '3.4'
26
- gem 'racc', '~> 1.8' if RUBY_VERSION >= '3.3'
27
24
  gem 'syslog', '~> 0.3' if RUBY_VERSION >= '3.4'
28
25
 
29
26
  group :test do
@@ -1,3 +1,3 @@
1
1
  module PuppetSyntax
2
- VERSION = '5.0.0'
2
+ VERSION = '6.0.0'
3
3
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.required_ruby_version = '>= 2.7'
20
20
 
21
- spec.add_dependency 'puppet', '>= 7', '< 9'
21
+ spec.add_dependency 'openvox', '>= 7', '< 9'
22
22
  spec.add_dependency 'rake', '~> 13.1'
23
23
 
24
24
  spec.add_development_dependency 'voxpupuli-rubocop', '~> 3.1.0'
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-syntax
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-05-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: puppet
13
+ name: openvox
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - ">="
@@ -66,6 +65,7 @@ extensions: []
66
65
  extra_rdoc_files: []
67
66
  files:
68
67
  - ".github/dependabot.yml"
68
+ - ".github/release.yml"
69
69
  - ".github/workflows/release.yml"
70
70
  - ".github/workflows/test.yml"
71
71
  - ".gitignore"
@@ -123,7 +123,6 @@ homepage: https://github.com/voxpupuli/puppet-syntax
123
123
  licenses:
124
124
  - MIT
125
125
  metadata: {}
126
- post_install_message:
127
126
  rdoc_options: []
128
127
  require_paths:
129
128
  - lib
@@ -138,8 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
137
  - !ruby/object:Gem::Version
139
138
  version: '0'
140
139
  requirements: []
141
- rubygems_version: 3.3.27
142
- signing_key:
140
+ rubygems_version: 3.6.7
143
141
  specification_version: 4
144
142
  summary: Syntax checks for Puppet manifests, templates, and Hiera YAML
145
143
  test_files: []