wetransfer_style 2.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/ruby/default.yml +41 -7
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b9db2f5338afed84e56fb76b5bd6df8216746e8393732a1e85b86913c608227
4
- data.tar.gz: b7b491308376facb7338d09189ae46ad2e1b3735431d7a6a7aabb1a7e785983e
3
+ metadata.gz: be750b4c4b2010f115d5d07f3e7690199c05446f60c1b1d11f483f62e7eccd2c
4
+ data.tar.gz: ce1d7d210047515f434ce3ca2a8e54239ebd8883715d64aad164526e9171595a
5
5
  SHA512:
6
- metadata.gz: 3db2b0f1711ab01c235e327c519e1b76df4fadb8cff543d00f21fc7930144344246966b458c0d2599d9e724287481b432496c1c0a142a9d849d701f9376c1308
7
- data.tar.gz: 139f56a13613d47431243b4adb1eec1030debd6aa977f00e2991c9cae6d615fef02e3baaa0afc7621df4c951981f7d1109a7aac6d1ef8e0936f943919d04f2b3
6
+ metadata.gz: aedca7da2cdd6d2b45fd4d8f3bd613e019ae812a66fbf11413d5fa50b6342d7414f6369348ac69f3b9a56ce7845f119b71f44c90e61d53b12037c4850c0be17b
7
+ data.tar.gz: 8905a5a51d1f1866f1c8daae875c9a928761af8f5537c3ef04f0bbcbecf83a0b859a234243aad114092963e7378f4d9b5a7ee310ee9350065fd35883c2e2bd4f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.0
4
+
5
+ [Changed]
6
+
7
+ - Pin Rubocop version to 1.59.0
8
+ - Set TargetRubyVersion to 3.3
9
+
10
+ ## 2.1.0
11
+
12
+ [Changed]
13
+
14
+ - Remove and tweak a few cops
15
+
3
16
  ## 2.0.0
4
17
 
5
18
  [Changed]
data/ruby/default.yml CHANGED
@@ -2,7 +2,7 @@
2
2
  # specify what we *need*
3
3
  AllCops:
4
4
  DisabledByDefault: true
5
- TargetRubyVersion: 3.2
5
+ TargetRubyVersion: 3.3
6
6
  SuggestExtensions: False
7
7
 
8
8
  Layout/AccessModifierIndentation:
@@ -156,6 +156,8 @@ Lint/DuplicateCaseCondition:
156
156
  Enabled: True
157
157
  Lint/DuplicateMagicComment:
158
158
  Enabled: True
159
+ Lint/DuplicateMatchPattern:
160
+ Enabled: True
159
161
  Lint/DuplicateMethods:
160
162
  Enabled: True
161
163
  Lint/DuplicateHashKey:
@@ -189,6 +191,8 @@ Lint/InheritException:
189
191
  EnforcedStyle: standard_error
190
192
  Lint/InterpolationCheck:
191
193
  Enabled: True
194
+ Lint/ItWithoutArgumentsInBlock:
195
+ Enabled: True
192
196
  Lint/LiteralAsCondition:
193
197
  Enabled: True
194
198
  Lint/LiteralInInterpolation:
@@ -197,6 +201,8 @@ Lint/Loop:
197
201
  Enabled: True
198
202
  Lint/MissingSuper:
199
203
  Enabled: True
204
+ Lint/MixedCaseRange:
205
+ Enabled: True
200
206
  Lint/MultipleComparison:
201
207
  Enabled: True
202
208
  Lint/NestedMethodDefinition:
@@ -217,10 +223,14 @@ Lint/PercentSymbolArray:
217
223
  Enabled: True
218
224
  Lint/RandOne:
219
225
  Enabled: True
226
+ Lint/RedundantRegexpQuantifiers:
227
+ Enabled: True
220
228
  Lint/RedundantRequireStatement:
221
229
  Enabled: True
222
230
  Lint/RedundantSplatExpansion:
223
231
  Enabled: True
232
+ Lint/RedundantStringCoercion:
233
+ Enabled: True
224
234
  Lint/RedundantWithIndex:
225
235
  Enabled: True
226
236
  Lint/RedundantWithObject:
@@ -245,8 +255,6 @@ Lint/ShadowedArgument:
245
255
  Enabled: True
246
256
  Lint/ShadowedException:
247
257
  Enabled: True
248
- Lint/RedundantStringCoercion:
249
- Enabled: True
250
258
  Lint/Syntax:
251
259
  Enabled: True
252
260
  Lint/UnderscorePrefixedVariableName:
@@ -304,6 +312,8 @@ Naming/VariableName:
304
312
  Style/Alias:
305
313
  EnforcedStyle: prefer_alias_method
306
314
  Enabled: True
315
+ Style/ArrayFirstLast:
316
+ Enabled: True
307
317
  Style/ArrayIntersect:
308
318
  Enabled: True
309
319
  Style/ArrayJoin:
@@ -330,10 +340,14 @@ Style/ConcatArrayLiterals:
330
340
  Enabled: True
331
341
  Style/ConditionalAssignment:
332
342
  Enabled: True
343
+ Style/DataInheritance:
344
+ Enabled: True
333
345
  Style/DefWithParentheses:
334
346
  Enabled: True
335
347
  Style/Dir:
336
348
  Enabled: True
349
+ Style/DirEmpty:
350
+ Enabled: True
337
351
  Style/EachForSimpleLoop:
338
352
  Enabled: True
339
353
  Style/EachWithObject:
@@ -359,7 +373,9 @@ Style/EnvHome:
359
373
  Enabled: True
360
374
  Style/EvenOdd:
361
375
  Enabled: True
362
- Style/FetchEnvVar:
376
+ Style/ExactRegexpMatc:
377
+ Enabled: True
378
+ Style/FileEmpty:
363
379
  Enabled: True
364
380
  Style/FileRead:
365
381
  Enabled: True
@@ -371,6 +387,7 @@ Style/GlobalVars:
371
387
  Enabled: True
372
388
  Style/HashSyntax:
373
389
  Enabled: True
390
+ EnforcedShorthandSyntax: either
374
391
  Style/IdenticalConditionalBranches:
375
392
  Enabled: True
376
393
  Style/IfInsideElse:
@@ -409,15 +426,12 @@ Style/MinMax:
409
426
  Enabled: True
410
427
  Style/MinMaxComparison:
411
428
  Enabled: True
412
- Style/MissingElse:
413
- Enabled: True
414
429
  Style/MixinGrouping:
415
430
  Enabled: True
416
431
  Style/MixinUsage:
417
432
  Enabled: True
418
433
  Style/ModuleFunction:
419
434
  Enabled: True
420
- EnforcedStyle: extend_self
421
435
  Style/MultilineIfThen:
422
436
  Enabled: True
423
437
  Style/MultilineMemoization:
@@ -470,6 +484,8 @@ Style/RaiseArgs:
470
484
  Enabled: True
471
485
  Style/RandomWithOffset:
472
486
  Enabled: True
487
+ Style/RedundantArrayConstructor:
488
+ Enabled: True
473
489
  Style/RedundantBegin:
474
490
  Enabled: True
475
491
  Style/RedundantCapitalW:
@@ -478,12 +494,16 @@ Style/RedundantConditional:
478
494
  Enabled: True
479
495
  Style/RedundantConstantBase:
480
496
  Enabled: True
497
+ Style/RedundantCurrentDirectoryInPath:
498
+ Enabled: True
481
499
  Style/RedundantDoubleSplatHashBraces:
482
500
  Enabled: True
483
501
  Style/RedundantEach:
484
502
  Enabled: True
485
503
  Style/RedundantException:
486
504
  Enabled: True
505
+ Style/RedundantFilterChain:
506
+ Enabled: True
487
507
  Style/RedundantFreeze:
488
508
  Enabled: True
489
509
  Style/RedundantHeredocDelimiterQuotes:
@@ -492,8 +512,14 @@ Style/RedundantInitialize:
492
512
  Enabled: True
493
513
  Style/RedundantInterpolation:
494
514
  Enabled: True
515
+ Style/RedundantLineContinuation:
516
+ Enabled: True
495
517
  Style/RedundantParentheses:
496
518
  Enabled: True
519
+ Style/RedundantRegexpArgument:
520
+ Enabled: True
521
+ Style/RedundantRegexpConstructor:
522
+ Enabled: True
497
523
  Style/RedundantReturn:
498
524
  Enabled: True
499
525
  Style/RedundantSelf:
@@ -507,12 +533,16 @@ Style/RescueStandardError:
507
533
  EnforcedStyle: implicit
508
534
  Style/ReturnNil:
509
535
  Enabled: True
536
+ Style/ReturnNilInPredicateMethodDefinition:
537
+ Enabled: True
510
538
  Style/SelectByRegexp:
511
539
  Enabled: True
512
540
  Style/SelfAssignment:
513
541
  Enabled: True
514
542
  Style/Semicolon:
515
543
  Enabled: True
544
+ Style/SingleLineDoEndBlock:
545
+ Enabled: True
516
546
  Style/SingleLineMethods:
517
547
  Enabled: True
518
548
  Style/StabbyLambdaParentheses:
@@ -525,6 +555,8 @@ Style/StringLiteralsInInterpolation:
525
555
  Enabled: False
526
556
  Style/StringMethods:
527
557
  Enabled: True
558
+ Style/SuperWithArgsParentheses:
559
+ Enabled: True
528
560
  Style/SymbolLiteral:
529
561
  Enabled: True
530
562
  Style/SymbolProc:
@@ -543,6 +575,8 @@ Style/WhileUntilDo:
543
575
  Enabled: True
544
576
  Style/WhileUntilModifier:
545
577
  Enabled: True
578
+ Style/YAMLFileRead:
579
+ Enabled: True
546
580
  Style/YodaCondition:
547
581
  Enabled: True
548
582
  Style/YodaExpression:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wetransfer_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Horak
@@ -17,7 +17,7 @@ authors:
17
17
  autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
- date: 2023-02-16 00:00:00.000000000 Z
20
+ date: 2024-01-11 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: rubocop
@@ -25,14 +25,14 @@ dependencies:
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.45.1
28
+ version: 1.59.0
29
29
  type: :runtime
30
30
  prerelease: false
31
31
  version_requirements: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 1.45.1
35
+ version: 1.59.0
36
36
  description: At WeTransfer we code in style. This is our style.
37
37
  email: developers@wetransfer.com
38
38
  executables: []