wetransfer_style 0.6.5 → 0.7.0

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/ruby/default.yml +26 -26
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43160f8f934d57db928c490b48461ca11f769a2f41cbbb952b7a919cb0d02f6f
4
- data.tar.gz: 685524bd919569f7f4034c92e22a89c8063210018cc0eb354fd0a3033ce90322
3
+ metadata.gz: 4871d3cdd3bceb73c80e49d3fdaf7150e3ecb0c6c31c6fd711a5510ec857a63a
4
+ data.tar.gz: f4aba4ec3aee7fa9a9035635a675d386bb54e0caa79990ac1877d054d800dd34
5
5
  SHA512:
6
- metadata.gz: be1449bf1f5fcc838aad12e30d2ed936f1a2f42725c42eb8f11a7f149e016e0565fc49f97fd4ad6456f96dbb0a0d215fcdb06398bb3f561de903139661279aa8
7
- data.tar.gz: 748ebe76da36103d0bdb8e47a55988aca6041b5f164de687201357054e5da78ff3e79dd7503f732510a0475519df7dc75dcb6d6e2bf3d3e2ce6680459fe2a7bd
6
+ metadata.gz: af9e5103013b69fabfee70f3d8e7f678061dfd4428fd3d01e1f030164e74c7b26b5fd49e3d84d550f6cbbe64c66cbd7385a5536a950f786b32bbec0cd3162ede
7
+ data.tar.gz: 80cf828624b13e0162928d3c9e9c7f3e1c61bb3627258a69920b92ccfb5e2c844445917b4fe1418d54be6adf74a5632cd20fa151efe3461421915e016ca67fba
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.0
4
+
5
+ [Changed]
6
+
7
+ - Pin Rubocop version to 0.79.0
8
+ - Updated necessary linters' names.
9
+
3
10
  ## 0.6.5
4
11
 
5
12
  [Changed]
@@ -2,15 +2,13 @@
2
2
  # specify what we *need*
3
3
  AllCops:
4
4
  DisabledByDefault: true
5
- TargetRubyVersion: 2.3
5
+ TargetRubyVersion: 2.7
6
6
 
7
7
  Layout/AccessModifierIndentation:
8
8
  Enabled: True
9
- Layout/AlignArray:
9
+ Layout/ArrayAlignment:
10
10
  Enabled: True
11
- Layout/AlignHash:
12
- Enabled: True
13
- Layout/AlignParameters:
11
+ Layout/AssignmentIndentation:
14
12
  Enabled: True
15
13
  Layout/BlockEndNewline:
16
14
  Enabled: True
@@ -45,8 +43,14 @@ Layout/EmptyLinesAroundMethodBody:
45
43
  Enabled: True
46
44
  Layout/EndOfLine:
47
45
  Enabled: True
46
+ Layout/FirstArrayElementIndentation:
47
+ Enabled: True
48
+ EnforcedStyle: consistent
48
49
  Layout/FirstArrayElementLineBreak:
49
50
  Enabled: True
51
+ Layout/FirstHashElementIndentation:
52
+ Enabled: True
53
+ EnforcedStyle: consistent
50
54
  Layout/FirstHashElementLineBreak:
51
55
  Enabled: True
52
56
  Layout/FirstMethodArgumentLineBreak:
@@ -55,15 +59,7 @@ Layout/FirstMethodParameterLineBreak:
55
59
  Enabled: True
56
60
  Layout/FirstParameterIndentation:
57
61
  Enabled: True
58
- Layout/IndentArray:
59
- Enabled: True
60
- EnforcedStyle: consistent
61
- Layout/IndentAssignment:
62
- Enabled: True
63
- Layout/IndentHash:
64
- Enabled: True
65
- EnforcedStyle: consistent
66
- Layout/IndentHeredoc:
62
+ Layout/HeredocIndentation:
67
63
  Enabled: True
68
64
  Layout/IndentationConsistency:
69
65
  Enabled: True
@@ -72,6 +68,8 @@ Layout/IndentationConsistency:
72
68
  # Enabled: True
73
69
  Layout/InitialIndentation:
74
70
  Enabled: True
71
+ Layout/HashAlignment:
72
+ Enabled: True
75
73
  Layout/LeadingCommentSpace:
76
74
  Enabled: True
77
75
  Layout/MultilineArrayBraceLayout:
@@ -82,6 +80,8 @@ Layout/MultilineHashBraceLayout:
82
80
  Enabled: True
83
81
  Layout/MultilineOperationIndentation:
84
82
  Enabled: True
83
+ Layout/ParameterAlignment:
84
+ Enabled: True
85
85
  Layout/RescueEnsureAlignment:
86
86
  Enabled: True
87
87
  Layout/SpaceAfterColon:
@@ -132,7 +132,7 @@ Layout/SpaceInsideStringInterpolation:
132
132
  Enabled: True
133
133
  Layout/Tab:
134
134
  Enabled: True
135
- Layout/TrailingBlankLines:
135
+ Layout/TrailingEmptyLines:
136
136
  Enabled: True
137
137
  Layout/TrailingWhitespace:
138
138
  Enabled: True
@@ -152,7 +152,7 @@ Lint/DuplicateCaseCondition:
152
152
  Enabled: True
153
153
  Lint/DuplicateMethods:
154
154
  Enabled: True
155
- Lint/DuplicatedKey:
155
+ Lint/DuplicateHashKey:
156
156
  Enabled: True
157
157
  Lint/EachWithObjectArgument:
158
158
  Enabled: True
@@ -194,7 +194,7 @@ Lint/LiteralInInterpolation:
194
194
  Enabled: True
195
195
  Lint/Loop:
196
196
  Enabled: True
197
- Lint/MultipleCompare:
197
+ Lint/MultipleComparison:
198
198
  Enabled: True
199
199
  Lint/NestedMethodDefinition:
200
200
  Enabled: True
@@ -212,6 +212,10 @@ Lint/PercentSymbolArray:
212
212
  Enabled: True
213
213
  Lint/RandOne:
214
214
  Enabled: True
215
+ Lint/RedundantRequireStatement:
216
+ Enabled: True
217
+ Lint/RedundantSplatExpansion:
218
+ Enabled: True
215
219
  Lint/RedundantWithIndex:
216
220
  Enabled: True
217
221
  Lint/RedundantWithObject:
@@ -232,7 +236,7 @@ Lint/ShadowedArgument:
232
236
  Enabled: True
233
237
  Lint/ShadowedException:
234
238
  Enabled: True
235
- Lint/StringConversionInInterpolation:
239
+ Lint/RedundantStringCoercion:
236
240
  Enabled: True
237
241
  Lint/Syntax:
238
242
  Enabled: True
@@ -240,10 +244,6 @@ Lint/UnderscorePrefixedVariableName:
240
244
  Enabled: True
241
245
  Lint/UnifiedInteger:
242
246
  Enabled: True
243
- Lint/UnneededRequireStatement:
244
- Enabled: True
245
- Lint/UnneededSplatExpansion:
246
- Enabled: True
247
247
  Lint/UnreachableCode:
248
248
  Enabled: True
249
249
  Lint/UnusedBlockArgument:
@@ -423,12 +423,16 @@ Style/RandomWithOffset:
423
423
  Enabled: True
424
424
  Style/RedundantBegin:
425
425
  Enabled: True
426
+ Style/RedundantCapitalW:
427
+ Enabled: True
426
428
  Style/RedundantConditional:
427
429
  Enabled: True
428
430
  Style/RedundantException:
429
431
  Enabled: True
430
432
  Style/RedundantFreeze:
431
433
  Enabled: True
434
+ Style/RedundantInterpolation:
435
+ Enabled: True
432
436
  Style/RedundantParentheses:
433
437
  Enabled: True
434
438
  Style/RedundantReturn:
@@ -466,10 +470,6 @@ Style/TrailingBodyOnMethodDefinition:
466
470
  Enabled: True
467
471
  Style/TrailingMethodEndStatement:
468
472
  Enabled: True
469
- Style/UnneededCapitalW:
470
- Enabled: True
471
- Style/UnneededInterpolation:
472
- Enabled: True
473
473
  Style/VariableInterpolation:
474
474
  Enabled: True
475
475
  Style/WhenThen:
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: 0.6.5
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Horak
@@ -16,7 +16,7 @@ authors:
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
- date: 2019-08-27 00:00:00.000000000 Z
19
+ date: 2020-01-13 00:00:00.000000000 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rubocop
@@ -24,14 +24,14 @@ dependencies:
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.61.1
27
+ version: 0.79.0
28
28
  type: :runtime
29
29
  prerelease: false
30
30
  version_requirements: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 0.61.1
34
+ version: 0.79.0
35
35
  description: At WeTransfer we code in style. This is our style.
36
36
  email: developers@wetransfer.com
37
37
  executables: []
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  - !ruby/object:Gem::Version
65
65
  version: '0'
66
66
  requirements: []
67
- rubygems_version: 3.0.3
67
+ rubygems_version: 3.1.2
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: At WeTransfer we code in style. This is our style.