onceover 3.22.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +17 -0
- data/.github/workflows/release.yaml +25 -17
- data/.github/workflows/tests.yaml +30 -4
- data/.gitignore +2 -1
- data/.rubocop.yml +4 -704
- data/.rubocop_todo.yml +828 -0
- data/CHANGELOG.md +1036 -0
- data/Gemfile +7 -1
- data/LICENSE +202 -0
- data/README.md +81 -35
- data/Rakefile +23 -14
- data/features/auto_vendored.feature +27 -0
- data/features/step_definitions/common.rb +5 -5
- data/features/support/cache_helper.rb +0 -1
- data/features/support/command_helper.rb +0 -2
- data/features/support/controlrepo_helper.rb +0 -2
- data/lib/onceover/beaker/spec_helper.rb +7 -7
- data/lib/onceover/beaker.rb +9 -12
- data/lib/onceover/cli/run.rb +1 -0
- data/lib/onceover/controlrepo.rb +19 -24
- data/lib/onceover/deploy.rb +29 -2
- data/lib/onceover/group.rb +1 -3
- data/lib/onceover/logger.rb +3 -3
- data/lib/onceover/node.rb +0 -2
- data/lib/onceover/rake_tasks.rb +9 -4
- data/lib/onceover/rspec/formatters.rb +3 -4
- data/lib/onceover/test.rb +1 -2
- data/lib/onceover/testconfig.rb +2 -2
- data/lib/onceover/vendored_modules.rb +186 -0
- data/onceover.gemspec +24 -21
- data/spec/fixtures/controlrepos/caching/spec/factsets/README.md +1 -1
- data/spec/fixtures/controlrepos/caching/spec/pre_conditions/README.md +1 -1
- data/spec/fixtures/controlrepos/factsets/spec/factsets/README.md +1 -1
- data/spec/fixtures/controlrepos/puppet_controlrepo/Gemfile +1 -1
- data/spec/fixtures/controlrepos/vendored/Puppetfile +3 -0
- data/spec/fixtures/controlrepos/vendored/Puppetfile.cron +5 -0
- data/spec/fixtures/controlrepos/vendored/environment.conf +1 -0
- data/spec/fixtures/controlrepos/vendored/site-modules/role/manifests/cron.pp +9 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-8.6.0.json +1 -0
- data/spec/onceover/controlrepo_spec.rb +1 -1
- data/templates/factsets_README.md.erb +1 -1
- data/templates/pre_conditions_README.md.erb +1 -1
- metadata +56 -9
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,828 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2024-11-14 22:59:32 UTC using RuboCop version 1.67.0.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 5
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
11
|
+
Layout/ElseAlignment:
|
12
|
+
Exclude:
|
13
|
+
- 'lib/onceover/controlrepo.rb'
|
14
|
+
|
15
|
+
# Offense count: 3
|
16
|
+
# This cop supports safe autocorrection (--autocorrect).
|
17
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
18
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
19
|
+
Layout/FirstHashElementIndentation:
|
20
|
+
Exclude:
|
21
|
+
- 'features/support/cache_helper.rb'
|
22
|
+
- 'lib/onceover/controlrepo.rb'
|
23
|
+
|
24
|
+
# Offense count: 6
|
25
|
+
# This cop supports safe autocorrection (--autocorrect).
|
26
|
+
Layout/HeredocIndentation:
|
27
|
+
Exclude:
|
28
|
+
- 'lib/onceover/cli/init.rb'
|
29
|
+
- 'lib/onceover/cli/run.rb'
|
30
|
+
- 'lib/onceover/cli/show.rb'
|
31
|
+
- 'lib/onceover/cli/update.rb'
|
32
|
+
|
33
|
+
# Offense count: 6
|
34
|
+
# This cop supports safe autocorrection (--autocorrect).
|
35
|
+
# Configuration parameters: Width, AllowedPatterns.
|
36
|
+
Layout/IndentationWidth:
|
37
|
+
Exclude:
|
38
|
+
- 'lib/onceover/controlrepo.rb'
|
39
|
+
- 'lib/onceover/vendored_modules.rb'
|
40
|
+
|
41
|
+
# Offense count: 12
|
42
|
+
# This cop supports safe autocorrection (--autocorrect).
|
43
|
+
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation.
|
44
|
+
Layout/LeadingCommentSpace:
|
45
|
+
Exclude:
|
46
|
+
- 'lib/onceover/beaker/spec_helper.rb'
|
47
|
+
- 'lib/onceover/controlrepo.rb'
|
48
|
+
- 'lib/onceover/runner.rb'
|
49
|
+
- 'onceover.gemspec'
|
50
|
+
|
51
|
+
# Offense count: 1
|
52
|
+
# This cop supports safe autocorrection (--autocorrect).
|
53
|
+
# Configuration parameters: EnforcedStyle.
|
54
|
+
# SupportedStyles: symmetrical, new_line, same_line
|
55
|
+
Layout/MultilineMethodCallBraceLayout:
|
56
|
+
Exclude:
|
57
|
+
- 'lib/onceover/testconfig.rb'
|
58
|
+
|
59
|
+
# Offense count: 43
|
60
|
+
# This cop supports safe autocorrection (--autocorrect).
|
61
|
+
Layout/SpaceAfterComma:
|
62
|
+
Exclude:
|
63
|
+
- 'features/step_definitions/cache.rb'
|
64
|
+
- 'features/support/cache_helper.rb'
|
65
|
+
- 'lib/onceover/beaker.rb'
|
66
|
+
- 'lib/onceover/beaker/spec_helper.rb'
|
67
|
+
- 'lib/onceover/cli/run.rb'
|
68
|
+
- 'lib/onceover/controlrepo.rb'
|
69
|
+
- 'lib/onceover/deploy.rb'
|
70
|
+
- 'lib/onceover/rspec/formatters.rb'
|
71
|
+
- 'lib/onceover/test.rb'
|
72
|
+
- 'lib/onceover/testconfig.rb'
|
73
|
+
|
74
|
+
# Offense count: 1
|
75
|
+
# This cop supports safe autocorrection (--autocorrect).
|
76
|
+
Layout/SpaceAfterNot:
|
77
|
+
Exclude:
|
78
|
+
- 'lib/onceover/testconfig.rb'
|
79
|
+
|
80
|
+
# Offense count: 3
|
81
|
+
# This cop supports safe autocorrection (--autocorrect).
|
82
|
+
# Configuration parameters: EnforcedStyleInsidePipes.
|
83
|
+
# SupportedStylesInsidePipes: space, no_space
|
84
|
+
Layout/SpaceAroundBlockParameters:
|
85
|
+
Exclude:
|
86
|
+
- 'lib/onceover/testconfig.rb'
|
87
|
+
|
88
|
+
# Offense count: 4
|
89
|
+
# This cop supports safe autocorrection (--autocorrect).
|
90
|
+
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
|
91
|
+
# SupportedStylesForExponentOperator: space, no_space
|
92
|
+
# SupportedStylesForRationalLiterals: space, no_space
|
93
|
+
Layout/SpaceAroundOperators:
|
94
|
+
Exclude:
|
95
|
+
- 'lib/onceover/controlrepo.rb'
|
96
|
+
- 'lib/onceover/test.rb'
|
97
|
+
|
98
|
+
# Offense count: 8
|
99
|
+
# This cop supports safe autocorrection (--autocorrect).
|
100
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
101
|
+
# SupportedStyles: space, no_space
|
102
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
103
|
+
Layout/SpaceBeforeBlockBraces:
|
104
|
+
Exclude:
|
105
|
+
- 'lib/onceover/cli/plugins.rb'
|
106
|
+
- 'lib/onceover/controlrepo.rb'
|
107
|
+
- 'lib/onceover/testconfig.rb'
|
108
|
+
|
109
|
+
# Offense count: 1
|
110
|
+
# This cop supports safe autocorrection (--autocorrect).
|
111
|
+
Layout/SpaceBeforeComment:
|
112
|
+
Exclude:
|
113
|
+
- 'lib/onceover/controlrepo.rb'
|
114
|
+
|
115
|
+
# Offense count: 3
|
116
|
+
# This cop supports safe autocorrection (--autocorrect).
|
117
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
118
|
+
# SupportedStyles: space, no_space, compact
|
119
|
+
# SupportedStylesForEmptyBrackets: space, no_space
|
120
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
121
|
+
Exclude:
|
122
|
+
- 'features/step_definitions/init.rb'
|
123
|
+
|
124
|
+
# Offense count: 33
|
125
|
+
# This cop supports safe autocorrection (--autocorrect).
|
126
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
127
|
+
# SupportedStyles: space, no_space
|
128
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
129
|
+
Layout/SpaceInsideBlockBraces:
|
130
|
+
Exclude:
|
131
|
+
- 'Rakefile'
|
132
|
+
- 'features/step_definitions/init.rb'
|
133
|
+
- 'lib/onceover/controlrepo.rb'
|
134
|
+
- 'lib/onceover/node.rb'
|
135
|
+
- 'lib/onceover/rspec/formatters.rb'
|
136
|
+
- 'lib/onceover/testconfig.rb'
|
137
|
+
|
138
|
+
# Offense count: 14
|
139
|
+
# This cop supports safe autocorrection (--autocorrect).
|
140
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
141
|
+
# SupportedStyles: space, no_space, compact
|
142
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
143
|
+
Layout/SpaceInsideHashLiteralBraces:
|
144
|
+
Exclude:
|
145
|
+
- 'lib/onceover/beaker.rb'
|
146
|
+
- 'lib/onceover/test.rb'
|
147
|
+
|
148
|
+
# Offense count: 13
|
149
|
+
# This cop supports safe autocorrection (--autocorrect).
|
150
|
+
# Configuration parameters: EnforcedStyle.
|
151
|
+
# SupportedStyles: space, compact, no_space
|
152
|
+
Layout/SpaceInsideParens:
|
153
|
+
Exclude:
|
154
|
+
- 'features/step_definitions/common.rb'
|
155
|
+
- 'features/step_definitions/init.rb'
|
156
|
+
- 'features/support/controlrepo_helper.rb'
|
157
|
+
- 'lib/onceover/controlrepo.rb'
|
158
|
+
|
159
|
+
# Offense count: 2
|
160
|
+
# This cop supports safe autocorrection (--autocorrect).
|
161
|
+
# Configuration parameters: EnforcedStyle.
|
162
|
+
# SupportedStyles: final_newline, final_blank_line
|
163
|
+
Layout/TrailingEmptyLines:
|
164
|
+
Exclude:
|
165
|
+
- 'features/step_definitions/formatter.rb'
|
166
|
+
- 'features/support/env.rb'
|
167
|
+
|
168
|
+
# Offense count: 8
|
169
|
+
# This cop supports safe autocorrection (--autocorrect).
|
170
|
+
# Configuration parameters: AllowInHeredoc.
|
171
|
+
Layout/TrailingWhitespace:
|
172
|
+
Exclude:
|
173
|
+
- 'features/step_definitions/common.rb'
|
174
|
+
- 'features/step_definitions/formatter.rb'
|
175
|
+
- 'lib/onceover/node.rb'
|
176
|
+
- 'lib/onceover/rspec/formatters.rb'
|
177
|
+
- 'lib/onceover/testconfig.rb'
|
178
|
+
|
179
|
+
# Offense count: 3
|
180
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
181
|
+
# Configuration parameters: AllowSafeAssignment.
|
182
|
+
Lint/AssignmentInCondition:
|
183
|
+
Exclude:
|
184
|
+
- 'lib/onceover/controlrepo.rb'
|
185
|
+
- 'lib/onceover/node.rb'
|
186
|
+
|
187
|
+
# Offense count: 4
|
188
|
+
# This cop supports safe autocorrection (--autocorrect).
|
189
|
+
Lint/ErbNewArguments:
|
190
|
+
Exclude:
|
191
|
+
- 'lib/onceover/rake_tasks.rb'
|
192
|
+
|
193
|
+
# Offense count: 1
|
194
|
+
# This cop supports safe autocorrection (--autocorrect).
|
195
|
+
Lint/RedundantCopDisableDirective:
|
196
|
+
Exclude:
|
197
|
+
- 'onceover.gemspec'
|
198
|
+
|
199
|
+
# Offense count: 10
|
200
|
+
# This cop supports safe autocorrection (--autocorrect).
|
201
|
+
Lint/RedundantStringCoercion:
|
202
|
+
Exclude:
|
203
|
+
- 'lib/onceover/cli/show.rb'
|
204
|
+
- 'lib/onceover/controlrepo.rb'
|
205
|
+
- 'lib/onceover/rake_tasks.rb'
|
206
|
+
- 'lib/onceover/rspec/formatters.rb'
|
207
|
+
- 'lib/onceover/testconfig.rb'
|
208
|
+
|
209
|
+
# Offense count: 1
|
210
|
+
Lint/RescueException:
|
211
|
+
Exclude:
|
212
|
+
- 'bin/onceover'
|
213
|
+
|
214
|
+
# Offense count: 4
|
215
|
+
# Configuration parameters: AllowKeywordBlockArguments.
|
216
|
+
Lint/UnderscorePrefixedVariableName:
|
217
|
+
Exclude:
|
218
|
+
- 'lib/onceover/controlrepo.rb'
|
219
|
+
|
220
|
+
# Offense count: 20
|
221
|
+
# This cop supports safe autocorrection (--autocorrect).
|
222
|
+
# Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
223
|
+
Lint/UnusedBlockArgument:
|
224
|
+
Exclude:
|
225
|
+
- 'lib/onceover/cli.rb'
|
226
|
+
- 'lib/onceover/cli/init.rb'
|
227
|
+
- 'lib/onceover/cli/plugins.rb'
|
228
|
+
- 'lib/onceover/cli/run.rb'
|
229
|
+
- 'lib/onceover/cli/show.rb'
|
230
|
+
- 'lib/onceover/cli/update.rb'
|
231
|
+
- 'lib/onceover/rspec/formatters.rb'
|
232
|
+
- 'lib/onceover/testconfig.rb'
|
233
|
+
|
234
|
+
# Offense count: 8
|
235
|
+
# This cop supports safe autocorrection (--autocorrect).
|
236
|
+
# Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
237
|
+
Lint/UnusedMethodArgument:
|
238
|
+
Exclude:
|
239
|
+
- 'lib/onceover/beaker.rb'
|
240
|
+
- 'lib/onceover/rspec/formatters.rb'
|
241
|
+
|
242
|
+
# Offense count: 3
|
243
|
+
# This cop supports safe autocorrection (--autocorrect).
|
244
|
+
# Configuration parameters: AutoCorrect.
|
245
|
+
Lint/UselessAssignment:
|
246
|
+
Exclude:
|
247
|
+
- 'lib/onceover/rspec/formatters.rb'
|
248
|
+
- 'lib/onceover/runner.rb'
|
249
|
+
|
250
|
+
# Offense count: 3
|
251
|
+
# Configuration parameters: AllowedNames.
|
252
|
+
# AllowedNames: module_parent
|
253
|
+
Naming/ClassAndModuleCamelCase:
|
254
|
+
Exclude:
|
255
|
+
- 'features/support/cache_helper.rb'
|
256
|
+
- 'features/support/command_helper.rb'
|
257
|
+
- 'features/support/controlrepo_helper.rb'
|
258
|
+
|
259
|
+
# Offense count: 1
|
260
|
+
# This cop supports safe autocorrection (--autocorrect).
|
261
|
+
Performance/RedundantBlockCall:
|
262
|
+
Exclude:
|
263
|
+
- 'lib/onceover/controlrepo.rb'
|
264
|
+
|
265
|
+
# Offense count: 3
|
266
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
267
|
+
# Configuration parameters: AllowRegexpMatch.
|
268
|
+
Performance/RedundantEqualityComparisonBlock:
|
269
|
+
Exclude:
|
270
|
+
- 'lib/onceover/group.rb'
|
271
|
+
- 'lib/onceover/test.rb'
|
272
|
+
|
273
|
+
# Offense count: 1
|
274
|
+
# This cop supports safe autocorrection (--autocorrect).
|
275
|
+
Performance/RedundantMatch:
|
276
|
+
Exclude:
|
277
|
+
- 'lib/onceover/deploy.rb'
|
278
|
+
|
279
|
+
# Offense count: 6
|
280
|
+
# This cop supports safe autocorrection (--autocorrect).
|
281
|
+
Performance/RegexpMatch:
|
282
|
+
Exclude:
|
283
|
+
- 'Rakefile'
|
284
|
+
- 'features/step_definitions/run.rb'
|
285
|
+
- 'lib/onceover/beaker.rb'
|
286
|
+
- 'lib/onceover/controlrepo.rb'
|
287
|
+
- 'lib/onceover/deploy.rb'
|
288
|
+
|
289
|
+
# Offense count: 1
|
290
|
+
# This cop supports safe autocorrection (--autocorrect).
|
291
|
+
Performance/ReverseEach:
|
292
|
+
Exclude:
|
293
|
+
- 'lib/onceover/deploy.rb'
|
294
|
+
|
295
|
+
# Offense count: 3
|
296
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
297
|
+
Performance/StringInclude:
|
298
|
+
Exclude:
|
299
|
+
- 'lib/onceover/beaker.rb'
|
300
|
+
- 'lib/onceover/deploy.rb'
|
301
|
+
|
302
|
+
# Offense count: 3
|
303
|
+
# This cop supports safe autocorrection (--autocorrect).
|
304
|
+
Performance/StringReplacement:
|
305
|
+
Exclude:
|
306
|
+
- 'lib/onceover/cli/plugins.rb'
|
307
|
+
- 'lib/onceover/testconfig.rb'
|
308
|
+
|
309
|
+
# Offense count: 1
|
310
|
+
# Configuration parameters: Prefixes, AllowedPatterns.
|
311
|
+
# Prefixes: when, with, without
|
312
|
+
RSpec/ContextWording:
|
313
|
+
Exclude:
|
314
|
+
- 'spec/onceover/controlrepo_spec.rb'
|
315
|
+
|
316
|
+
# Offense count: 1
|
317
|
+
# Configuration parameters: AssignmentOnly.
|
318
|
+
RSpec/InstanceVariable:
|
319
|
+
Exclude:
|
320
|
+
- 'spec/onceover/controlrepo_spec.rb'
|
321
|
+
|
322
|
+
# Offense count: 2
|
323
|
+
# This cop supports safe autocorrection (--autocorrect).
|
324
|
+
Rake/Desc:
|
325
|
+
Exclude:
|
326
|
+
- 'Rakefile'
|
327
|
+
|
328
|
+
# Offense count: 2
|
329
|
+
Security/Eval:
|
330
|
+
Exclude:
|
331
|
+
- 'Gemfile'
|
332
|
+
|
333
|
+
# Offense count: 2
|
334
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
335
|
+
Security/IoMethods:
|
336
|
+
Exclude:
|
337
|
+
- 'features/step_definitions/common.rb'
|
338
|
+
|
339
|
+
# Offense count: 1
|
340
|
+
Security/Open:
|
341
|
+
Exclude:
|
342
|
+
- 'features/support/controlrepo_helper.rb'
|
343
|
+
|
344
|
+
# Offense count: 44
|
345
|
+
# This cop supports safe autocorrection (--autocorrect).
|
346
|
+
# Configuration parameters: EnforcedStyle.
|
347
|
+
# SupportedStyles: separated, grouped
|
348
|
+
Style/AccessorGrouping:
|
349
|
+
Exclude:
|
350
|
+
- 'lib/onceover/controlrepo.rb'
|
351
|
+
- 'lib/onceover/node.rb'
|
352
|
+
- 'lib/onceover/runner.rb'
|
353
|
+
- 'lib/onceover/test.rb'
|
354
|
+
- 'lib/onceover/testconfig.rb'
|
355
|
+
|
356
|
+
# Offense count: 3
|
357
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
358
|
+
# Configuration parameters: EnforcedStyle.
|
359
|
+
# SupportedStyles: always, conditionals
|
360
|
+
Style/AndOr:
|
361
|
+
Exclude:
|
362
|
+
- 'lib/onceover/controlrepo.rb'
|
363
|
+
- 'lib/onceover/deploy.rb'
|
364
|
+
|
365
|
+
# Offense count: 5
|
366
|
+
# This cop supports safe autocorrection (--autocorrect).
|
367
|
+
# Configuration parameters: EnforcedStyle.
|
368
|
+
# SupportedStyles: percent_q, bare_percent
|
369
|
+
Style/BarePercentLiterals:
|
370
|
+
Exclude:
|
371
|
+
- 'features/step_definitions/common.rb'
|
372
|
+
- 'features/step_definitions/init.rb'
|
373
|
+
- 'features/step_definitions/run.rb'
|
374
|
+
|
375
|
+
# Offense count: 2
|
376
|
+
# This cop supports safe autocorrection (--autocorrect).
|
377
|
+
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
378
|
+
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
379
|
+
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
380
|
+
# FunctionalMethods: let, let!, subject, watch
|
381
|
+
# AllowedMethods: lambda, proc, it
|
382
|
+
Style/BlockDelimiters:
|
383
|
+
Exclude:
|
384
|
+
- 'lib/onceover/node.rb'
|
385
|
+
- 'lib/onceover/rspec/formatters.rb'
|
386
|
+
|
387
|
+
# Offense count: 2
|
388
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
389
|
+
# Configuration parameters: MinBranchesCount.
|
390
|
+
Style/CaseLikeIf:
|
391
|
+
Exclude:
|
392
|
+
- 'lib/onceover/test.rb'
|
393
|
+
- 'lib/onceover/testconfig.rb'
|
394
|
+
|
395
|
+
# Offense count: 1
|
396
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
397
|
+
# Configuration parameters: EnforcedStyle.
|
398
|
+
# SupportedStyles: nested, compact
|
399
|
+
Style/ClassAndModuleChildren:
|
400
|
+
Exclude:
|
401
|
+
- 'lib/onceover/logger.rb'
|
402
|
+
|
403
|
+
# Offense count: 6
|
404
|
+
Style/ClassVars:
|
405
|
+
Exclude:
|
406
|
+
- 'lib/onceover/class.rb'
|
407
|
+
- 'lib/onceover/controlrepo.rb'
|
408
|
+
- 'lib/onceover/group.rb'
|
409
|
+
- 'lib/onceover/node.rb'
|
410
|
+
- 'lib/onceover/test.rb'
|
411
|
+
|
412
|
+
# Offense count: 9
|
413
|
+
# This cop supports safe autocorrection (--autocorrect).
|
414
|
+
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
415
|
+
# SupportedStyles: assign_to_condition, assign_inside_condition
|
416
|
+
Style/ConditionalAssignment:
|
417
|
+
Exclude:
|
418
|
+
- 'features/support/cache_helper.rb'
|
419
|
+
- 'lib/onceover/beaker.rb'
|
420
|
+
- 'lib/onceover/controlrepo.rb'
|
421
|
+
- 'lib/onceover/test.rb'
|
422
|
+
- 'lib/onceover/testconfig.rb'
|
423
|
+
|
424
|
+
# Offense count: 27
|
425
|
+
# Configuration parameters: AllowedConstants.
|
426
|
+
Style/Documentation:
|
427
|
+
Enabled: false
|
428
|
+
|
429
|
+
# Offense count: 1
|
430
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
431
|
+
# Configuration parameters: EnforcedStyle.
|
432
|
+
# SupportedStyles: allowed_in_returns, forbidden
|
433
|
+
Style/DoubleNegation:
|
434
|
+
Exclude:
|
435
|
+
- 'lib/onceover/testconfig.rb'
|
436
|
+
|
437
|
+
# Offense count: 3
|
438
|
+
# This cop supports safe autocorrection (--autocorrect).
|
439
|
+
Style/EmptyCaseCondition:
|
440
|
+
Exclude:
|
441
|
+
- 'lib/onceover/controlrepo.rb'
|
442
|
+
- 'lib/onceover/group.rb'
|
443
|
+
|
444
|
+
# Offense count: 2
|
445
|
+
# This cop supports safe autocorrection (--autocorrect).
|
446
|
+
# Configuration parameters: AutoCorrect, EnforcedStyle, AllowComments.
|
447
|
+
# SupportedStyles: empty, nil, both
|
448
|
+
Style/EmptyElse:
|
449
|
+
Exclude:
|
450
|
+
- 'lib/onceover/controlrepo.rb'
|
451
|
+
|
452
|
+
# Offense count: 1
|
453
|
+
# This cop supports safe autocorrection (--autocorrect).
|
454
|
+
Style/Encoding:
|
455
|
+
Exclude:
|
456
|
+
- 'onceover.gemspec'
|
457
|
+
|
458
|
+
# Offense count: 34
|
459
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
460
|
+
# Configuration parameters: EnforcedStyle.
|
461
|
+
# SupportedStyles: always, always_true, never
|
462
|
+
Style/FrozenStringLiteralComment:
|
463
|
+
Enabled: false
|
464
|
+
|
465
|
+
# Offense count: 6
|
466
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
467
|
+
Style/GlobalStdStream:
|
468
|
+
Exclude:
|
469
|
+
- 'features/step_definitions/formatter.rb'
|
470
|
+
- 'lib/onceover/runner.rb'
|
471
|
+
|
472
|
+
# Offense count: 6
|
473
|
+
# Configuration parameters: AllowedVariables.
|
474
|
+
Style/GlobalVars:
|
475
|
+
Exclude:
|
476
|
+
- 'lib/onceover/controlrepo.rb'
|
477
|
+
- 'lib/onceover/logger.rb'
|
478
|
+
|
479
|
+
# Offense count: 5
|
480
|
+
# This cop supports safe autocorrection (--autocorrect).
|
481
|
+
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
482
|
+
Style/GuardClause:
|
483
|
+
Exclude:
|
484
|
+
- 'lib/onceover/class.rb'
|
485
|
+
- 'lib/onceover/controlrepo.rb'
|
486
|
+
- 'lib/onceover/deploy.rb'
|
487
|
+
- 'lib/onceover/testconfig.rb'
|
488
|
+
|
489
|
+
# Offense count: 1
|
490
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
491
|
+
# Configuration parameters: AllowSplatArgument.
|
492
|
+
Style/HashConversion:
|
493
|
+
Exclude:
|
494
|
+
- 'features/support/cache_helper.rb'
|
495
|
+
|
496
|
+
# Offense count: 40
|
497
|
+
# This cop supports safe autocorrection (--autocorrect).
|
498
|
+
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
499
|
+
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
500
|
+
# SupportedShorthandSyntax: always, never, either, consistent, either_consistent
|
501
|
+
Style/HashSyntax:
|
502
|
+
Exclude:
|
503
|
+
- 'lib/onceover/beaker.rb'
|
504
|
+
- 'lib/onceover/beaker/spec_helper.rb'
|
505
|
+
- 'lib/onceover/cli.rb'
|
506
|
+
- 'lib/onceover/cli/run.rb'
|
507
|
+
- 'lib/onceover/cli/show.rb'
|
508
|
+
- 'lib/onceover/cli/update.rb'
|
509
|
+
- 'lib/onceover/controlrepo.rb'
|
510
|
+
- 'lib/onceover/logger.rb'
|
511
|
+
|
512
|
+
# Offense count: 4
|
513
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
514
|
+
Style/IdenticalConditionalBranches:
|
515
|
+
Exclude:
|
516
|
+
- 'lib/onceover/testconfig.rb'
|
517
|
+
|
518
|
+
# Offense count: 1
|
519
|
+
# This cop supports safe autocorrection (--autocorrect).
|
520
|
+
# Configuration parameters: AllowIfModifier.
|
521
|
+
Style/IfInsideElse:
|
522
|
+
Exclude:
|
523
|
+
- 'lib/onceover/controlrepo.rb'
|
524
|
+
|
525
|
+
# Offense count: 19
|
526
|
+
# This cop supports safe autocorrection (--autocorrect).
|
527
|
+
Style/IfUnlessModifier:
|
528
|
+
Exclude:
|
529
|
+
- 'Gemfile'
|
530
|
+
- 'features/step_definitions/common.rb'
|
531
|
+
- 'lib/onceover/beaker.rb'
|
532
|
+
- 'lib/onceover/class.rb'
|
533
|
+
- 'lib/onceover/controlrepo.rb'
|
534
|
+
- 'lib/onceover/group.rb'
|
535
|
+
- 'lib/onceover/rake_tasks.rb'
|
536
|
+
- 'lib/onceover/runner.rb'
|
537
|
+
- 'lib/onceover/testconfig.rb'
|
538
|
+
|
539
|
+
# Offense count: 12
|
540
|
+
# This cop supports safe autocorrection (--autocorrect).
|
541
|
+
# Configuration parameters: EnforcedStyle.
|
542
|
+
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
|
543
|
+
Style/MethodDefParentheses:
|
544
|
+
Exclude:
|
545
|
+
- 'lib/onceover/rspec/formatters.rb'
|
546
|
+
|
547
|
+
# Offense count: 3
|
548
|
+
Style/MixinUsage:
|
549
|
+
Exclude:
|
550
|
+
- 'lib/onceover/beaker/spec_helper.rb'
|
551
|
+
- 'lib/onceover/controlrepo.rb'
|
552
|
+
- 'lib/onceover/testconfig.rb'
|
553
|
+
|
554
|
+
# Offense count: 3
|
555
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
556
|
+
# Configuration parameters: EnforcedStyle.
|
557
|
+
# SupportedStyles: literals, strict
|
558
|
+
Style/MutableConstant:
|
559
|
+
Exclude:
|
560
|
+
- 'lib/onceover/rspec/formatters.rb'
|
561
|
+
|
562
|
+
# Offense count: 2
|
563
|
+
# This cop supports safe autocorrection (--autocorrect).
|
564
|
+
# Configuration parameters: AllowedMethods.
|
565
|
+
# AllowedMethods: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
|
566
|
+
Style/NestedParenthesizedCalls:
|
567
|
+
Exclude:
|
568
|
+
- 'features/step_definitions/init.rb'
|
569
|
+
|
570
|
+
# Offense count: 4
|
571
|
+
# This cop supports safe autocorrection (--autocorrect).
|
572
|
+
# Configuration parameters: EnforcedStyle, MinBodyLength.
|
573
|
+
# SupportedStyles: skip_modifier_ifs, always
|
574
|
+
Style/Next:
|
575
|
+
Exclude:
|
576
|
+
- 'lib/onceover/deploy.rb'
|
577
|
+
- 'lib/onceover/rake_tasks.rb'
|
578
|
+
- 'lib/onceover/runner.rb'
|
579
|
+
- 'lib/onceover/testconfig.rb'
|
580
|
+
|
581
|
+
# Offense count: 6
|
582
|
+
# This cop supports safe autocorrection (--autocorrect).
|
583
|
+
# Configuration parameters: EnforcedStyle.
|
584
|
+
# SupportedStyles: predicate, comparison
|
585
|
+
Style/NilComparison:
|
586
|
+
Exclude:
|
587
|
+
- 'lib/onceover/deploy.rb'
|
588
|
+
- 'lib/onceover/runner.rb'
|
589
|
+
- 'lib/onceover/testconfig.rb'
|
590
|
+
|
591
|
+
# Offense count: 1
|
592
|
+
# This cop supports safe autocorrection (--autocorrect).
|
593
|
+
Style/Not:
|
594
|
+
Exclude:
|
595
|
+
- 'lib/onceover/deploy.rb'
|
596
|
+
|
597
|
+
# Offense count: 1
|
598
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
599
|
+
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
600
|
+
# SupportedStyles: predicate, comparison
|
601
|
+
Style/NumericPredicate:
|
602
|
+
Exclude:
|
603
|
+
- 'spec/**/*'
|
604
|
+
- 'lib/onceover/deploy.rb'
|
605
|
+
|
606
|
+
# Offense count: 2
|
607
|
+
# This cop supports safe autocorrection (--autocorrect).
|
608
|
+
# Configuration parameters: EnforcedStyle.
|
609
|
+
# SupportedStyles: lower_case_q, upper_case_q
|
610
|
+
Style/PercentQLiterals:
|
611
|
+
Exclude:
|
612
|
+
- 'features/step_definitions/common.rb'
|
613
|
+
- 'features/step_definitions/init.rb'
|
614
|
+
|
615
|
+
# Offense count: 1
|
616
|
+
# This cop supports safe autocorrection (--autocorrect).
|
617
|
+
Style/PerlBackrefs:
|
618
|
+
Exclude:
|
619
|
+
- 'lib/onceover/controlrepo.rb'
|
620
|
+
|
621
|
+
# Offense count: 8
|
622
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
623
|
+
# Configuration parameters: EnforcedStyle.
|
624
|
+
# SupportedStyles: short, verbose
|
625
|
+
Style/PreferredHashMethods:
|
626
|
+
Exclude:
|
627
|
+
- 'lib/onceover/controlrepo.rb'
|
628
|
+
- 'lib/onceover/rake_tasks.rb'
|
629
|
+
- 'lib/onceover/runner.rb'
|
630
|
+
- 'lib/onceover/testconfig.rb'
|
631
|
+
|
632
|
+
# Offense count: 4
|
633
|
+
# This cop supports safe autocorrection (--autocorrect).
|
634
|
+
Style/RedundantBegin:
|
635
|
+
Exclude:
|
636
|
+
- 'lib/onceover/controlrepo.rb'
|
637
|
+
- 'lib/onceover/group.rb'
|
638
|
+
- 'lib/onceover/runner.rb'
|
639
|
+
|
640
|
+
# Offense count: 4
|
641
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
642
|
+
Style/RedundantInterpolation:
|
643
|
+
Exclude:
|
644
|
+
- 'lib/onceover/controlrepo.rb'
|
645
|
+
- 'lib/onceover/rspec/formatters.rb'
|
646
|
+
|
647
|
+
# Offense count: 2
|
648
|
+
# This cop supports safe autocorrection (--autocorrect).
|
649
|
+
Style/RedundantParentheses:
|
650
|
+
Exclude:
|
651
|
+
- 'lib/onceover/controlrepo.rb'
|
652
|
+
- 'lib/onceover/deploy.rb'
|
653
|
+
|
654
|
+
# Offense count: 3
|
655
|
+
# This cop supports safe autocorrection (--autocorrect).
|
656
|
+
Style/RedundantPercentQ:
|
657
|
+
Exclude:
|
658
|
+
- 'features/step_definitions/common.rb'
|
659
|
+
- 'features/step_definitions/init.rb'
|
660
|
+
- 'features/step_definitions/run.rb'
|
661
|
+
|
662
|
+
# Offense count: 2
|
663
|
+
# This cop supports safe autocorrection (--autocorrect).
|
664
|
+
Style/RedundantRegexpEscape:
|
665
|
+
Exclude:
|
666
|
+
- 'features/step_definitions/common.rb'
|
667
|
+
|
668
|
+
# Offense count: 12
|
669
|
+
# This cop supports safe autocorrection (--autocorrect).
|
670
|
+
# Configuration parameters: AllowMultipleReturnValues.
|
671
|
+
Style/RedundantReturn:
|
672
|
+
Exclude:
|
673
|
+
- 'features/support/command_helper.rb'
|
674
|
+
- 'lib/onceover/controlrepo.rb'
|
675
|
+
- 'lib/onceover/group.rb'
|
676
|
+
- 'lib/onceover/testconfig.rb'
|
677
|
+
|
678
|
+
# Offense count: 4
|
679
|
+
# This cop supports safe autocorrection (--autocorrect).
|
680
|
+
Style/RedundantSelf:
|
681
|
+
Exclude:
|
682
|
+
- 'lib/onceover/beaker.rb'
|
683
|
+
- 'lib/onceover/controlrepo.rb'
|
684
|
+
|
685
|
+
# Offense count: 6
|
686
|
+
# This cop supports safe autocorrection (--autocorrect).
|
687
|
+
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
688
|
+
# SupportedStyles: slashes, percent_r, mixed
|
689
|
+
Style/RegexpLiteral:
|
690
|
+
Exclude:
|
691
|
+
- 'features/step_definitions/run.rb'
|
692
|
+
- 'lib/onceover/controlrepo.rb'
|
693
|
+
- 'lib/onceover/rspec/formatters.rb'
|
694
|
+
- 'lib/onceover/testconfig.rb'
|
695
|
+
|
696
|
+
# Offense count: 1
|
697
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
698
|
+
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
699
|
+
# AllowedMethods: present?, blank?, presence, try, try!
|
700
|
+
Style/SafeNavigation:
|
701
|
+
Exclude:
|
702
|
+
- 'lib/onceover/testconfig.rb'
|
703
|
+
|
704
|
+
# Offense count: 1
|
705
|
+
# This cop supports safe autocorrection (--autocorrect).
|
706
|
+
Style/SelfAssignment:
|
707
|
+
Exclude:
|
708
|
+
- 'features/support/cache_helper.rb'
|
709
|
+
|
710
|
+
# Offense count: 2
|
711
|
+
# This cop supports safe autocorrection (--autocorrect).
|
712
|
+
# Configuration parameters: AllowAsExpressionSeparator.
|
713
|
+
Style/Semicolon:
|
714
|
+
Exclude:
|
715
|
+
- 'lib/onceover/beaker.rb'
|
716
|
+
|
717
|
+
# Offense count: 1
|
718
|
+
# This cop supports safe autocorrection (--autocorrect).
|
719
|
+
# Configuration parameters: EnforcedStyle.
|
720
|
+
# SupportedStyles: only_raise, only_fail, semantic
|
721
|
+
Style/SignalException:
|
722
|
+
Exclude:
|
723
|
+
- 'lib/onceover/controlrepo.rb'
|
724
|
+
|
725
|
+
# Offense count: 1
|
726
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
727
|
+
Style/SlicingWithRange:
|
728
|
+
Exclude:
|
729
|
+
- 'features/step_definitions/common.rb'
|
730
|
+
|
731
|
+
# Offense count: 2
|
732
|
+
# This cop supports safe autocorrection (--autocorrect).
|
733
|
+
# Configuration parameters: AllowModifier.
|
734
|
+
Style/SoleNestedConditional:
|
735
|
+
Exclude:
|
736
|
+
- 'lib/onceover/rake_tasks.rb'
|
737
|
+
- 'lib/onceover/runner.rb'
|
738
|
+
|
739
|
+
# Offense count: 2
|
740
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
741
|
+
# Configuration parameters: RequireEnglish, EnforcedStyle.
|
742
|
+
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
|
743
|
+
Style/SpecialGlobalVars:
|
744
|
+
Exclude:
|
745
|
+
- 'Rakefile'
|
746
|
+
- 'lib/onceover/deploy.rb'
|
747
|
+
|
748
|
+
# Offense count: 9
|
749
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
750
|
+
# Configuration parameters: Mode.
|
751
|
+
Style/StringConcatenation:
|
752
|
+
Exclude:
|
753
|
+
- 'features/support/cache_helper.rb'
|
754
|
+
- 'features/support/controlrepo_helper.rb'
|
755
|
+
- 'lib/onceover/rspec/formatters.rb'
|
756
|
+
- 'lib/onceover/runner.rb'
|
757
|
+
|
758
|
+
# Offense count: 98
|
759
|
+
# This cop supports safe autocorrection (--autocorrect).
|
760
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
761
|
+
# SupportedStyles: single_quotes, double_quotes
|
762
|
+
Style/StringLiterals:
|
763
|
+
Enabled: false
|
764
|
+
|
765
|
+
# Offense count: 5
|
766
|
+
# This cop supports safe autocorrection (--autocorrect).
|
767
|
+
# Configuration parameters: MinSize.
|
768
|
+
# SupportedStyles: percent, brackets
|
769
|
+
Style/SymbolArray:
|
770
|
+
EnforcedStyle: brackets
|
771
|
+
|
772
|
+
# Offense count: 5
|
773
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
774
|
+
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
775
|
+
# AllowedMethods: define_method
|
776
|
+
Style/SymbolProc:
|
777
|
+
Exclude:
|
778
|
+
- 'lib/onceover/cli/plugins.rb'
|
779
|
+
- 'lib/onceover/testconfig.rb'
|
780
|
+
- 'spec/spec_helper.rb'
|
781
|
+
|
782
|
+
# Offense count: 4
|
783
|
+
# This cop supports safe autocorrection (--autocorrect).
|
784
|
+
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
|
785
|
+
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
786
|
+
Style/TernaryParentheses:
|
787
|
+
Exclude:
|
788
|
+
- 'lib/onceover/beaker/spec_helper.rb'
|
789
|
+
- 'lib/onceover/controlrepo.rb'
|
790
|
+
- 'lib/onceover/deploy.rb'
|
791
|
+
|
792
|
+
# Offense count: 13
|
793
|
+
# This cop supports safe autocorrection (--autocorrect).
|
794
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
795
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
796
|
+
Style/TrailingCommaInArguments:
|
797
|
+
Exclude:
|
798
|
+
- 'lib/onceover/controlrepo.rb'
|
799
|
+
- 'lib/onceover/logger.rb'
|
800
|
+
- 'lib/onceover/runner.rb'
|
801
|
+
- 'lib/onceover/testconfig.rb'
|
802
|
+
- 'spec/onceover/controlrepo_spec.rb'
|
803
|
+
|
804
|
+
# Offense count: 10
|
805
|
+
# This cop supports safe autocorrection (--autocorrect).
|
806
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
807
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
808
|
+
Style/TrailingCommaInHashLiteral:
|
809
|
+
Exclude:
|
810
|
+
- 'features/support/cache_helper.rb'
|
811
|
+
- 'lib/onceover/controlrepo.rb'
|
812
|
+
- 'lib/onceover/logger.rb'
|
813
|
+
- 'lib/onceover/test.rb'
|
814
|
+
- 'lib/onceover/testconfig.rb'
|
815
|
+
- 'spec/onceover/controlrepo_spec.rb'
|
816
|
+
|
817
|
+
# Offense count: 1
|
818
|
+
# This cop supports safe autocorrection (--autocorrect).
|
819
|
+
Style/WhileUntilDo:
|
820
|
+
Exclude:
|
821
|
+
- 'lib/onceover/controlrepo.rb'
|
822
|
+
|
823
|
+
# Offense count: 32
|
824
|
+
# This cop supports safe autocorrection (--autocorrect).
|
825
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
826
|
+
# URISchemes: http, https
|
827
|
+
Layout/LineLength:
|
828
|
+
Max: 421
|