puppet-ghostbuster 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: 375b356f2dfb050b520be62463511571b00593edbe7bc9adbbd695407065e270
4
- data.tar.gz: 4e79ddd9fe3302c103661357e60d433d62973428463a9bdf491495fd53e78863
3
+ metadata.gz: 825f0bad6bda91f1b0c1ac0c423d436fb2593a4b77b2354815b4c2520bd74425
4
+ data.tar.gz: 2b04bcddbb57796ebff9136ddab64626a48ecde7f20e273209e8cefc23e429c5
5
5
  SHA512:
6
- metadata.gz: 68d6f7a6cf434eae005054bcce1a7cb575738416d06671a2cbb1c6647984217a2b2b6a61997c291aa52b251a6e3cc43aed9a853a5a6b34d3992f78e7cfbaf377
7
- data.tar.gz: 70dcd2436f3303f2933d52140edfa48991aa626cf3711e40cbcc0562fd92ea673e2429526f5ced1723d355a06ae5b9e12414917b51b7e34b28f08a48741e08ca
6
+ metadata.gz: 7f0a8c6c0327eb6bb8873d24da61d266134d9ec7ea533d6dde5eff717ca720c8b917cb3c6a92557ab0c5d71d29a8e7134bd897778142481bbe53c22702e000ff
7
+ data.tar.gz: e83248042353d7419766749fb28e0a45f768e64c924dd7386acda9b05ba7ed2838afe092dbb93a95ea6b1f09572aceba4e34ab54dfe31e1b8e482719c02e2886
@@ -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@v5
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@v7
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@v4
42
+ uses: actions/download-artifact@v8
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@v4
59
+ uses: actions/download-artifact@v8
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@v4
76
+ uses: actions/download-artifact@v8
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@v4
95
+ uses: actions/download-artifact@v8
96
96
  with:
97
97
  name: gem-artifact
98
98
  - name: Install Ruby
@@ -14,7 +14,7 @@ jobs:
14
14
  rubocop:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
- - uses: actions/checkout@v5
17
+ - uses: actions/checkout@v6
18
18
  - name: Setup ruby
19
19
  uses: ruby/setup-ruby@v1
20
20
  with:
@@ -36,7 +36,7 @@ jobs:
36
36
  COVERAGE: ${{ matrix.coverage }}
37
37
  name: Ruby ${{ matrix.ruby }}
38
38
  steps:
39
- - uses: actions/checkout@v5
39
+ - uses: actions/checkout@v6
40
40
  - name: Install Ruby ${{ matrix.ruby }}
41
41
  uses: ruby/setup-ruby@v1
42
42
  with:
data/CHANGELOG.md CHANGED
@@ -2,9 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [2.0.0](https://github.com/voxpupuli/puppet-ghostbuster/tree/2.0.0) (2025-10-16)
5
+ ## [2.1.0](https://github.com/voxpupuli/puppet-ghostbuster/tree/2.1.0) (2026-02-27)
6
6
 
7
- [Full Changelog](https://github.com/voxpupuli/puppet-ghostbuster/compare/1.2.1...2.0.0)
7
+ [Full Changelog](https://github.com/voxpupuli/puppet-ghostbuster/compare/v2.0.0...2.1.0)
8
+
9
+ **Merged pull requests:**
10
+
11
+ - Update syslog requirement from ~\> 0.3.0 to \>= 0.3, \< 0.5 [\#113](https://github.com/voxpupuli/puppet-ghostbuster/pull/113) ([dependabot[bot]](https://github.com/apps/dependabot))
12
+ - Update voxpupuli-rubocop requirement from ~\> 5.0.0 to ~\> 5.1.0 [\#110](https://github.com/voxpupuli/puppet-ghostbuster/pull/110) ([dependabot[bot]](https://github.com/apps/dependabot))
13
+ - README.md: Add note about execution directory [\#108](https://github.com/voxpupuli/puppet-ghostbuster/pull/108) ([bastelfreak](https://github.com/bastelfreak))
14
+ - Update rspec-its requirement from ~\> 1.0 to ~\> 2.0 [\#105](https://github.com/voxpupuli/puppet-ghostbuster/pull/105) ([dependabot[bot]](https://github.com/apps/dependabot))
15
+
16
+ ## [v2.0.0](https://github.com/voxpupuli/puppet-ghostbuster/tree/v2.0.0) (2025-10-16)
17
+
18
+ [Full Changelog](https://github.com/voxpupuli/puppet-ghostbuster/compare/1.2.1...v2.0.0)
8
19
 
9
20
  **Breaking changes:**
10
21
 
@@ -18,7 +29,6 @@ All notable changes to this project will be documented in this file.
18
29
 
19
30
  **Merged pull requests:**
20
31
 
21
- - Bump actions/checkout from 4 to 5 [\#100](https://github.com/voxpupuli/puppet-ghostbuster/pull/100) ([dependabot[bot]](https://github.com/apps/dependabot))
22
32
  - Update voxpupuli-rubocop requirement from ~\> 2.6.0 to ~\> 2.8.0 [\#96](https://github.com/voxpupuli/puppet-ghostbuster/pull/96) ([dependabot[bot]](https://github.com/apps/dependabot))
23
33
  - Update voxpupuli-rubocop requirement from ~\> 2.4.0 to ~\> 2.6.0 [\#93](https://github.com/voxpupuli/puppet-ghostbuster/pull/93) ([dependabot[bot]](https://github.com/apps/dependabot))
24
34
 
@@ -76,7 +86,6 @@ Due to problems during the migration from the camptocamp GitHub org to Vox Pupul
76
86
 
77
87
  **Merged pull requests:**
78
88
 
79
- - Bump actions/checkout from 3 to 4 [\#72](https://github.com/voxpupuli/puppet-ghostbuster/pull/72) ([dependabot[bot]](https://github.com/apps/dependabot))
80
89
  - added some unsafe rubocop fixes [\#71](https://github.com/voxpupuli/puppet-ghostbuster/pull/71) ([zilchms](https://github.com/zilchms))
81
90
  - Update puppet-lint requirement from \>= 1.0, \< 3.0 to \>= 1.0, \< 5.0 [\#70](https://github.com/voxpupuli/puppet-ghostbuster/pull/70) ([dependabot[bot]](https://github.com/apps/dependabot))
82
91
  - modulesync 2023-8-23 [\#69](https://github.com/voxpupuli/puppet-ghostbuster/pull/69) ([zilchms](https://github.com/zilchms))
data/README.md CHANGED
@@ -23,6 +23,8 @@ Usage
23
23
  $ find . -type f -exec puppet-lint --only-checks ghostbuster_classes,ghostbuster_defines,ghostbuster_facts,ghostbuster_files,ghostbuster_functions,ghostbuster_hiera_files,ghostbuster_templates,ghostbuster_types {} \+
24
24
  ```
25
25
 
26
+ **the command has to be executed in your environment root, e.g. /etc/puppetlabs/code/environments/production/**
27
+
26
28
  Environment variables
27
29
  ---------------------
28
30
 
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ rescue LoadError
14
14
  else
15
15
  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
16
16
  config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
17
- config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog modulesync]
17
+ config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog modulesync github_actions]
18
18
  config.user = 'voxpupuli'
19
19
  config.project = 'puppet-ghostbuster'
20
20
  config.future_release = Gem::Specification.load("#{config.project}.gemspec").version
@@ -1,3 +1,3 @@
1
1
  class PuppetGhostbuster
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.1.0'.freeze
3
3
  end
@@ -24,11 +24,11 @@ Gem::Specification.new do |s|
24
24
  s.add_development_dependency 'rake', '>= 13.0.0', '< 14.0.0'
25
25
  s.add_development_dependency 'rspec', '~> 3.0'
26
26
  s.add_development_dependency 'rspec-collection_matchers', '~> 1.0'
27
- s.add_development_dependency 'rspec-its', '~> 1.0'
28
- s.add_development_dependency 'voxpupuli-rubocop', '~> 5.0.0'
27
+ s.add_development_dependency 'rspec-its', '~> 2.0'
28
+ s.add_development_dependency 'voxpupuli-rubocop', '~> 5.1.0'
29
29
 
30
30
  s.add_dependency 'json', '>= 2.0', '< 3.0'
31
31
  s.add_dependency 'openvox', '>= 8.0', '< 9.0'
32
32
  s.add_dependency 'puppetdb-ruby', '~> 1.1', '>= 1.1.1'
33
- s.add_dependency 'syslog', '~> 0.3.0'
33
+ s.add_dependency 'syslog', '>= 0.3', '< 0.5'
34
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-ghostbuster
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
  - Camptocamp
@@ -124,28 +124,28 @@ dependencies:
124
124
  requirements:
125
125
  - - "~>"
126
126
  - !ruby/object:Gem::Version
127
- version: '1.0'
127
+ version: '2.0'
128
128
  type: :development
129
129
  prerelease: false
130
130
  version_requirements: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - "~>"
133
133
  - !ruby/object:Gem::Version
134
- version: '1.0'
134
+ version: '2.0'
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: voxpupuli-rubocop
137
137
  requirement: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - "~>"
140
140
  - !ruby/object:Gem::Version
141
- version: 5.0.0
141
+ version: 5.1.0
142
142
  type: :development
143
143
  prerelease: false
144
144
  version_requirements: !ruby/object:Gem::Requirement
145
145
  requirements:
146
146
  - - "~>"
147
147
  - !ruby/object:Gem::Version
148
- version: 5.0.0
148
+ version: 5.1.0
149
149
  - !ruby/object:Gem::Dependency
150
150
  name: json
151
151
  requirement: !ruby/object:Gem::Requirement
@@ -210,16 +210,22 @@ dependencies:
210
210
  name: syslog
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - "~>"
213
+ - - ">="
214
214
  - !ruby/object:Gem::Version
215
- version: 0.3.0
215
+ version: '0.3'
216
+ - - "<"
217
+ - !ruby/object:Gem::Version
218
+ version: '0.5'
216
219
  type: :runtime
217
220
  prerelease: false
218
221
  version_requirements: !ruby/object:Gem::Requirement
219
222
  requirements:
220
- - - "~>"
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ version: '0.3'
226
+ - - "<"
221
227
  - !ruby/object:Gem::Version
222
- version: 0.3.0
228
+ version: '0.5'
223
229
  description: Try and find dead code in Puppet receipts
224
230
  executables: []
225
231
  extensions: []
@@ -292,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
298
  - !ruby/object:Gem::Version
293
299
  version: '0'
294
300
  requirements: []
295
- rubygems_version: 3.6.9
301
+ rubygems_version: 4.0.3
296
302
  specification_version: 4
297
303
  summary: Dead code detector for Puppet
298
304
  test_files: []