beaker-docker 1.4.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.editorconfig +10 -0
- data/.github/workflows/test.yml +30 -60
- data/.gitignore +1 -0
- data/.rubocop.yml +5 -25
- data/.rubocop_todo.yml +9 -706
- data/.simplecov +2 -0
- data/CHANGELOG.md +51 -1
- data/Gemfile +3 -5
- data/Rakefile +37 -137
- data/acceptance/tests/00_default_spec.rb +5 -4
- data/beaker-docker.gemspec +21 -20
- data/bin/beaker-docker +8 -10
- data/lib/beaker/hypervisor/docker.rb +190 -217
- data/lib/beaker-docker/version.rb +3 -1
- data/lib/beaker-docker.rb +1 -0
- data/spec/beaker/hypervisor/docker_spec.rb +371 -389
- data/spec/spec_helper.rb +6 -5
- metadata +34 -38
- data/Gemfile.local +0 -3
data/.rubocop_todo.yml
CHANGED
@@ -1,445 +1,35 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2023-03-
|
3
|
+
# on 2023-03-28 10:44:07 UTC using RuboCop version 1.48.1.
|
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
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count: 1
|
10
|
-
# Cop supports --auto-correct.
|
11
|
-
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
|
12
|
-
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
13
|
-
Bundler/OrderedGems:
|
14
|
-
Exclude:
|
15
|
-
- 'Gemfile'
|
16
|
-
|
17
|
-
# Offense count: 3
|
18
|
-
# Cop supports --auto-correct.
|
19
|
-
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
|
20
|
-
# Include: **/*.gemspec
|
21
|
-
Gemspec/OrderedDependencies:
|
22
|
-
Exclude:
|
23
|
-
- 'beaker-docker.gemspec'
|
24
|
-
|
25
|
-
# Offense count: 1
|
26
|
-
# Configuration parameters: Include.
|
27
|
-
# Include: **/*.gemspec
|
28
|
-
Gemspec/RequiredRubyVersion:
|
29
|
-
Exclude:
|
30
|
-
- 'beaker-docker.gemspec'
|
31
|
-
|
32
|
-
# Offense count: 1
|
33
|
-
# Cop supports --auto-correct.
|
34
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
35
|
-
# SupportedStyles: with_first_argument, with_fixed_indentation
|
36
|
-
Layout/ArgumentAlignment:
|
37
|
-
Exclude:
|
38
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
39
|
-
|
40
|
-
# Offense count: 1
|
41
|
-
# Cop supports --auto-correct.
|
42
|
-
# Configuration parameters: IndentationWidth.
|
43
|
-
Layout/AssignmentIndentation:
|
44
|
-
Exclude:
|
45
|
-
- 'bin/beaker-docker'
|
46
|
-
|
47
|
-
# Offense count: 2
|
48
|
-
# Cop supports --auto-correct.
|
49
|
-
Layout/BlockEndNewline:
|
50
|
-
Exclude:
|
51
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
52
|
-
|
53
|
-
# Offense count: 1
|
54
|
-
# Cop supports --auto-correct.
|
55
|
-
Layout/CommentIndentation:
|
56
|
-
Exclude:
|
57
|
-
- 'Rakefile'
|
58
|
-
|
59
|
-
# Offense count: 2
|
60
|
-
# Cop supports --auto-correct.
|
61
|
-
Layout/EmptyLineAfterGuardClause:
|
62
|
-
Exclude:
|
63
|
-
- 'Rakefile'
|
64
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
65
|
-
|
66
|
-
# Offense count: 1
|
67
|
-
# Cop supports --auto-correct.
|
68
|
-
Layout/EmptyLineAfterMagicComment:
|
69
|
-
Exclude:
|
70
|
-
- 'beaker-docker.gemspec'
|
71
|
-
|
72
|
-
# Offense count: 5
|
73
|
-
# Cop supports --auto-correct.
|
74
|
-
Layout/EmptyLines:
|
75
|
-
Exclude:
|
76
|
-
- 'bin/beaker-docker'
|
77
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
78
|
-
|
79
|
-
# Offense count: 5
|
80
|
-
# Cop supports --auto-correct.
|
81
|
-
# Configuration parameters: EnforcedStyle.
|
82
|
-
# SupportedStyles: empty_lines, no_empty_lines
|
83
|
-
Layout/EmptyLinesAroundBlockBody:
|
84
|
-
Exclude:
|
85
|
-
- 'Rakefile'
|
86
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
87
|
-
|
88
|
-
# Offense count: 1
|
89
|
-
# Cop supports --auto-correct.
|
90
|
-
# Configuration parameters: EnforcedStyle.
|
91
|
-
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
92
|
-
Layout/EmptyLinesAroundClassBody:
|
93
|
-
Exclude:
|
94
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
95
|
-
|
96
|
-
# Offense count: 4
|
97
|
-
# Cop supports --auto-correct.
|
98
|
-
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
99
|
-
Layout/ExtraSpacing:
|
100
|
-
Exclude:
|
101
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
102
|
-
|
103
|
-
# Offense count: 26
|
104
|
-
# Cop supports --auto-correct.
|
105
|
-
# Configuration parameters: IndentationWidth.
|
106
|
-
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
107
|
-
Layout/FirstHashElementIndentation:
|
108
|
-
EnforcedStyle: consistent
|
109
|
-
|
110
|
-
# Offense count: 1
|
111
|
-
# Cop supports --auto-correct.
|
112
|
-
Layout/HeredocIndentation:
|
113
|
-
Exclude:
|
114
|
-
- 'Rakefile'
|
115
|
-
|
116
|
-
# Offense count: 5
|
117
|
-
# Cop supports --auto-correct.
|
118
|
-
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
|
119
|
-
Layout/LeadingCommentSpace:
|
120
|
-
Exclude:
|
121
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
122
|
-
|
123
|
-
# Offense count: 2
|
124
|
-
# Cop supports --auto-correct.
|
125
|
-
Layout/MultilineBlockLayout:
|
126
|
-
Exclude:
|
127
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
128
|
-
|
129
|
-
# Offense count: 1
|
130
|
-
# Cop supports --auto-correct.
|
131
|
-
# Configuration parameters: EnforcedStyle.
|
132
|
-
# SupportedStyles: symmetrical, new_line, same_line
|
133
|
-
Layout/MultilineHashBraceLayout:
|
134
|
-
Exclude:
|
135
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
136
|
-
|
137
|
-
# Offense count: 11
|
138
|
-
# Cop supports --auto-correct.
|
139
|
-
Layout/SpaceAfterComma:
|
140
|
-
Exclude:
|
141
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
142
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
143
|
-
|
144
|
-
# Offense count: 2
|
145
|
-
# Cop supports --auto-correct.
|
146
|
-
# Configuration parameters: EnforcedStyleInsidePipes.
|
147
|
-
# SupportedStylesInsidePipes: space, no_space
|
148
|
-
Layout/SpaceAroundBlockParameters:
|
149
|
-
Exclude:
|
150
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
151
|
-
|
152
|
-
# Offense count: 1
|
153
|
-
# Cop supports --auto-correct.
|
154
|
-
Layout/SpaceAroundKeyword:
|
155
|
-
Exclude:
|
156
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
157
|
-
|
158
|
-
# Offense count: 19
|
159
|
-
# Cop supports --auto-correct.
|
160
|
-
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
|
161
|
-
# SupportedStylesForExponentOperator: space, no_space
|
162
|
-
Layout/SpaceAroundOperators:
|
163
|
-
Exclude:
|
164
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
165
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
166
|
-
|
167
|
-
# Offense count: 2
|
168
|
-
# Cop supports --auto-correct.
|
169
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
170
|
-
# SupportedStyles: space, no_space
|
171
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
172
|
-
Layout/SpaceBeforeBlockBraces:
|
173
|
-
Exclude:
|
174
|
-
- 'beaker-docker.gemspec'
|
175
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
176
|
-
|
177
|
-
# Offense count: 2
|
178
|
-
# Cop supports --auto-correct.
|
179
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
180
|
-
# SupportedStyles: space, no_space, compact
|
181
|
-
# SupportedStylesForEmptyBrackets: space, no_space
|
182
|
-
Layout/SpaceInsideArrayLiteralBrackets:
|
183
|
-
Exclude:
|
184
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
185
|
-
|
186
|
-
# Offense count: 11
|
187
|
-
# Cop supports --auto-correct.
|
188
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
189
|
-
# SupportedStyles: space, no_space
|
190
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
191
|
-
Layout/SpaceInsideBlockBraces:
|
192
|
-
Exclude:
|
193
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
194
|
-
- 'spec/spec_helper.rb'
|
195
|
-
|
196
|
-
# Offense count: 25
|
197
|
-
# Cop supports --auto-correct.
|
198
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
199
|
-
# SupportedStyles: space, no_space, compact
|
200
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
201
|
-
Layout/SpaceInsideHashLiteralBraces:
|
202
|
-
Exclude:
|
203
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
204
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
205
|
-
|
206
|
-
# Offense count: 280
|
207
|
-
# Cop supports --auto-correct.
|
208
|
-
# Configuration parameters: EnforcedStyle.
|
209
|
-
# SupportedStyles: space, no_space
|
210
|
-
Layout/SpaceInsideParens:
|
211
|
-
Exclude:
|
212
|
-
- 'Rakefile'
|
213
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
214
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
215
|
-
|
216
|
-
# Offense count: 1
|
217
|
-
# Cop supports --auto-correct.
|
218
|
-
Lint/DeprecatedClassMethods:
|
219
|
-
Exclude:
|
220
|
-
- 'Gemfile'
|
221
|
-
|
222
|
-
# Offense count: 1
|
223
|
-
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
|
224
|
-
Lint/DuplicateBranch:
|
225
|
-
Exclude:
|
226
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
227
|
-
|
228
|
-
# Offense count: 1
|
229
|
-
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
230
|
-
Lint/EmptyBlock:
|
231
|
-
Exclude:
|
232
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
233
|
-
|
234
|
-
# Offense count: 1
|
235
|
-
Lint/MissingSuper:
|
236
|
-
Exclude:
|
237
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
238
|
-
|
239
|
-
# Offense count: 1
|
240
|
-
# Cop supports --auto-correct.
|
241
|
-
Lint/NonDeterministicRequireOrder:
|
242
|
-
Exclude:
|
243
|
-
- 'spec/spec_helper.rb'
|
244
|
-
|
245
|
-
# Offense count: 3
|
246
|
-
# Cop supports --auto-correct.
|
247
|
-
Lint/ParenthesesAsGroupedExpression:
|
248
|
-
Exclude:
|
249
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
250
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
251
|
-
|
252
|
-
# Offense count: 1
|
253
|
-
# Configuration parameters: AllowComments, AllowNil.
|
254
|
-
Lint/SuppressedException:
|
255
|
-
Exclude:
|
256
|
-
- 'Rakefile'
|
257
|
-
|
258
|
-
# Offense count: 1
|
259
|
-
# Cop supports --auto-correct.
|
260
|
-
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
261
|
-
Lint/UnusedMethodArgument:
|
262
|
-
Exclude:
|
263
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
264
|
-
|
265
|
-
# Offense count: 6
|
266
|
-
Lint/UselessAssignment:
|
267
|
-
Exclude:
|
268
|
-
- 'Rakefile'
|
269
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
270
|
-
|
271
|
-
# Offense count: 8
|
272
|
-
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
|
273
|
-
Metrics/AbcSize:
|
274
|
-
Max: 152
|
275
|
-
|
276
|
-
# Offense count: 17
|
277
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
278
|
-
# IgnoredMethods: refine
|
279
|
-
Metrics/BlockLength:
|
280
|
-
Max: 678
|
281
|
-
|
282
|
-
# Offense count: 7
|
283
|
-
# Configuration parameters: CountBlocks.
|
284
|
-
Metrics/BlockNesting:
|
285
|
-
Max: 5
|
286
|
-
|
287
|
-
# Offense count: 1
|
288
|
-
# Configuration parameters: CountComments, CountAsOne.
|
289
|
-
Metrics/ClassLength:
|
290
|
-
Max: 501
|
291
|
-
|
292
|
-
# Offense count: 7
|
293
|
-
# Configuration parameters: IgnoredMethods.
|
294
|
-
Metrics/CyclomaticComplexity:
|
295
|
-
Max: 34
|
296
|
-
|
297
|
-
# Offense count: 11
|
298
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
299
|
-
Metrics/MethodLength:
|
300
|
-
Max: 123
|
301
|
-
|
302
|
-
# Offense count: 1
|
303
|
-
# Configuration parameters: CountComments, CountAsOne.
|
304
|
-
Metrics/ModuleLength:
|
305
|
-
Max: 688
|
306
|
-
|
307
|
-
# Offense count: 6
|
308
|
-
# Configuration parameters: IgnoredMethods.
|
309
|
-
Metrics/PerceivedComplexity:
|
310
|
-
Max: 39
|
311
|
-
|
312
|
-
# Offense count: 1
|
313
|
-
# Configuration parameters: ForbiddenDelimiters.
|
314
|
-
# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
315
|
-
Naming/HeredocDelimiterNaming:
|
316
|
-
Exclude:
|
317
|
-
- 'Rakefile'
|
318
|
-
|
319
|
-
# Offense count: 2
|
320
|
-
# Cop supports --auto-correct.
|
321
|
-
Performance/Detect:
|
322
|
-
Exclude:
|
323
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
324
|
-
|
325
|
-
# Offense count: 1
|
326
|
-
# Cop supports --auto-correct.
|
327
|
-
Performance/RedundantSplitRegexpArgument:
|
328
|
-
Exclude:
|
329
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
330
|
-
|
331
|
-
# Offense count: 3
|
332
|
-
# Cop supports --auto-correct.
|
333
|
-
Performance/RegexpMatch:
|
334
|
-
Exclude:
|
335
|
-
- 'Rakefile'
|
336
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
337
|
-
|
338
|
-
# Offense count: 8
|
339
|
-
# Cop supports --auto-correct.
|
340
|
-
Performance/StringInclude:
|
341
|
-
Exclude:
|
342
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
343
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
344
|
-
|
345
9
|
# Offense count: 4
|
346
10
|
RSpec/AnyInstance:
|
347
11
|
Exclude:
|
348
12
|
- 'spec/beaker/hypervisor/docker_spec.rb'
|
349
13
|
|
350
|
-
# Offense count:
|
351
|
-
# Configuration parameters: Prefixes.
|
352
|
-
# Prefixes: when, with, without
|
353
|
-
RSpec/ContextWording:
|
354
|
-
Exclude:
|
355
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
356
|
-
|
357
|
-
# Offense count: 1
|
358
|
-
# Configuration parameters: IgnoredMetadata.
|
359
|
-
RSpec/DescribeClass:
|
360
|
-
Exclude:
|
361
|
-
- 'acceptance/tests/00_default_spec.rb'
|
362
|
-
|
363
|
-
# Offense count: 1
|
364
|
-
RSpec/EmptyExampleGroup:
|
365
|
-
Exclude:
|
366
|
-
- 'acceptance/tests/00_default_spec.rb'
|
367
|
-
|
368
|
-
# Offense count: 2
|
369
|
-
# Cop supports --auto-correct.
|
370
|
-
RSpec/EmptyLineAfterFinalLet:
|
371
|
-
Exclude:
|
372
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
373
|
-
|
374
|
-
# Offense count: 2
|
375
|
-
# Cop supports --auto-correct.
|
376
|
-
RSpec/EmptyLineAfterHook:
|
377
|
-
Exclude:
|
378
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
379
|
-
|
380
|
-
# Offense count: 24
|
14
|
+
# Offense count: 23
|
381
15
|
# Configuration parameters: CountAsOne.
|
382
16
|
RSpec/ExampleLength:
|
383
17
|
Max: 53
|
384
18
|
|
385
|
-
# Offense count:
|
386
|
-
# Cop supports --auto-correct.
|
387
|
-
# Configuration parameters: CustomTransform, IgnoredWords.
|
388
|
-
RSpec/ExampleWording:
|
389
|
-
Exclude:
|
390
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
391
|
-
|
392
|
-
# Offense count: 2
|
393
|
-
RSpec/ExpectInHook:
|
394
|
-
Exclude:
|
395
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
396
|
-
|
397
|
-
# Offense count: 10
|
398
|
-
# Cop supports --auto-correct.
|
399
|
-
# Configuration parameters: EnforcedStyle.
|
400
|
-
# SupportedStyles: implicit, each, example
|
401
|
-
RSpec/HookArgument:
|
402
|
-
Exclude:
|
403
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
404
|
-
|
405
|
-
# Offense count: 50
|
19
|
+
# Offense count: 44
|
406
20
|
# Configuration parameters: .
|
407
21
|
# SupportedStyles: have_received, receive
|
408
22
|
RSpec/MessageSpies:
|
409
23
|
EnforcedStyle: receive
|
410
24
|
|
411
|
-
# Offense count:
|
25
|
+
# Offense count: 15
|
412
26
|
RSpec/MultipleExpectations:
|
413
27
|
Max: 5
|
414
28
|
|
415
29
|
# Offense count: 18
|
416
30
|
# Configuration parameters: AllowSubject.
|
417
31
|
RSpec/MultipleMemoizedHelpers:
|
418
|
-
Max:
|
419
|
-
|
420
|
-
# Offense count: 1
|
421
|
-
# Cop supports --auto-correct.
|
422
|
-
# Configuration parameters: EnforcedStyle.
|
423
|
-
# SupportedStyles: not_to, to_not
|
424
|
-
RSpec/NotToNot:
|
425
|
-
Exclude:
|
426
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
427
|
-
|
428
|
-
# Offense count: 1
|
429
|
-
# Cop supports --auto-correct.
|
430
|
-
RSpec/ReceiveCounts:
|
431
|
-
Exclude:
|
432
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
433
|
-
|
434
|
-
# Offense count: 2
|
435
|
-
RSpec/RepeatedDescription:
|
436
|
-
Exclude:
|
437
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
438
|
-
|
439
|
-
# Offense count: 5
|
440
|
-
RSpec/StubbedMock:
|
441
|
-
Exclude:
|
442
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
32
|
+
Max: 12
|
443
33
|
|
444
34
|
# Offense count: 5
|
445
35
|
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
@@ -447,296 +37,9 @@ RSpec/VerifiedDoubles:
|
|
447
37
|
Exclude:
|
448
38
|
- 'spec/beaker/hypervisor/docker_spec.rb'
|
449
39
|
|
450
|
-
# Offense count:
|
451
|
-
#
|
452
|
-
|
453
|
-
Exclude:
|
454
|
-
- 'Rakefile'
|
455
|
-
|
456
|
-
# Offense count: 1
|
457
|
-
Security/Eval:
|
458
|
-
Exclude:
|
459
|
-
- 'Gemfile'
|
460
|
-
|
461
|
-
# Offense count: 3
|
462
|
-
# Cop supports --auto-correct.
|
463
|
-
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
464
|
-
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
465
|
-
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
466
|
-
# FunctionalMethods: let, let!, subject, watch
|
467
|
-
# IgnoredMethods: lambda, proc, it
|
468
|
-
Style/BlockDelimiters:
|
469
|
-
Exclude:
|
470
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
471
|
-
|
472
|
-
# Offense count: 15
|
473
|
-
# Cop supports --auto-correct.
|
474
|
-
# Configuration parameters: AllowOnConstant.
|
475
|
-
Style/CaseEquality:
|
476
|
-
Exclude:
|
477
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
478
|
-
|
479
|
-
# Offense count: 1
|
480
|
-
# Cop supports --auto-correct.
|
481
|
-
# Configuration parameters: Keywords.
|
482
|
-
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
|
483
|
-
Style/CommentAnnotation:
|
484
|
-
Exclude:
|
485
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
486
|
-
|
487
|
-
# Offense count: 2
|
488
|
-
# Cop supports --auto-correct.
|
489
|
-
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
490
|
-
# SupportedStyles: assign_to_condition, assign_inside_condition
|
491
|
-
Style/ConditionalAssignment:
|
492
|
-
Exclude:
|
493
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
494
|
-
|
495
|
-
# Offense count: 4
|
496
|
-
# Cop supports --auto-correct.
|
497
|
-
Style/Dir:
|
498
|
-
Exclude:
|
499
|
-
- 'Rakefile'
|
500
|
-
|
501
|
-
# Offense count: 1
|
502
|
-
# Configuration parameters: AllowedConstants.
|
503
|
-
Style/Documentation:
|
504
|
-
Exclude:
|
505
|
-
- 'spec/**/*'
|
506
|
-
- 'test/**/*'
|
507
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
508
|
-
|
509
|
-
# Offense count: 1
|
510
|
-
# Cop supports --auto-correct.
|
511
|
-
Style/Encoding:
|
512
|
-
Exclude:
|
513
|
-
- 'beaker-docker.gemspec'
|
514
|
-
|
515
|
-
# Offense count: 1
|
516
|
-
# Cop supports --auto-correct.
|
517
|
-
Style/ExpandPathArguments:
|
518
|
-
Exclude:
|
519
|
-
- 'beaker-docker.gemspec'
|
520
|
-
|
521
|
-
# Offense count: 10
|
522
|
-
# Cop supports --auto-correct.
|
523
|
-
# Configuration parameters: EnforcedStyle.
|
524
|
-
# SupportedStyles: always, always_true, never
|
525
|
-
Style/FrozenStringLiteralComment:
|
526
|
-
Exclude:
|
527
|
-
- '.simplecov'
|
528
|
-
- 'Gemfile'
|
529
|
-
- 'Rakefile'
|
530
|
-
- 'acceptance/tests/00_default_spec.rb'
|
531
|
-
- 'beaker-docker.gemspec'
|
532
|
-
- 'bin/beaker-docker'
|
533
|
-
- 'lib/beaker-docker/version.rb'
|
534
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
535
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
536
|
-
- 'spec/spec_helper.rb'
|
537
|
-
|
538
|
-
# Offense count: 2
|
539
|
-
# Configuration parameters: MinBodyLength.
|
540
|
-
Style/GuardClause:
|
541
|
-
Exclude:
|
542
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
543
|
-
|
544
|
-
# Offense count: 1
|
545
|
-
# Cop supports --auto-correct.
|
546
|
-
# Configuration parameters: AllowIfModifier.
|
547
|
-
Style/IfInsideElse:
|
548
|
-
Exclude:
|
549
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
550
|
-
|
551
|
-
# Offense count: 11
|
552
|
-
# Cop supports --auto-correct.
|
553
|
-
Style/IfUnlessModifier:
|
554
|
-
Exclude:
|
555
|
-
- 'Gemfile'
|
556
|
-
- 'Rakefile'
|
557
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
558
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
559
|
-
|
560
|
-
# Offense count: 1
|
561
|
-
# Cop supports --auto-correct.
|
562
|
-
# Configuration parameters: AllowedMethods.
|
563
|
-
# AllowedMethods: nonzero?
|
564
|
-
Style/IfWithBooleanLiteralBranches:
|
565
|
-
Exclude:
|
566
|
-
- 'Rakefile'
|
567
|
-
|
568
|
-
# Offense count: 1
|
569
|
-
# Cop supports --auto-correct.
|
570
|
-
Style/LineEndConcatenation:
|
571
|
-
Exclude:
|
572
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
573
|
-
|
574
|
-
# Offense count: 4
|
575
|
-
# Cop supports --auto-correct.
|
576
|
-
# Configuration parameters: EnforcedStyle.
|
577
|
-
# SupportedStyles: literals, strict
|
578
|
-
Style/MutableConstant:
|
579
|
-
Exclude:
|
580
|
-
- 'Rakefile'
|
581
|
-
- 'bin/beaker-docker'
|
582
|
-
- 'lib/beaker-docker/version.rb'
|
583
|
-
|
584
|
-
# Offense count: 1
|
585
|
-
# Cop supports --auto-correct.
|
586
|
-
# Configuration parameters: EnforcedStyle, MinBodyLength.
|
587
|
-
# SupportedStyles: skip_modifier_ifs, always
|
588
|
-
Style/Next:
|
589
|
-
Exclude:
|
590
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
591
|
-
|
592
|
-
# Offense count: 1
|
593
|
-
# Cop supports --auto-correct.
|
594
|
-
# Configuration parameters: IncludeSemanticChanges.
|
595
|
-
Style/NonNilCheck:
|
596
|
-
Exclude:
|
597
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
598
|
-
|
599
|
-
# Offense count: 1
|
600
|
-
# Cop supports --auto-correct.
|
601
|
-
# Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
|
602
|
-
Style/ParenthesesAroundCondition:
|
603
|
-
Exclude:
|
604
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
605
|
-
|
606
|
-
# Offense count: 32
|
607
|
-
# Cop supports --auto-correct.
|
608
|
-
# Configuration parameters: PreferredDelimiters.
|
609
|
-
Style/PercentLiteralDelimiters:
|
610
|
-
Exclude:
|
611
|
-
- 'Rakefile'
|
612
|
-
- 'beaker-docker.gemspec'
|
613
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
614
|
-
|
615
|
-
# Offense count: 2
|
616
|
-
# Cop supports --auto-correct.
|
617
|
-
# Configuration parameters: EnforcedStyle.
|
618
|
-
# SupportedStyles: short, verbose
|
619
|
-
Style/PreferredHashMethods:
|
620
|
-
Exclude:
|
621
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
622
|
-
|
623
|
-
# Offense count: 3
|
624
|
-
# Cop supports --auto-correct.
|
625
|
-
# Configuration parameters: Methods.
|
626
|
-
Style/RedundantArgument:
|
627
|
-
Exclude:
|
628
|
-
- 'Rakefile'
|
629
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
630
|
-
|
631
|
-
# Offense count: 1
|
632
|
-
# Cop supports --auto-correct.
|
633
|
-
Style/RedundantCondition:
|
634
|
-
Exclude:
|
635
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
636
|
-
|
637
|
-
# Offense count: 1
|
638
|
-
# Cop supports --auto-correct.
|
639
|
-
Style/RedundantException:
|
640
|
-
Exclude:
|
641
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
642
|
-
|
643
|
-
# Offense count: 2
|
644
|
-
# Cop supports --auto-correct.
|
645
|
-
Style/RedundantPercentQ:
|
646
|
-
Exclude:
|
647
|
-
- 'beaker-docker.gemspec'
|
648
|
-
|
649
|
-
# Offense count: 2
|
650
|
-
# Cop supports --auto-correct.
|
651
|
-
Style/RedundantRegexpEscape:
|
652
|
-
Exclude:
|
653
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
654
|
-
|
655
|
-
# Offense count: 4
|
656
|
-
# Cop supports --auto-correct.
|
657
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
658
|
-
Style/RedundantReturn:
|
659
|
-
Exclude:
|
660
|
-
- 'Rakefile'
|
661
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
662
|
-
|
663
|
-
# Offense count: 1
|
664
|
-
# Cop supports --auto-correct.
|
665
|
-
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
666
|
-
# SupportedStyles: slashes, percent_r, mixed
|
667
|
-
Style/RegexpLiteral:
|
668
|
-
Exclude:
|
669
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
670
|
-
|
671
|
-
# Offense count: 1
|
672
|
-
# Cop supports --auto-correct.
|
673
|
-
# Configuration parameters: EnforcedStyle.
|
674
|
-
# SupportedStyles: only_raise, only_fail, semantic
|
675
|
-
Style/SignalException:
|
676
|
-
Exclude:
|
677
|
-
- 'Rakefile'
|
678
|
-
|
679
|
-
# Offense count: 2
|
680
|
-
# Cop supports --auto-correct.
|
681
|
-
Style/StringConcatenation:
|
682
|
-
Exclude:
|
683
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
684
|
-
- 'spec/spec_helper.rb'
|
685
|
-
|
686
|
-
# Offense count: 64
|
687
|
-
# Cop supports --auto-correct.
|
688
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
689
|
-
# SupportedStyles: single_quotes, double_quotes
|
690
|
-
Style/StringLiterals:
|
691
|
-
Exclude:
|
692
|
-
- 'Rakefile'
|
693
|
-
- 'beaker-docker.gemspec'
|
694
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
695
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
696
|
-
|
697
|
-
# Offense count: 1
|
698
|
-
# Cop supports --auto-correct.
|
699
|
-
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
|
700
|
-
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
701
|
-
Style/TernaryParentheses:
|
702
|
-
Exclude:
|
703
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
704
|
-
|
705
|
-
# Offense count: 5
|
706
|
-
# Cop supports --auto-correct.
|
707
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
708
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
709
|
-
Style/TrailingCommaInArrayLiteral:
|
710
|
-
Exclude:
|
711
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
712
|
-
- 'spec/spec_helper.rb'
|
713
|
-
|
714
|
-
# Offense count: 25
|
715
|
-
# Cop supports --auto-correct.
|
716
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
717
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
718
|
-
Style/TrailingCommaInHashLiteral:
|
719
|
-
Exclude:
|
720
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
721
|
-
|
722
|
-
# Offense count: 1
|
723
|
-
# Cop supports --auto-correct.
|
724
|
-
Style/UnlessElse:
|
725
|
-
Exclude:
|
726
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
727
|
-
|
728
|
-
# Offense count: 3
|
729
|
-
# Cop supports --auto-correct.
|
730
|
-
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
|
731
|
-
# SupportedStyles: percent, brackets
|
732
|
-
Style/WordArray:
|
733
|
-
Exclude:
|
734
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
735
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
736
|
-
|
737
|
-
# Offense count: 20
|
738
|
-
# Cop supports --auto-correct.
|
739
|
-
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
40
|
+
# Offense count: 26
|
41
|
+
# This cop supports safe autocorrection (--autocorrect).
|
42
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
740
43
|
# URISchemes: http, https
|
741
44
|
Layout/LineLength:
|
742
|
-
Max:
|
45
|
+
Max: 198
|