simp-beaker-helpers 1.32.1 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
data/.rubocop.yml CHANGED
@@ -1,6 +1,7 @@
1
+ ---
1
2
  require: rubocop-rspec
2
3
  AllCops:
3
- TargetRubyVersion: 2.4
4
+ TargetRubyVersion: 2.7
4
5
  Include:
5
6
  - ./**/*.rb
6
7
  Exclude:
@@ -14,491 +15,491 @@ AllCops:
14
15
  - Guardfile
15
16
  - Vagrantfile
16
17
  Layout/ConditionPosition:
17
- Enabled: True
18
+ Enabled: true
18
19
 
19
20
  Lint/ElseLayout:
20
- Enabled: True
21
+ Enabled: true
21
22
 
22
23
  Lint/UnreachableCode:
23
- Enabled: True
24
+ Enabled: true
24
25
 
25
26
  Lint/BinaryOperatorWithIdenticalOperands:
26
- Enabled: True
27
+ Enabled: true
27
28
 
28
29
  Lint/EnsureReturn:
29
- Enabled: True
30
+ Enabled: true
30
31
 
31
32
  Lint/SuppressedException:
32
- Enabled: True
33
+ Enabled: true
33
34
 
34
35
  Lint/LiteralAsCondition:
35
- Enabled: True
36
+ Enabled: true
36
37
 
37
38
  Lint/ShadowingOuterLocalVariable:
38
- Enabled: True
39
+ Enabled: true
39
40
 
40
41
  Lint/LiteralInInterpolation:
41
- Enabled: True
42
+ Enabled: true
42
43
 
43
44
  Style/HashSyntax:
44
- Enabled: False
45
+ Enabled: false
45
46
 
46
47
  Style/RedundantReturn:
47
- Enabled: True
48
+ Enabled: true
48
49
 
49
50
  Layout/EndOfLine:
50
- Enabled: False
51
+ Enabled: false
51
52
 
52
53
  Lint/AmbiguousOperator:
53
- Enabled: True
54
+ Enabled: true
54
55
 
55
56
  Lint/AssignmentInCondition:
56
- Enabled: True
57
+ Enabled: true
57
58
 
58
59
  Layout/SpaceBeforeComment:
59
- Enabled: True
60
+ Enabled: true
60
61
 
61
62
  Style/AndOr:
62
- Enabled: True
63
+ Enabled: true
63
64
 
64
65
  Style/RedundantSelf:
65
- Enabled: True
66
+ Enabled: true
66
67
 
67
68
  Metrics/BlockLength:
68
- Enabled: False
69
+ Enabled: false
69
70
 
70
71
  # Method length is not necessarily an indicator of code quality
71
72
  Metrics/MethodLength:
72
- Enabled: False
73
+ Enabled: false
73
74
 
74
75
  # Module length is not necessarily an indicator of code quality
75
76
  Metrics/ModuleLength:
76
- Enabled: False
77
+ Enabled: false
77
78
 
78
79
  Style/WhileUntilModifier:
79
- Enabled: True
80
+ Enabled: true
80
81
 
81
82
  Lint/AmbiguousRegexpLiteral:
82
- Enabled: True
83
+ Enabled: true
83
84
 
84
85
  Security/Eval:
85
- Enabled: True
86
+ Enabled: true
86
87
 
87
88
  Layout/BlockAlignment:
88
- Enabled: True
89
+ Enabled: true
89
90
 
90
91
  Layout/DefEndAlignment:
91
- Enabled: True
92
+ Enabled: true
92
93
 
93
94
  Layout/EndAlignment:
94
- Enabled: True
95
+ Enabled: true
95
96
 
96
97
  Lint/DeprecatedClassMethods:
97
- Enabled: True
98
+ Enabled: true
98
99
 
99
100
  Lint/Loop:
100
- Enabled: True
101
+ Enabled: true
101
102
 
102
103
  Lint/ParenthesesAsGroupedExpression:
103
- Enabled: True
104
+ Enabled: true
104
105
 
105
106
  Lint/RescueException:
106
- Enabled: True
107
+ Enabled: true
107
108
 
108
109
  Lint/RedundantStringCoercion:
109
- Enabled: True
110
+ Enabled: true
110
111
 
111
112
  Lint/UnusedBlockArgument:
112
- Enabled: True
113
+ Enabled: true
113
114
 
114
115
  Lint/UnusedMethodArgument:
115
- Enabled: True
116
+ Enabled: true
116
117
 
117
118
  Lint/UselessAccessModifier:
118
- Enabled: True
119
+ Enabled: true
119
120
 
120
121
  Lint/UselessAssignment:
121
- Enabled: True
122
+ Enabled: true
122
123
 
123
124
  Lint/Void:
124
- Enabled: True
125
+ Enabled: true
125
126
 
126
127
  Layout/AccessModifierIndentation:
127
- Enabled: True
128
+ Enabled: true
128
129
 
129
130
  Naming/AccessorMethodName:
130
- Enabled: True
131
+ Enabled: true
131
132
 
132
133
  Style/Alias:
133
- Enabled: True
134
+ Enabled: true
134
135
 
135
136
  Layout/ArrayAlignment:
136
- Enabled: True
137
+ Enabled: true
137
138
 
138
139
  Layout/HashAlignment:
139
- Enabled: True
140
+ Enabled: true
140
141
 
141
142
  Layout/ParameterAlignment:
142
- Enabled: True
143
+ Enabled: true
143
144
 
144
145
  Metrics/BlockNesting:
145
- Enabled: True
146
+ Enabled: true
146
147
 
147
148
  Style/AsciiComments:
148
- Enabled: True
149
+ Enabled: true
149
150
 
150
151
  Style/Attr:
151
- Enabled: True
152
+ Enabled: true
152
153
 
153
154
  Style/CaseEquality:
154
- Enabled: True
155
+ Enabled: true
155
156
 
156
157
  Layout/CaseIndentation:
157
- Enabled: True
158
+ Enabled: true
158
159
 
159
160
  Style/CharacterLiteral:
160
- Enabled: True
161
+ Enabled: true
161
162
 
162
163
  Naming/ClassAndModuleCamelCase:
163
- Enabled: True
164
+ Enabled: true
164
165
 
165
166
  Style/ClassAndModuleChildren:
166
- Enabled: False
167
+ Enabled: false
167
168
 
168
169
  Style/ClassCheck:
169
- Enabled: True
170
+ Enabled: true
170
171
 
171
172
  # Class length is not necessarily an indicator of code quality
172
173
  Metrics/ClassLength:
173
- Enabled: False
174
+ Enabled: false
174
175
 
175
176
  Style/ClassMethods:
176
- Enabled: True
177
+ Enabled: true
177
178
 
178
179
  Style/ClassVars:
179
- Enabled: True
180
+ Enabled: true
180
181
 
181
182
  Style/WhenThen:
182
- Enabled: True
183
+ Enabled: true
183
184
 
184
185
  Style/WordArray:
185
- Enabled: True
186
+ Enabled: true
186
187
 
187
188
  Style/RedundantPercentQ:
188
- Enabled: True
189
+ Enabled: true
189
190
 
190
191
  Layout/IndentationStyle:
191
- Enabled: True
192
+ Enabled: true
192
193
 
193
194
  Layout/SpaceBeforeSemicolon:
194
- Enabled: True
195
+ Enabled: true
195
196
 
196
197
  Layout/TrailingEmptyLines:
197
- Enabled: True
198
+ Enabled: true
198
199
 
199
200
  Layout/SpaceInsideBlockBraces:
200
- Enabled: True
201
+ Enabled: true
201
202
 
202
203
  Layout/SpaceInsideHashLiteralBraces:
203
- Enabled: True
204
+ Enabled: true
204
205
 
205
206
  Layout/SpaceInsideParens:
206
- Enabled: True
207
+ Enabled: true
207
208
 
208
209
  Layout/LeadingCommentSpace:
209
- Enabled: True
210
+ Enabled: true
210
211
 
211
212
  Layout/SpaceBeforeFirstArg:
212
- Enabled: True
213
+ Enabled: true
213
214
 
214
215
  Layout/SpaceAfterColon:
215
- Enabled: True
216
+ Enabled: true
216
217
 
217
218
  Layout/SpaceAfterComma:
218
- Enabled: True
219
+ Enabled: true
219
220
 
220
221
  Layout/SpaceAfterMethodName:
221
- Enabled: True
222
+ Enabled: true
222
223
 
223
224
  Layout/SpaceAfterNot:
224
- Enabled: True
225
+ Enabled: true
225
226
 
226
227
  Layout/SpaceAfterSemicolon:
227
- Enabled: True
228
+ Enabled: true
228
229
 
229
230
  Layout/SpaceAroundEqualsInParameterDefault:
230
- Enabled: True
231
+ Enabled: true
231
232
 
232
233
  Layout/SpaceAroundOperators:
233
- Enabled: True
234
+ Enabled: true
234
235
 
235
236
  Layout/SpaceBeforeBlockBraces:
236
- Enabled: True
237
+ Enabled: true
237
238
 
238
239
  Layout/SpaceBeforeComma:
239
- Enabled: True
240
+ Enabled: true
240
241
 
241
242
  Style/CollectionMethods:
242
- Enabled: True
243
+ Enabled: true
243
244
 
244
245
  Layout/CommentIndentation:
245
- Enabled: True
246
+ Enabled: true
246
247
 
247
248
  Style/ColonMethodCall:
248
- Enabled: True
249
+ Enabled: true
249
250
 
250
251
  Style/CommentAnnotation:
251
- Enabled: True
252
+ Enabled: true
252
253
 
253
254
  # 'Complexity' is very relative
254
255
  Metrics/CyclomaticComplexity:
255
- Enabled: False
256
+ Enabled: false
256
257
 
257
258
  Naming/ConstantName:
258
- Enabled: True
259
+ Enabled: true
259
260
 
260
261
  Style/Documentation:
261
- Enabled: False
262
+ Enabled: false
262
263
 
263
264
  Style/DefWithParentheses:
264
- Enabled: True
265
+ Enabled: true
265
266
 
266
267
  Style/PreferredHashMethods:
267
- Enabled: True
268
+ Enabled: true
268
269
 
269
270
  Layout/DotPosition:
270
271
  EnforcedStyle: trailing
271
272
 
272
273
  Style/DoubleNegation:
273
- Enabled: True
274
+ Enabled: true
274
275
 
275
276
  Style/EachWithObject:
276
- Enabled: True
277
+ Enabled: true
277
278
 
278
279
  Layout/EmptyLineBetweenDefs:
279
- Enabled: True
280
+ Enabled: true
280
281
 
281
282
  Layout/FirstArrayElementIndentation:
282
- Enabled: True
283
+ Enabled: true
283
284
 
284
285
  Layout/FirstHashElementIndentation:
285
- Enabled: True
286
+ Enabled: true
286
287
 
287
288
  Layout/IndentationConsistency:
288
- Enabled: True
289
+ Enabled: true
289
290
 
290
291
  Layout/IndentationWidth:
291
- Enabled: True
292
+ Enabled: true
292
293
 
293
294
  Layout/EmptyLines:
294
- Enabled: True
295
+ Enabled: true
295
296
 
296
297
  Layout/EmptyLinesAroundAccessModifier:
297
- Enabled: True
298
+ Enabled: true
298
299
 
299
300
  Style/EmptyLiteral:
300
- Enabled: True
301
+ Enabled: true
301
302
 
302
303
  # Configuration parameters: AllowURI, URISchemes.
303
304
  Layout/TrailingWhitespace:
304
- Enabled: True
305
+ Enabled: true
305
306
 
306
307
  Layout/LineLength:
307
- Enabled: False
308
+ Enabled: false
308
309
 
309
310
  Naming/BinaryOperatorParameterName:
310
- Enabled: True
311
+ Enabled: true
311
312
 
312
313
  Style/CommandLiteral:
313
314
  EnforcedStyle: percent_x
314
- Enabled: True
315
+ Enabled: true
315
316
 
316
317
  Style/MethodCallWithoutArgsParentheses:
317
- Enabled: True
318
+ Enabled: true
318
319
 
319
320
  Style/MethodDefParentheses:
320
- Enabled: True
321
+ Enabled: true
321
322
 
322
323
  Style/LineEndConcatenation:
323
- Enabled: True
324
+ Enabled: true
324
325
 
325
326
  Style/StringLiterals:
326
- Enabled: True
327
+ Enabled: true
327
328
 
328
329
  Style/TrailingCommaInArguments:
329
- Enabled: True
330
+ Enabled: true
330
331
 
331
332
  Style/TrailingCommaInArrayLiteral:
332
- Enabled: True
333
+ Enabled: true
333
334
 
334
335
  Style/TrailingCommaInHashLiteral:
335
- Enabled: True
336
+ Enabled: true
336
337
 
337
338
  Style/GlobalVars:
338
- Enabled: True
339
+ Enabled: true
339
340
 
340
341
  Style/GuardClause:
341
- Enabled: True
342
+ Enabled: true
342
343
 
343
344
  Style/IfUnlessModifier:
344
- Enabled: True
345
+ Enabled: true
345
346
 
346
347
  Style/MultilineIfThen:
347
- Enabled: True
348
+ Enabled: true
348
349
 
349
350
  Style/NegatedIf:
350
- Enabled: True
351
+ Enabled: true
351
352
 
352
353
  Style/NegatedWhile:
353
- Enabled: True
354
+ Enabled: true
354
355
 
355
356
  Style/Next:
356
- Enabled: True
357
+ Enabled: true
357
358
 
358
359
  Style/SingleLineBlockParams:
359
- Enabled: True
360
+ Enabled: true
360
361
 
361
362
  Style/SingleLineMethods:
362
- Enabled: True
363
+ Enabled: true
363
364
 
364
365
  Style/SpecialGlobalVars:
365
- Enabled: True
366
+ Enabled: true
366
367
 
367
368
  Style/TrivialAccessors:
368
- Enabled: True
369
+ Enabled: true
369
370
 
370
371
  Style/UnlessElse:
371
- Enabled: True
372
+ Enabled: true
372
373
 
373
374
  Style/VariableInterpolation:
374
- Enabled: True
375
+ Enabled: true
375
376
 
376
377
  Naming/VariableName:
377
- Enabled: True
378
+ Enabled: true
378
379
 
379
380
  Style/WhileUntilDo:
380
- Enabled: True
381
+ Enabled: true
381
382
 
382
383
  Style/EvenOdd:
383
- Enabled: True
384
+ Enabled: true
384
385
 
385
386
  Naming/FileName:
386
- Enabled: True
387
+ Enabled: true
387
388
 
388
389
  Style/For:
389
- Enabled: True
390
+ Enabled: true
390
391
 
391
392
  Style/Lambda:
392
- Enabled: True
393
+ Enabled: true
393
394
 
394
395
  Naming/MethodName:
395
- Enabled: True
396
+ Enabled: true
396
397
 
397
398
  Style/MultilineTernaryOperator:
398
- Enabled: True
399
+ Enabled: true
399
400
 
400
401
  Style/NestedTernaryOperator:
401
- Enabled: True
402
+ Enabled: true
402
403
 
403
404
  Style/NilComparison:
404
- Enabled: True
405
+ Enabled: true
405
406
 
406
407
  Style/FormatString:
407
- Enabled: True
408
+ Enabled: true
408
409
 
409
410
  Style/MultilineBlockChain:
410
- Enabled: True
411
+ Enabled: true
411
412
 
412
413
  Style/Semicolon:
413
- Enabled: True
414
+ Enabled: true
414
415
 
415
416
  Style/SignalException:
416
- Enabled: True
417
+ Enabled: true
417
418
 
418
419
  Style/NonNilCheck:
419
- Enabled: True
420
+ Enabled: true
420
421
 
421
422
  Style/Not:
422
- Enabled: True
423
+ Enabled: true
423
424
 
424
425
  Style/NumericLiterals:
425
- Enabled: True
426
+ Enabled: true
426
427
 
427
428
  Style/OneLineConditional:
428
- Enabled: True
429
+ Enabled: true
429
430
 
430
431
  Style/ParenthesesAroundCondition:
431
- Enabled: True
432
+ Enabled: true
432
433
 
433
434
  Style/PercentLiteralDelimiters:
434
- Enabled: True
435
+ Enabled: true
435
436
 
436
437
  Style/PerlBackrefs:
437
- Enabled: True
438
+ Enabled: true
438
439
 
439
440
  Naming/PredicateName:
440
- Enabled: True
441
+ Enabled: true
441
442
 
442
443
  Style/RedundantException:
443
- Enabled: True
444
+ Enabled: true
444
445
 
445
446
  Style/SelfAssignment:
446
- Enabled: True
447
+ Enabled: true
447
448
 
448
449
  Style/Proc:
449
- Enabled: True
450
+ Enabled: true
450
451
 
451
452
  Style/RaiseArgs:
452
- Enabled: True
453
+ Enabled: true
453
454
 
454
455
  Style/RedundantBegin:
455
- Enabled: True
456
+ Enabled: true
456
457
 
457
458
  Style/RescueModifier:
458
- Enabled: True
459
+ Enabled: true
459
460
 
460
461
  # based on https://github.com/voxpupuli/modulesync_config/issues/168
461
462
  Style/RegexpLiteral:
462
463
  EnforcedStyle: percent_r
463
- Enabled: True
464
+ Enabled: true
464
465
 
465
466
  Lint/UnderscorePrefixedVariableName:
466
- Enabled: True
467
+ Enabled: true
467
468
 
468
469
  Metrics/ParameterLists:
469
- Enabled: False
470
+ Enabled: false
470
471
 
471
472
  Lint/RequireParentheses:
472
- Enabled: True
473
+ Enabled: true
473
474
 
474
475
  Style/ModuleFunction:
475
- Enabled: True
476
+ Enabled: true
476
477
 
477
478
  Lint/Debugger:
478
- Enabled: True
479
+ Enabled: true
479
480
 
480
481
  Style/IfWithSemicolon:
481
- Enabled: True
482
+ Enabled: true
482
483
 
483
484
  Style/Encoding:
484
- Enabled: True
485
+ Enabled: true
485
486
 
486
487
  Style/BlockDelimiters:
487
- Enabled: True
488
+ Enabled: true
488
489
 
489
490
  Layout/MultilineBlockLayout:
490
- Enabled: True
491
+ Enabled: true
491
492
 
492
493
  # 'Complexity' is very relative
493
494
  Metrics/AbcSize:
494
- Enabled: False
495
+ Enabled: false
495
496
 
496
497
  # 'Complexity' is very relative
497
498
  Metrics/PerceivedComplexity:
498
- Enabled: False
499
+ Enabled: false
499
500
 
500
501
  Layout/ClosingParenthesisIndentation:
501
- Enabled: True
502
+ Enabled: true
502
503
 
503
504
  # RSpec
504
505
 
@@ -508,26 +509,26 @@ RSpec/BeforeAfterAll:
508
509
 
509
510
  # We don't use rspec in this way
510
511
  RSpec/DescribeClass:
511
- Enabled: False
512
+ Enabled: false
512
513
 
513
514
  # Example length is not necessarily an indicator of code quality
514
515
  RSpec/ExampleLength:
515
- Enabled: False
516
+ Enabled: false
516
517
 
517
518
  RSpec/NamedSubject:
518
- Enabled: False
519
+ Enabled: false
519
520
 
520
521
  # disabled for now since they cause a lot of issues
521
522
  # these issues aren't easy to fix
522
523
  RSpec/RepeatedDescription:
523
- Enabled: False
524
+ Enabled: false
524
525
 
525
526
  RSpec/NestedGroups:
526
- Enabled: False
527
+ Enabled: false
527
528
 
528
529
  # this is broken on ruby1.9
529
530
  Layout/HeredocIndentation:
530
- Enabled: False
531
+ Enabled: false
531
532
 
532
533
  # disable Yaml safe_load. This is needed to support ruby2.0.0 development envs
533
534
  Security/YAMLLoad:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ### 1.34.0 / 2024-09-17
2
+ * Fixed:
3
+ * Legacy fact usage
4
+ * Added:
5
+ * EL9 support in Simp::BeakerHelpers::SSG
6
+
7
+ ### 1.33.0 / 2024-06-05
8
+ * Fixed:
9
+ * Update gem dependencies
10
+
1
11
  ### 1.32.1 / 2023-08-28
2
12
  * Fixed:
3
13
  * Version bump to resolve mis-tagging