wetransfer_style 0.8.0 → 1.0.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 +10 -23
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c61d38a3aadcdd9d2a165fffcaa16274cde56aa33bb7459de017bbd078e687c6
4
- data.tar.gz: 6c5ddc6b63fbf5aa5d59935d951d1b06212c2af34ca661486c125a7b6f5ff10a
3
+ metadata.gz: c017c33d503c26b47289f3af10204ef281b05ea8b1bddbf295b12c4b27f7dc24
4
+ data.tar.gz: 98c75c0392f1c17da275d5c0a6e5f63270c488406542a4b3e5b38a55e5e5b867
5
5
  SHA512:
6
- metadata.gz: 1e9d395b9396de5de515fe25776cd11c862bb1410b54af1696c3dabd6eef413a42b03ecb192b9e6799a049d5b181c3fb6dc690341ed192569140c4bbb8179a2d
7
- data.tar.gz: 89916f75a7f722d53f6ca318491b42193b367a6f97a12e7a9afa0b0107bfec4870693fc4ebe6c37dccb3ecafacc2bedb2b10346250a6d36516fa92c253807b8a
6
+ metadata.gz: 6f88b29438e8cdcf6da1b823f797c3ce4668b3cdd2bed49d6b6a49d432f3072eb121dc8da1ba4ab9f74134c78d4cbee59c184733aa2d665ea35c05fe877adb4c
7
+ data.tar.gz: d3321f0bdec11f26594460e3cc835c7d769f7ed21670ea8588da04aad5719dfde4884ab93dc701ba77dc5281e69381eafd148f98e64b2df0c170f96eff520f22
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0
4
+
5
+ [Changed]
6
+
7
+ - Pin Rubocop version to 1.22.1
8
+ - Set TargetRubyVersion to 3.0
9
+
3
10
  ## 0.8.0
4
11
 
5
12
  [Changed]
data/ruby/default.yml CHANGED
@@ -2,7 +2,8 @@
2
2
  # specify what we *need*
3
3
  AllCops:
4
4
  DisabledByDefault: true
5
- TargetRubyVersion: 2.7
5
+ TargetRubyVersion: 3.0
6
+ SuggestExtensions: False
6
7
 
7
8
  Layout/AccessModifierIndentation:
8
9
  Enabled: True
@@ -18,9 +19,6 @@ Layout/ClosingParenthesisIndentation:
18
19
  Enabled: True
19
20
  Layout/CommentIndentation:
20
21
  Enabled: True
21
- # TODO: This is not working as expected, as of rubocop 0.52.0
22
- # Layout/ElseAlignment:
23
- # Enabled: True
24
22
  Layout/EmptyLineAfterMagicComment:
25
23
  Enabled: True
26
24
  Layout/EmptyLineBetweenDefs:
@@ -54,7 +52,7 @@ Layout/FirstHashElementIndentation:
54
52
  Layout/FirstHashElementLineBreak:
55
53
  Enabled: True
56
54
  Layout/FirstMethodArgumentLineBreak:
57
- Enabled: True
55
+ Enabled: False
58
56
  Layout/FirstMethodParameterLineBreak:
59
57
  Enabled: True
60
58
  Layout/FirstParameterIndentation:
@@ -63,9 +61,6 @@ Layout/HeredocIndentation:
63
61
  Enabled: True
64
62
  Layout/IndentationConsistency:
65
63
  Enabled: True
66
- # TODO: This is not working as expected, as of rubocop 0.52.0
67
- # Layout/IndentationWidth:
68
- # Enabled: True
69
64
  Layout/InitialIndentation:
70
65
  Enabled: True
71
66
  Layout/HashAlignment:
@@ -130,7 +125,7 @@ Layout/SpaceInsideReferenceBrackets:
130
125
  Enabled: True
131
126
  Layout/SpaceInsideStringInterpolation:
132
127
  Enabled: True
133
- Layout/Tab:
128
+ Layout/IndentationStyle:
134
129
  Enabled: True
135
130
  Layout/TrailingEmptyLines:
136
131
  Enabled: True
@@ -166,11 +161,6 @@ Lint/EmptyInterpolation:
166
161
  Enabled: True
167
162
  Lint/EmptyWhen:
168
163
  Enabled: True
169
- # TODO: This is not working as expected, as of rubocop 0.52.0
170
- # Lint/EndAlignment:
171
- # EnforcedStyleAlignWith: start_of_line
172
- Lint/EndInMethod:
173
- Enabled: True
174
164
  Lint/EnsureReturn:
175
165
  Enabled: True
176
166
  Lint/FlipFlop:
@@ -194,6 +184,8 @@ Lint/LiteralInInterpolation:
194
184
  Enabled: True
195
185
  Lint/Loop:
196
186
  Enabled: True
187
+ Lint/MissingSuper:
188
+ Enabled: True
197
189
  Lint/MultipleComparison:
198
190
  Enabled: True
199
191
  Lint/NestedMethodDefinition:
@@ -249,7 +241,7 @@ Lint/UnreachableCode:
249
241
  Lint/UnusedBlockArgument:
250
242
  Enabled: True
251
243
  Lint/UnusedMethodArgument:
252
- Enabled: True
244
+ Enabled: False
253
245
  Lint/UriEscapeUnescape:
254
246
  Enabled: True
255
247
  Lint/UriRegexp:
@@ -258,7 +250,7 @@ Lint/UselessAccessModifier:
258
250
  Enabled: True
259
251
  Lint/UselessAssignment:
260
252
  Enabled: True
261
- Lint/UselessComparison:
253
+ Lint/BinaryOperatorWithIdenticalOperands:
262
254
  Enabled: True
263
255
  Lint/UselessElseWithoutRescue:
264
256
  Enabled: True
@@ -280,9 +272,9 @@ Naming/FileName:
280
272
  Naming/HeredocDelimiterCase:
281
273
  Enabled: True
282
274
  Naming/HeredocDelimiterNaming:
283
- Enabled: True
275
+ Enabled: False
284
276
  Naming/MethodName:
285
- Enabled: True
277
+ Enabled: False
286
278
  Naming/PredicateName:
287
279
  Enabled: True
288
280
  Naming/VariableName:
@@ -297,9 +289,6 @@ Style/BeginBlock:
297
289
  Enabled: True
298
290
  Style/BlockComments:
299
291
  Enabled: True
300
- Style/BracesAroundHashParameters:
301
- Enabled: True
302
- EnforcedStyle: context_dependent
303
292
  Style/CaseEquality:
304
293
  Enabled: True
305
294
  Style/CharacterLiteral:
@@ -367,8 +356,6 @@ Style/MethodCallWithoutArgsParentheses:
367
356
  Enabled: True
368
357
  Style/MethodDefParentheses:
369
358
  Enabled: True
370
- Style/MethodMissingSuper:
371
- Enabled: True
372
359
  Style/MissingRespondToMissing:
373
360
  Enabled: True
374
361
  Style/MinMax:
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.8.0
4
+ version: 1.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: 2021-07-19 00:00:00.000000000 Z
20
+ date: 2021-10-04 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: 0.79.0
28
+ version: 1.22.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: 0.79.0
35
+ version: 1.22.1
36
36
  description: At WeTransfer we code in style. This is our style.
37
37
  email: developers@wetransfer.com
38
38
  executables: []
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.1.6
68
+ rubygems_version: 3.0.3
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: At WeTransfer we code in style. This is our style.