onceover-codequality 1.0.0 → 1.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/ci.yaml +33 -22
- data/.github/workflows/labeler.yaml +1 -1
- data/.github/workflows/release.yaml +6 -6
- data/CHANGELOG.md +14 -0
- data/lib/onceover/codequality/version.rb +1 -1
- data/onceover-codequality.gemspec +3 -3
- metadata +18 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e8ddc730ad5af5ea52dd482e03c1c940ba2f4e2dca15ee079dfaa48f1c05b71
|
|
4
|
+
data.tar.gz: 0716d052df17231b01e785f5eb62d123393ead3f85529cba856f847090f77c00
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c87a63db606dc594cb9ddc7eb70be9dacb1533cad501a07cd9b346985250cc63bd20782edd9467ba6e0e0d0de3d103100728c5ce1f04560e475fb2cf3b1f7970
|
|
7
|
+
data.tar.gz: 6fbee65f839e1ba86df724291d2e5d0a8df338426cc5d924d4df6eeb7c9584eb3fd898b6def4268c45bcd981abae3bffe4bb2a5e8084de9f25bc541d4070d8ad
|
data/.github/workflows/ci.yaml
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
---
|
|
1
2
|
name: 🚦 CI
|
|
2
3
|
|
|
3
4
|
on:
|
|
@@ -6,47 +7,57 @@ on:
|
|
|
6
7
|
branches:
|
|
7
8
|
- master
|
|
8
9
|
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
9
13
|
jobs:
|
|
10
|
-
|
|
14
|
+
rubocop_and_matrix:
|
|
11
15
|
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
matrix:
|
|
15
|
-
ruby:
|
|
16
|
-
- 3.2
|
|
16
|
+
outputs:
|
|
17
|
+
ruby: ${{ steps.ruby.outputs.versions }}
|
|
17
18
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
19
|
-
- name: Install Ruby
|
|
19
|
+
- uses: actions/checkout@v5
|
|
20
|
+
- name: Install Ruby 3.4
|
|
20
21
|
uses: ruby/setup-ruby@v1
|
|
21
22
|
with:
|
|
22
|
-
ruby-version:
|
|
23
|
+
ruby-version: '3.4'
|
|
23
24
|
bundler-cache: true
|
|
24
|
-
- name: Run
|
|
25
|
+
- name: Run RuboCop
|
|
25
26
|
run: bundle exec rake rubocop
|
|
26
|
-
|
|
27
|
+
- id: ruby
|
|
28
|
+
uses: voxpupuli/ruby-version@v1
|
|
29
|
+
|
|
30
|
+
test:
|
|
31
|
+
name: "Ruby ${{ matrix.ruby }} - ${{ matrix.os }}"
|
|
32
|
+
runs-on: ${{ matrix.os }}
|
|
33
|
+
needs: rubocop_and_matrix
|
|
27
34
|
strategy:
|
|
28
35
|
fail-fast: false
|
|
29
36
|
matrix:
|
|
37
|
+
ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
|
|
30
38
|
os:
|
|
31
39
|
- ubuntu-24.04
|
|
32
40
|
- ubuntu-24.04-arm
|
|
33
|
-
include:
|
|
34
|
-
- ruby: 3.2
|
|
35
|
-
runs-on: ${{ matrix.os }}
|
|
36
41
|
steps:
|
|
37
|
-
- uses: actions/checkout@
|
|
38
|
-
-
|
|
42
|
+
- uses: actions/checkout@v5
|
|
43
|
+
- name: Setup ruby
|
|
44
|
+
uses: ruby/setup-ruby@v1
|
|
39
45
|
with:
|
|
40
46
|
ruby-version: ${{ matrix.ruby }}
|
|
41
|
-
bundler-cache: true
|
|
42
|
-
- name: Run
|
|
47
|
+
bundler-cache: true
|
|
48
|
+
- name: Run tests
|
|
43
49
|
run: bundle exec rake spec
|
|
50
|
+
- name: Build the gem
|
|
51
|
+
run: gem build --strict --verbose *.gemspec
|
|
44
52
|
|
|
45
53
|
tests:
|
|
54
|
+
if: always()
|
|
46
55
|
needs:
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
runs-on: ubuntu-latest
|
|
56
|
+
- test
|
|
57
|
+
runs-on: ubuntu-24.04
|
|
50
58
|
name: Test suite
|
|
51
59
|
steps:
|
|
52
|
-
-
|
|
60
|
+
- name: Decide whether the needed jobs succeeded or failed
|
|
61
|
+
uses: re-actors/alls-green@release/v1
|
|
62
|
+
with:
|
|
63
|
+
jobs: ${{ toJSON(needs) }}
|
|
@@ -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@v5
|
|
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@v5
|
|
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@v6
|
|
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@v6
|
|
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@v6
|
|
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@v6
|
|
96
96
|
with:
|
|
97
97
|
name: gem-artifact
|
|
98
98
|
- name: Install Ruby
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v1.1.0](https://github.com/voxpupuli/onceover-codequality/tree/v1.1.0) (2025-10-29)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/onceover-codequality/compare/v1.0.0...v1.1.0)
|
|
6
|
+
|
|
7
|
+
**Implemented enhancements:**
|
|
8
|
+
|
|
9
|
+
- puppet-syntax: Require 7.x [\#49](https://github.com/voxpupuli/onceover-codequality/pull/49) ([bastelfreak](https://github.com/bastelfreak))
|
|
10
|
+
- puppet-lint: Require 5.1 [\#48](https://github.com/voxpupuli/onceover-codequality/pull/48) ([bastelfreak](https://github.com/bastelfreak))
|
|
11
|
+
- Switch to openvox-strings [\#43](https://github.com/voxpupuli/onceover-codequality/pull/43) ([smortex](https://github.com/smortex))
|
|
12
|
+
|
|
13
|
+
**Merged pull requests:**
|
|
14
|
+
|
|
15
|
+
- Generate CI matrix dynamically [\#50](https://github.com/voxpupuli/onceover-codequality/pull/50) ([bastelfreak](https://github.com/bastelfreak))
|
|
16
|
+
|
|
3
17
|
## [v1.0.0](https://github.com/voxpupuli/onceover-codequality/tree/v1.0.0) (2025-07-11)
|
|
4
18
|
|
|
5
19
|
[Full Changelog](https://github.com/voxpupuli/onceover-codequality/compare/v0.12.0...v1.0.0)
|
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.add_development_dependency "rspec", "~> 3.13"
|
|
27
27
|
|
|
28
28
|
spec.add_runtime_dependency 'onceover', '~> 5.0'
|
|
29
|
-
spec.add_runtime_dependency '
|
|
30
|
-
spec.add_runtime_dependency 'puppet-
|
|
31
|
-
spec.add_runtime_dependency 'puppet-syntax', '~>
|
|
29
|
+
spec.add_runtime_dependency 'openvox-strings', '>= 5.0', '< 7.0'
|
|
30
|
+
spec.add_runtime_dependency 'puppet-lint', '~> 5.1'
|
|
31
|
+
spec.add_runtime_dependency 'puppet-syntax', '~> 7.0'
|
|
32
32
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: onceover-codequality
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dylan Ratcliffe
|
|
@@ -67,47 +67,53 @@ dependencies:
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '5.0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
70
|
+
name: openvox-strings
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '
|
|
75
|
+
version: '5.0'
|
|
76
|
+
- - "<"
|
|
77
|
+
- !ruby/object:Gem::Version
|
|
78
|
+
version: '7.0'
|
|
76
79
|
type: :runtime
|
|
77
80
|
prerelease: false
|
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
82
|
requirements:
|
|
80
|
-
- - "
|
|
83
|
+
- - ">="
|
|
81
84
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '
|
|
85
|
+
version: '5.0'
|
|
86
|
+
- - "<"
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '7.0'
|
|
83
89
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name: puppet-
|
|
90
|
+
name: puppet-lint
|
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
|
86
92
|
requirements:
|
|
87
93
|
- - "~>"
|
|
88
94
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '5.
|
|
95
|
+
version: '5.1'
|
|
90
96
|
type: :runtime
|
|
91
97
|
prerelease: false
|
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
99
|
requirements:
|
|
94
100
|
- - "~>"
|
|
95
101
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '5.
|
|
102
|
+
version: '5.1'
|
|
97
103
|
- !ruby/object:Gem::Dependency
|
|
98
104
|
name: puppet-syntax
|
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
|
100
106
|
requirements:
|
|
101
107
|
- - "~>"
|
|
102
108
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '
|
|
109
|
+
version: '7.0'
|
|
104
110
|
type: :runtime
|
|
105
111
|
prerelease: false
|
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
113
|
requirements:
|
|
108
114
|
- - "~>"
|
|
109
115
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '
|
|
116
|
+
version: '7.0'
|
|
111
117
|
email:
|
|
112
118
|
- voxpupuli@groups.io
|
|
113
119
|
executables: []
|
|
@@ -161,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
161
167
|
- !ruby/object:Gem::Version
|
|
162
168
|
version: '0'
|
|
163
169
|
requirements: []
|
|
164
|
-
rubygems_version: 3.6.
|
|
170
|
+
rubygems_version: 3.6.9
|
|
165
171
|
specification_version: 4
|
|
166
172
|
summary: Lint and syntax validation for onceover
|
|
167
173
|
test_files: []
|