wetransfer_style 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/ruby/default.yml +79 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b9db2f5338afed84e56fb76b5bd6df8216746e8393732a1e85b86913c608227
|
4
|
+
data.tar.gz: b7b491308376facb7338d09189ae46ad2e1b3735431d7a6a7aabb1a7e785983e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3db2b0f1711ab01c235e327c519e1b76df4fadb8cff543d00f21fc7930144344246966b458c0d2599d9e724287481b432496c1c0a142a9d849d701f9376c1308
|
7
|
+
data.tar.gz: 139f56a13613d47431243b4adb1eec1030debd6aa977f00e2991c9cae6d615fef02e3baaa0afc7621df4c951981f7d1109a7aac6d1ef8e0936f943919d04f2b3
|
data/CHANGELOG.md
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.
|
5
|
+
TargetRubyVersion: 3.2
|
6
6
|
SuggestExtensions: False
|
7
7
|
|
8
8
|
Layout/AccessModifierIndentation:
|
@@ -67,12 +67,18 @@ Layout/HashAlignment:
|
|
67
67
|
Enabled: True
|
68
68
|
Layout/LeadingCommentSpace:
|
69
69
|
Enabled: True
|
70
|
+
Layout/LineContinuationLeadingSpace:
|
71
|
+
Enabled: True
|
72
|
+
Layout/LineContinuationSpacing:
|
73
|
+
Enabled: True
|
70
74
|
Layout/MultilineArrayBraceLayout:
|
71
75
|
Enabled: True
|
72
76
|
Layout/MultilineBlockLayout:
|
73
77
|
Enabled: True
|
74
78
|
Layout/MultilineHashBraceLayout:
|
75
79
|
Enabled: True
|
80
|
+
Layout/MultilineMethodParameterLineBreaks:
|
81
|
+
Enabled: True
|
76
82
|
Layout/MultilineOperationIndentation:
|
77
83
|
Enabled: True
|
78
84
|
Layout/ParameterAlignment:
|
@@ -131,6 +137,7 @@ Layout/TrailingEmptyLines:
|
|
131
137
|
Enabled: True
|
132
138
|
Layout/TrailingWhitespace:
|
133
139
|
Enabled: True
|
140
|
+
|
134
141
|
Lint/AmbiguousBlockAssociation:
|
135
142
|
Enabled: True
|
136
143
|
Lint/AmbiguousRegexpLiteral:
|
@@ -139,12 +146,16 @@ Lint/BooleanSymbol:
|
|
139
146
|
Enabled: True
|
140
147
|
Lint/CircularArgumentReference:
|
141
148
|
Enabled: True
|
149
|
+
Lint/ConstantOverwrittenInRescue:
|
150
|
+
Enabled: True
|
142
151
|
Lint/Debugger:
|
143
152
|
Enabled: True
|
144
153
|
Lint/DeprecatedClassMethods:
|
145
154
|
Enabled: True
|
146
155
|
Lint/DuplicateCaseCondition:
|
147
156
|
Enabled: True
|
157
|
+
Lint/DuplicateMagicComment:
|
158
|
+
Enabled: True
|
148
159
|
Lint/DuplicateMethods:
|
149
160
|
Enabled: True
|
150
161
|
Lint/DuplicateHashKey:
|
@@ -194,6 +205,8 @@ Lint/NestedPercentLiteral:
|
|
194
205
|
Enabled: True
|
195
206
|
Lint/NextWithoutAccumulator:
|
196
207
|
Enabled: True
|
208
|
+
Lint/NonAtomicFileOperation:
|
209
|
+
Enabled: True
|
197
210
|
Lint/NonLocalExitFromIterator:
|
198
211
|
Enabled: True
|
199
212
|
Lint/ParenthesesAsGroupedExpression:
|
@@ -212,10 +225,14 @@ Lint/RedundantWithIndex:
|
|
212
225
|
Enabled: True
|
213
226
|
Lint/RedundantWithObject:
|
214
227
|
Enabled: True
|
228
|
+
Lint/RefinementImportMethods:
|
229
|
+
Enabled: True
|
215
230
|
Lint/RegexpAsCondition:
|
216
231
|
Enabled: True
|
217
232
|
Lint/RequireParentheses:
|
218
233
|
Enabled: True
|
234
|
+
Lint/RequireRangeParentheses:
|
235
|
+
Enabled: True
|
219
236
|
Lint/RescueException:
|
220
237
|
Enabled: True
|
221
238
|
Lint/RescueType:
|
@@ -250,9 +267,11 @@ Lint/UselessAccessModifier:
|
|
250
267
|
Enabled: True
|
251
268
|
Lint/UselessAssignment:
|
252
269
|
Enabled: True
|
270
|
+
Lint/UselessRuby2Keywords:
|
271
|
+
Enabled: True
|
253
272
|
Lint/BinaryOperatorWithIdenticalOperands:
|
254
273
|
Enabled: True
|
255
|
-
Lint/
|
274
|
+
Lint/UselessRescue:
|
256
275
|
Enabled: True
|
257
276
|
Lint/UselessSetterCall:
|
258
277
|
Enabled: True
|
@@ -263,6 +282,8 @@ Naming/AccessorMethodName:
|
|
263
282
|
Enabled: True
|
264
283
|
Naming/BinaryOperatorParameterName:
|
265
284
|
Enabled: True
|
285
|
+
Naming/BlockForwarding:
|
286
|
+
Enabled: True
|
266
287
|
Naming/ClassAndModuleCamelCase:
|
267
288
|
Enabled: True
|
268
289
|
Naming/ConstantName:
|
@@ -283,6 +304,8 @@ Naming/VariableName:
|
|
283
304
|
Style/Alias:
|
284
305
|
EnforcedStyle: prefer_alias_method
|
285
306
|
Enabled: True
|
307
|
+
Style/ArrayIntersect:
|
308
|
+
Enabled: True
|
286
309
|
Style/ArrayJoin:
|
287
310
|
Enabled: True
|
288
311
|
Style/BeginBlock:
|
@@ -295,12 +318,16 @@ Style/CharacterLiteral:
|
|
295
318
|
Enabled: True
|
296
319
|
Style/ClassMethods:
|
297
320
|
Enabled: True
|
321
|
+
Style/ComparableClamp:
|
322
|
+
Enabled: True
|
298
323
|
Style/ColonMethodCall:
|
299
324
|
Enabled: True
|
300
325
|
Style/ColonMethodDefinition:
|
301
326
|
Enabled: True
|
302
327
|
Style/CommentAnnotation:
|
303
328
|
Enabled: True
|
329
|
+
Style/ConcatArrayLiterals:
|
330
|
+
Enabled: True
|
304
331
|
Style/ConditionalAssignment:
|
305
332
|
Enabled: True
|
306
333
|
Style/DefWithParentheses:
|
@@ -318,6 +345,8 @@ Style/EmptyCaseCondition:
|
|
318
345
|
Style/EmptyElse:
|
319
346
|
Enabled: True
|
320
347
|
EnforcedStyle: empty
|
348
|
+
Style/EmptyHeredoc:
|
349
|
+
Enabled: True
|
321
350
|
Style/EmptyLambdaParameter:
|
322
351
|
Enabled: True
|
323
352
|
Style/EmptyLiteral:
|
@@ -326,8 +355,16 @@ Style/Encoding:
|
|
326
355
|
Enabled: True
|
327
356
|
Style/EndBlock:
|
328
357
|
Enabled: True
|
358
|
+
Style/EnvHome:
|
359
|
+
Enabled: True
|
329
360
|
Style/EvenOdd:
|
330
361
|
Enabled: True
|
362
|
+
Style/FetchEnvVar:
|
363
|
+
Enabled: True
|
364
|
+
Style/FileRead:
|
365
|
+
Enabled: True
|
366
|
+
Style/FileWrite:
|
367
|
+
Enabled: True
|
331
368
|
Style/For:
|
332
369
|
Enabled: True
|
333
370
|
Style/GlobalVars:
|
@@ -348,10 +385,20 @@ Style/InfiniteLoop:
|
|
348
385
|
Enabled: True
|
349
386
|
Style/InverseMethods:
|
350
387
|
Enabled: True
|
388
|
+
Style/InvertibleUnlessCondition:
|
389
|
+
Enabled: True
|
351
390
|
Style/LambdaCall:
|
352
391
|
Enabled: True
|
353
392
|
Style/LineEndConcatenation:
|
354
393
|
Enabled: True
|
394
|
+
Style/MagicCommentFormat:
|
395
|
+
Enabled: True
|
396
|
+
Style/MapCompactWithConditionalBlock:
|
397
|
+
Enabled: True
|
398
|
+
Style/MapToHash:
|
399
|
+
Enabled: True
|
400
|
+
Style/MapToSet:
|
401
|
+
Enabled: True
|
355
402
|
Style/MethodCallWithoutArgsParentheses:
|
356
403
|
Enabled: True
|
357
404
|
Style/MethodDefParentheses:
|
@@ -360,6 +407,10 @@ Style/MissingRespondToMissing:
|
|
360
407
|
Enabled: True
|
361
408
|
Style/MinMax:
|
362
409
|
Enabled: True
|
410
|
+
Style/MinMaxComparison:
|
411
|
+
Enabled: True
|
412
|
+
Style/MissingElse:
|
413
|
+
Enabled: True
|
363
414
|
Style/MixinGrouping:
|
364
415
|
Enabled: True
|
365
416
|
Style/MixinUsage:
|
@@ -379,6 +430,8 @@ Style/NegatedIf:
|
|
379
430
|
Enabled: True
|
380
431
|
Style/NegatedWhile:
|
381
432
|
Enabled: True
|
433
|
+
Style/NestedFileDirname:
|
434
|
+
Enabled: True
|
382
435
|
Style/NestedModifier:
|
383
436
|
Enabled: True
|
384
437
|
Style/NestedParenthesizedCalls:
|
@@ -393,8 +446,14 @@ Style/NonNilCheck:
|
|
393
446
|
Enabled: True
|
394
447
|
Style/Not:
|
395
448
|
Enabled: True
|
449
|
+
Style/ObjectThen:
|
450
|
+
Enabled: True
|
396
451
|
Style/OneLineConditional:
|
397
452
|
Enabled: True
|
453
|
+
Style/OpenStructUse:
|
454
|
+
Enabled: True
|
455
|
+
Style/OperatorMethodCall:
|
456
|
+
Enabled: True
|
398
457
|
Style/OptionHash:
|
399
458
|
Enabled: True
|
400
459
|
Style/OptionalArguments:
|
@@ -417,10 +476,20 @@ Style/RedundantCapitalW:
|
|
417
476
|
Enabled: True
|
418
477
|
Style/RedundantConditional:
|
419
478
|
Enabled: True
|
479
|
+
Style/RedundantConstantBase:
|
480
|
+
Enabled: True
|
481
|
+
Style/RedundantDoubleSplatHashBraces:
|
482
|
+
Enabled: True
|
483
|
+
Style/RedundantEach:
|
484
|
+
Enabled: True
|
420
485
|
Style/RedundantException:
|
421
486
|
Enabled: True
|
422
487
|
Style/RedundantFreeze:
|
423
488
|
Enabled: True
|
489
|
+
Style/RedundantHeredocDelimiterQuotes:
|
490
|
+
Enabled: True
|
491
|
+
Style/RedundantInitialize:
|
492
|
+
Enabled: True
|
424
493
|
Style/RedundantInterpolation:
|
425
494
|
Enabled: True
|
426
495
|
Style/RedundantParentheses:
|
@@ -429,11 +498,17 @@ Style/RedundantReturn:
|
|
429
498
|
Enabled: True
|
430
499
|
Style/RedundantSelf:
|
431
500
|
Enabled: True
|
501
|
+
Style/RedundantStringEscape:
|
502
|
+
Enabled: True
|
503
|
+
Style/RequireOrder:
|
504
|
+
Enabled: True
|
432
505
|
Style/RescueStandardError:
|
433
506
|
Enabled: True
|
434
507
|
EnforcedStyle: implicit
|
435
508
|
Style/ReturnNil:
|
436
509
|
Enabled: True
|
510
|
+
Style/SelectByRegexp:
|
511
|
+
Enabled: True
|
437
512
|
Style/SelfAssignment:
|
438
513
|
Enabled: True
|
439
514
|
Style/Semicolon:
|
@@ -470,3 +545,5 @@ Style/WhileUntilModifier:
|
|
470
545
|
Enabled: True
|
471
546
|
Style/YodaCondition:
|
472
547
|
Enabled: True
|
548
|
+
Style/YodaExpression:
|
549
|
+
Enabled: True
|
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:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrei Horak
|
@@ -14,10 +14,10 @@ authors:
|
|
14
14
|
- Lorenzo Grandi
|
15
15
|
- Tors Dalid
|
16
16
|
- grdw
|
17
|
-
autorequire:
|
17
|
+
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date:
|
20
|
+
date: 2023-02-16 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.
|
28
|
+
version: 1.45.1
|
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.
|
35
|
+
version: 1.45.1
|
36
36
|
description: At WeTransfer we code in style. This is our style.
|
37
37
|
email: developers@wetransfer.com
|
38
38
|
executables: []
|
@@ -50,7 +50,7 @@ metadata:
|
|
50
50
|
homepage_uri: https://github.com/WeTransfer/wetransfer_style
|
51
51
|
changelog_uri: https://github.com/WeTransfer/wetransfer_style/blob/master/CHANGELOG.md
|
52
52
|
source_code_uri: https://github.com/WeTransfer/wetransfer_style
|
53
|
-
post_install_message:
|
53
|
+
post_install_message:
|
54
54
|
rdoc_options: []
|
55
55
|
require_paths:
|
56
56
|
- lib
|
@@ -65,8 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
|
-
rubygems_version: 3.
|
69
|
-
signing_key:
|
68
|
+
rubygems_version: 3.4.1
|
69
|
+
signing_key:
|
70
70
|
specification_version: 4
|
71
71
|
summary: At WeTransfer we code in style. This is our style.
|
72
72
|
test_files: []
|