barsoom_utils 0.2.0.70 → 0.2.0.73
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/shared_rubocop.yml +15 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d0e1da4754743683d4eae4b444570406c9a679e6206c07e314b6659c73a948e
|
|
4
|
+
data.tar.gz: eb85bda7ce8b6ff4cee984318aac4d9f4d96d95f78256e0ce366669cd3e7a6b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc0426ea3f8e51fb23a65e8ba9182ed07f4a31052a769790cc1c951513a511b2e60c124dacc465e29f9d6df50136f0557bb5423028135c77e6d38713fcac3b51
|
|
7
|
+
data.tar.gz: b955c7b311a0fc3d90577e6a18aa62c5aca8d3eb1b3ab771af54b83dac7a9d1602472ed790e2f47201bf8a4c86843e6f8e2ee9675215a034e418e5368fd9aa4c
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.0.
|
|
1
|
+
0.2.0.73
|
data/shared_rubocop.yml
CHANGED
|
@@ -45,6 +45,17 @@ Style/CollectionMethods:
|
|
|
45
45
|
find_all: select
|
|
46
46
|
inject: reduce
|
|
47
47
|
|
|
48
|
+
# Allow (but don't enforce) single-line endless methods.
|
|
49
|
+
#
|
|
50
|
+
# Disallow multi-line endless methods:
|
|
51
|
+
#
|
|
52
|
+
# def my_method = x.foo
|
|
53
|
+
# .bar
|
|
54
|
+
# .baz
|
|
55
|
+
Style/EndlessMethod:
|
|
56
|
+
Enabled: true
|
|
57
|
+
EnforcedStyle: allow_single_line
|
|
58
|
+
|
|
48
59
|
# The default {} is not in our styleguide, but we need a default to use this cop: https://github.com/rubocop/rubocop/issues/12029
|
|
49
60
|
# And we've mostly used {} consistently anyway, so we might as well enforce it.
|
|
50
61
|
Style/PercentLiteralDelimiters:
|
|
@@ -303,6 +314,10 @@ Layout/CaseIndentation:
|
|
|
303
314
|
EnforcedStyle: case
|
|
304
315
|
IndentOneStep: false
|
|
305
316
|
|
|
317
|
+
# https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Layout/DefEndAlignment
|
|
318
|
+
Layout/DefEndAlignment:
|
|
319
|
+
Enabled: true
|
|
320
|
+
|
|
306
321
|
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutendalignment
|
|
307
322
|
# Have `end` on the same indent level. Doesn't touch `ends` that belong to a `begin` (There's Layout/BeginEndAlignment for that), or to a `def` (There's Layout/DefEndAlignment for that), so it just affects `end`s belonging to if/unless/while/untl etc.
|
|
308
323
|
Layout/EndAlignment:
|