wetransfer_style 2.1.0 → 3.0.1

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 -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: 9d8780b282ee2552a1eeab6adabe5282f11db027c935fca1507a87f0367404ac
4
+ data.tar.gz: 5375deaac1251c4d3e89b3c303ca019993368fb09a5b06f9452fb26b04a16d2d
5
5
  SHA512:
6
- metadata.gz: b9c311f7b2e3e1f9593c2d34865c9a00266fa1cede092e9e8d62b9a72f6823095309cf64c095fbff33d8ce554b5a3c9bd318e91578e57ff3adb29e715082f67b
7
- data.tar.gz: 84e13e428fb818adfed3d5b0e2d9893e0e4da50375624cbc0e247bc5b06a02515294590b2bf2592401b82a37d5885b3d6ad3d2eb9d0924b83783f711507d0b20
6
+ metadata.gz: e9c4b1bc8dc173e5661226464dbbdc80e2c69694685f5d19cf465e93569fd43165708cfd35042d64dea639879c995c18d588254782ef28a5544cc779423ad25c
7
+ data.tar.gz: c28dbb87e0e453ab0c6343380f3ee4d349d6475e5663f0164952b4d6bc978b55bd23f9c4158713d756c248aa17e51e1db047cd6b05791e72d0512d0b0bf42ce5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.1
4
+
5
+ [Changed]
6
+
7
+ - Fix Style/ExactRegexpMatch
8
+
9
+ ## 3.0.0
10
+
11
+ [Changed]
12
+
13
+ - Pin Rubocop version to 1.59.0
14
+ - Set TargetRubyVersion to 3.3
15
+
3
16
  ## 2.1.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,6 +373,10 @@ Style/EnvHome:
359
373
  Enabled: True
360
374
  Style/EvenOdd:
361
375
  Enabled: True
376
+ Style/ExactRegexpMatch:
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.1
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: []