beaker-docker 1.5.0 → 2.1.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 -4
- data/.rubocop.yml +2 -40
- data/.rubocop_todo.yml +9 -547
- data/CHANGELOG.md +40 -0
- data/Gemfile +1 -4
- data/beaker-docker.gemspec +3 -7
- data/lib/beaker/hypervisor/docker.rb +187 -207
- data/lib/beaker-docker/version.rb +1 -1
- data/spec/beaker/hypervisor/docker_spec.rb +369 -403
- metadata +14 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68081b2882922ccbb645c18cd13793230a072aad07154d51da1fa5d1b2876186
|
4
|
+
data.tar.gz: 20894761944fb07007daacdaf6e466bc282a4a418d07d304776bdc77738a23d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d12134709510c8508550b7b1b33e68138632ce0c7bc3fe5ac5d72d3a2e5e106933c769f9e9901ce37f27bde1b52c2f6f5f183883246c2e5d96f71214a1f01eb
|
7
|
+
data.tar.gz: d075fae3a65f02084ebc54f6dd5059381d60849b603cb268d1d55dfe6ba46f50fb6345a21af05eca1f3652398bcafbf1100ffe7d966f69bd3f736f724caefd09
|
data/.github/workflows/test.yml
CHANGED
@@ -28,9 +28,6 @@ jobs:
|
|
28
28
|
fail-fast: false
|
29
29
|
matrix:
|
30
30
|
include:
|
31
|
-
- ruby: "2.4"
|
32
|
-
- ruby: "2.5"
|
33
|
-
- ruby: "2.6"
|
34
31
|
- ruby: "2.7"
|
35
32
|
- ruby: "3.0"
|
36
33
|
coverage: "yes"
|
@@ -49,7 +46,7 @@ jobs:
|
|
49
46
|
- name: spec tests
|
50
47
|
run: bundle exec rake test:spec
|
51
48
|
- name: Build gem
|
52
|
-
run: gem build *.gemspec
|
49
|
+
run: gem build --strict --verbose *.gemspec
|
53
50
|
|
54
51
|
docker:
|
55
52
|
runs-on: ubuntu-latest
|
data/.rubocop.yml
CHANGED
@@ -1,48 +1,10 @@
|
|
1
|
-
# The behavior of RuboCop can be controlled via the .rubocop.yml
|
2
|
-
# configuration file. It makes it possible to enable/disable
|
3
|
-
# certain cops (checks) and to alter their behavior if they accept
|
4
|
-
# any parameters. The file can be placed either in your home
|
5
|
-
# directory or in some project directory.
|
6
|
-
#
|
7
|
-
# RuboCop will start looking for the configuration file in the directory
|
8
|
-
# where the inspected file is and continue its way up to the root directory.
|
9
|
-
#
|
10
|
-
# See https://docs.rubocop.org/rubocop/configuration
|
11
1
|
---
|
12
2
|
inherit_from: .rubocop_todo.yml
|
13
3
|
|
14
|
-
|
15
|
-
- rubocop
|
16
|
-
- rubocop-rake
|
17
|
-
- rubocop-rspec
|
18
|
-
|
19
|
-
AllCops:
|
20
|
-
NewCops: enable
|
21
|
-
DisplayCopNames: true
|
22
|
-
ExtraDetails: true
|
23
|
-
DisplayStyleGuide: true
|
24
|
-
TargetRubyVersion: '2.4'
|
25
|
-
Exclude:
|
26
|
-
- vendor/**/*
|
27
|
-
|
28
|
-
Metrics:
|
29
|
-
Description: Metrics cops are rarely useful
|
30
|
-
Enabled: false
|
31
|
-
|
32
|
-
Style/HashSyntax:
|
33
|
-
Description: Disable temporarily (FIXME)
|
34
|
-
EnforcedStyle: ruby19
|
35
|
-
Enabled: false
|
4
|
+
inherit_gem:
|
5
|
+
voxpupuli-rubocop: rubocop.yml
|
36
6
|
|
37
7
|
Naming/FileName:
|
38
8
|
Description: Some files violates the snake_case convention
|
39
9
|
Exclude:
|
40
10
|
- 'lib/beaker-docker.rb'
|
41
|
-
|
42
|
-
# Style enforcements
|
43
|
-
Style/TrailingCommaInArrayLiteral:
|
44
|
-
EnforcedStyleForMultiline: consistent_comma
|
45
|
-
Style/IfUnlessModifier:
|
46
|
-
Enabled: false
|
47
|
-
Style/StringLiterals:
|
48
|
-
Enabled: false
|
data/.rubocop_todo.yml
CHANGED
@@ -1,572 +1,34 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2023-
|
3
|
+
# on 2023-05-05 14:11:54 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
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count:
|
10
|
-
# Configuration parameters: Include.
|
11
|
-
# Include: **/*.gemspec
|
12
|
-
Gemspec/RequiredRubyVersion:
|
13
|
-
Exclude:
|
14
|
-
- 'beaker-docker.gemspec'
|
15
|
-
|
16
|
-
# Offense count: 1
|
17
|
-
# Cop supports --auto-correct.
|
18
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
19
|
-
# SupportedStyles: with_first_argument, with_fixed_indentation
|
20
|
-
Layout/ArgumentAlignment:
|
21
|
-
Exclude:
|
22
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
23
|
-
|
24
|
-
# Offense count: 2
|
25
|
-
# Cop supports --auto-correct.
|
26
|
-
Layout/BlockEndNewline:
|
27
|
-
Exclude:
|
28
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
29
|
-
|
30
|
-
# Offense count: 2
|
31
|
-
# Cop supports --auto-correct.
|
32
|
-
Layout/EmptyLineAfterGuardClause:
|
33
|
-
Exclude:
|
34
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
35
|
-
|
36
|
-
# Offense count: 5
|
37
|
-
# Cop supports --auto-correct.
|
38
|
-
Layout/EmptyLines:
|
39
|
-
Exclude:
|
40
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
41
|
-
|
42
|
-
# Offense count: 5
|
43
|
-
# Cop supports --auto-correct.
|
44
|
-
# Configuration parameters: EnforcedStyle.
|
45
|
-
# SupportedStyles: empty_lines, no_empty_lines
|
46
|
-
Layout/EmptyLinesAroundBlockBody:
|
47
|
-
Exclude:
|
48
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
49
|
-
|
50
|
-
# Offense count: 1
|
51
|
-
# Cop supports --auto-correct.
|
52
|
-
# Configuration parameters: EnforcedStyle.
|
53
|
-
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
54
|
-
Layout/EmptyLinesAroundClassBody:
|
55
|
-
Exclude:
|
56
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
57
|
-
|
58
|
-
# Offense count: 4
|
59
|
-
# Cop supports --auto-correct.
|
60
|
-
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
61
|
-
Layout/ExtraSpacing:
|
62
|
-
Exclude:
|
63
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
64
|
-
|
65
|
-
# Offense count: 26
|
66
|
-
# Cop supports --auto-correct.
|
67
|
-
# Configuration parameters: IndentationWidth.
|
68
|
-
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
69
|
-
Layout/FirstHashElementIndentation:
|
70
|
-
EnforcedStyle: consistent
|
71
|
-
|
72
|
-
# Offense count: 5
|
73
|
-
# Cop supports --auto-correct.
|
74
|
-
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
|
75
|
-
Layout/LeadingCommentSpace:
|
76
|
-
Exclude:
|
77
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
78
|
-
|
79
|
-
# Offense count: 2
|
80
|
-
# Cop supports --auto-correct.
|
81
|
-
Layout/MultilineBlockLayout:
|
82
|
-
Exclude:
|
83
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
84
|
-
|
85
|
-
# Offense count: 1
|
86
|
-
# Cop supports --auto-correct.
|
87
|
-
# Configuration parameters: EnforcedStyle.
|
88
|
-
# SupportedStyles: symmetrical, new_line, same_line
|
89
|
-
Layout/MultilineHashBraceLayout:
|
90
|
-
Exclude:
|
91
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
92
|
-
|
93
|
-
# Offense count: 11
|
94
|
-
# Cop supports --auto-correct.
|
95
|
-
Layout/SpaceAfterComma:
|
96
|
-
Exclude:
|
97
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
98
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
99
|
-
|
100
|
-
# Offense count: 2
|
101
|
-
# Cop supports --auto-correct.
|
102
|
-
# Configuration parameters: EnforcedStyleInsidePipes.
|
103
|
-
# SupportedStylesInsidePipes: space, no_space
|
104
|
-
Layout/SpaceAroundBlockParameters:
|
105
|
-
Exclude:
|
106
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
107
|
-
|
108
|
-
# Offense count: 1
|
109
|
-
# Cop supports --auto-correct.
|
110
|
-
Layout/SpaceAroundKeyword:
|
111
|
-
Exclude:
|
112
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
113
|
-
|
114
|
-
# Offense count: 19
|
115
|
-
# Cop supports --auto-correct.
|
116
|
-
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
|
117
|
-
# SupportedStylesForExponentOperator: space, no_space
|
118
|
-
Layout/SpaceAroundOperators:
|
119
|
-
Exclude:
|
120
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
121
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
122
|
-
|
123
|
-
# Offense count: 2
|
124
|
-
# Cop supports --auto-correct.
|
125
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
126
|
-
# SupportedStyles: space, no_space
|
127
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
128
|
-
Layout/SpaceBeforeBlockBraces:
|
129
|
-
Exclude:
|
130
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
131
|
-
|
132
|
-
# Offense count: 2
|
133
|
-
# Cop supports --auto-correct.
|
134
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
135
|
-
# SupportedStyles: space, no_space, compact
|
136
|
-
# SupportedStylesForEmptyBrackets: space, no_space
|
137
|
-
Layout/SpaceInsideArrayLiteralBrackets:
|
138
|
-
Exclude:
|
139
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
140
|
-
|
141
|
-
# Offense count: 11
|
142
|
-
# Cop supports --auto-correct.
|
143
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
144
|
-
# SupportedStyles: space, no_space
|
145
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
146
|
-
Layout/SpaceInsideBlockBraces:
|
147
|
-
Exclude:
|
148
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
149
|
-
|
150
|
-
# Offense count: 25
|
151
|
-
# Cop supports --auto-correct.
|
152
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
153
|
-
# SupportedStyles: space, no_space, compact
|
154
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
155
|
-
Layout/SpaceInsideHashLiteralBraces:
|
156
|
-
Exclude:
|
157
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
158
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
159
|
-
|
160
|
-
# Offense count: 280
|
161
|
-
# Cop supports --auto-correct.
|
162
|
-
# Configuration parameters: EnforcedStyle.
|
163
|
-
# SupportedStyles: space, no_space
|
164
|
-
Layout/SpaceInsideParens:
|
165
|
-
Exclude:
|
166
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
167
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
168
|
-
|
169
|
-
# Offense count: 1
|
170
|
-
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
|
171
|
-
Lint/DuplicateBranch:
|
172
|
-
Exclude:
|
173
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
174
|
-
|
175
|
-
# Offense count: 1
|
176
|
-
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
177
|
-
Lint/EmptyBlock:
|
178
|
-
Exclude:
|
179
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
180
|
-
|
181
|
-
# Offense count: 1
|
182
|
-
Lint/MissingSuper:
|
183
|
-
Exclude:
|
184
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
185
|
-
|
186
|
-
# Offense count: 3
|
187
|
-
# Cop supports --auto-correct.
|
188
|
-
Lint/ParenthesesAsGroupedExpression:
|
189
|
-
Exclude:
|
190
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
191
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
192
|
-
|
193
|
-
# Offense count: 1
|
194
|
-
# Cop supports --auto-correct.
|
195
|
-
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
196
|
-
Lint/UnusedMethodArgument:
|
197
|
-
Exclude:
|
198
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
199
|
-
|
200
|
-
# Offense count: 6
|
201
|
-
Lint/UselessAssignment:
|
202
|
-
Exclude:
|
203
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
204
|
-
|
205
|
-
# Offense count: 8
|
206
|
-
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
|
207
|
-
Metrics/AbcSize:
|
208
|
-
Max: 152
|
209
|
-
|
210
|
-
# Offense count: 17
|
211
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
212
|
-
# IgnoredMethods: refine
|
213
|
-
Metrics/BlockLength:
|
214
|
-
Max: 678
|
215
|
-
|
216
|
-
# Offense count: 7
|
217
|
-
# Configuration parameters: CountBlocks.
|
218
|
-
Metrics/BlockNesting:
|
219
|
-
Max: 5
|
220
|
-
|
221
|
-
# Offense count: 1
|
222
|
-
# Configuration parameters: CountComments, CountAsOne.
|
223
|
-
Metrics/ClassLength:
|
224
|
-
Max: 501
|
225
|
-
|
226
|
-
# Offense count: 7
|
227
|
-
# Configuration parameters: IgnoredMethods.
|
228
|
-
Metrics/CyclomaticComplexity:
|
229
|
-
Max: 34
|
230
|
-
|
231
|
-
# Offense count: 11
|
232
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
|
233
|
-
Metrics/MethodLength:
|
234
|
-
Max: 123
|
235
|
-
|
236
|
-
# Offense count: 1
|
237
|
-
# Configuration parameters: CountComments, CountAsOne.
|
238
|
-
Metrics/ModuleLength:
|
239
|
-
Max: 688
|
240
|
-
|
241
|
-
# Offense count: 6
|
242
|
-
# Configuration parameters: IgnoredMethods.
|
243
|
-
Metrics/PerceivedComplexity:
|
244
|
-
Max: 39
|
245
|
-
|
246
|
-
# Offense count: 2
|
247
|
-
# Cop supports --auto-correct.
|
248
|
-
Performance/Detect:
|
249
|
-
Exclude:
|
250
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
251
|
-
|
252
|
-
# Offense count: 1
|
253
|
-
# Cop supports --auto-correct.
|
254
|
-
Performance/RedundantSplitRegexpArgument:
|
255
|
-
Exclude:
|
256
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
257
|
-
|
258
|
-
# Offense count: 8
|
259
|
-
# Cop supports --auto-correct.
|
260
|
-
Performance/StringInclude:
|
261
|
-
Exclude:
|
262
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
263
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
264
|
-
|
265
|
-
# Offense count: 4
|
266
|
-
RSpec/AnyInstance:
|
267
|
-
Exclude:
|
268
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
269
|
-
|
270
|
-
# Offense count: 4
|
271
|
-
# Configuration parameters: Prefixes.
|
272
|
-
# Prefixes: when, with, without
|
273
|
-
RSpec/ContextWording:
|
274
|
-
Exclude:
|
275
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
276
|
-
|
277
|
-
# Offense count: 2
|
278
|
-
# Cop supports --auto-correct.
|
279
|
-
RSpec/EmptyLineAfterFinalLet:
|
280
|
-
Exclude:
|
281
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
282
|
-
|
283
|
-
# Offense count: 2
|
284
|
-
# Cop supports --auto-correct.
|
285
|
-
RSpec/EmptyLineAfterHook:
|
286
|
-
Exclude:
|
287
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
288
|
-
|
289
|
-
# Offense count: 24
|
9
|
+
# Offense count: 23
|
290
10
|
# Configuration parameters: CountAsOne.
|
291
11
|
RSpec/ExampleLength:
|
292
12
|
Max: 53
|
293
13
|
|
294
|
-
# Offense count:
|
295
|
-
# Cop supports --auto-correct.
|
296
|
-
# Configuration parameters: CustomTransform, IgnoredWords.
|
297
|
-
RSpec/ExampleWording:
|
298
|
-
Exclude:
|
299
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
300
|
-
|
301
|
-
# Offense count: 2
|
302
|
-
RSpec/ExpectInHook:
|
303
|
-
Exclude:
|
304
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
305
|
-
|
306
|
-
# Offense count: 10
|
307
|
-
# Cop supports --auto-correct.
|
308
|
-
# Configuration parameters: EnforcedStyle.
|
309
|
-
# SupportedStyles: implicit, each, example
|
310
|
-
RSpec/HookArgument:
|
311
|
-
Exclude:
|
312
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
313
|
-
|
314
|
-
# Offense count: 50
|
14
|
+
# Offense count: 44
|
315
15
|
# Configuration parameters: .
|
316
16
|
# SupportedStyles: have_received, receive
|
317
17
|
RSpec/MessageSpies:
|
318
18
|
EnforcedStyle: receive
|
319
19
|
|
320
|
-
# Offense count:
|
20
|
+
# Offense count: 15
|
321
21
|
RSpec/MultipleExpectations:
|
322
22
|
Max: 5
|
323
23
|
|
324
24
|
# Offense count: 18
|
325
25
|
# Configuration parameters: AllowSubject.
|
326
26
|
RSpec/MultipleMemoizedHelpers:
|
327
|
-
Max:
|
328
|
-
|
329
|
-
# Offense count: 1
|
330
|
-
# Cop supports --auto-correct.
|
331
|
-
# Configuration parameters: EnforcedStyle.
|
332
|
-
# SupportedStyles: not_to, to_not
|
333
|
-
RSpec/NotToNot:
|
334
|
-
Exclude:
|
335
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
336
|
-
|
337
|
-
# Offense count: 1
|
338
|
-
# Cop supports --auto-correct.
|
339
|
-
RSpec/ReceiveCounts:
|
340
|
-
Exclude:
|
341
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
342
|
-
|
343
|
-
# Offense count: 2
|
344
|
-
RSpec/RepeatedDescription:
|
345
|
-
Exclude:
|
346
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
347
|
-
|
348
|
-
# Offense count: 5
|
349
|
-
RSpec/StubbedMock:
|
350
|
-
Exclude:
|
351
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
352
|
-
|
353
|
-
# Offense count: 5
|
354
|
-
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
355
|
-
RSpec/VerifiedDoubles:
|
356
|
-
Exclude:
|
357
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
358
|
-
|
359
|
-
# Offense count: 3
|
360
|
-
# Cop supports --auto-correct.
|
361
|
-
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
362
|
-
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
363
|
-
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
364
|
-
# FunctionalMethods: let, let!, subject, watch
|
365
|
-
# IgnoredMethods: lambda, proc, it
|
366
|
-
Style/BlockDelimiters:
|
367
|
-
Exclude:
|
368
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
369
|
-
|
370
|
-
# Offense count: 15
|
371
|
-
# Cop supports --auto-correct.
|
372
|
-
# Configuration parameters: AllowOnConstant.
|
373
|
-
Style/CaseEquality:
|
374
|
-
Exclude:
|
375
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
376
|
-
|
377
|
-
# Offense count: 1
|
378
|
-
# Cop supports --auto-correct.
|
379
|
-
# Configuration parameters: Keywords.
|
380
|
-
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
|
381
|
-
Style/CommentAnnotation:
|
382
|
-
Exclude:
|
383
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
384
|
-
|
385
|
-
# Offense count: 2
|
386
|
-
# Cop supports --auto-correct.
|
387
|
-
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
388
|
-
# SupportedStyles: assign_to_condition, assign_inside_condition
|
389
|
-
Style/ConditionalAssignment:
|
390
|
-
Exclude:
|
391
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
392
|
-
|
393
|
-
# Offense count: 1
|
394
|
-
# Configuration parameters: AllowedConstants.
|
395
|
-
Style/Documentation:
|
396
|
-
Exclude:
|
397
|
-
- 'spec/**/*'
|
398
|
-
- 'test/**/*'
|
399
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
400
|
-
|
401
|
-
# Offense count: 10
|
402
|
-
# Cop supports --auto-correct.
|
403
|
-
# Configuration parameters: EnforcedStyle.
|
404
|
-
# SupportedStyles: always, always_true, never
|
405
|
-
Style/FrozenStringLiteralComment:
|
406
|
-
Exclude:
|
407
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
408
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
409
|
-
|
410
|
-
# Offense count: 2
|
411
|
-
# Configuration parameters: MinBodyLength.
|
412
|
-
Style/GuardClause:
|
413
|
-
Exclude:
|
414
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
415
|
-
|
416
|
-
# Offense count: 1
|
417
|
-
# Cop supports --auto-correct.
|
418
|
-
# Configuration parameters: AllowIfModifier.
|
419
|
-
Style/IfInsideElse:
|
420
|
-
Exclude:
|
421
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
27
|
+
Max: 12
|
422
28
|
|
423
|
-
# Offense count:
|
424
|
-
#
|
425
|
-
|
426
|
-
Exclude:
|
427
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
428
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
429
|
-
|
430
|
-
# Offense count: 1
|
431
|
-
# Cop supports --auto-correct.
|
432
|
-
Style/LineEndConcatenation:
|
433
|
-
Exclude:
|
434
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
435
|
-
|
436
|
-
# Offense count: 1
|
437
|
-
# Cop supports --auto-correct.
|
438
|
-
# Configuration parameters: EnforcedStyle, MinBodyLength.
|
439
|
-
# SupportedStyles: skip_modifier_ifs, always
|
440
|
-
Style/Next:
|
441
|
-
Exclude:
|
442
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
443
|
-
|
444
|
-
# Offense count: 1
|
445
|
-
# Cop supports --auto-correct.
|
446
|
-
# Configuration parameters: IncludeSemanticChanges.
|
447
|
-
Style/NonNilCheck:
|
448
|
-
Exclude:
|
449
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
450
|
-
|
451
|
-
# Offense count: 1
|
452
|
-
# Cop supports --auto-correct.
|
453
|
-
# Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
|
454
|
-
Style/ParenthesesAroundCondition:
|
455
|
-
Exclude:
|
456
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
457
|
-
|
458
|
-
# Offense count: 32
|
459
|
-
# Cop supports --auto-correct.
|
460
|
-
# Configuration parameters: PreferredDelimiters.
|
461
|
-
Style/PercentLiteralDelimiters:
|
462
|
-
Exclude:
|
463
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
464
|
-
|
465
|
-
# Offense count: 2
|
466
|
-
# Cop supports --auto-correct.
|
467
|
-
# Configuration parameters: EnforcedStyle.
|
468
|
-
# SupportedStyles: short, verbose
|
469
|
-
Style/PreferredHashMethods:
|
470
|
-
Exclude:
|
471
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
472
|
-
|
473
|
-
# Offense count: 3
|
474
|
-
# Cop supports --auto-correct.
|
475
|
-
# Configuration parameters: Methods.
|
476
|
-
Style/RedundantArgument:
|
477
|
-
Exclude:
|
478
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
479
|
-
|
480
|
-
# Offense count: 1
|
481
|
-
# Cop supports --auto-correct.
|
482
|
-
Style/RedundantCondition:
|
483
|
-
Exclude:
|
484
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
485
|
-
|
486
|
-
# Offense count: 1
|
487
|
-
# Cop supports --auto-correct.
|
488
|
-
Style/RedundantException:
|
489
|
-
Exclude:
|
490
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
491
|
-
|
492
|
-
# Offense count: 2
|
493
|
-
# Cop supports --auto-correct.
|
494
|
-
Style/RedundantRegexpEscape:
|
495
|
-
Exclude:
|
496
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
497
|
-
|
498
|
-
# Offense count: 4
|
499
|
-
# Cop supports --auto-correct.
|
500
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
501
|
-
Style/RedundantReturn:
|
502
|
-
Exclude:
|
503
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
504
|
-
|
505
|
-
# Offense count: 1
|
506
|
-
# Cop supports --auto-correct.
|
507
|
-
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
508
|
-
# SupportedStyles: slashes, percent_r, mixed
|
509
|
-
Style/RegexpLiteral:
|
510
|
-
Exclude:
|
511
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
512
|
-
|
513
|
-
# Offense count: 2
|
514
|
-
# Cop supports --auto-correct.
|
515
|
-
Style/StringConcatenation:
|
516
|
-
Exclude:
|
517
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
518
|
-
|
519
|
-
# Offense count: 64
|
520
|
-
# Cop supports --auto-correct.
|
521
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
522
|
-
# SupportedStyles: single_quotes, double_quotes
|
523
|
-
Style/StringLiterals:
|
524
|
-
Exclude:
|
525
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
526
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
527
|
-
|
528
|
-
# Offense count: 1
|
529
|
-
# Cop supports --auto-correct.
|
530
|
-
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
|
531
|
-
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
532
|
-
Style/TernaryParentheses:
|
533
|
-
Exclude:
|
534
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
535
|
-
|
536
|
-
# Offense count: 5
|
537
|
-
# Cop supports --auto-correct.
|
538
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
539
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
540
|
-
Style/TrailingCommaInArrayLiteral:
|
541
|
-
Exclude:
|
542
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
543
|
-
|
544
|
-
# Offense count: 25
|
545
|
-
# Cop supports --auto-correct.
|
546
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
547
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
548
|
-
Style/TrailingCommaInHashLiteral:
|
549
|
-
Exclude:
|
550
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
551
|
-
|
552
|
-
# Offense count: 1
|
553
|
-
# Cop supports --auto-correct.
|
554
|
-
Style/UnlessElse:
|
555
|
-
Exclude:
|
556
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
557
|
-
|
558
|
-
# Offense count: 3
|
559
|
-
# Cop supports --auto-correct.
|
560
|
-
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
|
561
|
-
# SupportedStyles: percent, brackets
|
562
|
-
Style/WordArray:
|
563
|
-
Exclude:
|
564
|
-
- 'lib/beaker/hypervisor/docker.rb'
|
565
|
-
- 'spec/beaker/hypervisor/docker_spec.rb'
|
566
|
-
|
567
|
-
# Offense count: 20
|
568
|
-
# Cop supports --auto-correct.
|
569
|
-
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
29
|
+
# Offense count: 26
|
30
|
+
# This cop supports safe autocorrection (--autocorrect).
|
31
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
570
32
|
# URISchemes: http, https
|
571
33
|
Layout/LineLength:
|
572
|
-
Max:
|
34
|
+
Max: 198
|