rewind-ruby-style 1.0.2 → 1.0.7

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 +211 -203
  3. metadata +7 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d12f1e492666323975135623344b3cd17411f2c38c92010f97df58eb671e58e7
4
- data.tar.gz: 42c92effe05b5027899eceda7c0ecbba158c88984e34fb87079fa7c4d0d58882
3
+ metadata.gz: ea689ba087dd5478a036c1241077a0131f6decbdab9fb902110f33131401f0f1
4
+ data.tar.gz: 1eadf7487a905a92271cea16dbeb1cb7271f44b4bc95c79e739e4a98e81596a6
5
5
  SHA512:
6
- metadata.gz: e7f07b3737ae12c1448347b21f60199846b37f7f290d558c464f27950ee33b84691adc25c17150795a7c885dc937c48cedc4fa22efab0257527e6391680a40a3
7
- data.tar.gz: 7171b91aaf0e02ef665f7a05996edf11e566e85b98ccbe3b6cd0b746d8437b2bfb615c9c5c7fb7f8928656c3691394e2d49129b5462efb52458e26fc4a7c0a1d
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,69 +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
276
+ - Gemfile
277
+ - Gemfile.*
278
+ - "**/**/Gemfile"
279
+ - "**/**/Gemfile.*"
280
+ - "*.gemspec"
281
+ - "**/**/*.gemspec"
277
282
 
278
283
  Style/MethodDefParentheses:
279
284
  EnforcedStyle: require_parentheses
280
285
  SupportedStyles:
281
- - require_parentheses
282
- - require_no_parentheses
283
- - require_no_parentheses_except_multiline
286
+ - require_parentheses
287
+ - require_no_parentheses
288
+ - require_no_parentheses_except_multiline
284
289
 
285
290
  Naming/MethodName:
286
291
  EnforcedStyle: snake_case
287
292
  SupportedStyles:
288
- - snake_case
289
- - camelCase
293
+ - snake_case
294
+ - camelCase
290
295
 
291
296
  Layout/MultilineArrayBraceLayout:
292
297
  EnforcedStyle: symmetrical
293
298
  SupportedStyles:
294
- - symmetrical
295
- - new_line
296
- - same_line
299
+ - symmetrical
300
+ - new_line
301
+ - same_line
297
302
 
298
303
  Layout/MultilineHashBraceLayout:
299
304
  EnforcedStyle: symmetrical
300
305
  SupportedStyles:
301
- - symmetrical
302
- - new_line
303
- - same_line
306
+ - symmetrical
307
+ - new_line
308
+ - same_line
304
309
 
305
310
  Layout/MultilineMethodCallBraceLayout:
306
311
  EnforcedStyle: symmetrical
307
312
  SupportedStyles:
308
- - symmetrical
309
- - new_line
310
- - same_line
313
+ - symmetrical
314
+ - new_line
315
+ - same_line
311
316
 
312
317
  Layout/MultilineMethodCallIndentation:
313
318
  EnforcedStyle: indented
314
319
  SupportedStyles:
315
- - aligned
316
- - indented
317
- - indented_relative_to_receiver
320
+ - aligned
321
+ - indented
322
+ - indented_relative_to_receiver
318
323
  IndentationWidth: 2
319
324
 
320
325
  Layout/MultilineMethodDefinitionBraceLayout:
321
326
  EnforcedStyle: symmetrical
322
327
  SupportedStyles:
323
- - symmetrical
324
- - new_line
325
- - same_line
328
+ - symmetrical
329
+ - new_line
330
+ - same_line
326
331
 
327
332
  Style/NumericLiteralPrefix:
328
333
  EnforcedOctalStyle: zero_only
329
334
  SupportedOctalStyles:
330
- - zero_with_o
331
- - zero_only
335
+ - zero_with_o
336
+ - zero_only
332
337
 
333
338
  Style/ParenthesesAroundCondition:
334
339
  AllowSafeAssignment: true
@@ -336,30 +341,30 @@ Style/ParenthesesAroundCondition:
336
341
  Style/PercentQLiterals:
337
342
  EnforcedStyle: lower_case_q
338
343
  SupportedStyles:
339
- - lower_case_q
340
- - upper_case_q
344
+ - lower_case_q
345
+ - upper_case_q
341
346
 
342
347
  Naming/PredicateName:
343
348
  NamePrefix:
344
- - is_
349
+ - is_
345
350
  ForbiddenPrefixes:
346
- - is_
351
+ - is_
347
352
  AllowedMethods:
348
- - is_a?
353
+ - is_a?
349
354
  Exclude:
350
- - 'spec/**/*'
355
+ - "spec/**/*"
351
356
 
352
357
  Style/PreferredHashMethods:
353
358
  EnforcedStyle: short
354
359
  SupportedStyles:
355
- - short
356
- - verbose
360
+ - short
361
+ - verbose
357
362
 
358
363
  Style/RaiseArgs:
359
364
  EnforcedStyle: exploded
360
365
  SupportedStyles:
361
- - compact
362
- - exploded
366
+ - compact
367
+ - exploded
363
368
 
364
369
  Style/RedundantReturn:
365
370
  AllowMultipleReturnValues: false
@@ -367,9 +372,9 @@ Style/RedundantReturn:
367
372
  Style/RegexpLiteral:
368
373
  EnforcedStyle: mixed
369
374
  SupportedStyles:
370
- - slashes
371
- - percent_r
372
- - mixed
375
+ - slashes
376
+ - percent_r
377
+ - mixed
373
378
  AllowInnerSlashes: false
374
379
 
375
380
  Style/SafeNavigation:
@@ -385,9 +390,9 @@ Style/Semicolon:
385
390
  Style/SignalException:
386
391
  EnforcedStyle: only_raise
387
392
  SupportedStyles:
388
- - only_raise
389
- - only_fail
390
- - semantic
393
+ - only_raise
394
+ - only_fail
395
+ - semantic
391
396
 
392
397
  Style/SingleLineMethods:
393
398
  AllowIfMethodIsEmpty: true
@@ -398,32 +403,32 @@ Layout/SpaceBeforeFirstArg:
398
403
  Style/SpecialGlobalVars:
399
404
  EnforcedStyle: use_english_names
400
405
  SupportedStyles:
401
- - use_perl_names
402
- - use_english_names
406
+ - use_perl_names
407
+ - use_english_names
403
408
 
404
409
  Style/StabbyLambdaParentheses:
405
410
  EnforcedStyle: require_parentheses
406
411
  SupportedStyles:
407
- - require_parentheses
408
- - require_no_parentheses
412
+ - require_parentheses
413
+ - require_no_parentheses
409
414
 
410
415
  Style/StringLiteralsInInterpolation:
411
416
  EnforcedStyle: single_quotes
412
417
  SupportedStyles:
413
- - single_quotes
414
- - double_quotes
418
+ - single_quotes
419
+ - double_quotes
415
420
 
416
421
  Layout/SpaceAroundBlockParameters:
417
422
  EnforcedStyleInsidePipes: no_space
418
423
  SupportedStylesInsidePipes:
419
- - space
420
- - no_space
424
+ - space
425
+ - no_space
421
426
 
422
427
  Layout/SpaceAroundEqualsInParameterDefault:
423
428
  EnforcedStyle: space
424
429
  SupportedStyles:
425
- - space
426
- - no_space
430
+ - space
431
+ - no_space
427
432
 
428
433
  Layout/SpaceAroundOperators:
429
434
  AllowForAlignment: true
@@ -432,14 +437,14 @@ Layout/SpaceBeforeBlockBraces:
432
437
  EnforcedStyle: space
433
438
  EnforcedStyleForEmptyBraces: space
434
439
  SupportedStyles:
435
- - space
436
- - no_space
440
+ - space
441
+ - no_space
437
442
 
438
443
  Layout/SpaceInsideBlockBraces:
439
444
  EnforcedStyle: space
440
445
  SupportedStyles:
441
- - space
442
- - no_space
446
+ - space
447
+ - no_space
443
448
  EnforcedStyleForEmptyBraces: no_space
444
449
  SpaceBeforeBlockParameters: true
445
450
 
@@ -447,33 +452,33 @@ Layout/SpaceInsideHashLiteralBraces:
447
452
  EnforcedStyle: space
448
453
  EnforcedStyleForEmptyBraces: no_space
449
454
  SupportedStyles:
450
- - space
451
- - no_space
452
- - compact
455
+ - space
456
+ - no_space
457
+ - compact
453
458
 
454
459
  Layout/SpaceInsideStringInterpolation:
455
460
  EnforcedStyle: no_space
456
461
  SupportedStyles:
457
- - space
458
- - no_space
462
+ - space
463
+ - no_space
459
464
 
460
465
  Style/SymbolProc:
461
466
  IgnoredMethods:
462
- - respond_to
463
- - define_method
467
+ - respond_to
468
+ - define_method
464
469
 
465
470
  Style/TernaryParentheses:
466
471
  EnforcedStyle: require_no_parentheses
467
472
  SupportedStyles:
468
- - require_parentheses
469
- - require_no_parentheses
473
+ - require_parentheses
474
+ - require_no_parentheses
470
475
  AllowSafeAssignment: true
471
476
 
472
477
  Layout/TrailingEmptyLines:
473
478
  EnforcedStyle: final_newline
474
479
  SupportedStyles:
475
- - final_newline
476
- - final_blank_line
480
+ - final_newline
481
+ - final_blank_line
477
482
 
478
483
  Style/TrivialAccessors:
479
484
  ExactNameMatch: true
@@ -481,29 +486,29 @@ Style/TrivialAccessors:
481
486
  AllowDSLWriters: false
482
487
  IgnoreClassMethods: false
483
488
  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
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
501
506
 
502
507
  Naming/VariableName:
503
508
  EnforcedStyle: snake_case
504
509
  SupportedStyles:
505
- - snake_case
506
- - camelCase
510
+ - snake_case
511
+ - camelCase
507
512
 
508
513
  Style/WhileUntilModifier:
509
514
  Enabled: true
@@ -516,11 +521,11 @@ Layout/LineLength:
516
521
  AllowHeredoc: true
517
522
  AllowURI: true
518
523
  URISchemes:
519
- - http
520
- - https
524
+ - http
525
+ - https
521
526
  IgnoreCopDirectives: false
522
527
  IgnoredPatterns:
523
- - '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
528
+ - '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
524
529
 
525
530
  Metrics/ParameterLists:
526
531
  Max: 5
@@ -529,28 +534,28 @@ Metrics/ParameterLists:
529
534
  Layout/BlockAlignment:
530
535
  EnforcedStyleAlignWith: either
531
536
  SupportedStylesAlignWith:
532
- - either
533
- - start_of_block
534
- - start_of_line
537
+ - either
538
+ - start_of_block
539
+ - start_of_line
535
540
 
536
541
  Layout/EndAlignment:
537
542
  EnforcedStyleAlignWith: variable
538
543
  SupportedStylesAlignWith:
539
- - keyword
540
- - variable
541
- - start_of_line
544
+ - keyword
545
+ - variable
546
+ - start_of_line
542
547
 
543
548
  Layout/DefEndAlignment:
544
549
  EnforcedStyleAlignWith: start_of_line
545
550
  SupportedStylesAlignWith:
546
- - start_of_line
547
- - def
551
+ - start_of_line
552
+ - def
548
553
 
549
554
  Lint/InheritException:
550
555
  EnforcedStyle: runtime_error
551
556
  SupportedStyles:
552
- - runtime_error
553
- - standard_error
557
+ - runtime_error
558
+ - standard_error
554
559
 
555
560
  Lint/UnusedBlockArgument:
556
561
  IgnoreEmptyBlocks: true
@@ -899,7 +904,8 @@ Lint/ImplicitStringConcatenation:
899
904
  better be represented as a single string literal.
900
905
 
901
906
  Lint/IneffectiveAccessModifier:
902
- 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
903
909
  of a class method, which does not work.
904
910
 
905
911
  Lint/LiteralAsCondition:
@@ -909,14 +915,16 @@ Lint/LiteralInInterpolation:
909
915
  Enabled: true
910
916
 
911
917
  Lint/Loop:
912
- 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
913
920
  for post-loop tests.
914
921
 
915
922
  Lint/NestedMethodDefinition:
916
923
  Enabled: true
917
924
 
918
925
  Lint/NextWithoutAccumulator:
919
- 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`
920
928
  block.
921
929
 
922
930
  Lint/NonLocalExitFromIterator:
@@ -1008,11 +1016,11 @@ Style/TrailingBodyOnModule:
1008
1016
  Enabled: true
1009
1017
 
1010
1018
  Style/TrailingCommaInArrayLiteral:
1011
- EnforcedStyleForMultiline: comma
1019
+ EnforcedStyleForMultiline: no_comma
1012
1020
  Enabled: true
1013
1021
 
1014
1022
  Style/TrailingCommaInHashLiteral:
1015
- EnforcedStyleForMultiline: comma
1023
+ EnforcedStyleForMultiline: no_comma
1016
1024
  Enabled: true
1017
1025
 
1018
1026
  Layout/SpaceInsideReferenceBrackets:
@@ -1027,4 +1035,4 @@ Lint/OrderedMagicComments:
1027
1035
  Enabled: true
1028
1036
 
1029
1037
  Lint/DeprecatedOpenSSLConstant:
1030
- Enabled: true
1038
+ 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.2
4
+ version: 1.0.7
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,8 +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.2
47
- github_repo: ssh://github.com/rewindio/ruby-style-configs
46
+ source_code_uri: https://github.com/rewindio/ruby-style-configs/tree/v1.0.7
48
47
  post_install_message:
49
48
  rdoc_options: []
50
49
  require_paths: