beaker-hostgenerator 1.18.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,665 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2023-02-21 19:27:49 UTC using RuboCop version 1.45.1.
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: 4
10
+ # Configuration parameters: EnforcedStyle, AllowedGems, Include.
11
+ # SupportedStyles: Gemfile, gems.rb, gemspec
12
+ # Include: **/*.gemspec, **/Gemfile, **/gems.rb
13
+ Gemspec/DevelopmentDependencies:
14
+ Exclude:
15
+ - 'beaker-hostgenerator.gemspec'
16
+
17
+ # Offense count: 2
18
+ # This cop supports safe autocorrection (--autocorrect).
19
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
20
+ # SupportedStyles: with_first_argument, with_fixed_indentation
21
+ Layout/ArgumentAlignment:
22
+ Exclude:
23
+ - 'lib/beaker-hostgenerator/cli.rb'
24
+ - 'lib/beaker-hostgenerator/parser.rb'
25
+
26
+ # Offense count: 6
27
+ # This cop supports safe autocorrection (--autocorrect).
28
+ # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
29
+ # SupportedStyles: case, end
30
+ Layout/CaseIndentation:
31
+ Exclude:
32
+ - 'lib/beaker-hostgenerator/data.rb'
33
+ - 'lib/beaker-hostgenerator/hypervisor/hcloud.rb'
34
+
35
+ # Offense count: 2
36
+ # This cop supports safe autocorrection (--autocorrect).
37
+ Layout/ClosingHeredocIndentation:
38
+ Exclude:
39
+ - 'beaker-hostgenerator.gemspec'
40
+ - 'lib/beaker-hostgenerator/cli.rb'
41
+
42
+ # Offense count: 20
43
+ # This cop supports safe autocorrection (--autocorrect).
44
+ # Configuration parameters: EnforcedStyle.
45
+ # SupportedStyles: leading, trailing
46
+ Layout/DotPosition:
47
+ Exclude:
48
+ - 'spec/beaker-hostgenerator/abs_support_spec.rb'
49
+ - 'spec/beaker-hostgenerator/parser_spec.rb'
50
+
51
+ # Offense count: 2
52
+ # This cop supports safe autocorrection (--autocorrect).
53
+ # Configuration parameters: EnforcedStyleAlignWith, Severity.
54
+ # SupportedStylesAlignWith: keyword, variable, start_of_line
55
+ Layout/EndAlignment:
56
+ Exclude:
57
+ - 'lib/beaker-hostgenerator/data.rb'
58
+ - 'lib/beaker-hostgenerator/hypervisor/hcloud.rb'
59
+
60
+ # Offense count: 20
61
+ # This cop supports safe autocorrection (--autocorrect).
62
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
63
+ # SupportedStyles: special_inside_parentheses, consistent, align_braces
64
+ Layout/FirstHashElementIndentation:
65
+ Exclude:
66
+ - 'lib/beaker-hostgenerator/data.rb'
67
+ - 'lib/beaker-hostgenerator/roles.rb'
68
+ - 'test/util/generator_helpers.rb'
69
+
70
+ # Offense count: 124
71
+ # This cop supports safe autocorrection (--autocorrect).
72
+ # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
73
+ # SupportedHashRocketStyles: key, separator, table
74
+ # SupportedColonStyles: key, separator, table
75
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
76
+ Layout/HashAlignment:
77
+ Exclude:
78
+ - 'lib/beaker-hostgenerator/data.rb'
79
+ - 'spec/beaker-hostgenerator/parser_spec.rb'
80
+
81
+ # Offense count: 2
82
+ # This cop supports safe autocorrection (--autocorrect).
83
+ Layout/HeredocIndentation:
84
+ Exclude:
85
+ - 'beaker-hostgenerator.gemspec'
86
+ - 'lib/beaker-hostgenerator/cli.rb'
87
+
88
+ # Offense count: 4
89
+ # This cop supports safe autocorrection (--autocorrect).
90
+ # Configuration parameters: Width, AllowedPatterns.
91
+ Layout/IndentationWidth:
92
+ Exclude:
93
+ - 'lib/beaker-hostgenerator.rb'
94
+ - 'lib/beaker-hostgenerator/cli.rb'
95
+
96
+ # Offense count: 6
97
+ # This cop supports safe autocorrection (--autocorrect).
98
+ # Configuration parameters: EnforcedStyle.
99
+ # SupportedStyles: symmetrical, new_line, same_line
100
+ Layout/MultilineHashBraceLayout:
101
+ Exclude:
102
+ - 'lib/beaker-hostgenerator/roles.rb'
103
+ - 'spec/beaker-hostgenerator/parser_spec.rb'
104
+ - 'spec/helpers.rb'
105
+ - 'test/util/generator_helpers.rb'
106
+
107
+ # Offense count: 1
108
+ Lint/MixedRegexpCaptureTypes:
109
+ Exclude:
110
+ - 'lib/beaker-hostgenerator/parser.rb'
111
+
112
+ # Offense count: 1
113
+ Lint/RescueException:
114
+ Exclude:
115
+ - 'lib/beaker-hostgenerator/parser.rb'
116
+
117
+ # Offense count: 2
118
+ # Configuration parameters: AllowComments, AllowNil.
119
+ Lint/SuppressedException:
120
+ Exclude:
121
+ - 'Rakefile'
122
+ - 'bin/beaker-hostgenerator'
123
+
124
+ # Offense count: 1
125
+ # This cop supports safe autocorrection (--autocorrect).
126
+ # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
127
+ Lint/UnusedBlockArgument:
128
+ Exclude:
129
+ - 'lib/beaker-hostgenerator/data.rb'
130
+
131
+ # Offense count: 5
132
+ # This cop supports safe autocorrection (--autocorrect).
133
+ # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
134
+ Lint/UnusedMethodArgument:
135
+ Exclude:
136
+ - 'lib/beaker-hostgenerator/hypervisor.rb'
137
+ - 'lib/beaker-hostgenerator/util.rb'
138
+
139
+ # Offense count: 3
140
+ Lint/UselessAssignment:
141
+ Exclude:
142
+ - 'lib/beaker-hostgenerator/parser.rb'
143
+ - 'test/util/generator_helpers.rb'
144
+
145
+ # Offense count: 11
146
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
147
+ Metrics/AbcSize:
148
+ Max: 81
149
+
150
+ # Offense count: 3
151
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
152
+ # AllowedMethods: refine
153
+ Metrics/BlockLength:
154
+ Max: 100
155
+
156
+ # Offense count: 1
157
+ # Configuration parameters: CountComments, CountAsOne.
158
+ Metrics/ClassLength:
159
+ Max: 163
160
+
161
+ # Offense count: 7
162
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
163
+ Metrics/CyclomaticComplexity:
164
+ Max: 24
165
+
166
+ # Offense count: 21
167
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
168
+ Metrics/MethodLength:
169
+ Max: 1659
170
+ Exclude:
171
+ - 'lib/beaker-hostgenerator/data.rb'
172
+
173
+ # Offense count: 4
174
+ # Configuration parameters: CountComments, CountAsOne.
175
+ Metrics/ModuleLength:
176
+ Max: 1784
177
+ Exclude:
178
+ - 'lib/beaker-hostgenerator/data.rb'
179
+
180
+ # Offense count: 3
181
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
182
+ Metrics/PerceivedComplexity:
183
+ Max: 26
184
+
185
+ # Offense count: 1
186
+ Naming/AccessorMethodName:
187
+ Exclude:
188
+ - 'lib/beaker-hostgenerator/util.rb'
189
+
190
+ # Offense count: 1
191
+ # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
192
+ # CheckDefinitionPathHierarchyRoots: lib, spec, test, src
193
+ # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
194
+ Naming/FileName:
195
+ Exclude:
196
+ - 'lib/beaker-hostgenerator.rb'
197
+
198
+ # Offense count: 2
199
+ # This cop supports safe autocorrection (--autocorrect).
200
+ # Configuration parameters: EnforcedStyle.
201
+ # SupportedStyles: lowercase, uppercase
202
+ Naming/HeredocDelimiterCase:
203
+ Exclude:
204
+ - 'beaker-hostgenerator.gemspec'
205
+ - 'lib/beaker-hostgenerator/cli.rb'
206
+
207
+ # Offense count: 2
208
+ # Configuration parameters: ForbiddenDelimiters.
209
+ # ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
210
+ Naming/HeredocDelimiterNaming:
211
+ Exclude:
212
+ - 'beaker-hostgenerator.gemspec'
213
+ - 'lib/beaker-hostgenerator/cli.rb'
214
+
215
+ # Offense count: 1
216
+ # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
217
+ # NamePrefix: is_, has_, have_
218
+ # ForbiddenPrefixes: is_, has_, have_
219
+ # AllowedMethods: is_a?
220
+ # MethodDefinitionMacros: define_method, define_singleton_method
221
+ Naming/PredicateName:
222
+ Exclude:
223
+ - 'spec/**/*'
224
+ - 'lib/beaker-hostgenerator/parser.rb'
225
+
226
+ # Offense count: 4
227
+ # This cop supports safe autocorrection (--autocorrect).
228
+ Performance/RegexpMatch:
229
+ Exclude:
230
+ - 'Rakefile'
231
+ - 'lib/beaker-hostgenerator/hypervisor/docker.rb'
232
+ - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb'
233
+
234
+ # Offense count: 3
235
+ # This cop supports unsafe autocorrection (--autocorrect-all).
236
+ Performance/StringInclude:
237
+ Exclude:
238
+ - 'Rakefile'
239
+ - 'lib/beaker-hostgenerator/generator.rb'
240
+ - 'lib/beaker-hostgenerator/hypervisor/docker.rb'
241
+
242
+ # Offense count: 1
243
+ # This cop supports safe autocorrection (--autocorrect).
244
+ Performance/StringReplacement:
245
+ Exclude:
246
+ - 'lib/beaker-hostgenerator/parser.rb'
247
+
248
+ # Offense count: 6
249
+ # Configuration parameters: Prefixes, AllowedPatterns.
250
+ # Prefixes: when, with, without
251
+ RSpec/ContextWording:
252
+ Exclude:
253
+ - 'spec/beaker-hostgenerator/generator_spec.rb'
254
+ - 'spec/beaker-hostgenerator/parser_spec.rb'
255
+
256
+ # Offense count: 2
257
+ # This cop supports unsafe autocorrection (--autocorrect-all).
258
+ # Configuration parameters: SkipBlocks, EnforcedStyle.
259
+ # SupportedStyles: described_class, explicit
260
+ RSpec/DescribedClass:
261
+ Exclude:
262
+ - 'spec/beaker-hostgenerator/generator_spec.rb'
263
+ - 'spec/beaker-hostgenerator/parser_spec.rb'
264
+
265
+ # Offense count: 11
266
+ # Configuration parameters: CountAsOne.
267
+ RSpec/ExampleLength:
268
+ Max: 35
269
+
270
+ # Offense count: 1
271
+ # This cop supports safe autocorrection (--autocorrect).
272
+ # Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
273
+ # DisallowedExamples: works
274
+ RSpec/ExampleWording:
275
+ Exclude:
276
+ - 'spec/beaker-hostgenerator/parser_spec.rb'
277
+
278
+ # Offense count: 7
279
+ RSpec/MultipleExpectations:
280
+ Max: 4
281
+
282
+ # Offense count: 2
283
+ # Configuration parameters: AllowSubject.
284
+ RSpec/MultipleMemoizedHelpers:
285
+ Max: 6
286
+
287
+ # Offense count: 2
288
+ # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
289
+ RSpec/VerifiedDoubles:
290
+ Exclude:
291
+ - 'spec/helpers.rb'
292
+
293
+ # Offense count: 2
294
+ # This cop supports safe autocorrection (--autocorrect).
295
+ Rake/Desc:
296
+ Exclude:
297
+ - 'Rakefile'
298
+
299
+ # Offense count: 1
300
+ Security/Eval:
301
+ Exclude:
302
+ - 'Gemfile'
303
+
304
+ # Offense count: 1
305
+ # This cop supports unsafe autocorrection (--autocorrect-all).
306
+ Security/JSONLoad:
307
+ Exclude:
308
+ - 'spec/beaker-hostgenerator/abs_support_spec.rb'
309
+
310
+ # Offense count: 2
311
+ # This cop supports unsafe autocorrection (--autocorrect-all).
312
+ Security/YAMLLoad:
313
+ Exclude:
314
+ - 'spec/beaker-hostgenerator/generator_spec.rb'
315
+ - 'test/util/generator_helpers.rb'
316
+
317
+ # Offense count: 2
318
+ # This cop supports unsafe autocorrection (--autocorrect-all).
319
+ # Configuration parameters: EnforcedStyle.
320
+ # SupportedStyles: always, conditionals
321
+ Style/AndOr:
322
+ Exclude:
323
+ - 'lib/beaker-hostgenerator/generator.rb'
324
+ - 'lib/beaker-hostgenerator/parser.rb'
325
+
326
+ # Offense count: 1
327
+ # This cop supports unsafe autocorrection (--autocorrect-all).
328
+ Style/CaseLikeIf:
329
+ Exclude:
330
+ - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb'
331
+
332
+ # Offense count: 1
333
+ # This cop supports unsafe autocorrection (--autocorrect-all).
334
+ # Configuration parameters: EnforcedStyle.
335
+ # SupportedStyles: nested, compact
336
+ Style/ClassAndModuleChildren:
337
+ Exclude:
338
+ - 'lib/beaker-hostgenerator/hypervisor/unknown.rb'
339
+
340
+ # Offense count: 1
341
+ # This cop supports safe autocorrection (--autocorrect).
342
+ # Configuration parameters: EnforcedStyle.
343
+ # SupportedStyles: is_a?, kind_of?
344
+ Style/ClassCheck:
345
+ Exclude:
346
+ - 'lib/beaker-hostgenerator/generator.rb'
347
+
348
+ # Offense count: 1
349
+ # This cop supports unsafe autocorrection (--autocorrect-all).
350
+ Style/CollectionCompact:
351
+ Exclude:
352
+ - 'lib/beaker-hostgenerator/data.rb'
353
+
354
+ # Offense count: 6
355
+ # This cop supports safe autocorrection (--autocorrect).
356
+ # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
357
+ # SupportedStyles: assign_to_condition, assign_inside_condition
358
+ Style/ConditionalAssignment:
359
+ Exclude:
360
+ - 'lib/beaker-hostgenerator/data.rb'
361
+ - 'lib/beaker-hostgenerator/generator.rb'
362
+ - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb'
363
+ - 'lib/beaker-hostgenerator/parser.rb'
364
+
365
+ # Offense count: 2
366
+ # This cop supports safe autocorrection (--autocorrect).
367
+ Style/DefWithParentheses:
368
+ Exclude:
369
+ - 'lib/beaker-hostgenerator/hypervisor.rb'
370
+
371
+ # Offense count: 11
372
+ # Configuration parameters: AllowedConstants.
373
+ Style/Documentation:
374
+ Exclude:
375
+ - 'spec/**/*'
376
+ - 'test/**/*'
377
+ - 'lib/beaker-hostgenerator.rb'
378
+ - 'lib/beaker-hostgenerator/cli.rb'
379
+ - 'lib/beaker-hostgenerator/generator.rb'
380
+ - 'lib/beaker-hostgenerator/hypervisor.rb'
381
+ - 'lib/beaker-hostgenerator/hypervisor/docker.rb'
382
+ - 'lib/beaker-hostgenerator/hypervisor/hcloud.rb'
383
+ - 'lib/beaker-hostgenerator/hypervisor/unknown.rb'
384
+ - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb'
385
+ - 'lib/beaker-hostgenerator/hypervisor/vmpooler.rb'
386
+ - 'lib/beaker-hostgenerator/roles.rb'
387
+ - 'lib/beaker-hostgenerator/util.rb'
388
+
389
+ # Offense count: 1
390
+ # This cop supports safe autocorrection (--autocorrect).
391
+ # Configuration parameters: EnforcedStyle, AllowComments.
392
+ # SupportedStyles: empty, nil, both
393
+ Style/EmptyElse:
394
+ Exclude:
395
+ - 'lib/beaker-hostgenerator/hypervisor/vmpooler.rb'
396
+
397
+ # Offense count: 1
398
+ # This cop supports safe autocorrection (--autocorrect).
399
+ Style/ExpandPathArguments:
400
+ Exclude:
401
+ - 'beaker-hostgenerator.gemspec'
402
+
403
+ # Offense count: 3
404
+ # This cop supports safe autocorrection (--autocorrect).
405
+ # Configuration parameters: AllowedVars.
406
+ Style/FetchEnvVar:
407
+ Exclude:
408
+ - 'lib/beaker-hostgenerator/data.rb'
409
+
410
+ # Offense count: 1
411
+ # This cop supports safe autocorrection (--autocorrect).
412
+ Style/FileWrite:
413
+ Exclude:
414
+ - 'lib/beaker-hostgenerator/util.rb'
415
+
416
+ # Offense count: 1
417
+ # This cop supports safe autocorrection (--autocorrect).
418
+ # Configuration parameters: EnforcedStyle.
419
+ # SupportedStyles: format, sprintf, percent
420
+ Style/FormatString:
421
+ Exclude:
422
+ - 'lib/beaker-hostgenerator/data.rb'
423
+
424
+ # Offense count: 30
425
+ # This cop supports unsafe autocorrection (--autocorrect-all).
426
+ # Configuration parameters: EnforcedStyle.
427
+ # SupportedStyles: always, always_true, never
428
+ Style/FrozenStringLiteralComment:
429
+ Enabled: false
430
+
431
+ # Offense count: 1
432
+ # This cop supports safe autocorrection (--autocorrect).
433
+ # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
434
+ Style/GuardClause:
435
+ Exclude:
436
+ - 'lib/beaker-hostgenerator/generator.rb'
437
+
438
+ # Offense count: 1
439
+ # This cop supports safe autocorrection (--autocorrect).
440
+ # Configuration parameters: AllowSplatArgument.
441
+ Style/HashConversion:
442
+ Exclude:
443
+ - 'lib/beaker-hostgenerator/parser.rb'
444
+
445
+ # Offense count: 1
446
+ # This cop supports unsafe autocorrection (--autocorrect-all).
447
+ # Configuration parameters: AllowedReceivers.
448
+ # AllowedReceivers: Thread.current
449
+ Style/HashEachMethods:
450
+ Exclude:
451
+ - 'lib/beaker-hostgenerator/cli.rb'
452
+
453
+ # Offense count: 406
454
+ # This cop supports safe autocorrection (--autocorrect).
455
+ # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
456
+ # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
457
+ # SupportedShorthandSyntax: always, never, either, consistent
458
+ Style/HashSyntax:
459
+ Exclude:
460
+ - 'Gemfile'
461
+ - 'Rakefile'
462
+ - 'lib/beaker-hostgenerator/data.rb'
463
+ - 'spec/helpers.rb'
464
+
465
+ # Offense count: 8
466
+ # This cop supports safe autocorrection (--autocorrect).
467
+ Style/IfUnlessModifier:
468
+ Exclude:
469
+ - 'Gemfile'
470
+ - 'lib/beaker-hostgenerator/cli.rb'
471
+ - 'lib/beaker-hostgenerator/generator.rb'
472
+ - 'lib/beaker-hostgenerator/hypervisor/docker.rb'
473
+ - 'lib/beaker-hostgenerator/parser.rb'
474
+ - 'spec/beaker-hostgenerator/generator_spec.rb'
475
+
476
+ # Offense count: 4
477
+ # This cop supports unsafe autocorrection (--autocorrect-all).
478
+ Style/LineEndConcatenation:
479
+ Exclude:
480
+ - 'lib/beaker-hostgenerator/cli.rb'
481
+
482
+ # Offense count: 4
483
+ # This cop supports safe autocorrection (--autocorrect).
484
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
485
+ Style/MethodCallWithoutArgsParentheses:
486
+ Exclude:
487
+ - 'lib/beaker-hostgenerator/cli.rb'
488
+ - 'lib/beaker-hostgenerator/generator.rb'
489
+ - 'lib/beaker-hostgenerator/parser.rb'
490
+ - 'lib/beaker-hostgenerator/util.rb'
491
+
492
+ # Offense count: 5
493
+ # This cop supports safe autocorrection (--autocorrect).
494
+ # Configuration parameters: EnforcedStyle.
495
+ # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
496
+ Style/MethodDefParentheses:
497
+ Exclude:
498
+ - 'spec/helpers.rb'
499
+
500
+ # Offense count: 4
501
+ # This cop supports safe autocorrection (--autocorrect).
502
+ Style/MultilineWhenThen:
503
+ Exclude:
504
+ - 'lib/beaker-hostgenerator/data.rb'
505
+
506
+ # Offense count: 1
507
+ # This cop supports safe autocorrection (--autocorrect).
508
+ # Configuration parameters: AllowMethodComparison.
509
+ Style/MultipleComparison:
510
+ Exclude:
511
+ - 'lib/beaker-hostgenerator/parser.rb'
512
+
513
+ # Offense count: 15
514
+ # This cop supports unsafe autocorrection (--autocorrect-all).
515
+ # Configuration parameters: EnforcedStyle.
516
+ # SupportedStyles: literals, strict
517
+ Style/MutableConstant:
518
+ Exclude:
519
+ - 'lib/beaker-hostgenerator/data.rb'
520
+ - 'lib/beaker-hostgenerator/parser.rb'
521
+ - 'lib/beaker-hostgenerator/roles.rb'
522
+ - 'lib/beaker-hostgenerator/version.rb'
523
+ - 'spec/helpers.rb'
524
+
525
+ # Offense count: 3
526
+ # This cop supports safe autocorrection (--autocorrect).
527
+ # Configuration parameters: EnforcedStyle.
528
+ # SupportedStyles: both, prefix, postfix
529
+ Style/NegatedIf:
530
+ Exclude:
531
+ - 'lib/beaker-hostgenerator/cli.rb'
532
+ - 'lib/beaker-hostgenerator/generator.rb'
533
+
534
+ # Offense count: 1
535
+ # This cop supports safe autocorrection (--autocorrect).
536
+ Style/NegatedIfElseCondition:
537
+ Exclude:
538
+ - 'lib/beaker-hostgenerator/generator.rb'
539
+
540
+ # Offense count: 1
541
+ # This cop supports safe autocorrection (--autocorrect).
542
+ # Configuration parameters: EnforcedStyle, MinBodyLength.
543
+ # SupportedStyles: skip_modifier_ifs, always
544
+ Style/Next:
545
+ Exclude:
546
+ - 'lib/beaker-hostgenerator/parser.rb'
547
+
548
+ # Offense count: 1
549
+ # This cop supports safe autocorrection (--autocorrect).
550
+ # Configuration parameters: IncludeSemanticChanges.
551
+ Style/NonNilCheck:
552
+ Exclude:
553
+ - 'lib/beaker-hostgenerator/generator.rb'
554
+
555
+ # Offense count: 3
556
+ # This cop supports safe autocorrection (--autocorrect).
557
+ Style/Not:
558
+ Exclude:
559
+ - 'lib/beaker-hostgenerator/cli.rb'
560
+ - 'lib/beaker-hostgenerator/generator.rb'
561
+
562
+ # Offense count: 1
563
+ Style/OpenStructUse:
564
+ Exclude:
565
+ - 'spec/helpers.rb'
566
+
567
+ # Offense count: 1
568
+ # This cop supports safe autocorrection (--autocorrect).
569
+ # Configuration parameters: PreferredDelimiters.
570
+ Style/PercentLiteralDelimiters:
571
+ Exclude:
572
+ - 'Rakefile'
573
+
574
+ # Offense count: 3
575
+ # This cop supports safe autocorrection (--autocorrect).
576
+ Style/PerlBackrefs:
577
+ Exclude:
578
+ - 'lib/beaker-hostgenerator/data.rb'
579
+ - 'lib/beaker-hostgenerator/hypervisor/abs.rb'
580
+ - 'lib/beaker-hostgenerator/hypervisor/vmpooler.rb'
581
+
582
+ # Offense count: 4
583
+ # This cop supports unsafe autocorrection (--autocorrect-all).
584
+ # Configuration parameters: EnforcedStyle.
585
+ # SupportedStyles: short, verbose
586
+ Style/PreferredHashMethods:
587
+ Exclude:
588
+ - 'lib/beaker-hostgenerator/generator.rb'
589
+ - 'spec/helpers.rb'
590
+
591
+ # Offense count: 7
592
+ # This cop supports unsafe autocorrection (--autocorrect-all).
593
+ Style/RedundantInterpolation:
594
+ Exclude:
595
+ - 'lib/beaker-hostgenerator/data.rb'
596
+ - 'lib/beaker-hostgenerator/util.rb'
597
+ - 'spec/beaker-hostgenerator/generator_spec.rb'
598
+ - 'test/util/generator_helpers.rb'
599
+
600
+ # Offense count: 1
601
+ # This cop supports safe autocorrection (--autocorrect).
602
+ Style/RedundantRegexpEscape:
603
+ Exclude:
604
+ - 'lib/beaker-hostgenerator/parser.rb'
605
+
606
+ # Offense count: 13
607
+ # This cop supports safe autocorrection (--autocorrect).
608
+ # Configuration parameters: AllowMultipleReturnValues.
609
+ Style/RedundantReturn:
610
+ Exclude:
611
+ - 'lib/beaker-hostgenerator/data.rb'
612
+ - 'lib/beaker-hostgenerator/generator.rb'
613
+ - 'lib/beaker-hostgenerator/hypervisor.rb'
614
+ - 'lib/beaker-hostgenerator/hypervisor/docker.rb'
615
+ - 'lib/beaker-hostgenerator/hypervisor/hcloud.rb'
616
+ - 'lib/beaker-hostgenerator/hypervisor/unknown.rb'
617
+ - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb'
618
+ - 'lib/beaker-hostgenerator/hypervisor/vmpooler.rb'
619
+ - 'lib/beaker-hostgenerator/parser.rb'
620
+ - 'test/util/generator_helpers.rb'
621
+
622
+ # Offense count: 1
623
+ # This cop supports safe autocorrection (--autocorrect).
624
+ Style/RescueModifier:
625
+ Exclude:
626
+ - 'lib/beaker-hostgenerator/generator.rb'
627
+
628
+ # Offense count: 1
629
+ # This cop supports unsafe autocorrection (--autocorrect-all).
630
+ # Configuration parameters: Mode.
631
+ Style/StringConcatenation:
632
+ Exclude:
633
+ - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb'
634
+
635
+ # Offense count: 211
636
+ # This cop supports safe autocorrection (--autocorrect).
637
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
638
+ # SupportedStyles: single_quotes, double_quotes
639
+ Style/StringLiterals:
640
+ Exclude:
641
+ - 'Rakefile'
642
+ - 'beaker-hostgenerator.gemspec'
643
+ - 'lib/beaker-hostgenerator/cli.rb'
644
+ - 'lib/beaker-hostgenerator/data.rb'
645
+ - 'lib/beaker-hostgenerator/generator.rb'
646
+ - 'spec/beaker-hostgenerator/generator_spec.rb'
647
+ - 'spec/beaker-hostgenerator/parser_spec.rb'
648
+ - 'spec/helpers.rb'
649
+ - 'test/test_generator.rb'
650
+ - 'test/util/generator_helpers.rb'
651
+
652
+ # Offense count: 8
653
+ # This cop supports safe autocorrection (--autocorrect).
654
+ # Configuration parameters: WordRegex.
655
+ # SupportedStyles: percent, brackets
656
+ Style/WordArray:
657
+ EnforcedStyle: percent
658
+ MinSize: 9
659
+
660
+ # Offense count: 4
661
+ # This cop supports safe autocorrection (--autocorrect).
662
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
663
+ # URISchemes: http, https
664
+ Layout/LineLength:
665
+ Max: 170