rewind-ruby-style 1.0.6 → 1.0.7

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 +210 -207
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59a2630ba01b3b15f322c71c0e6189c56db92bf5b3098248b5fb497c687bd8be
4
- data.tar.gz: 50c1e290476d1936306ad0b1dc66b0fac1d314908c309bfbd1ec4653b9df8f66
3
+ metadata.gz: ea689ba087dd5478a036c1241077a0131f6decbdab9fb902110f33131401f0f1
4
+ data.tar.gz: 1eadf7487a905a92271cea16dbeb1cb7271f44b4bc95c79e739e4a98e81596a6
5
5
  SHA512:
6
- metadata.gz: 4f76b56689b7750da33a34dfc216bf40d6231015f2e8703e75517d2d57308e95d9a39d390aab7f116eb19de2127b5a044365b1a2c91e4b16f934543addf2cf6c
7
- data.tar.gz: a23f30660d71a6fcf7c6a9587cbb5473123c3fd9e3a6e83cedd72bbb3d82c48cd4cf237039fae4729c4f50e7f2da0fc909441665e5eddebbedc935771216039f
6
+ metadata.gz: d0d168eb5895445804de8a322ae904e8cfa9a2bf5d823bc97efc0e090ce2d940b62a84dd515bf9bb069ddfd6d1d379e028a4ab0e9339d1c3e6469bc3b3a474b0
7
+ data.tar.gz: 4b19babe13627732e35ed846f66a25d0bbe46038c14f6f02f80d8f831b3dfe2f62719a037565bc31d6acaf912cb94cf88c6c9af0c4a597f7f18ace571fdf37db
@@ -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,127 @@ 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
97
  EnforcedStyle: nested
98
98
  SupportedStyles:
99
- - nested
100
- - compact
99
+ - nested
100
+ - compact
101
101
 
102
102
  Style/ClassCheck:
103
103
  EnforcedStyle: is_a?
104
104
  SupportedStyles:
105
- - is_a?
106
- - kind_of?
105
+ - is_a?
106
+ - kind_of?
107
107
 
108
108
  Style/CommandLiteral:
109
109
  EnforcedStyle: percent_x
110
110
  SupportedStyles:
111
- - backticks
112
- - percent_x
113
- - mixed
111
+ - backticks
112
+ - percent_x
113
+ - mixed
114
114
  AllowInnerBackticks: false
115
115
 
116
116
  Style/CommentAnnotation:
117
117
  Keywords:
118
- - TODO
119
- - FIXME
120
- - OPTIMIZE
121
- - HACK
122
- - REVIEW
118
+ - TODO
119
+ - FIXME
120
+ - OPTIMIZE
121
+ - HACK
122
+ - REVIEW
123
123
 
124
124
  Style/ConditionalAssignment:
125
125
  EnforcedStyle: assign_to_condition
126
126
  SupportedStyles:
127
- - assign_to_condition
128
- - assign_inside_condition
127
+ - assign_to_condition
128
+ - assign_inside_condition
129
129
  SingleLineConditionsOnly: true
130
130
 
131
131
  Layout/DotPosition:
132
132
  EnforcedStyle: leading
133
133
  SupportedStyles:
134
- - leading
135
- - trailing
134
+ - leading
135
+ - trailing
136
136
 
137
137
  Style/EmptyElse:
138
138
  EnforcedStyle: both
139
139
  SupportedStyles:
140
- - empty
141
- - nil
142
- - both
140
+ - empty
141
+ - nil
142
+ - both
143
143
 
144
144
  Layout/EmptyLineBetweenDefs:
145
145
  AllowAdjacentOneLineDefs: false
@@ -147,22 +147,22 @@ Layout/EmptyLineBetweenDefs:
147
147
  Layout/EmptyLinesAroundBlockBody:
148
148
  EnforcedStyle: no_empty_lines
149
149
  SupportedStyles:
150
- - empty_lines
151
- - no_empty_lines
150
+ - empty_lines
151
+ - no_empty_lines
152
152
 
153
153
  Layout/EmptyLinesAroundClassBody:
154
154
  EnforcedStyle: no_empty_lines
155
155
  SupportedStyles:
156
- - empty_lines
157
- - empty_lines_except_namespace
158
- - no_empty_lines
156
+ - empty_lines
157
+ - empty_lines_except_namespace
158
+ - no_empty_lines
159
159
 
160
160
  Layout/EmptyLinesAroundModuleBody:
161
161
  EnforcedStyle: no_empty_lines
162
162
  SupportedStyles:
163
- - empty_lines
164
- - empty_lines_except_namespace
165
- - no_empty_lines
163
+ - empty_lines
164
+ - empty_lines_except_namespace
165
+ - no_empty_lines
166
166
 
167
167
  Layout/ExtraSpacing:
168
168
  AllowForAlignment: true
@@ -177,23 +177,23 @@ Naming/FileName:
177
177
  Layout/FirstArgumentIndentation:
178
178
  EnforcedStyle: consistent
179
179
  SupportedStyles:
180
- - consistent
181
- - special_for_inner_method_call
182
- - special_for_inner_method_call_in_parentheses
180
+ - consistent
181
+ - special_for_inner_method_call
182
+ - special_for_inner_method_call_in_parentheses
183
183
  IndentationWidth:
184
184
 
185
185
  Style/For:
186
186
  EnforcedStyle: each
187
187
  SupportedStyles:
188
- - for
189
- - each
188
+ - for
189
+ - each
190
190
 
191
191
  Style/FormatString:
192
192
  EnforcedStyle: format
193
193
  SupportedStyles:
194
- - format
195
- - sprintf
196
- - percent
194
+ - format
195
+ - sprintf
196
+ - percent
197
197
 
198
198
  Style/FrozenStringLiteralComment:
199
199
  Details: >-
@@ -211,18 +211,18 @@ Style/GlobalVars:
211
211
  Style/HashSyntax:
212
212
  EnforcedStyle: ruby19
213
213
  SupportedStyles:
214
- - ruby19
215
- - hash_rockets
216
- - no_mixed_keys
217
- - ruby19_no_mixed_keys
214
+ - ruby19
215
+ - hash_rockets
216
+ - no_mixed_keys
217
+ - ruby19_no_mixed_keys
218
218
  UseHashRocketsWithSymbolValues: false
219
219
  PreferHashRocketsForNonAlnumEndingSymbols: false
220
220
 
221
221
  Layout/IndentationConsistency:
222
222
  EnforcedStyle: normal
223
223
  SupportedStyles:
224
- - normal
225
- - rails
224
+ - normal
225
+ - rails
226
226
 
227
227
  Layout/IndentationWidth:
228
228
  Width: 2
@@ -230,9 +230,9 @@ Layout/IndentationWidth:
230
230
  Layout/FirstArrayElementIndentation:
231
231
  EnforcedStyle: consistent
232
232
  SupportedStyles:
233
- - special_inside_parentheses
234
- - consistent
235
- - align_brackets
233
+ - special_inside_parentheses
234
+ - consistent
235
+ - align_brackets
236
236
  IndentationWidth:
237
237
 
238
238
  Layout/AssignmentIndentation:
@@ -241,23 +241,23 @@ Layout/AssignmentIndentation:
241
241
  Layout/FirstHashElementIndentation:
242
242
  EnforcedStyle: consistent
243
243
  SupportedStyles:
244
- - special_inside_parentheses
245
- - consistent
246
- - align_braces
244
+ - special_inside_parentheses
245
+ - consistent
246
+ - align_braces
247
247
  IndentationWidth:
248
248
 
249
249
  Style/LambdaCall:
250
250
  EnforcedStyle: call
251
251
  SupportedStyles:
252
- - call
253
- - braces
252
+ - call
253
+ - braces
254
254
 
255
255
  Style/Next:
256
256
  EnforcedStyle: skip_modifier_ifs
257
257
  MinBodyLength: 3
258
258
  SupportedStyles:
259
- - skip_modifier_ifs
260
- - always
259
+ - skip_modifier_ifs
260
+ - always
261
261
 
262
262
  Style/NonNilCheck:
263
263
  IncludeSemanticChanges: false
@@ -266,74 +266,74 @@ Style/MethodCallWithArgsParentheses:
266
266
  Enabled: true
267
267
  IgnoreMacros: true
268
268
  IgnoredMethods:
269
- - require
270
- - require_relative
271
- - require_dependency
272
- - yield
273
- - raise
274
- - puts
269
+ - require
270
+ - require_relative
271
+ - require_dependency
272
+ - yield
273
+ - raise
274
+ - puts
275
275
  Exclude:
276
- - Gemfile
277
- - Gemfile.*
278
- - '**/**/Gemfile'
279
- - '**/**/Gemfile.*'
280
- - '*.gemspec'
281
- - '**/**/*.gemspec'
276
+ - Gemfile
277
+ - Gemfile.*
278
+ - "**/**/Gemfile"
279
+ - "**/**/Gemfile.*"
280
+ - "*.gemspec"
281
+ - "**/**/*.gemspec"
282
282
 
283
283
  Style/MethodDefParentheses:
284
284
  EnforcedStyle: require_parentheses
285
285
  SupportedStyles:
286
- - require_parentheses
287
- - require_no_parentheses
288
- - require_no_parentheses_except_multiline
286
+ - require_parentheses
287
+ - require_no_parentheses
288
+ - require_no_parentheses_except_multiline
289
289
 
290
290
  Naming/MethodName:
291
291
  EnforcedStyle: snake_case
292
292
  SupportedStyles:
293
- - snake_case
294
- - camelCase
293
+ - snake_case
294
+ - camelCase
295
295
 
296
296
  Layout/MultilineArrayBraceLayout:
297
297
  EnforcedStyle: symmetrical
298
298
  SupportedStyles:
299
- - symmetrical
300
- - new_line
301
- - same_line
299
+ - symmetrical
300
+ - new_line
301
+ - same_line
302
302
 
303
303
  Layout/MultilineHashBraceLayout:
304
304
  EnforcedStyle: symmetrical
305
305
  SupportedStyles:
306
- - symmetrical
307
- - new_line
308
- - same_line
306
+ - symmetrical
307
+ - new_line
308
+ - same_line
309
309
 
310
310
  Layout/MultilineMethodCallBraceLayout:
311
311
  EnforcedStyle: symmetrical
312
312
  SupportedStyles:
313
- - symmetrical
314
- - new_line
315
- - same_line
313
+ - symmetrical
314
+ - new_line
315
+ - same_line
316
316
 
317
317
  Layout/MultilineMethodCallIndentation:
318
318
  EnforcedStyle: indented
319
319
  SupportedStyles:
320
- - aligned
321
- - indented
322
- - indented_relative_to_receiver
320
+ - aligned
321
+ - indented
322
+ - indented_relative_to_receiver
323
323
  IndentationWidth: 2
324
324
 
325
325
  Layout/MultilineMethodDefinitionBraceLayout:
326
326
  EnforcedStyle: symmetrical
327
327
  SupportedStyles:
328
- - symmetrical
329
- - new_line
330
- - same_line
328
+ - symmetrical
329
+ - new_line
330
+ - same_line
331
331
 
332
332
  Style/NumericLiteralPrefix:
333
333
  EnforcedOctalStyle: zero_only
334
334
  SupportedOctalStyles:
335
- - zero_with_o
336
- - zero_only
335
+ - zero_with_o
336
+ - zero_only
337
337
 
338
338
  Style/ParenthesesAroundCondition:
339
339
  AllowSafeAssignment: true
@@ -341,30 +341,30 @@ Style/ParenthesesAroundCondition:
341
341
  Style/PercentQLiterals:
342
342
  EnforcedStyle: lower_case_q
343
343
  SupportedStyles:
344
- - lower_case_q
345
- - upper_case_q
344
+ - lower_case_q
345
+ - upper_case_q
346
346
 
347
347
  Naming/PredicateName:
348
348
  NamePrefix:
349
- - is_
349
+ - is_
350
350
  ForbiddenPrefixes:
351
- - is_
351
+ - is_
352
352
  AllowedMethods:
353
- - is_a?
353
+ - is_a?
354
354
  Exclude:
355
- - 'spec/**/*'
355
+ - "spec/**/*"
356
356
 
357
357
  Style/PreferredHashMethods:
358
358
  EnforcedStyle: short
359
359
  SupportedStyles:
360
- - short
361
- - verbose
360
+ - short
361
+ - verbose
362
362
 
363
363
  Style/RaiseArgs:
364
364
  EnforcedStyle: exploded
365
365
  SupportedStyles:
366
- - compact
367
- - exploded
366
+ - compact
367
+ - exploded
368
368
 
369
369
  Style/RedundantReturn:
370
370
  AllowMultipleReturnValues: false
@@ -372,9 +372,9 @@ Style/RedundantReturn:
372
372
  Style/RegexpLiteral:
373
373
  EnforcedStyle: mixed
374
374
  SupportedStyles:
375
- - slashes
376
- - percent_r
377
- - mixed
375
+ - slashes
376
+ - percent_r
377
+ - mixed
378
378
  AllowInnerSlashes: false
379
379
 
380
380
  Style/SafeNavigation:
@@ -390,9 +390,9 @@ Style/Semicolon:
390
390
  Style/SignalException:
391
391
  EnforcedStyle: only_raise
392
392
  SupportedStyles:
393
- - only_raise
394
- - only_fail
395
- - semantic
393
+ - only_raise
394
+ - only_fail
395
+ - semantic
396
396
 
397
397
  Style/SingleLineMethods:
398
398
  AllowIfMethodIsEmpty: true
@@ -403,32 +403,32 @@ Layout/SpaceBeforeFirstArg:
403
403
  Style/SpecialGlobalVars:
404
404
  EnforcedStyle: use_english_names
405
405
  SupportedStyles:
406
- - use_perl_names
407
- - use_english_names
406
+ - use_perl_names
407
+ - use_english_names
408
408
 
409
409
  Style/StabbyLambdaParentheses:
410
410
  EnforcedStyle: require_parentheses
411
411
  SupportedStyles:
412
- - require_parentheses
413
- - require_no_parentheses
412
+ - require_parentheses
413
+ - require_no_parentheses
414
414
 
415
415
  Style/StringLiteralsInInterpolation:
416
416
  EnforcedStyle: single_quotes
417
417
  SupportedStyles:
418
- - single_quotes
419
- - double_quotes
418
+ - single_quotes
419
+ - double_quotes
420
420
 
421
421
  Layout/SpaceAroundBlockParameters:
422
422
  EnforcedStyleInsidePipes: no_space
423
423
  SupportedStylesInsidePipes:
424
- - space
425
- - no_space
424
+ - space
425
+ - no_space
426
426
 
427
427
  Layout/SpaceAroundEqualsInParameterDefault:
428
428
  EnforcedStyle: space
429
429
  SupportedStyles:
430
- - space
431
- - no_space
430
+ - space
431
+ - no_space
432
432
 
433
433
  Layout/SpaceAroundOperators:
434
434
  AllowForAlignment: true
@@ -437,14 +437,14 @@ Layout/SpaceBeforeBlockBraces:
437
437
  EnforcedStyle: space
438
438
  EnforcedStyleForEmptyBraces: space
439
439
  SupportedStyles:
440
- - space
441
- - no_space
440
+ - space
441
+ - no_space
442
442
 
443
443
  Layout/SpaceInsideBlockBraces:
444
444
  EnforcedStyle: space
445
445
  SupportedStyles:
446
- - space
447
- - no_space
446
+ - space
447
+ - no_space
448
448
  EnforcedStyleForEmptyBraces: no_space
449
449
  SpaceBeforeBlockParameters: true
450
450
 
@@ -452,33 +452,33 @@ Layout/SpaceInsideHashLiteralBraces:
452
452
  EnforcedStyle: space
453
453
  EnforcedStyleForEmptyBraces: no_space
454
454
  SupportedStyles:
455
- - space
456
- - no_space
457
- - compact
455
+ - space
456
+ - no_space
457
+ - compact
458
458
 
459
459
  Layout/SpaceInsideStringInterpolation:
460
460
  EnforcedStyle: no_space
461
461
  SupportedStyles:
462
- - space
463
- - no_space
462
+ - space
463
+ - no_space
464
464
 
465
465
  Style/SymbolProc:
466
466
  IgnoredMethods:
467
- - respond_to
468
- - define_method
467
+ - respond_to
468
+ - define_method
469
469
 
470
470
  Style/TernaryParentheses:
471
471
  EnforcedStyle: require_no_parentheses
472
472
  SupportedStyles:
473
- - require_parentheses
474
- - require_no_parentheses
473
+ - require_parentheses
474
+ - require_no_parentheses
475
475
  AllowSafeAssignment: true
476
476
 
477
477
  Layout/TrailingEmptyLines:
478
478
  EnforcedStyle: final_newline
479
479
  SupportedStyles:
480
- - final_newline
481
- - final_blank_line
480
+ - final_newline
481
+ - final_blank_line
482
482
 
483
483
  Style/TrivialAccessors:
484
484
  ExactNameMatch: true
@@ -486,29 +486,29 @@ Style/TrivialAccessors:
486
486
  AllowDSLWriters: false
487
487
  IgnoreClassMethods: false
488
488
  AllowedMethods:
489
- - to_ary
490
- - to_a
491
- - to_c
492
- - to_enum
493
- - to_h
494
- - to_hash
495
- - to_i
496
- - to_int
497
- - to_io
498
- - to_open
499
- - to_path
500
- - to_proc
501
- - to_r
502
- - to_regexp
503
- - to_str
504
- - to_s
505
- - to_sym
489
+ - to_ary
490
+ - to_a
491
+ - to_c
492
+ - to_enum
493
+ - to_h
494
+ - to_hash
495
+ - to_i
496
+ - to_int
497
+ - to_io
498
+ - to_open
499
+ - to_path
500
+ - to_proc
501
+ - to_r
502
+ - to_regexp
503
+ - to_str
504
+ - to_s
505
+ - to_sym
506
506
 
507
507
  Naming/VariableName:
508
508
  EnforcedStyle: snake_case
509
509
  SupportedStyles:
510
- - snake_case
511
- - camelCase
510
+ - snake_case
511
+ - camelCase
512
512
 
513
513
  Style/WhileUntilModifier:
514
514
  Enabled: true
@@ -521,11 +521,11 @@ Layout/LineLength:
521
521
  AllowHeredoc: true
522
522
  AllowURI: true
523
523
  URISchemes:
524
- - http
525
- - https
524
+ - http
525
+ - https
526
526
  IgnoreCopDirectives: false
527
527
  IgnoredPatterns:
528
- - '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
528
+ - '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
529
529
 
530
530
  Metrics/ParameterLists:
531
531
  Max: 5
@@ -534,28 +534,28 @@ Metrics/ParameterLists:
534
534
  Layout/BlockAlignment:
535
535
  EnforcedStyleAlignWith: either
536
536
  SupportedStylesAlignWith:
537
- - either
538
- - start_of_block
539
- - start_of_line
537
+ - either
538
+ - start_of_block
539
+ - start_of_line
540
540
 
541
541
  Layout/EndAlignment:
542
542
  EnforcedStyleAlignWith: variable
543
543
  SupportedStylesAlignWith:
544
- - keyword
545
- - variable
546
- - start_of_line
544
+ - keyword
545
+ - variable
546
+ - start_of_line
547
547
 
548
548
  Layout/DefEndAlignment:
549
549
  EnforcedStyleAlignWith: start_of_line
550
550
  SupportedStylesAlignWith:
551
- - start_of_line
552
- - def
551
+ - start_of_line
552
+ - def
553
553
 
554
554
  Lint/InheritException:
555
555
  EnforcedStyle: runtime_error
556
556
  SupportedStyles:
557
- - runtime_error
558
- - standard_error
557
+ - runtime_error
558
+ - standard_error
559
559
 
560
560
  Lint/UnusedBlockArgument:
561
561
  IgnoreEmptyBlocks: true
@@ -904,7 +904,8 @@ Lint/ImplicitStringConcatenation:
904
904
  better be represented as a single string literal.
905
905
 
906
906
  Lint/IneffectiveAccessModifier:
907
- Description: Checks for attempts to use `private` or `protected` to set the visibility
907
+ Description:
908
+ Checks for attempts to use `private` or `protected` to set the visibility
908
909
  of a class method, which does not work.
909
910
 
910
911
  Lint/LiteralAsCondition:
@@ -914,14 +915,16 @@ Lint/LiteralInInterpolation:
914
915
  Enabled: true
915
916
 
916
917
  Lint/Loop:
917
- Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
918
+ Description:
919
+ Use Kernel#loop with break rather than begin/end/until or begin/end/while
918
920
  for post-loop tests.
919
921
 
920
922
  Lint/NestedMethodDefinition:
921
923
  Enabled: true
922
924
 
923
925
  Lint/NextWithoutAccumulator:
924
- Description: Do not omit the accumulator when calling `next` in a `reduce`/`inject`
926
+ Description:
927
+ Do not omit the accumulator when calling `next` in a `reduce`/`inject`
925
928
  block.
926
929
 
927
930
  Lint/NonLocalExitFromIterator:
@@ -1013,11 +1016,11 @@ Style/TrailingBodyOnModule:
1013
1016
  Enabled: true
1014
1017
 
1015
1018
  Style/TrailingCommaInArrayLiteral:
1016
- EnforcedStyleForMultiline: comma
1019
+ EnforcedStyleForMultiline: no_comma
1017
1020
  Enabled: true
1018
1021
 
1019
1022
  Style/TrailingCommaInHashLiteral:
1020
- EnforcedStyleForMultiline: comma
1023
+ EnforcedStyleForMultiline: no_comma
1021
1024
  Enabled: true
1022
1025
 
1023
1026
  Layout/SpaceInsideReferenceBrackets:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rewind-ruby-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rewind Devops
@@ -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.6
46
+ source_code_uri: https://github.com/rewindio/ruby-style-configs/tree/v1.0.7
47
47
  post_install_message:
48
48
  rdoc_options: []
49
49
  require_paths: