wetransfer_style 2.1.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 +7 -0
  3. data/ruby/default.yml +41 -3
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 566ddcd007db7b688f8eaf71a345e2eac031345d21f7747287486e4b5053ae17
4
- data.tar.gz: 7fd1de0bd7235225084dd261f95d965809332ae81b51f53f6a999aab39b464c1
3
+ metadata.gz: be750b4c4b2010f115d5d07f3e7690199c05446f60c1b1d11f483f62e7eccd2c
4
+ data.tar.gz: ce1d7d210047515f434ce3ca2a8e54239ebd8883715d64aad164526e9171595a
5
5
  SHA512:
6
- metadata.gz: b9c311f7b2e3e1f9593c2d34865c9a00266fa1cede092e9e8d62b9a72f6823095309cf64c095fbff33d8ce554b5a3c9bd318e91578e57ff3adb29e715082f67b
7
- data.tar.gz: 84e13e428fb818adfed3d5b0e2d9893e0e4da50375624cbc0e247bc5b06a02515294590b2bf2592401b82a37d5885b3d6ad3d2eb9d0924b83783f711507d0b20
6
+ metadata.gz: aedca7da2cdd6d2b45fd4d8f3bd613e019ae812a66fbf11413d5fa50b6342d7414f6369348ac69f3b9a56ce7845f119b71f44c90e61d53b12037c4850c0be17b
7
+ data.tar.gz: 8905a5a51d1f1866f1c8daae875c9a928761af8f5537c3ef04f0bbcbecf83a0b859a234243aad114092963e7378f4d9b5a7ee310ee9350065fd35883c2e2bd4f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
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
+
3
10
  ## 2.1.0
4
11
 
5
12
  [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,6 +373,10 @@ Style/EnvHome:
359
373
  Enabled: True
360
374
  Style/EvenOdd:
361
375
  Enabled: True
376
+ Style/ExactRegexpMatc:
377
+ Enabled: True
378
+ Style/FileEmpty:
379
+ Enabled: True
362
380
  Style/FileRead:
363
381
  Enabled: True
364
382
  Style/FileWrite:
@@ -466,6 +484,8 @@ Style/RaiseArgs:
466
484
  Enabled: True
467
485
  Style/RandomWithOffset:
468
486
  Enabled: True
487
+ Style/RedundantArrayConstructor:
488
+ Enabled: True
469
489
  Style/RedundantBegin:
470
490
  Enabled: True
471
491
  Style/RedundantCapitalW:
@@ -474,12 +494,16 @@ Style/RedundantConditional:
474
494
  Enabled: True
475
495
  Style/RedundantConstantBase:
476
496
  Enabled: True
497
+ Style/RedundantCurrentDirectoryInPath:
498
+ Enabled: True
477
499
  Style/RedundantDoubleSplatHashBraces:
478
500
  Enabled: True
479
501
  Style/RedundantEach:
480
502
  Enabled: True
481
503
  Style/RedundantException:
482
504
  Enabled: True
505
+ Style/RedundantFilterChain:
506
+ Enabled: True
483
507
  Style/RedundantFreeze:
484
508
  Enabled: True
485
509
  Style/RedundantHeredocDelimiterQuotes:
@@ -488,8 +512,14 @@ Style/RedundantInitialize:
488
512
  Enabled: True
489
513
  Style/RedundantInterpolation:
490
514
  Enabled: True
515
+ Style/RedundantLineContinuation:
516
+ Enabled: True
491
517
  Style/RedundantParentheses:
492
518
  Enabled: True
519
+ Style/RedundantRegexpArgument:
520
+ Enabled: True
521
+ Style/RedundantRegexpConstructor:
522
+ Enabled: True
493
523
  Style/RedundantReturn:
494
524
  Enabled: True
495
525
  Style/RedundantSelf:
@@ -503,12 +533,16 @@ Style/RescueStandardError:
503
533
  EnforcedStyle: implicit
504
534
  Style/ReturnNil:
505
535
  Enabled: True
536
+ Style/ReturnNilInPredicateMethodDefinition:
537
+ Enabled: True
506
538
  Style/SelectByRegexp:
507
539
  Enabled: True
508
540
  Style/SelfAssignment:
509
541
  Enabled: True
510
542
  Style/Semicolon:
511
543
  Enabled: True
544
+ Style/SingleLineDoEndBlock:
545
+ Enabled: True
512
546
  Style/SingleLineMethods:
513
547
  Enabled: True
514
548
  Style/StabbyLambdaParentheses:
@@ -521,6 +555,8 @@ Style/StringLiteralsInInterpolation:
521
555
  Enabled: False
522
556
  Style/StringMethods:
523
557
  Enabled: True
558
+ Style/SuperWithArgsParentheses:
559
+ Enabled: True
524
560
  Style/SymbolLiteral:
525
561
  Enabled: True
526
562
  Style/SymbolProc:
@@ -539,6 +575,8 @@ Style/WhileUntilDo:
539
575
  Enabled: True
540
576
  Style/WhileUntilModifier:
541
577
  Enabled: True
578
+ Style/YAMLFileRead:
579
+ Enabled: True
542
580
  Style/YodaCondition:
543
581
  Enabled: True
544
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.1.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: []