rewind-ruby-style 1.0.3 → 1.0.8

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +210 -205
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1cba1ce821220b0dbe4d7e3f296781dc98abf334a028027e8149ceac64f1603
4
- data.tar.gz: 4c6cd1eb474c050cf61e54e9a83a49a40cbcd9001a0b1cc786d7fe14d6dc38ef
3
+ metadata.gz: 575437746c9aeb291b5032b0f74dcbf075661883988d449da71edc9326c73907
4
+ data.tar.gz: a1226fa479dfb5e64b2ed46b26c3133eb6dd5b88497cca2e29af423708e9d038
5
5
  SHA512:
6
- metadata.gz: 5ff3d6da1299170bd672f7cd103188ccf5ce1dea009318243484b3d389df44fb3b430318eaad05769d843e989072f6fb86ebf0f4854925fef594cd53f34e3c95
7
- data.tar.gz: 3365ba26b19b7103d52fa4243f422e8ef5101e2ebceaf41601c1cba13459c93c94587704f58ced02c7423c98050aa9f33ce362a103b84f8e5a6897e294c9a7e6
6
+ metadata.gz: 7e364464ea438b7d0fdd64275fc5987c05ae32c6ead7a15524b37c11c910261f7f5e44d0d2e7479fcdb8817f2ab11f4964ff558f1421e3d5e07e3d6b802759a0
7
+ data.tar.gz: 6b43d7bc481f2abda79fbaf91a47594dd42232a8fd7db9ac88cb10511da1082224f9059c693586d03496be02114b7643350ba9cefe354a7d6116112e5d2ee905
@@ -3,14 +3,14 @@ AllCops:
3
3
  TargetRubyVersion: 2.6
4
4
  StyleGuideBaseURL: https://github.com/rewindio/ruby-style-configs/
5
5
  Exclude:
6
- - '.ebextenstions/**/*'
7
- - '.git/**/*'
8
- - 'bin/**/*'
9
- - 'certs/**/*'
10
- - 'db/**/*'
11
- - 'log/**/*'
12
- - 'tmp/**/*'
13
- - 'vendor/**/*'
6
+ - ".ebextenstions/**/*"
7
+ - ".git/**/*"
8
+ - "bin/**/*"
9
+ - "certs/**/*"
10
+ - "db/**/*"
11
+ - "log/**/*"
12
+ - "tmp/**/*"
13
+ - "vendor/**/*"
14
14
  DisabledByDefault: true
15
15
 
16
16
  Lint/AssignmentInCondition:
@@ -19,127 +19,124 @@ Lint/AssignmentInCondition:
19
19
  Layout/AccessModifierIndentation:
20
20
  EnforcedStyle: indent
21
21
  SupportedStyles:
22
- - outdent
23
- - indent
22
+ - outdent
23
+ - indent
24
24
  IndentationWidth:
25
25
 
26
26
  Style/Alias:
27
27
  EnforcedStyle: prefer_alias_method
28
28
  SupportedStyles:
29
- - prefer_alias
30
- - prefer_alias_method
29
+ - prefer_alias
30
+ - prefer_alias_method
31
31
 
32
32
  Layout/HashAlignment:
33
33
  EnforcedHashRocketStyle: key
34
34
  EnforcedColonStyle: key
35
35
  EnforcedLastArgumentHashStyle: ignore_implicit
36
36
  SupportedLastArgumentHashStyles:
37
- - always_inspect
38
- - always_ignore
39
- - ignore_implicit
40
- - ignore_explicit
37
+ - always_inspect
38
+ - always_ignore
39
+ - ignore_implicit
40
+ - ignore_explicit
41
41
 
42
42
  Layout/ParameterAlignment:
43
43
  EnforcedStyle: with_fixed_indentation
44
44
  SupportedStyles:
45
- - with_first_parameter
46
- - with_fixed_indentation
45
+ - with_first_parameter
46
+ - with_fixed_indentation
47
47
  IndentationWidth:
48
48
 
49
49
  Style/AndOr:
50
50
  EnforcedStyle: always
51
51
  SupportedStyles:
52
- - always
53
- - conditionals
52
+ - always
53
+ - conditionals
54
54
 
55
55
  Style/BarePercentLiterals:
56
56
  EnforcedStyle: bare_percent
57
57
  SupportedStyles:
58
- - percent_q
59
- - bare_percent
58
+ - percent_q
59
+ - bare_percent
60
60
 
61
61
  Style/BlockDelimiters:
62
62
  EnforcedStyle: line_count_based
63
63
  SupportedStyles:
64
- - line_count_based
65
- - semantic
66
- - braces_for_chaining
64
+ - line_count_based
65
+ - semantic
66
+ - braces_for_chaining
67
67
  ProceduralMethods:
68
- - benchmark
69
- - bm
70
- - bmbm
71
- - create
72
- - each_with_object
73
- - measure
74
- - new
75
- - realtime
76
- - tap
77
- - with_object
68
+ - benchmark
69
+ - bm
70
+ - bmbm
71
+ - create
72
+ - each_with_object
73
+ - measure
74
+ - new
75
+ - realtime
76
+ - tap
77
+ - with_object
78
78
  FunctionalMethods:
79
- - let
80
- - let!
81
- - subject
82
- - watch
79
+ - let
80
+ - let!
81
+ - subject
82
+ - watch
83
83
  IgnoredMethods:
84
- - lambda
85
- - proc
86
- - it
84
+ - lambda
85
+ - proc
86
+ - it
87
87
 
88
88
  Layout/CaseIndentation:
89
89
  EnforcedStyle: end
90
90
  SupportedStyles:
91
- - case
92
- - end
91
+ - case
92
+ - end
93
93
  IndentOneStep: false
94
94
  IndentationWidth:
95
95
 
96
96
  Style/ClassAndModuleChildren:
97
- EnforcedStyle: nested
98
- SupportedStyles:
99
- - nested
100
- - compact
97
+ Enabled: false
101
98
 
102
99
  Style/ClassCheck:
103
100
  EnforcedStyle: is_a?
104
101
  SupportedStyles:
105
- - is_a?
106
- - kind_of?
102
+ - is_a?
103
+ - kind_of?
107
104
 
108
105
  Style/CommandLiteral:
109
106
  EnforcedStyle: percent_x
110
107
  SupportedStyles:
111
- - backticks
112
- - percent_x
113
- - mixed
108
+ - backticks
109
+ - percent_x
110
+ - mixed
114
111
  AllowInnerBackticks: false
115
112
 
116
113
  Style/CommentAnnotation:
117
114
  Keywords:
118
- - TODO
119
- - FIXME
120
- - OPTIMIZE
121
- - HACK
122
- - REVIEW
115
+ - TODO
116
+ - FIXME
117
+ - OPTIMIZE
118
+ - HACK
119
+ - REVIEW
123
120
 
124
121
  Style/ConditionalAssignment:
125
122
  EnforcedStyle: assign_to_condition
126
123
  SupportedStyles:
127
- - assign_to_condition
128
- - assign_inside_condition
124
+ - assign_to_condition
125
+ - assign_inside_condition
129
126
  SingleLineConditionsOnly: true
130
127
 
131
128
  Layout/DotPosition:
132
129
  EnforcedStyle: leading
133
130
  SupportedStyles:
134
- - leading
135
- - trailing
131
+ - leading
132
+ - trailing
136
133
 
137
134
  Style/EmptyElse:
138
135
  EnforcedStyle: both
139
136
  SupportedStyles:
140
- - empty
141
- - nil
142
- - both
137
+ - empty
138
+ - nil
139
+ - both
143
140
 
144
141
  Layout/EmptyLineBetweenDefs:
145
142
  AllowAdjacentOneLineDefs: false
@@ -147,22 +144,22 @@ Layout/EmptyLineBetweenDefs:
147
144
  Layout/EmptyLinesAroundBlockBody:
148
145
  EnforcedStyle: no_empty_lines
149
146
  SupportedStyles:
150
- - empty_lines
151
- - no_empty_lines
147
+ - empty_lines
148
+ - no_empty_lines
152
149
 
153
150
  Layout/EmptyLinesAroundClassBody:
154
151
  EnforcedStyle: no_empty_lines
155
152
  SupportedStyles:
156
- - empty_lines
157
- - empty_lines_except_namespace
158
- - no_empty_lines
153
+ - empty_lines
154
+ - empty_lines_except_namespace
155
+ - no_empty_lines
159
156
 
160
157
  Layout/EmptyLinesAroundModuleBody:
161
158
  EnforcedStyle: no_empty_lines
162
159
  SupportedStyles:
163
- - empty_lines
164
- - empty_lines_except_namespace
165
- - no_empty_lines
160
+ - empty_lines
161
+ - empty_lines_except_namespace
162
+ - no_empty_lines
166
163
 
167
164
  Layout/ExtraSpacing:
168
165
  AllowForAlignment: true
@@ -177,23 +174,23 @@ Naming/FileName:
177
174
  Layout/FirstArgumentIndentation:
178
175
  EnforcedStyle: consistent
179
176
  SupportedStyles:
180
- - consistent
181
- - special_for_inner_method_call
182
- - special_for_inner_method_call_in_parentheses
177
+ - consistent
178
+ - special_for_inner_method_call
179
+ - special_for_inner_method_call_in_parentheses
183
180
  IndentationWidth:
184
181
 
185
182
  Style/For:
186
183
  EnforcedStyle: each
187
184
  SupportedStyles:
188
- - for
189
- - each
185
+ - for
186
+ - each
190
187
 
191
188
  Style/FormatString:
192
189
  EnforcedStyle: format
193
190
  SupportedStyles:
194
- - format
195
- - sprintf
196
- - percent
191
+ - format
192
+ - sprintf
193
+ - percent
197
194
 
198
195
  Style/FrozenStringLiteralComment:
199
196
  Details: >-
@@ -211,18 +208,18 @@ Style/GlobalVars:
211
208
  Style/HashSyntax:
212
209
  EnforcedStyle: ruby19
213
210
  SupportedStyles:
214
- - ruby19
215
- - hash_rockets
216
- - no_mixed_keys
217
- - ruby19_no_mixed_keys
211
+ - ruby19
212
+ - hash_rockets
213
+ - no_mixed_keys
214
+ - ruby19_no_mixed_keys
218
215
  UseHashRocketsWithSymbolValues: false
219
216
  PreferHashRocketsForNonAlnumEndingSymbols: false
220
217
 
221
218
  Layout/IndentationConsistency:
222
219
  EnforcedStyle: normal
223
220
  SupportedStyles:
224
- - normal
225
- - rails
221
+ - normal
222
+ - rails
226
223
 
227
224
  Layout/IndentationWidth:
228
225
  Width: 2
@@ -230,9 +227,9 @@ Layout/IndentationWidth:
230
227
  Layout/FirstArrayElementIndentation:
231
228
  EnforcedStyle: consistent
232
229
  SupportedStyles:
233
- - special_inside_parentheses
234
- - consistent
235
- - align_brackets
230
+ - special_inside_parentheses
231
+ - consistent
232
+ - align_brackets
236
233
  IndentationWidth:
237
234
 
238
235
  Layout/AssignmentIndentation:
@@ -241,23 +238,23 @@ Layout/AssignmentIndentation:
241
238
  Layout/FirstHashElementIndentation:
242
239
  EnforcedStyle: consistent
243
240
  SupportedStyles:
244
- - special_inside_parentheses
245
- - consistent
246
- - align_braces
241
+ - special_inside_parentheses
242
+ - consistent
243
+ - align_braces
247
244
  IndentationWidth:
248
245
 
249
246
  Style/LambdaCall:
250
247
  EnforcedStyle: call
251
248
  SupportedStyles:
252
- - call
253
- - braces
249
+ - call
250
+ - braces
254
251
 
255
252
  Style/Next:
256
253
  EnforcedStyle: skip_modifier_ifs
257
254
  MinBodyLength: 3
258
255
  SupportedStyles:
259
- - skip_modifier_ifs
260
- - always
256
+ - skip_modifier_ifs
257
+ - always
261
258
 
262
259
  Style/NonNilCheck:
263
260
  IncludeSemanticChanges: false
@@ -266,69 +263,74 @@ Style/MethodCallWithArgsParentheses:
266
263
  Enabled: true
267
264
  IgnoreMacros: true
268
265
  IgnoredMethods:
269
- - require
270
- - require_relative
271
- - require_dependency
272
- - yield
273
- - raise
274
- - puts
266
+ - require
267
+ - require_relative
268
+ - require_dependency
269
+ - yield
270
+ - raise
271
+ - puts
275
272
  Exclude:
276
- - Gemfile
273
+ - Gemfile
274
+ - Gemfile.*
275
+ - "**/**/Gemfile"
276
+ - "**/**/Gemfile.*"
277
+ - "*.gemspec"
278
+ - "**/**/*.gemspec"
277
279
 
278
280
  Style/MethodDefParentheses:
279
281
  EnforcedStyle: require_parentheses
280
282
  SupportedStyles:
281
- - require_parentheses
282
- - require_no_parentheses
283
- - require_no_parentheses_except_multiline
283
+ - require_parentheses
284
+ - require_no_parentheses
285
+ - require_no_parentheses_except_multiline
284
286
 
285
287
  Naming/MethodName:
286
288
  EnforcedStyle: snake_case
287
289
  SupportedStyles:
288
- - snake_case
289
- - camelCase
290
+ - snake_case
291
+ - camelCase
290
292
 
291
293
  Layout/MultilineArrayBraceLayout:
292
294
  EnforcedStyle: symmetrical
293
295
  SupportedStyles:
294
- - symmetrical
295
- - new_line
296
- - same_line
296
+ - symmetrical
297
+ - new_line
298
+ - same_line
297
299
 
298
300
  Layout/MultilineHashBraceLayout:
299
301
  EnforcedStyle: symmetrical
300
302
  SupportedStyles:
301
- - symmetrical
302
- - new_line
303
- - same_line
303
+ - symmetrical
304
+ - new_line
305
+ - same_line
304
306
 
305
307
  Layout/MultilineMethodCallBraceLayout:
306
308
  EnforcedStyle: symmetrical
307
309
  SupportedStyles:
308
- - symmetrical
309
- - new_line
310
- - same_line
310
+ - symmetrical
311
+ - new_line
312
+ - same_line
311
313
 
312
314
  Layout/MultilineMethodCallIndentation:
313
315
  EnforcedStyle: indented
314
316
  SupportedStyles:
315
- - aligned
316
- - indented
317
- - indented_relative_to_receiver
317
+ - aligned
318
+ - indented
319
+ - indented_relative_to_receiver
318
320
  IndentationWidth: 2
319
321
 
320
322
  Layout/MultilineMethodDefinitionBraceLayout:
321
323
  EnforcedStyle: symmetrical
322
324
  SupportedStyles:
323
- - symmetrical
324
- - new_line
325
- - same_line
325
+ - symmetrical
326
+ - new_line
327
+ - same_line
326
328
 
327
329
  Style/NumericLiteralPrefix:
328
330
  EnforcedOctalStyle: zero_only
329
331
  SupportedOctalStyles:
330
- - zero_with_o
331
- - zero_only
332
+ - zero_with_o
333
+ - zero_only
332
334
 
333
335
  Style/ParenthesesAroundCondition:
334
336
  AllowSafeAssignment: true
@@ -336,30 +338,30 @@ Style/ParenthesesAroundCondition:
336
338
  Style/PercentQLiterals:
337
339
  EnforcedStyle: lower_case_q
338
340
  SupportedStyles:
339
- - lower_case_q
340
- - upper_case_q
341
+ - lower_case_q
342
+ - upper_case_q
341
343
 
342
344
  Naming/PredicateName:
343
345
  NamePrefix:
344
- - is_
346
+ - is_
345
347
  ForbiddenPrefixes:
346
- - is_
348
+ - is_
347
349
  AllowedMethods:
348
- - is_a?
350
+ - is_a?
349
351
  Exclude:
350
- - 'spec/**/*'
352
+ - "spec/**/*"
351
353
 
352
354
  Style/PreferredHashMethods:
353
355
  EnforcedStyle: short
354
356
  SupportedStyles:
355
- - short
356
- - verbose
357
+ - short
358
+ - verbose
357
359
 
358
360
  Style/RaiseArgs:
359
361
  EnforcedStyle: exploded
360
362
  SupportedStyles:
361
- - compact
362
- - exploded
363
+ - compact
364
+ - exploded
363
365
 
364
366
  Style/RedundantReturn:
365
367
  AllowMultipleReturnValues: false
@@ -367,9 +369,9 @@ Style/RedundantReturn:
367
369
  Style/RegexpLiteral:
368
370
  EnforcedStyle: mixed
369
371
  SupportedStyles:
370
- - slashes
371
- - percent_r
372
- - mixed
372
+ - slashes
373
+ - percent_r
374
+ - mixed
373
375
  AllowInnerSlashes: false
374
376
 
375
377
  Style/SafeNavigation:
@@ -385,9 +387,9 @@ Style/Semicolon:
385
387
  Style/SignalException:
386
388
  EnforcedStyle: only_raise
387
389
  SupportedStyles:
388
- - only_raise
389
- - only_fail
390
- - semantic
390
+ - only_raise
391
+ - only_fail
392
+ - semantic
391
393
 
392
394
  Style/SingleLineMethods:
393
395
  AllowIfMethodIsEmpty: true
@@ -398,32 +400,32 @@ Layout/SpaceBeforeFirstArg:
398
400
  Style/SpecialGlobalVars:
399
401
  EnforcedStyle: use_english_names
400
402
  SupportedStyles:
401
- - use_perl_names
402
- - use_english_names
403
+ - use_perl_names
404
+ - use_english_names
403
405
 
404
406
  Style/StabbyLambdaParentheses:
405
407
  EnforcedStyle: require_parentheses
406
408
  SupportedStyles:
407
- - require_parentheses
408
- - require_no_parentheses
409
+ - require_parentheses
410
+ - require_no_parentheses
409
411
 
410
412
  Style/StringLiteralsInInterpolation:
411
413
  EnforcedStyle: single_quotes
412
414
  SupportedStyles:
413
- - single_quotes
414
- - double_quotes
415
+ - single_quotes
416
+ - double_quotes
415
417
 
416
418
  Layout/SpaceAroundBlockParameters:
417
419
  EnforcedStyleInsidePipes: no_space
418
420
  SupportedStylesInsidePipes:
419
- - space
420
- - no_space
421
+ - space
422
+ - no_space
421
423
 
422
424
  Layout/SpaceAroundEqualsInParameterDefault:
423
425
  EnforcedStyle: space
424
426
  SupportedStyles:
425
- - space
426
- - no_space
427
+ - space
428
+ - no_space
427
429
 
428
430
  Layout/SpaceAroundOperators:
429
431
  AllowForAlignment: true
@@ -432,14 +434,14 @@ Layout/SpaceBeforeBlockBraces:
432
434
  EnforcedStyle: space
433
435
  EnforcedStyleForEmptyBraces: space
434
436
  SupportedStyles:
435
- - space
436
- - no_space
437
+ - space
438
+ - no_space
437
439
 
438
440
  Layout/SpaceInsideBlockBraces:
439
441
  EnforcedStyle: space
440
442
  SupportedStyles:
441
- - space
442
- - no_space
443
+ - space
444
+ - no_space
443
445
  EnforcedStyleForEmptyBraces: no_space
444
446
  SpaceBeforeBlockParameters: true
445
447
 
@@ -447,33 +449,33 @@ Layout/SpaceInsideHashLiteralBraces:
447
449
  EnforcedStyle: space
448
450
  EnforcedStyleForEmptyBraces: no_space
449
451
  SupportedStyles:
450
- - space
451
- - no_space
452
- - compact
452
+ - space
453
+ - no_space
454
+ - compact
453
455
 
454
456
  Layout/SpaceInsideStringInterpolation:
455
457
  EnforcedStyle: no_space
456
458
  SupportedStyles:
457
- - space
458
- - no_space
459
+ - space
460
+ - no_space
459
461
 
460
462
  Style/SymbolProc:
461
463
  IgnoredMethods:
462
- - respond_to
463
- - define_method
464
+ - respond_to
465
+ - define_method
464
466
 
465
467
  Style/TernaryParentheses:
466
468
  EnforcedStyle: require_no_parentheses
467
469
  SupportedStyles:
468
- - require_parentheses
469
- - require_no_parentheses
470
+ - require_parentheses
471
+ - require_no_parentheses
470
472
  AllowSafeAssignment: true
471
473
 
472
474
  Layout/TrailingEmptyLines:
473
475
  EnforcedStyle: final_newline
474
476
  SupportedStyles:
475
- - final_newline
476
- - final_blank_line
477
+ - final_newline
478
+ - final_blank_line
477
479
 
478
480
  Style/TrivialAccessors:
479
481
  ExactNameMatch: true
@@ -481,29 +483,29 @@ Style/TrivialAccessors:
481
483
  AllowDSLWriters: false
482
484
  IgnoreClassMethods: false
483
485
  AllowedMethods:
484
- - to_ary
485
- - to_a
486
- - to_c
487
- - to_enum
488
- - to_h
489
- - to_hash
490
- - to_i
491
- - to_int
492
- - to_io
493
- - to_open
494
- - to_path
495
- - to_proc
496
- - to_r
497
- - to_regexp
498
- - to_str
499
- - to_s
500
- - to_sym
486
+ - to_ary
487
+ - to_a
488
+ - to_c
489
+ - to_enum
490
+ - to_h
491
+ - to_hash
492
+ - to_i
493
+ - to_int
494
+ - to_io
495
+ - to_open
496
+ - to_path
497
+ - to_proc
498
+ - to_r
499
+ - to_regexp
500
+ - to_str
501
+ - to_s
502
+ - to_sym
501
503
 
502
504
  Naming/VariableName:
503
505
  EnforcedStyle: snake_case
504
506
  SupportedStyles:
505
- - snake_case
506
- - camelCase
507
+ - snake_case
508
+ - camelCase
507
509
 
508
510
  Style/WhileUntilModifier:
509
511
  Enabled: true
@@ -516,11 +518,11 @@ Layout/LineLength:
516
518
  AllowHeredoc: true
517
519
  AllowURI: true
518
520
  URISchemes:
519
- - http
520
- - https
521
+ - http
522
+ - https
521
523
  IgnoreCopDirectives: false
522
524
  IgnoredPatterns:
523
- - '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
525
+ - '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
524
526
 
525
527
  Metrics/ParameterLists:
526
528
  Max: 5
@@ -529,28 +531,28 @@ Metrics/ParameterLists:
529
531
  Layout/BlockAlignment:
530
532
  EnforcedStyleAlignWith: either
531
533
  SupportedStylesAlignWith:
532
- - either
533
- - start_of_block
534
- - start_of_line
534
+ - either
535
+ - start_of_block
536
+ - start_of_line
535
537
 
536
538
  Layout/EndAlignment:
537
539
  EnforcedStyleAlignWith: variable
538
540
  SupportedStylesAlignWith:
539
- - keyword
540
- - variable
541
- - start_of_line
541
+ - keyword
542
+ - variable
543
+ - start_of_line
542
544
 
543
545
  Layout/DefEndAlignment:
544
546
  EnforcedStyleAlignWith: start_of_line
545
547
  SupportedStylesAlignWith:
546
- - start_of_line
547
- - def
548
+ - start_of_line
549
+ - def
548
550
 
549
551
  Lint/InheritException:
550
552
  EnforcedStyle: runtime_error
551
553
  SupportedStyles:
552
- - runtime_error
553
- - standard_error
554
+ - runtime_error
555
+ - standard_error
554
556
 
555
557
  Lint/UnusedBlockArgument:
556
558
  IgnoreEmptyBlocks: true
@@ -899,7 +901,8 @@ Lint/ImplicitStringConcatenation:
899
901
  better be represented as a single string literal.
900
902
 
901
903
  Lint/IneffectiveAccessModifier:
902
- Description: Checks for attempts to use `private` or `protected` to set the visibility
904
+ Description:
905
+ Checks for attempts to use `private` or `protected` to set the visibility
903
906
  of a class method, which does not work.
904
907
 
905
908
  Lint/LiteralAsCondition:
@@ -909,14 +912,16 @@ Lint/LiteralInInterpolation:
909
912
  Enabled: true
910
913
 
911
914
  Lint/Loop:
912
- Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
915
+ Description:
916
+ Use Kernel#loop with break rather than begin/end/until or begin/end/while
913
917
  for post-loop tests.
914
918
 
915
919
  Lint/NestedMethodDefinition:
916
920
  Enabled: true
917
921
 
918
922
  Lint/NextWithoutAccumulator:
919
- Description: Do not omit the accumulator when calling `next` in a `reduce`/`inject`
923
+ Description:
924
+ Do not omit the accumulator when calling `next` in a `reduce`/`inject`
920
925
  block.
921
926
 
922
927
  Lint/NonLocalExitFromIterator:
@@ -1008,11 +1013,11 @@ Style/TrailingBodyOnModule:
1008
1013
  Enabled: true
1009
1014
 
1010
1015
  Style/TrailingCommaInArrayLiteral:
1011
- EnforcedStyleForMultiline: comma
1016
+ EnforcedStyleForMultiline: no_comma
1012
1017
  Enabled: true
1013
1018
 
1014
1019
  Style/TrailingCommaInHashLiteral:
1015
- EnforcedStyleForMultiline: comma
1020
+ EnforcedStyleForMultiline: no_comma
1016
1021
  Enabled: true
1017
1022
 
1018
1023
  Layout/SpaceInsideReferenceBrackets:
@@ -1027,4 +1032,4 @@ Lint/OrderedMagicComments:
1027
1032
  Enabled: true
1028
1033
 
1029
1034
  Lint/DeprecatedOpenSSLConstant:
1030
- Enabled: true
1035
+ Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rewind-ruby-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rewind Devops
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-28 00:00:00.000000000 Z
11
+ date: 2020-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.80'
19
+ version: '0.85'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '0.87'
22
+ version: '0.89'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.80'
29
+ version: '0.85'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.87'
32
+ version: '0.89'
33
33
  description: Gem containing the config files for style chekers that corresponds to
34
34
  the implementation of the Rewind style guide for Ruby.
35
35
  email: team@rewind.io
@@ -43,7 +43,7 @@ homepage: https://github.com/rewindio/ruby-style-configs/
43
43
  licenses:
44
44
  - MIT
45
45
  metadata:
46
- source_code_uri: https://github.com/rewindio/ruby-style-configs/tree/v1.0.3
46
+ source_code_uri: https://github.com/rewindio/ruby-style-configs/tree/v1.0.8
47
47
  post_install_message:
48
48
  rdoc_options: []
49
49
  require_paths: