barsoom_utils 0.2.0.69 → 0.2.0.71
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 +16 -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: c2ead625c0211799577c7f34b8f7ba873ada3f608ea9369c7de050f32d51291a
|
|
4
|
+
data.tar.gz: 9bd4404d8fee82f58c5ebc4033665279b1d74d5bf2629395bb5e1d9d6f7b1dab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6fedfe0267777d8731f8f0af24b3f8cce7d89cc010236703bed3ea1bddc846a2e93fecef7d1fc30cb7085831a0110d66320d4ab1dfcb7d729a12fd893b4899a
|
|
7
|
+
data.tar.gz: fbd4db6dcda11150c62d777a365a18ee79439a9dfda6e755e436c34c6b91f847f99fea850772758f7a52df098972569fcd1b0909bd1b0883bba9e03ac9abfa09
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.0.
|
|
1
|
+
0.2.0.71
|
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
|
+
allow_single_line: true
|
|
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:
|
|
@@ -217,6 +228,11 @@ Lint/RaiseException:
|
|
|
217
228
|
Style/RedundantBegin:
|
|
218
229
|
Enabled: true
|
|
219
230
|
|
|
231
|
+
# Disallow `return 1` where `1` would do.
|
|
232
|
+
Style/RedundantReturn:
|
|
233
|
+
Enabled: true
|
|
234
|
+
AllowMultipleReturnValues: true
|
|
235
|
+
|
|
220
236
|
# Allow:
|
|
221
237
|
#
|
|
222
238
|
# foo.bar
|