voxpupuli-test 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +137 -42
  3. metadata +23 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c1b719ce61b67e73a1c1cb2cf480c5bc39b509771acf9ea511ff5e0cf47aac2
4
- data.tar.gz: 74b9f9cc4efbe446d63d8722fdd4a131308ef21004ace331595970161e8cf9bd
3
+ metadata.gz: f79c02c43f96adb772727cd4a3e34e2d4fff0fc8a63d64f73cc3b2c6c1be0382
4
+ data.tar.gz: c0f98abe52592b25ca94beb983afcad69599cb06979e1677c84372756d0be30e
5
5
  SHA512:
6
- metadata.gz: 653ec5d63b20cdf20643fd7aed31e9409621aca00de4d1130b06cfa9c23f7db8737df91f5e43910cf44423438a4ced46a8b1eee99faf657aba5e27f6f5c29744
7
- data.tar.gz: df7f87225b028676f070c71f7c771f7c523a1a22af67e266b33556fb5f4afbf34dcfec611b7c05d7265e6f4b172a710a74e1e6be9f96caa1544992c1e47c4923
6
+ metadata.gz: 70076ac0f06936b7d13a1957ec348bbde28407f133e208a7de788f41e945c4b18caacff7822195cb711a62d014dcf151202a979ce612bf0096df80867091e9c1
7
+ data.tar.gz: ee82663d31a7b846c75035df3a7be96c5856437694b4b3697f12cfe4f9fe248b4806e90d8aae9d150bd2679415f034a10bdeefa8f7548d35a9f64d74414356ce
data/rubocop.yml CHANGED
@@ -3,10 +3,10 @@
3
3
  require: rubocop-rspec
4
4
 
5
5
  AllCops:
6
- # Puppet Server 5 defaults to jruby 1.7 so TargetRubyVersion must stay at 1.9 until we drop support for puppet 5
7
- TargetRubyVersion: 1.9
6
+ # Puppet agent 6 ships with ruby 2.5. Puppetserver 6 uses JRuby 9.2.x (Ruby 2.5 compatible) since version 6.1.0.
7
+ TargetRubyVersion: 2.5
8
8
  Include:
9
- - ./**/*.rb
9
+ - '**/*.rb'
10
10
  Exclude:
11
11
  - files/**/*
12
12
  - vendor/**/*
@@ -18,7 +18,7 @@ AllCops:
18
18
  - Guardfile
19
19
  - Vagrantfile
20
20
 
21
- Lint/ConditionPosition:
21
+ Layout/ConditionPosition:
22
22
  Enabled: True
23
23
 
24
24
  Lint/ElseLayout:
@@ -27,16 +27,16 @@ Lint/ElseLayout:
27
27
  Lint/UnreachableCode:
28
28
  Enabled: True
29
29
 
30
- Lint/UselessComparison:
30
+ Lint/BinaryOperatorWithIdenticalOperands:
31
31
  Enabled: True
32
32
 
33
33
  Lint/EnsureReturn:
34
34
  Enabled: True
35
35
 
36
- Lint/HandleExceptions:
36
+ Lint/SuppressedException:
37
37
  Enabled: True
38
38
 
39
- Lint/LiteralInCondition:
39
+ Lint/LiteralAsCondition:
40
40
  Enabled: True
41
41
 
42
42
  Lint/ShadowingOuterLocalVariable:
@@ -89,13 +89,13 @@ Lint/AmbiguousRegexpLiteral:
89
89
  Security/Eval:
90
90
  Enabled: True
91
91
 
92
- Lint/BlockAlignment:
92
+ Layout/BlockAlignment:
93
93
  Enabled: True
94
94
 
95
- Lint/DefEndAlignment:
95
+ Layout/DefEndAlignment:
96
96
  Enabled: True
97
97
 
98
- Lint/EndAlignment:
98
+ Layout/EndAlignment:
99
99
  Enabled: True
100
100
 
101
101
  Lint/DeprecatedClassMethods:
@@ -110,7 +110,7 @@ Lint/ParenthesesAsGroupedExpression:
110
110
  Lint/RescueException:
111
111
  Enabled: True
112
112
 
113
- Lint/StringConversionInInterpolation:
113
+ Lint/RedundantStringCoercion:
114
114
  Enabled: True
115
115
 
116
116
  Lint/UnusedBlockArgument:
@@ -122,28 +122,25 @@ Lint/UnusedMethodArgument:
122
122
  Lint/UselessAccessModifier:
123
123
  Enabled: True
124
124
 
125
- Lint/UselessAssignment:
126
- Enabled: True
127
-
128
125
  Lint/Void:
129
126
  Enabled: True
130
127
 
131
128
  Layout/AccessModifierIndentation:
132
129
  Enabled: True
133
130
 
134
- Style/AccessorMethodName:
131
+ Naming/AccessorMethodName:
135
132
  Enabled: True
136
133
 
137
134
  Style/Alias:
138
135
  Enabled: True
139
136
 
140
- Layout/AlignArray:
137
+ Layout/ArrayAlignment:
141
138
  Enabled: True
142
139
 
143
- Layout/AlignHash:
140
+ Layout/HashAlignment:
144
141
  Enabled: True
145
142
 
146
- Layout/AlignParameters:
143
+ Layout/ParameterAlignment:
147
144
  Enabled: True
148
145
 
149
146
  Metrics/BlockNesting:
@@ -155,22 +152,16 @@ Style/AsciiComments:
155
152
  Style/Attr:
156
153
  Enabled: True
157
154
 
158
- Style/BracesAroundHashParameters:
159
- Enabled: False
160
-
161
155
  Style/CaseEquality:
162
156
  Enabled: True
163
157
 
164
- Style/TrailingCommaInArguments:
165
- Enabled: False
166
-
167
158
  Layout/CaseIndentation:
168
159
  Enabled: True
169
160
 
170
161
  Style/CharacterLiteral:
171
162
  Enabled: True
172
163
 
173
- Style/ClassAndModuleCamelCase:
164
+ Naming/ClassAndModuleCamelCase:
174
165
  Enabled: True
175
166
 
176
167
  Style/ClassAndModuleChildren:
@@ -195,22 +186,22 @@ Style/WhenThen:
195
186
  Style/WordArray:
196
187
  Enabled: True
197
188
 
198
- Style/UnneededPercentQ:
189
+ Style/RedundantPercentQ:
199
190
  Enabled: True
200
191
 
201
- Layout/Tab:
192
+ Layout/IndentationStyle:
202
193
  Enabled: True
203
194
 
204
195
  Layout/SpaceBeforeSemicolon:
205
196
  Enabled: True
206
197
 
207
- Layout/TrailingBlankLines:
198
+ Layout/TrailingEmptyLines:
208
199
  Enabled: True
209
200
 
210
201
  Layout/SpaceInsideBlockBraces:
211
202
  Enabled: True
212
203
 
213
- Layout/SpaceInsideBrackets:
204
+ Layout/SpaceBeforeBrackets:
214
205
  Enabled: True
215
206
 
216
207
  Layout/SpaceInsideHashLiteralBraces:
@@ -268,7 +259,7 @@ Style/CommentAnnotation:
268
259
  Metrics/CyclomaticComplexity:
269
260
  Enabled: False
270
261
 
271
- Style/ConstantName:
262
+ Naming/ConstantName:
272
263
  Enabled: True
273
264
 
274
265
  Style/Documentation:
@@ -292,10 +283,10 @@ Style/EachWithObject:
292
283
  Layout/EmptyLineBetweenDefs:
293
284
  Enabled: True
294
285
 
295
- Layout/IndentArray:
286
+ Layout/FirstArrayElementIndentation:
296
287
  Enabled: True
297
288
 
298
- Layout/IndentHash:
289
+ Layout/FirstHashElementIndentation:
299
290
  Enabled: True
300
291
 
301
292
  Layout/IndentationConsistency:
@@ -314,7 +305,7 @@ Style/EmptyLiteral:
314
305
  Enabled: True
315
306
 
316
307
  # Configuration parameters: AllowURI, URISchemes.
317
- Metrics/LineLength:
308
+ Layout/LineLength:
318
309
  Enabled: False
319
310
 
320
311
  Style/MethodCallWithoutArgsParentheses:
@@ -335,7 +326,10 @@ Style/StringLiterals:
335
326
  Style/TrailingCommaInArguments:
336
327
  Enabled: True
337
328
 
338
- Style/TrailingCommaInLiteral:
329
+ Style/TrailingCommaInArrayLiteral:
330
+ Enabled: False
331
+
332
+ Style/TrailingCommaInHashLiteral:
339
333
  Enabled: False
340
334
 
341
335
  Style/GlobalVars:
@@ -377,7 +371,7 @@ Style/UnlessElse:
377
371
  Style/VariableInterpolation:
378
372
  Enabled: True
379
373
 
380
- Style/VariableName:
374
+ Naming/VariableName:
381
375
  Enabled: True
382
376
 
383
377
  Style/WhileUntilDo:
@@ -386,7 +380,7 @@ Style/WhileUntilDo:
386
380
  Style/EvenOdd:
387
381
  Enabled: True
388
382
 
389
- Style/FileName:
383
+ Naming/FileName:
390
384
  Enabled: True
391
385
 
392
386
  Style/For:
@@ -395,7 +389,7 @@ Style/For:
395
389
  Style/Lambda:
396
390
  Enabled: True
397
391
 
398
- Style/MethodName:
392
+ Naming/MethodName:
399
393
  Enabled: True
400
394
 
401
395
  Style/MultilineTernaryOperator:
@@ -431,7 +425,7 @@ Style/NumericLiterals:
431
425
  Style/OneLineConditional:
432
426
  Enabled: True
433
427
 
434
- Style/OpMethod:
428
+ Naming/BinaryOperatorParameterName:
435
429
  Enabled: True
436
430
 
437
431
  Style/ParenthesesAroundCondition:
@@ -443,7 +437,7 @@ Style/PercentLiteralDelimiters:
443
437
  Style/PerlBackrefs:
444
438
  Enabled: True
445
439
 
446
- Style/PredicateName:
440
+ Naming/PredicateName:
447
441
  Enabled: True
448
442
 
449
443
  Style/RedundantException:
@@ -538,9 +532,8 @@ RSpec/NestedGroups:
538
532
  RSpec/MultipleExpectations:
539
533
  Enabled: false
540
534
 
541
- # this is broken on ruby1.9
542
- Layout/IndentHeredoc:
543
- Enabled: False
535
+ Layout/HeredocIndentation:
536
+ Enabled: True
544
537
 
545
538
  Security/YAMLLoad:
546
539
  Enabled: True
@@ -553,3 +546,105 @@ Style/FormatStringToken:
553
546
  # are located.
554
547
  RSpec/FilePath:
555
548
  Enabled: false
549
+
550
+ # Leaving these enabled creates too much busy work
551
+ RSpec/ContextWording:
552
+ Enabled: false
553
+ Naming/HeredocDelimiterNaming:
554
+ Enabled: false
555
+
556
+ # New cops available after rubocop upgrade
557
+ Gemspec/DateAssignment: # (new in 1.10)
558
+ Enabled: true
559
+ Lint/AmbiguousAssignment: # (new in 1.7)
560
+ Enabled: true
561
+ Lint/DeprecatedConstants: # (new in 1.8)
562
+ Enabled: true
563
+ Lint/DuplicateBranch: # (new in 1.3)
564
+ Enabled: true
565
+ Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
566
+ Enabled: true
567
+ Lint/EmptyBlock: # (new in 1.1)
568
+ Enabled: true
569
+ Lint/EmptyClass: # (new in 1.3)
570
+ Enabled: true
571
+ Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
572
+ Enabled: true
573
+ Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
574
+ Enabled: true
575
+ Lint/NumberedParameterAssignment: # (new in 1.9)
576
+ Enabled: true
577
+ Lint/OrAssignmentToConstant: # (new in 1.9)
578
+ Enabled: true
579
+ Lint/RedundantDirGlobSort: # (new in 1.8)
580
+ Enabled: true
581
+ Lint/SymbolConversion: # (new in 1.9)
582
+ Enabled: true
583
+ Lint/ToEnumArguments: # (new in 1.1)
584
+ Enabled: true
585
+ Lint/TripleQuotes: # (new in 1.9)
586
+ Enabled: true
587
+ Lint/UnexpectedBlockArity: # (new in 1.5)
588
+ Enabled: true
589
+ Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
590
+ Enabled: true
591
+ Style/ArgumentsForwarding: # (new in 1.1)
592
+ Enabled: true
593
+ Style/CollectionCompact: # (new in 1.2)
594
+ Enabled: true
595
+ Style/DocumentDynamicEvalDefinition: # (new in 1.1)
596
+ Enabled: true
597
+ Style/EndlessMethod: # (new in 1.8)
598
+ Enabled: true
599
+ Style/HashConversion: # (new in 1.10)
600
+ Enabled: true
601
+ Style/HashExcept: # (new in 1.7)
602
+ Enabled: true
603
+ Style/IfWithBooleanLiteralBranches: # (new in 1.9)
604
+ Enabled: true
605
+ Style/NegatedIfElseCondition: # (new in 1.2)
606
+ Enabled: true
607
+ Style/NilLambda: # (new in 1.3)
608
+ Enabled: true
609
+ Style/RedundantArgument: # (new in 1.4)
610
+ Enabled: true
611
+ Style/SwapValues: # (new in 1.1)
612
+ Enabled: true
613
+ Layout/LineEndStringConcatenationIndentation: # new in 1.18
614
+ Enabled: true
615
+ Lint/AmbiguousOperatorPrecedence: # new in 1.21
616
+ Enabled: true
617
+ Lint/AmbiguousRange: # new in 1.19
618
+ Enabled: true
619
+ Lint/EmptyInPattern: # new in 1.16
620
+ Enabled: true
621
+ Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
622
+ Enabled: true
623
+ Lint/RequireRelativeSelfPath: # new in 1.22
624
+ Enabled: true
625
+ Security/IoMethods: # new in 1.22
626
+ Enabled: true
627
+ Style/InPatternThen: # new in 1.16
628
+ Enabled: true
629
+ Style/MultilineInPatternThen: # new in 1.16
630
+ Enabled: true
631
+ Style/NumberedParameters: # new in 1.22
632
+ Enabled: true
633
+ Style/NumberedParametersLimit: # new in 1.22
634
+ Enabled: true
635
+ Style/QuotedSymbols: # new in 1.16
636
+ Enabled: true
637
+ Style/RedundantSelfAssignmentBranch: # new in 1.19
638
+ Enabled: true
639
+ Style/SelectByRegexp: # new in 1.22
640
+ Enabled: true
641
+ Style/StringChars: # new in 1.12
642
+ Enabled: true
643
+ RSpec/ExcessiveDocstringSpacing: # new in 2.5
644
+ Enabled: true
645
+ RSpec/IdenticalEqualityAssertion: # new in 2.4
646
+ Enabled: true
647
+ RSpec/SubjectDeclaration: # new in 2.5
648
+ Enabled: true
649
+ RSpec/Rails/AvoidSetupHook: # new in 2.4
650
+ Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voxpupuli-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-02 00:00:00.000000000 Z
11
+ date: 2021-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 2.16.0
75
+ version: 4.0.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 2.16.0
82
+ version: 4.0.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec-puppet-facts
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -120,28 +120,42 @@ dependencies:
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: 0.49.1
123
+ version: 1.22.3
124
124
  type: :runtime
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: 0.49.1
130
+ version: 1.22.3
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: rubocop-rspec
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: 1.16.0
137
+ version: 2.5.0
138
138
  type: :runtime
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: 1.16.0
144
+ version: 2.5.0
145
+ - !ruby/object:Gem::Dependency
146
+ name: rubocop-rake
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: 0.6.0
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: 0.6.0
145
159
  - !ruby/object:Gem::Dependency
146
160
  name: voxpupuli-puppet-lint-plugins
147
161
  requirement: !ruby/object:Gem::Requirement
@@ -195,7 +209,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
195
209
  requirements:
196
210
  - - ">="
197
211
  - !ruby/object:Gem::Version
198
- version: '0'
212
+ version: 2.5.0
199
213
  required_rubygems_version: !ruby/object:Gem::Requirement
200
214
  requirements:
201
215
  - - ">="