wetransfer_style 0.6.3 → 0.8.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 +38 -0
- data/README.md +8 -7
- data/ruby/default.yml +31 -28
- metadata +14 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c61d38a3aadcdd9d2a165fffcaa16274cde56aa33bb7459de017bbd078e687c6
|
4
|
+
data.tar.gz: 6c5ddc6b63fbf5aa5d59935d951d1b06212c2af34ca661486c125a7b6f5ff10a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e9d395b9396de5de515fe25776cd11c862bb1410b54af1696c3dabd6eef413a42b03ecb192b9e6799a049d5b181c3fb6dc690341ed192569140c4bbb8179a2d
|
7
|
+
data.tar.gz: 89916f75a7f722d53f6ca318491b42193b367a6f97a12e7a9afa0b0107bfec4870693fc4ebe6c37dccb3ecafacc2bedb2b10346250a6d36516fa92c253807b8a
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## 0.8.0
|
4
|
+
|
5
|
+
[Changed]
|
6
|
+
|
7
|
+
- Set `EnforcedStyle: extend_self` for `Style/ModuleFunction`
|
8
|
+
|
9
|
+
## 0.7.0
|
10
|
+
|
11
|
+
[Changed]
|
12
|
+
|
13
|
+
- Pin Rubocop version to 0.79.0
|
14
|
+
- Updated necessary linters' names.
|
15
|
+
|
16
|
+
## 0.6.5
|
17
|
+
|
18
|
+
[Changed]
|
19
|
+
|
20
|
+
- Changed Style/FlipFlop to Lint/FlipFlop [PR #13](https://github.com/WeTransfer/wetransfer_style/pull/13)
|
21
|
+
|
22
|
+
## 0.6.4
|
23
|
+
|
24
|
+
[Added]
|
25
|
+
|
26
|
+
- This changelog file
|
27
|
+
- Rubygems metadata in gemspec so other libs can parse this changelog
|
28
|
+
- Homepage and repo-info added to metadata because we can
|
29
|
+
|
30
|
+
[Changed]
|
31
|
+
|
32
|
+
- Pin Rubocop to '0.61.1'
|
33
|
+
|
34
|
+
## 0.6.3
|
35
|
+
|
36
|
+
[Changed]
|
37
|
+
|
38
|
+
- Update Rubocop to '~> 0.61.1'
|
data/README.md
CHANGED
@@ -30,14 +30,15 @@ inherit_gem:
|
|
30
30
|
## Contributing
|
31
31
|
|
32
32
|
Thanks for taking the time to bring our style to the next level. If you aren't a
|
33
|
-
contributor, please follow step 1 through
|
33
|
+
contributor, please follow step 1 through 5. If you are a contributor to the
|
34
34
|
repository, please follow all steps.
|
35
35
|
|
36
36
|
1. (Fork and) Clone this repository
|
37
37
|
2. Make your changes
|
38
|
-
3.
|
39
|
-
4.
|
40
|
-
5.
|
41
|
-
6.
|
42
|
-
7.
|
43
|
-
8.
|
38
|
+
3. Make a concise entry in ./CHANGELOG.md
|
39
|
+
4. Bump the version number
|
40
|
+
5. Create a Pull Request
|
41
|
+
6. Merge the PR on enough approvals
|
42
|
+
7. Pull latest changes on your system
|
43
|
+
8. Build the gem with `gem build wetransfer_style.gemspec`
|
44
|
+
9. Push your changes with `gem push wetransfer_style-x.y.z.gem`
|
data/ruby/default.yml
CHANGED
@@ -2,15 +2,13 @@
|
|
2
2
|
# specify what we *need*
|
3
3
|
AllCops:
|
4
4
|
DisabledByDefault: true
|
5
|
-
TargetRubyVersion: 2.
|
5
|
+
TargetRubyVersion: 2.7
|
6
6
|
|
7
7
|
Layout/AccessModifierIndentation:
|
8
8
|
Enabled: True
|
9
|
-
Layout/
|
9
|
+
Layout/ArrayAlignment:
|
10
10
|
Enabled: True
|
11
|
-
Layout/
|
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/
|
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/
|
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/
|
155
|
+
Lint/DuplicateHashKey:
|
156
156
|
Enabled: True
|
157
157
|
Lint/EachWithObjectArgument:
|
158
158
|
Enabled: True
|
@@ -173,6 +173,8 @@ Lint/EndInMethod:
|
|
173
173
|
Enabled: True
|
174
174
|
Lint/EnsureReturn:
|
175
175
|
Enabled: True
|
176
|
+
Lint/FlipFlop:
|
177
|
+
Enabled: True
|
176
178
|
Lint/FloatOutOfRange:
|
177
179
|
Enabled: True
|
178
180
|
Lint/FormatParameterMismatch:
|
@@ -192,7 +194,7 @@ Lint/LiteralInInterpolation:
|
|
192
194
|
Enabled: True
|
193
195
|
Lint/Loop:
|
194
196
|
Enabled: True
|
195
|
-
Lint/
|
197
|
+
Lint/MultipleComparison:
|
196
198
|
Enabled: True
|
197
199
|
Lint/NestedMethodDefinition:
|
198
200
|
Enabled: True
|
@@ -210,6 +212,10 @@ Lint/PercentSymbolArray:
|
|
210
212
|
Enabled: True
|
211
213
|
Lint/RandOne:
|
212
214
|
Enabled: True
|
215
|
+
Lint/RedundantRequireStatement:
|
216
|
+
Enabled: True
|
217
|
+
Lint/RedundantSplatExpansion:
|
218
|
+
Enabled: True
|
213
219
|
Lint/RedundantWithIndex:
|
214
220
|
Enabled: True
|
215
221
|
Lint/RedundantWithObject:
|
@@ -230,7 +236,7 @@ Lint/ShadowedArgument:
|
|
230
236
|
Enabled: True
|
231
237
|
Lint/ShadowedException:
|
232
238
|
Enabled: True
|
233
|
-
Lint/
|
239
|
+
Lint/RedundantStringCoercion:
|
234
240
|
Enabled: True
|
235
241
|
Lint/Syntax:
|
236
242
|
Enabled: True
|
@@ -238,10 +244,6 @@ Lint/UnderscorePrefixedVariableName:
|
|
238
244
|
Enabled: True
|
239
245
|
Lint/UnifiedInteger:
|
240
246
|
Enabled: True
|
241
|
-
Lint/UnneededRequireStatement:
|
242
|
-
Enabled: True
|
243
|
-
Lint/UnneededSplatExpansion:
|
244
|
-
Enabled: True
|
245
247
|
Lint/UnreachableCode:
|
246
248
|
Enabled: True
|
247
249
|
Lint/UnusedBlockArgument:
|
@@ -337,8 +339,6 @@ Style/EndBlock:
|
|
337
339
|
Enabled: True
|
338
340
|
Style/EvenOdd:
|
339
341
|
Enabled: True
|
340
|
-
Style/FlipFlop:
|
341
|
-
Enabled: True
|
342
342
|
Style/For:
|
343
343
|
Enabled: True
|
344
344
|
Style/GlobalVars:
|
@@ -377,6 +377,9 @@ Style/MixinGrouping:
|
|
377
377
|
Enabled: True
|
378
378
|
Style/MixinUsage:
|
379
379
|
Enabled: True
|
380
|
+
Style/ModuleFunction:
|
381
|
+
Enabled: True
|
382
|
+
EnforcedStyle: extend_self
|
380
383
|
Style/MultilineIfThen:
|
381
384
|
Enabled: True
|
382
385
|
Style/MultilineMemoization:
|
@@ -423,12 +426,16 @@ Style/RandomWithOffset:
|
|
423
426
|
Enabled: True
|
424
427
|
Style/RedundantBegin:
|
425
428
|
Enabled: True
|
429
|
+
Style/RedundantCapitalW:
|
430
|
+
Enabled: True
|
426
431
|
Style/RedundantConditional:
|
427
432
|
Enabled: True
|
428
433
|
Style/RedundantException:
|
429
434
|
Enabled: True
|
430
435
|
Style/RedundantFreeze:
|
431
436
|
Enabled: True
|
437
|
+
Style/RedundantInterpolation:
|
438
|
+
Enabled: True
|
432
439
|
Style/RedundantParentheses:
|
433
440
|
Enabled: True
|
434
441
|
Style/RedundantReturn:
|
@@ -466,10 +473,6 @@ Style/TrailingBodyOnMethodDefinition:
|
|
466
473
|
Enabled: True
|
467
474
|
Style/TrailingMethodEndStatement:
|
468
475
|
Enabled: True
|
469
|
-
Style/UnneededCapitalW:
|
470
|
-
Enabled: True
|
471
|
-
Style/UnneededInterpolation:
|
472
|
-
Enabled: True
|
473
476
|
Style/VariableInterpolation:
|
474
477
|
Enabled: True
|
475
478
|
Style/WhenThen:
|
metadata
CHANGED
@@ -1,49 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wetransfer_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrei Horak
|
8
8
|
- Arno
|
9
9
|
- David Bosveld
|
10
10
|
- Dennis van der Vliet
|
11
|
+
- Fabio Perrella
|
11
12
|
- GitHub
|
12
13
|
- Julik Tarkhanov
|
13
14
|
- Lorenzo Grandi
|
15
|
+
- Tors Dalid
|
14
16
|
- grdw
|
15
17
|
autorequire:
|
16
18
|
bindir: bin
|
17
19
|
cert_chain: []
|
18
|
-
date:
|
20
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
19
21
|
dependencies:
|
20
22
|
- !ruby/object:Gem::Dependency
|
21
23
|
name: rubocop
|
22
24
|
requirement: !ruby/object:Gem::Requirement
|
23
25
|
requirements:
|
24
|
-
- -
|
26
|
+
- - '='
|
25
27
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
28
|
+
version: 0.79.0
|
27
29
|
type: :runtime
|
28
30
|
prerelease: false
|
29
31
|
version_requirements: !ruby/object:Gem::Requirement
|
30
32
|
requirements:
|
31
|
-
- -
|
33
|
+
- - '='
|
32
34
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
35
|
+
version: 0.79.0
|
34
36
|
description: At WeTransfer we code in style. This is our style.
|
35
37
|
email: developers@wetransfer.com
|
36
38
|
executables: []
|
37
39
|
extensions: []
|
38
40
|
extra_rdoc_files: []
|
39
41
|
files:
|
42
|
+
- CHANGELOG.md
|
40
43
|
- LICENSE
|
41
44
|
- README.md
|
42
45
|
- ruby/default.yml
|
43
46
|
homepage: https://github.com/WeTransfer/wetransfer_style
|
44
47
|
licenses:
|
45
48
|
- MIT
|
46
|
-
metadata:
|
49
|
+
metadata:
|
50
|
+
homepage_uri: https://github.com/WeTransfer/wetransfer_style
|
51
|
+
changelog_uri: https://github.com/WeTransfer/wetransfer_style/blob/master/CHANGELOG.md
|
52
|
+
source_code_uri: https://github.com/WeTransfer/wetransfer_style
|
47
53
|
post_install_message:
|
48
54
|
rdoc_options: []
|
49
55
|
require_paths:
|
@@ -59,8 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
65
|
- !ruby/object:Gem::Version
|
60
66
|
version: '0'
|
61
67
|
requirements: []
|
62
|
-
|
63
|
-
rubygems_version: 2.7.8
|
68
|
+
rubygems_version: 3.1.6
|
64
69
|
signing_key:
|
65
70
|
specification_version: 4
|
66
71
|
summary: At WeTransfer we code in style. This is our style.
|