beaker-hostgenerator 2.0.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +1 -1
- data/.github/workflows/test.yml +1 -1
- data/.rubocop.yml +4 -27
- data/.rubocop_todo.yml +24 -376
- data/CHANGELOG.md +20 -0
- data/Gemfile +6 -11
- data/Rakefile +7 -7
- data/beaker-hostgenerator.gemspec +15 -19
- data/lib/beaker-hostgenerator/cli.rb +44 -46
- data/lib/beaker-hostgenerator/data.rb +1098 -1089
- data/lib/beaker-hostgenerator/generator.rb +18 -18
- data/lib/beaker-hostgenerator/hypervisor/abs.rb +1 -1
- data/lib/beaker-hostgenerator/hypervisor/docker.rb +2 -4
- data/lib/beaker-hostgenerator/hypervisor/hcloud.rb +8 -8
- data/lib/beaker-hostgenerator/hypervisor/unknown.rb +1 -1
- data/lib/beaker-hostgenerator/hypervisor/vagrant.rb +8 -8
- data/lib/beaker-hostgenerator/hypervisor/vmpooler.rb +2 -4
- data/lib/beaker-hostgenerator/hypervisor.rb +4 -4
- data/lib/beaker-hostgenerator/parser.rb +26 -42
- data/lib/beaker-hostgenerator/roles.rb +3 -4
- data/lib/beaker-hostgenerator/util.rb +4 -6
- data/lib/beaker-hostgenerator/version.rb +1 -1
- data/lib/beaker-hostgenerator.rb +3 -3
- metadata +11 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c18cbefbe9a6844171fd6de4898940e1a5bdddc92e93489726ab92ccb476a39
|
4
|
+
data.tar.gz: 264fe8ad3a53d5cd694bbbe8aecbb6c39314282aee2497e900bcc41a4dee8143
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87db7ad8dd6d03eeb162748c072f1593ca86ec59a36f68ba038c1f95382071a8f57022050355f3db5c3de5fdb42f5a69b67c05539d083a716d49a74938001dc3
|
7
|
+
data.tar.gz: 1893d75220ef98e22195b95b647127ba663722ca9603f783c52db94d522c6bdf3a5a5f73b43d7f5754485cc934bad2c32ab4714c1b7098abbb900d4da5939dcd
|
data/.github/workflows/test.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,30 +1,7 @@
|
|
1
1
|
---
|
2
2
|
inherit_from: .rubocop_todo.yml
|
3
|
+
inherit_gem:
|
4
|
+
voxpupuli-rubocop: rubocop.yml
|
3
5
|
|
4
|
-
|
5
|
-
|
6
|
-
- rubocop-performance
|
7
|
-
- rubocop-rake
|
8
|
-
- rubocop-rspec
|
9
|
-
|
10
|
-
AllCops:
|
11
|
-
NewCops: enable
|
12
|
-
TargetRubyVersion: 2.7
|
13
|
-
|
14
|
-
Layout/FirstArrayElementIndentation:
|
15
|
-
Enabled: false
|
16
|
-
|
17
|
-
Style/TrailingCommaInHashLiteral:
|
18
|
-
Enabled: True
|
19
|
-
EnforcedStyleForMultiline: consistent_comma
|
20
|
-
|
21
|
-
Style/TrailingCommaInArrayLiteral:
|
22
|
-
Enabled: True
|
23
|
-
EnforcedStyleForMultiline: consistent_comma
|
24
|
-
|
25
|
-
Style/TrailingCommaInArguments:
|
26
|
-
Enabled: True
|
27
|
-
EnforcedStyleForMultiline: comma
|
28
|
-
|
29
|
-
Gemspec/RequireMFA:
|
30
|
-
Enabled: false
|
6
|
+
Style/GuardClause:
|
7
|
+
Enabled: False
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2023-
|
3
|
+
# on 2023-05-05 09:15:09 UTC using RuboCop version 1.50.2.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
@@ -14,96 +14,6 @@ Gemspec/DevelopmentDependencies:
|
|
14
14
|
Exclude:
|
15
15
|
- 'beaker-hostgenerator.gemspec'
|
16
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
17
|
# Offense count: 1
|
108
18
|
Lint/MixedRegexpCaptureTypes:
|
109
19
|
Exclude:
|
@@ -121,66 +31,41 @@ Lint/SuppressedException:
|
|
121
31
|
- 'Rakefile'
|
122
32
|
- 'bin/beaker-hostgenerator'
|
123
33
|
|
124
|
-
# Offense count:
|
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
|
34
|
+
# Offense count: 10
|
146
35
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
147
36
|
Metrics/AbcSize:
|
148
|
-
Max:
|
37
|
+
Max: 78
|
149
38
|
|
150
39
|
# Offense count: 3
|
151
40
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
|
152
41
|
# AllowedMethods: refine
|
153
42
|
Metrics/BlockLength:
|
154
|
-
Max:
|
43
|
+
Max: 98
|
155
44
|
|
156
45
|
# Offense count: 1
|
157
46
|
# Configuration parameters: CountComments, CountAsOne.
|
158
47
|
Metrics/ClassLength:
|
159
|
-
Max:
|
48
|
+
Max: 161
|
160
49
|
|
161
50
|
# Offense count: 7
|
162
51
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
163
52
|
Metrics/CyclomaticComplexity:
|
164
|
-
Max:
|
53
|
+
Max: 23
|
165
54
|
|
166
|
-
# Offense count:
|
55
|
+
# Offense count: 20
|
167
56
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
168
57
|
Metrics/MethodLength:
|
169
|
-
Max:
|
170
|
-
Exclude:
|
171
|
-
- 'lib/beaker-hostgenerator/data.rb'
|
58
|
+
Max: 1121
|
172
59
|
|
173
60
|
# Offense count: 4
|
174
61
|
# Configuration parameters: CountComments, CountAsOne.
|
175
62
|
Metrics/ModuleLength:
|
176
|
-
Max:
|
177
|
-
Exclude:
|
178
|
-
- 'lib/beaker-hostgenerator/data.rb'
|
63
|
+
Max: 1199
|
179
64
|
|
180
65
|
# Offense count: 3
|
181
66
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
182
67
|
Metrics/PerceivedComplexity:
|
183
|
-
Max:
|
68
|
+
Max: 25
|
184
69
|
|
185
70
|
# Offense count: 1
|
186
71
|
Naming/AccessorMethodName:
|
@@ -223,21 +108,25 @@ Naming/PredicateName:
|
|
223
108
|
- 'spec/**/*'
|
224
109
|
- 'lib/beaker-hostgenerator/parser.rb'
|
225
110
|
|
226
|
-
# Offense count:
|
111
|
+
# Offense count: 1
|
112
|
+
# Configuration parameters: MinSize.
|
113
|
+
Performance/CollectionLiteralInLoop:
|
114
|
+
Exclude:
|
115
|
+
- 'lib/beaker-hostgenerator/parser.rb'
|
116
|
+
|
117
|
+
# Offense count: 3
|
227
118
|
# This cop supports safe autocorrection (--autocorrect).
|
228
119
|
Performance/RegexpMatch:
|
229
120
|
Exclude:
|
230
121
|
- 'Rakefile'
|
231
|
-
- 'lib/beaker-hostgenerator/hypervisor/docker.rb'
|
232
122
|
- 'lib/beaker-hostgenerator/hypervisor/vagrant.rb'
|
233
123
|
|
234
|
-
# Offense count:
|
124
|
+
# Offense count: 2
|
235
125
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
236
126
|
Performance/StringInclude:
|
237
127
|
Exclude:
|
238
128
|
- 'Rakefile'
|
239
129
|
- 'lib/beaker-hostgenerator/generator.rb'
|
240
|
-
- 'lib/beaker-hostgenerator/hypervisor/docker.rb'
|
241
130
|
|
242
131
|
# Offense count: 1
|
243
132
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -245,7 +134,7 @@ Performance/StringReplacement:
|
|
245
134
|
Exclude:
|
246
135
|
- 'lib/beaker-hostgenerator/parser.rb'
|
247
136
|
|
248
|
-
# Offense count:
|
137
|
+
# Offense count: 7
|
249
138
|
# Configuration parameters: Prefixes, AllowedPatterns.
|
250
139
|
# Prefixes: when, with, without
|
251
140
|
RSpec/ContextWording:
|
@@ -314,20 +203,20 @@ Security/YAMLLoad:
|
|
314
203
|
- 'spec/beaker-hostgenerator/generator_spec.rb'
|
315
204
|
- 'test/util/generator_helpers.rb'
|
316
205
|
|
317
|
-
# Offense count:
|
206
|
+
# Offense count: 1
|
318
207
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
319
208
|
# Configuration parameters: EnforcedStyle.
|
320
209
|
# SupportedStyles: always, conditionals
|
321
210
|
Style/AndOr:
|
322
211
|
Exclude:
|
323
212
|
- 'lib/beaker-hostgenerator/generator.rb'
|
324
|
-
- 'lib/beaker-hostgenerator/parser.rb'
|
325
213
|
|
326
214
|
# Offense count: 1
|
327
215
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
216
|
+
# Configuration parameters: MinBranchesCount.
|
328
217
|
Style/CaseLikeIf:
|
329
218
|
Exclude:
|
330
|
-
- 'lib/beaker-hostgenerator/
|
219
|
+
- 'lib/beaker-hostgenerator/generator.rb'
|
331
220
|
|
332
221
|
# Offense count: 1
|
333
222
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
@@ -337,37 +226,12 @@ Style/ClassAndModuleChildren:
|
|
337
226
|
Exclude:
|
338
227
|
- 'lib/beaker-hostgenerator/hypervisor/unknown.rb'
|
339
228
|
|
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
229
|
# Offense count: 1
|
349
230
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
350
231
|
Style/CollectionCompact:
|
351
232
|
Exclude:
|
352
233
|
- 'lib/beaker-hostgenerator/data.rb'
|
353
234
|
|
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
235
|
# Offense count: 11
|
372
236
|
# Configuration parameters: AllowedConstants.
|
373
237
|
Style/Documentation:
|
@@ -386,41 +250,6 @@ Style/Documentation:
|
|
386
250
|
- 'lib/beaker-hostgenerator/roles.rb'
|
387
251
|
- 'lib/beaker-hostgenerator/util.rb'
|
388
252
|
|
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
253
|
# Offense count: 30
|
425
254
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
426
255
|
# Configuration parameters: EnforcedStyle.
|
@@ -428,88 +257,12 @@ Style/FormatString:
|
|
428
257
|
Style/FrozenStringLiteralComment:
|
429
258
|
Enabled: false
|
430
259
|
|
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
260
|
# Offense count: 4
|
477
261
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
478
262
|
Style/LineEndConcatenation:
|
479
263
|
Exclude:
|
480
264
|
- 'lib/beaker-hostgenerator/cli.rb'
|
481
265
|
|
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
266
|
# Offense count: 15
|
514
267
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
515
268
|
# Configuration parameters: EnforcedStyle.
|
@@ -522,63 +275,11 @@ Style/MutableConstant:
|
|
522
275
|
- 'lib/beaker-hostgenerator/version.rb'
|
523
276
|
- 'spec/helpers.rb'
|
524
277
|
|
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
278
|
# Offense count: 1
|
563
279
|
Style/OpenStructUse:
|
564
280
|
Exclude:
|
565
281
|
- 'spec/helpers.rb'
|
566
282
|
|
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
283
|
# Offense count: 4
|
583
284
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
584
285
|
# Configuration parameters: EnforcedStyle.
|
@@ -597,34 +298,6 @@ Style/RedundantInterpolation:
|
|
597
298
|
- 'spec/beaker-hostgenerator/generator_spec.rb'
|
598
299
|
- 'test/util/generator_helpers.rb'
|
599
300
|
|
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
301
|
# Offense count: 1
|
629
302
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
630
303
|
# Configuration parameters: Mode.
|
@@ -632,34 +305,9 @@ Style/StringConcatenation:
|
|
632
305
|
Exclude:
|
633
306
|
- 'lib/beaker-hostgenerator/hypervisor/vagrant.rb'
|
634
307
|
|
635
|
-
# Offense count:
|
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
|
308
|
+
# Offense count: 2
|
661
309
|
# This cop supports safe autocorrection (--autocorrect).
|
662
310
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
663
311
|
# URISchemes: http, https
|
664
312
|
Layout/LineLength:
|
665
|
-
Max:
|
313
|
+
Max: 168
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,26 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [2.2.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.2.0) (2023-05-05)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.1.0...2.2.0)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- switch to voxpupuli-rubocop; cleanup CI config and gemspec [\#309](https://github.com/voxpupuli/beaker-hostgenerator/pull/309) ([bastelfreak](https://github.com/bastelfreak))
|
12
|
+
- rubocop: Fix Style violations [\#308](https://github.com/voxpupuli/beaker-hostgenerator/pull/308) ([bastelfreak](https://github.com/bastelfreak))
|
13
|
+
- rubocop: Fix Lint violations [\#307](https://github.com/voxpupuli/beaker-hostgenerator/pull/307) ([bastelfreak](https://github.com/bastelfreak))
|
14
|
+
- RuboCop: fix layout cops, disable GuardClause; fix license in gemspec [\#306](https://github.com/voxpupuli/beaker-hostgenerator/pull/306) ([bastelfreak](https://github.com/bastelfreak))
|
15
|
+
|
16
|
+
## [2.1.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.1.0) (2023-05-02)
|
17
|
+
|
18
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.0.0...2.1.0)
|
19
|
+
|
20
|
+
**Implemented enhancements:**
|
21
|
+
|
22
|
+
- \(RE-15060\) Add macos-13-arm64 support [\#304](https://github.com/voxpupuli/beaker-hostgenerator/pull/304) ([yachub](https://github.com/yachub))
|
23
|
+
- use centos stream 8 box from cloud.centos.org [\#303](https://github.com/voxpupuli/beaker-hostgenerator/pull/303) ([evgeni](https://github.com/evgeni))
|
24
|
+
|
5
25
|
## [2.0.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.0.0) (2023-04-28)
|
6
26
|
|
7
27
|
[Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/1.18.1...2.0.0)
|
data/Gemfile
CHANGED
@@ -2,23 +2,18 @@ source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
if File.exist? "#{__FILE__}.local"
|
6
|
-
eval(File.read("#{__FILE__}.local"), binding)
|
7
|
-
end
|
5
|
+
eval(File.read("#{__FILE__}.local"), binding) if File.exist? "#{__FILE__}.local"
|
8
6
|
|
9
7
|
group :release do
|
10
|
-
gem '
|
8
|
+
gem 'faraday-retry', require: false
|
9
|
+
gem 'github_changelog_generator', require: false
|
11
10
|
end
|
12
11
|
|
13
12
|
group :coverage, optional: ENV['COVERAGE'] != 'yes' do
|
14
|
-
gem 'codecov', :
|
15
|
-
gem 'simplecov-console', :
|
13
|
+
gem 'codecov', require: false
|
14
|
+
gem 'simplecov-console', require: false
|
16
15
|
end
|
17
16
|
|
18
17
|
group :rubocop do
|
19
|
-
gem 'rubocop', '~> 1.
|
20
|
-
gem 'rubocop-minitest', '~> 0.30.0'
|
21
|
-
gem 'rubocop-performance', '~> 1.17.1'
|
22
|
-
gem 'rubocop-rake', '~> 0.6.0'
|
23
|
-
gem 'rubocop-rspec', '~> 2.20.0'
|
18
|
+
gem 'voxpupuli-rubocop', '~> 1.2'
|
24
19
|
end
|