onceover-codequality 0.11.0 → 0.13.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: 70a3d772bc339e3872f73b5f5f5a7bfc3a64c6ad1251a8dc46f391808db2daf6
4
- data.tar.gz: 46fe84375ea4778dcea5c81cb806572357f38bbcf662d085ec9473b4eed9b098
3
+ metadata.gz: 996d0514e015dfda357e74afcc718c6c48cf681e14f420a9312796fe87ce1162
4
+ data.tar.gz: af938880feaa8773f4ea6b0b4709bd78d3d760bd9d9572818772bcc5668fb9b1
5
5
  SHA512:
6
- metadata.gz: 699551eaed40923880a9c0033e8fd3c92f4409a900620588208736ca5e38fdcb31bbbda85e75d757bb11d44ad3ce5d55f6717d7a4ed1c285fd36e78741240591
7
- data.tar.gz: fe287976918caa65713b97f69c757eeafbfb19a37bc6c4505d53deb96f81d6afe1841916b0c9cc6257dd5e14725aca4289a93ed94e960ceed222fbf1dffee935
6
+ metadata.gz: 696a7dbd23ba2e739ffbd01ab05b5f7490b73fbe6f4215b19c0ecb01d2fb22189e2dd45d48abea50490bd748c6421a8513c8a08d6805eb30399987837325f197
7
+ data.tar.gz: c897de1532b0f7b16a1bd48cc151ee39b4a016a08a2078aaa1315d6a98657a0ea3bbbaa2a56b7bc44b015fd7bdee2f294faccdcbbe2dd36bbeeb0f478ea68b15
data/Gemfile.lock CHANGED
@@ -1,57 +1,60 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- onceover-codequality (0.11.0)
4
+ onceover-codequality (0.13.0)
5
5
  onceover (~> 3)
6
+ puppet-lint (~> 4)
6
7
  puppet-strings (~> 4)
7
- puppet-syntax (~> 3)
8
- puppetlabs-puppet-lint (~> 5)
8
+ puppet-syntax (~> 4)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- addressable (2.8.4)
14
- public_suffix (>= 2.0.2, < 6.0)
13
+ activesupport (8.0.2)
14
+ base64
15
+ benchmark (>= 0.3)
16
+ bigdecimal
17
+ concurrent-ruby (~> 1.0, >= 1.3.1)
18
+ connection_pool (>= 2.2.5)
19
+ drb
20
+ i18n (>= 1.6, < 2)
21
+ logger (>= 1.4.2)
22
+ minitest (>= 5.1)
23
+ securerandom (>= 0.3)
24
+ tzinfo (~> 2.0, >= 2.0.5)
25
+ uri (>= 0.13.1)
26
+ addressable (2.8.7)
27
+ public_suffix (>= 2.0.2, < 7.0)
15
28
  backticks (1.0.5)
29
+ base64 (0.3.0)
30
+ benchmark (0.4.1)
31
+ bigdecimal (3.2.1)
16
32
  blockenspiel (0.5.0)
17
33
  colored (1.2)
18
- colored2 (3.1.2)
19
- concurrent-ruby (1.2.2)
20
- cri (2.15.11)
34
+ colored2 (4.0.3)
35
+ concurrent-ruby (1.3.5)
36
+ connection_pool (2.5.3)
37
+ cri (2.15.12)
21
38
  deep_merge (1.2.2)
22
- diff-lcs (1.5.0)
23
- erubi (1.12.0)
24
- facter (4.4.1)
39
+ diff-lcs (1.6.2)
40
+ drb (2.2.3)
41
+ erubi (1.13.1)
42
+ facter (4.10.0)
25
43
  hocon (~> 1.3)
26
- thor (>= 1.0.1, < 2.0)
27
- faraday (1.10.3)
28
- faraday-em_http (~> 1.0)
29
- faraday-em_synchrony (~> 1.0)
30
- faraday-excon (~> 1.1)
31
- faraday-httpclient (~> 1.0)
32
- faraday-multipart (~> 1.0)
33
- faraday-net_http (~> 1.0)
34
- faraday-net_http_persistent (~> 1.0)
35
- faraday-patron (~> 1.0)
36
- faraday-rack (~> 1.0)
37
- faraday-retry (~> 1.0)
38
- ruby2_keywords (>= 0.0.4)
39
- faraday-em_http (1.0.0)
40
- faraday-em_synchrony (1.0.0)
41
- faraday-excon (1.1.0)
42
- faraday-httpclient (1.0.1)
43
- faraday-multipart (1.0.4)
44
- multipart-post (~> 2)
45
- faraday-net_http (1.0.1)
46
- faraday-net_http_persistent (1.2.0)
47
- faraday-patron (1.0.0)
48
- faraday-rack (1.0.0)
49
- faraday-retry (1.0.3)
50
- faraday_middleware (1.2.0)
51
- faraday (~> 1.0)
52
- fast_gettext (2.3.0)
44
+ thor (>= 1.0.1, < 1.3)
45
+ faraday (2.13.1)
46
+ faraday-net_http (>= 2.0, < 3.5)
47
+ json
48
+ logger
49
+ faraday-follow_redirects (0.3.0)
50
+ faraday (>= 1, < 3)
51
+ faraday-net_http (3.4.0)
52
+ net-http (>= 0.5.0)
53
+ fast_gettext (2.4.0)
54
+ prime
53
55
  forwardable (1.3.3)
54
- gettext (3.4.4)
56
+ getoptlong (0.2.1)
57
+ gettext (3.5.1)
55
58
  erubi
56
59
  locale (>= 2.0.5)
57
60
  prime
@@ -61,29 +64,39 @@ GEM
61
64
  fast_gettext (~> 2.1)
62
65
  gettext (~> 3.4)
63
66
  locale
64
- git (1.18.0)
67
+ git (3.1.0)
68
+ activesupport (>= 5.0)
65
69
  addressable (~> 2.8)
66
- rchardet (~> 1.8)
70
+ process_executer (~> 1.3)
71
+ rchardet (~> 1.9)
67
72
  hocon (1.4.0)
68
- jwt (2.2.3)
73
+ i18n (1.14.7)
74
+ concurrent-ruby (~> 1.0)
75
+ json (2.12.2)
76
+ jwt (2.10.1)
77
+ base64
69
78
  little-plugger (1.1.4)
70
- locale (2.1.3)
79
+ locale (2.1.4)
71
80
  log4r (1.1.10)
72
- logging (2.3.1)
81
+ logger (1.7.0)
82
+ logging (2.4.0)
73
83
  little-plugger (~> 1.1)
74
84
  multi_json (~> 1.14)
75
- minitar (0.9)
76
- mocha (1.16.1)
85
+ minitar (1.0.2)
86
+ minitest (5.25.5)
87
+ mocha (2.7.1)
88
+ ruby2_keywords (>= 0.0.5)
77
89
  multi_json (1.15.0)
78
- multipart-post (2.3.0)
79
- onceover (3.20.0)
90
+ net-http (0.6.0)
91
+ uri
92
+ onceover (3.22.0)
80
93
  backticks (>= 1.0.2)
81
- colored (~> 1.2)
94
+ colored (>= 1.2)
82
95
  cri (>= 2.6)
83
96
  deep_merge (>= 1.0.0)
84
97
  git
85
98
  logging (>= 2.0.0)
86
- multi_json (~> 1.10)
99
+ multi_json (>= 1.10)
87
100
  parallel_tests (>= 2.0.0)
88
101
  puppet (>= 4.0)
89
102
  puppetlabs_spec_helper (>= 0.4.0)
@@ -94,92 +107,97 @@ GEM
94
107
  rspec_junit_formatter (>= 0.2.0)
95
108
  terminal-table (>= 1.8.0)
96
109
  versionomy (>= 0.5.0)
97
- parallel (1.23.0)
98
- parallel_tests (4.2.1)
110
+ parallel (1.27.0)
111
+ parallel_tests (5.3.0)
99
112
  parallel
100
- pathspec (1.1.3)
101
- prime (0.1.2)
113
+ pathspec (2.1.0)
114
+ prime (0.1.3)
102
115
  forwardable
103
116
  singleton
104
- public_suffix (5.0.1)
105
- puppet (8.1.0)
117
+ process_executer (1.3.0)
118
+ public_suffix (6.0.2)
119
+ puppet (8.10.0)
106
120
  concurrent-ruby (~> 1.0)
107
121
  deep_merge (~> 1.0)
108
122
  facter (>= 4.3.0, < 5)
109
- fast_gettext (>= 2.1, < 3)
123
+ fast_gettext (>= 2.1, < 4)
124
+ getoptlong (~> 0.2.0)
110
125
  locale (~> 2.1)
111
126
  multi_json (~> 1.13)
112
127
  puppet-resource_api (~> 1.5)
113
128
  scanf (~> 1.0)
114
129
  semantic_puppet (~> 1.0)
115
- puppet-lint (4.0.0)
116
- puppet-resource_api (1.8.14)
130
+ puppet-lint (4.3.0)
131
+ puppet-resource_api (1.9.0)
117
132
  hocon (>= 1.0)
118
- puppet-strings (4.0.0)
133
+ puppet-strings (4.1.3)
119
134
  rgen (~> 0.9)
120
- yard (~> 0.9)
121
- puppet-syntax (3.3.0)
122
- puppet (>= 5)
123
- rake
124
- puppet_forge (3.2.0)
125
- faraday (~> 1.3)
126
- faraday_middleware (~> 1.0)
127
- minitar
135
+ yard (~> 0.9, < 0.9.37)
136
+ puppet-syntax (4.1.1)
137
+ puppet (>= 7, < 9)
138
+ rake (~> 13.1)
139
+ puppet_forge (6.0.0)
140
+ faraday (~> 2.0)
141
+ faraday-follow_redirects (~> 0.3.0)
142
+ minitar (~> 1.0, >= 1.0.2)
128
143
  semantic_puppet (~> 1.0)
129
- puppetlabs-puppet-lint (5.0.0)
130
- puppetlabs_spec_helper (6.0.1)
131
- mocha (~> 1.0)
132
- pathspec (>= 0.2, < 2.0.0)
133
- puppet-lint (>= 3.0.0)
134
- puppet-syntax (~> 3.0)
144
+ puppetlabs_spec_helper (8.0.0)
145
+ mocha (>= 1.0, < 3)
146
+ pathspec (>= 0.2, < 3)
147
+ puppet-lint (~> 4.0)
148
+ puppet-syntax (~> 4.1, >= 4.1.1)
135
149
  rspec-github (~> 2.0)
136
- rspec-puppet (>= 2.0)
137
- r10k (3.15.4)
138
- colored2 (= 3.1.2)
150
+ rspec-puppet (~> 5.0)
151
+ r10k (5.0.0)
152
+ colored2 (~> 4.0)
139
153
  cri (>= 2.15.10)
140
- fast_gettext (>= 1.1.0, < 3.0.0)
141
- gettext (>= 3.0.2, < 4.0.0)
142
- gettext-setup (>= 0.24, < 2.0.0)
143
- jwt (~> 2.2.3)
154
+ gettext-setup (>= 0.24, < 2.0)
155
+ jwt (>= 2.2.3, < 3)
144
156
  log4r (= 1.1.10)
145
- minitar (~> 0.9)
157
+ minitar (>= 0.9, < 2)
146
158
  multi_json (~> 1.10)
147
- puppet_forge (>= 2.3.0, < 4.0.0)
148
- racc (1.7.1)
149
- rake (13.0.6)
150
- rchardet (1.8.0)
151
- rgen (0.9.1)
152
- rspec (3.12.0)
153
- rspec-core (~> 3.12.0)
154
- rspec-expectations (~> 3.12.0)
155
- rspec-mocks (~> 3.12.0)
156
- rspec-core (3.12.2)
157
- rspec-support (~> 3.12.0)
158
- rspec-expectations (3.12.3)
159
+ puppet_forge (>= 4.1.0, < 7)
160
+ racc (1.8.1)
161
+ rake (13.3.0)
162
+ rchardet (1.9.0)
163
+ rgen (0.10.2)
164
+ rspec (3.13.1)
165
+ rspec-core (~> 3.13.0)
166
+ rspec-expectations (~> 3.13.0)
167
+ rspec-mocks (~> 3.13.0)
168
+ rspec-core (3.13.4)
169
+ rspec-support (~> 3.13.0)
170
+ rspec-expectations (3.13.5)
159
171
  diff-lcs (>= 1.2.0, < 2.0)
160
- rspec-support (~> 3.12.0)
172
+ rspec-support (~> 3.13.0)
161
173
  rspec-github (2.4.0)
162
174
  rspec-core (~> 3.0)
163
- rspec-mocks (3.12.5)
175
+ rspec-mocks (3.13.5)
164
176
  diff-lcs (>= 1.2.0, < 2.0)
165
- rspec-support (~> 3.12.0)
166
- rspec-puppet (3.0.0)
167
- rspec
168
- rspec-support (3.12.0)
177
+ rspec-support (~> 3.13.0)
178
+ rspec-puppet (5.0.0)
179
+ rspec (~> 3.0)
180
+ rspec-support (3.13.4)
169
181
  rspec_junit_formatter (0.6.0)
170
182
  rspec-core (>= 2, < 4, != 2.12.0)
171
183
  ruby2_keywords (0.0.5)
172
184
  scanf (1.0.0)
173
- semantic_puppet (1.1.0)
174
- singleton (0.1.1)
175
- terminal-table (3.0.2)
176
- unicode-display_width (>= 1.1.1, < 3)
185
+ securerandom (0.4.1)
186
+ semantic_puppet (1.1.1)
187
+ singleton (0.3.0)
188
+ terminal-table (4.0.0)
189
+ unicode-display_width (>= 1.1.1, < 4)
177
190
  text (1.3.1)
178
191
  thor (1.2.2)
179
- unicode-display_width (2.4.2)
192
+ tzinfo (2.0.6)
193
+ concurrent-ruby (~> 1.0)
194
+ unicode-display_width (3.1.4)
195
+ unicode-emoji (~> 4.0, >= 4.0.4)
196
+ unicode-emoji (4.0.4)
197
+ uri (1.0.3)
180
198
  versionomy (0.5.0)
181
199
  blockenspiel (~> 0.5)
182
- yard (0.9.34)
200
+ yard (0.9.36)
183
201
 
184
202
  PLATFORMS
185
203
  x86_64-linux
@@ -191,4 +209,4 @@ DEPENDENCIES
191
209
  rspec (~> 3.12)
192
210
 
193
211
  BUNDLED WITH
194
- 2.4.6
212
+ 2.4.17
data/README.md CHANGED
@@ -99,26 +99,6 @@ $ echo $?
99
99
  1
100
100
  ```
101
101
 
102
- ## Developing
103
-
104
- ### How to run tests
105
-
106
- ```shell
107
- bundle exec rake spec
108
- ```
109
-
110
- ### How to build gem
111
-
112
- ```shell
113
- gem build onceover-codequality.gemspec
114
- ```
115
-
116
- ### How to upload to rubygems.org
117
-
118
- ```shell
119
- gem push XXX.gem
120
- ```
121
-
122
102
  ## FAQ
123
103
 
124
104
  **`WARN: Unresolved specs during Gem::Specification.reset`?**
@@ -149,8 +129,29 @@ $ bundle exec onceover run codequality
149
129
 
150
130
  ## Development
151
131
 
152
- If you have new ideas for things to check this might be a handy place to add them, please open a ticket, otherwise see the [helloworld plugin](https://github.com/declarativesystems/onceover-helloworld) if you want to have a go at writing a plugin of your own.
132
+ ### Writing your own onceover plugins
133
+
134
+ Have a look at [helloworld plugin](https://github.com/declarativesystems/onceover-helloworld) if you want to have a go at writing a plugin of your own.
135
+
136
+ ### How to run tests
137
+
138
+ ```shell
139
+ bundle exec rake spec
140
+ ```
141
+
142
+ ### How to build gem
143
+
144
+ ```shell
145
+ gem build onceover-codequality.gemspec
146
+ ```
147
+
148
+ ### How to upload to rubygems.org
149
+
150
+ ```shell
151
+ gem push XXX.gem
152
+ ```
153
153
 
154
154
  ## Contributing
155
155
 
156
- Bug reports and pull requests are welcome on GitHub at https://github.com/declarativesystems/onceover-codequality.
156
+ * [This project is looking for a maintainer](https://github.com/declarativesystems/onceover-codequality/issues/21)
157
+ * Bug reports and pull requests welcome
@@ -1,5 +1,5 @@
1
1
  class Onceover
2
2
  module CodeQuality
3
- VERSION = "0.11.0"
3
+ VERSION = "0.13.0"
4
4
  end
5
5
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "rspec", "~> 3.12"
26
26
 
27
27
  spec.add_runtime_dependency 'onceover', '~> 3'
28
- spec.add_runtime_dependency 'puppet-syntax', '~> 3'
29
- spec.add_runtime_dependency 'puppetlabs-puppet-lint', '~> 5'
28
+ spec.add_runtime_dependency 'puppet-syntax', '~> 4'
29
+ spec.add_runtime_dependency 'puppet-lint', '~> 4'
30
30
  spec.add_runtime_dependency 'puppet-strings', '~> 4'
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onceover-codequality
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Declarative Systems
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-12 00:00:00.000000000 Z
11
+ date: 2025-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3'
75
+ version: '4'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3'
82
+ version: '4'
83
83
  - !ruby/object:Gem::Dependency
84
- name: puppetlabs-puppet-lint
84
+ name: puppet-lint
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '5'
89
+ version: '4'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '5'
96
+ version: '4'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: puppet-strings
99
99
  requirement: !ruby/object:Gem::Requirement