barsoom_utils 0.2.0.68 → 0.2.0.70
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 +12 -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: 39a5288af30c425e05527a3839e8c5b4eb629c94cbf2129426c5cb428f88d03b
|
|
4
|
+
data.tar.gz: 0a121c81a71a2705bd87dd81356d7fa65de52d7b709a39be3136ac5409b72140
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55aedd808a10b0d770dfdbf26a893b7b648dc9a1ed16077630bd5f294d785c0036155727f8f0e419b2485c81164e966ace73242a4f2afe5875a5e5335cb62694
|
|
7
|
+
data.tar.gz: daddf61d2325ef808767b40d9d476df32f107125efc50c7b1d33f00d04f28e8203a0f61e3d512c217a5f101337bff5ea283ed30797bc724e5c20c31c546db1ff
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.0.
|
|
1
|
+
0.2.0.70
|
data/shared_rubocop.yml
CHANGED
|
@@ -217,6 +217,11 @@ Lint/RaiseException:
|
|
|
217
217
|
Style/RedundantBegin:
|
|
218
218
|
Enabled: true
|
|
219
219
|
|
|
220
|
+
# Disallow `return 1` where `1` would do.
|
|
221
|
+
Style/RedundantReturn:
|
|
222
|
+
Enabled: true
|
|
223
|
+
AllowMultipleReturnValues: true
|
|
224
|
+
|
|
220
225
|
# Allow:
|
|
221
226
|
#
|
|
222
227
|
# foo.bar
|
|
@@ -291,6 +296,13 @@ Layout/AssignmentIndentation:
|
|
|
291
296
|
Layout/ElseAlignment:
|
|
292
297
|
Enabled: true
|
|
293
298
|
|
|
299
|
+
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutcaseindentation
|
|
300
|
+
# Have `when` on the same indent level as `case`, not indented one step further.
|
|
301
|
+
Layout/CaseIndentation:
|
|
302
|
+
Enabled: true
|
|
303
|
+
EnforcedStyle: case
|
|
304
|
+
IndentOneStep: false
|
|
305
|
+
|
|
294
306
|
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutendalignment
|
|
295
307
|
# 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.
|
|
296
308
|
Layout/EndAlignment:
|