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 +4 -4
- data/.github/workflows/release.yml +6 -6
- data/.github/workflows/test.yml +2 -2
- data/CHANGELOG.md +13 -4
- data/README.md +2 -0
- data/Rakefile +1 -1
- data/lib/puppet-ghostbuster/version.rb +1 -1
- data/puppet-ghostbuster.gemspec +3 -3
- metadata +16 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 825f0bad6bda91f1b0c1ac0c423d436fb2593a4b77b2354815b4c2520bd74425
|
|
4
|
+
data.tar.gz: 2b04bcddbb57796ebff9136ddab64626a48ecde7f20e273209e8cefc23e429c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
95
|
+
uses: actions/download-artifact@v8
|
|
96
96
|
with:
|
|
97
97
|
name: gem-artifact
|
|
98
98
|
- name: Install Ruby
|
data/.github/workflows/test.yml
CHANGED
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
rubocop:
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
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@
|
|
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.
|
|
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/
|
|
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
|
data/puppet-ghostbuster.gemspec
CHANGED
|
@@ -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', '~>
|
|
28
|
-
s.add_development_dependency 'voxpupuli-rubocop', '~> 5.
|
|
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', '
|
|
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.
|
|
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: '
|
|
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: '
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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:
|
|
301
|
+
rubygems_version: 4.0.3
|
|
296
302
|
specification_version: 4
|
|
297
303
|
summary: Dead code detector for Puppet
|
|
298
304
|
test_files: []
|