onceover-codequality 1.1.0 → 1.2.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 +3 -3
- data/.github/workflows/release.yaml +6 -6
- data/CHANGELOG.md +9 -0
- data/Rakefile +0 -1
- data/lib/onceover/codequality/formatter.rb +5 -1
- data/lib/onceover/codequality/version.rb +1 -1
- data/onceover-codequality.gemspec +1 -2
- metadata +4 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7dc11d2c0fc8a7079f3a080969594b0b7747f3e9591a8a255b541e8f272e79e8
|
|
4
|
+
data.tar.gz: 056edd5622a6a60f3d25f4f9d74643ab6baaf9f9921804d677c996b913983cf4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5faa1ca56a0a691d2684af24d7ff93c58f42df5de0f132864d4ef39055dbfade2ed018aab38c9cf565e25967711e6c9d7a9d3d2d600075f9a7e9d90dd4975eb7
|
|
7
|
+
data.tar.gz: 187caa3be00e9ddbe3dad4b5096ba64fce3645d5d9b9723bf4b266ea431903921b27f4e4bf00c93b95c2bf52ef686915da29d56a653790a1420269e5dfa316e6
|
data/.github/workflows/ci.yaml
CHANGED
|
@@ -16,7 +16,7 @@ jobs:
|
|
|
16
16
|
outputs:
|
|
17
17
|
ruby: ${{ steps.ruby.outputs.versions }}
|
|
18
18
|
steps:
|
|
19
|
-
- uses: actions/checkout@
|
|
19
|
+
- uses: actions/checkout@v6
|
|
20
20
|
- name: Install Ruby 3.4
|
|
21
21
|
uses: ruby/setup-ruby@v1
|
|
22
22
|
with:
|
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
- name: Run RuboCop
|
|
26
26
|
run: bundle exec rake rubocop
|
|
27
27
|
- id: ruby
|
|
28
|
-
uses: voxpupuli/ruby-version@
|
|
28
|
+
uses: voxpupuli/ruby-version@v2
|
|
29
29
|
|
|
30
30
|
test:
|
|
31
31
|
name: "Ruby ${{ matrix.ruby }} - ${{ matrix.os }}"
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
- ubuntu-24.04
|
|
40
40
|
- ubuntu-24.04-arm
|
|
41
41
|
steps:
|
|
42
|
-
- uses: actions/checkout@
|
|
42
|
+
- uses: actions/checkout@v6
|
|
43
43
|
- name: Setup ruby
|
|
44
44
|
uses: ruby/setup-ruby@v1
|
|
45
45
|
with:
|
|
@@ -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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v1.2.0](https://github.com/voxpupuli/onceover-codequality/tree/v1.2.0) (2026-03-18)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/onceover-codequality/compare/v1.1.0...v1.2.0)
|
|
6
|
+
|
|
7
|
+
**Implemented enhancements:**
|
|
8
|
+
|
|
9
|
+
- add: special handling for GitHub Actions annotations from `puppet-lint` [\#59](https://github.com/voxpupuli/onceover-codequality/pull/59) ([griggi-ws](https://github.com/griggi-ws))
|
|
10
|
+
- openvox-strings: allow 7.x [\#56](https://github.com/voxpupuli/onceover-codequality/pull/56) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
11
|
+
|
|
3
12
|
## [v1.1.0](https://github.com/voxpupuli/onceover-codequality/tree/v1.1.0) (2025-10-29)
|
|
4
13
|
|
|
5
14
|
[Full Changelog](https://github.com/voxpupuli/onceover-codequality/compare/v1.0.0...v1.1.0)
|
data/Rakefile
CHANGED
|
@@ -11,7 +11,11 @@ class Onceover
|
|
|
11
11
|
def self.end_test(output, ok, show_output = false)
|
|
12
12
|
if !ok || show_output
|
|
13
13
|
output.each_line do |line|
|
|
14
|
-
|
|
14
|
+
if line.start_with?('::') # This is special syntax for GitHub annotations
|
|
15
|
+
puts(line)
|
|
16
|
+
else
|
|
17
|
+
logger.info("\t#{line.chomp}")
|
|
18
|
+
end
|
|
15
19
|
end
|
|
16
20
|
end
|
|
17
21
|
|
|
@@ -21,12 +21,11 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
|
|
22
22
|
spec.required_ruby_version = Gem::Requirement.new('>= 3.2')
|
|
23
23
|
|
|
24
|
-
spec.add_development_dependency "bundler", "~> 2.4"
|
|
25
24
|
spec.add_development_dependency "rake", "~> 13.3"
|
|
26
25
|
spec.add_development_dependency "rspec", "~> 3.13"
|
|
27
26
|
|
|
28
27
|
spec.add_runtime_dependency 'onceover', '~> 5.0'
|
|
29
|
-
spec.add_runtime_dependency 'openvox-strings', '>= 5.0', '<
|
|
28
|
+
spec.add_runtime_dependency 'openvox-strings', '>= 5.0', '< 8.0'
|
|
30
29
|
spec.add_runtime_dependency 'puppet-lint', '~> 5.1'
|
|
31
30
|
spec.add_runtime_dependency 'puppet-syntax', '~> 7.0'
|
|
32
31
|
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.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dylan Ratcliffe
|
|
@@ -10,20 +10,6 @@ bindir: exe
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: bundler
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - "~>"
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '2.4'
|
|
20
|
-
type: :development
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - "~>"
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '2.4'
|
|
27
13
|
- !ruby/object:Gem::Dependency
|
|
28
14
|
name: rake
|
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -75,7 +61,7 @@ dependencies:
|
|
|
75
61
|
version: '5.0'
|
|
76
62
|
- - "<"
|
|
77
63
|
- !ruby/object:Gem::Version
|
|
78
|
-
version: '
|
|
64
|
+
version: '8.0'
|
|
79
65
|
type: :runtime
|
|
80
66
|
prerelease: false
|
|
81
67
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -85,7 +71,7 @@ dependencies:
|
|
|
85
71
|
version: '5.0'
|
|
86
72
|
- - "<"
|
|
87
73
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: '
|
|
74
|
+
version: '8.0'
|
|
89
75
|
- !ruby/object:Gem::Dependency
|
|
90
76
|
name: puppet-lint
|
|
91
77
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -167,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
167
153
|
- !ruby/object:Gem::Version
|
|
168
154
|
version: '0'
|
|
169
155
|
requirements: []
|
|
170
|
-
rubygems_version:
|
|
156
|
+
rubygems_version: 4.0.6
|
|
171
157
|
specification_version: 4
|
|
172
158
|
summary: Lint and syntax validation for onceover
|
|
173
159
|
test_files: []
|