beaker-docker 1.3.0 → 1.5.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/dependabot.yml +9 -0
- data/.github/workflows/release.yml +1 -1
- data/.github/workflows/test.yml +58 -49
- data/.gitignore +2 -0
- data/.rubocop.yml +48 -0
- data/.rubocop_todo.yml +572 -0
- data/.simplecov +2 -0
- data/CHANGELOG.md +47 -0
- data/Gemfile +7 -5
- data/Rakefile +40 -137
- data/acceptance/tests/00_default_spec.rb +5 -4
- data/beaker-docker.gemspec +24 -18
- data/bin/beaker-docker +8 -10
- data/lib/beaker/hypervisor/docker.rb +90 -111
- data/lib/beaker-docker/version.rb +3 -1
- data/lib/beaker-docker.rb +1 -0
- data/spec/beaker/hypervisor/docker_spec.rb +48 -9
- data/spec/spec_helper.rb +6 -5
- metadata +79 -25
- data/Gemfile.local +0 -3
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,572 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2023-03-03 13:24:13 UTC using RuboCop version 1.12.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: 1
|
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
|
290
|
+
# Configuration parameters: CountAsOne.
|
291
|
+
RSpec/ExampleLength:
|
292
|
+
Max: 53
|
293
|
+
|
294
|
+
# Offense count: 50
|
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
|
315
|
+
# Configuration parameters: .
|
316
|
+
# SupportedStyles: have_received, receive
|
317
|
+
RSpec/MessageSpies:
|
318
|
+
EnforcedStyle: receive
|
319
|
+
|
320
|
+
# Offense count: 18
|
321
|
+
RSpec/MultipleExpectations:
|
322
|
+
Max: 5
|
323
|
+
|
324
|
+
# Offense count: 18
|
325
|
+
# Configuration parameters: AllowSubject.
|
326
|
+
RSpec/MultipleMemoizedHelpers:
|
327
|
+
Max: 11
|
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'
|
422
|
+
|
423
|
+
# Offense count: 11
|
424
|
+
# Cop supports --auto-correct.
|
425
|
+
Style/IfUnlessModifier:
|
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.
|
570
|
+
# URISchemes: http, https
|
571
|
+
Layout/LineLength:
|
572
|
+
Max: 210
|
data/.simplecov
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,52 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [1.5.0](https://github.com/voxpupuli/beaker-docker/tree/1.5.0) (2023-03-24)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-docker/compare/1.4.0...1.5.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Ruby 3.2 compatibility [\#100](https://github.com/voxpupuli/beaker-docker/pull/100) ([ekohl](https://github.com/ekohl))
|
10
|
+
- Set required Ruby version to 2.4+ [\#99](https://github.com/voxpupuli/beaker-docker/pull/99) ([ekohl](https://github.com/ekohl))
|
11
|
+
- Simplify port detection code [\#95](https://github.com/voxpupuli/beaker-docker/pull/95) ([ekohl](https://github.com/ekohl))
|
12
|
+
- Add Ruby 3.1 to CI matrix [\#87](https://github.com/voxpupuli/beaker-docker/pull/87) ([bastelfreak](https://github.com/bastelfreak))
|
13
|
+
- Use ssh-keygen -A on Red Hat-based distros & SuSE/SLES [\#73](https://github.com/voxpupuli/beaker-docker/pull/73) ([ekohl](https://github.com/ekohl))
|
14
|
+
|
15
|
+
**Fixed bugs:**
|
16
|
+
|
17
|
+
- Deal with docker\_cmd being an array and remove use of =~ [\#93](https://github.com/voxpupuli/beaker-docker/pull/93) ([ekohl](https://github.com/ekohl))
|
18
|
+
|
19
|
+
**Merged pull requests:**
|
20
|
+
|
21
|
+
- Remove Gemfile.local from git [\#104](https://github.com/voxpupuli/beaker-docker/pull/104) ([ekohl](https://github.com/ekohl))
|
22
|
+
- Fix rubocop Naming/FileName [\#103](https://github.com/voxpupuli/beaker-docker/pull/103) ([jay7x](https://github.com/jay7x))
|
23
|
+
- cleanup GitHub actions [\#102](https://github.com/voxpupuli/beaker-docker/pull/102) ([bastelfreak](https://github.com/bastelfreak))
|
24
|
+
- Remove unused rspec-its dependency [\#98](https://github.com/voxpupuli/beaker-docker/pull/98) ([ekohl](https://github.com/ekohl))
|
25
|
+
- Allow fakefs 2.x [\#97](https://github.com/voxpupuli/beaker-docker/pull/97) ([ekohl](https://github.com/ekohl))
|
26
|
+
- Remove yard rake tasks [\#96](https://github.com/voxpupuli/beaker-docker/pull/96) ([ekohl](https://github.com/ekohl))
|
27
|
+
- rubocop: fix dependency ordering [\#94](https://github.com/voxpupuli/beaker-docker/pull/94) ([bastelfreak](https://github.com/bastelfreak))
|
28
|
+
- GHA: Use builtin podman [\#86](https://github.com/voxpupuli/beaker-docker/pull/86) ([bastelfreak](https://github.com/bastelfreak))
|
29
|
+
- GHA: Use builtin docker [\#85](https://github.com/voxpupuli/beaker-docker/pull/85) ([bastelfreak](https://github.com/bastelfreak))
|
30
|
+
- Fix rubocop-related issues \(part 1\) [\#75](https://github.com/voxpupuli/beaker-docker/pull/75) ([jay7x](https://github.com/jay7x))
|
31
|
+
|
32
|
+
## [1.4.0](https://github.com/voxpupuli/beaker-docker/tree/1.4.0) (2023-03-10)
|
33
|
+
|
34
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-docker/compare/1.3.0...1.4.0)
|
35
|
+
|
36
|
+
**Implemented enhancements:**
|
37
|
+
|
38
|
+
- Enable Rubocop [\#72](https://github.com/voxpupuli/beaker-docker/pull/72) ([jay7x](https://github.com/jay7x))
|
39
|
+
- Refactor built-in Dockerfile and fix\_ssh\(\) [\#71](https://github.com/voxpupuli/beaker-docker/pull/71) ([jay7x](https://github.com/jay7x))
|
40
|
+
|
41
|
+
**Fixed bugs:**
|
42
|
+
|
43
|
+
- set flag for container to container communication [\#84](https://github.com/voxpupuli/beaker-docker/pull/84) ([rwaffen](https://github.com/rwaffen))
|
44
|
+
|
45
|
+
**Merged pull requests:**
|
46
|
+
|
47
|
+
- Bump actions/checkout from 2 to 3 [\#90](https://github.com/voxpupuli/beaker-docker/pull/90) ([dependabot[bot]](https://github.com/apps/dependabot))
|
48
|
+
- dependabot: check for github actions as well [\#89](https://github.com/voxpupuli/beaker-docker/pull/89) ([bastelfreak](https://github.com/bastelfreak))
|
49
|
+
|
3
50
|
## [1.3.0](https://github.com/voxpupuli/beaker-docker/tree/1.3.0) (2022-12-18)
|
4
51
|
|
5
52
|
[Full Changelog](https://github.com/voxpupuli/beaker-docker/compare/1.2.0...1.3.0)
|
data/Gemfile
CHANGED
@@ -1,14 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
2
4
|
|
3
5
|
gemspec
|
4
6
|
|
5
|
-
|
6
|
-
|
7
|
+
group :acceptance_testing do
|
8
|
+
gem 'beaker-rspec'
|
7
9
|
end
|
8
10
|
|
9
|
-
group :coverage, optional: ENV['COVERAGE']!='yes' do
|
10
|
-
gem '
|
11
|
-
gem '
|
11
|
+
group :coverage, optional: ENV['COVERAGE'] != 'yes' do
|
12
|
+
gem 'codecov', require: false
|
13
|
+
gem 'simplecov-console', require: false
|
12
14
|
end
|
13
15
|
|
14
16
|
group :release do
|