barsoom_utils 0.2.0.54 → 0.2.0.55
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 +25 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfb7864940088b33c4f84f64d3437afc6d6b002ffff48e8986901ea0135ccd12
|
4
|
+
data.tar.gz: 52df4c0930d2e2b58736df52d6b0a095393fe0a0cd2351c384d347770b04367b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 121b2f32fa84a2ab4be9b08c01c55ce95780da32ff0ae3f17b9d61ac7e19df2a855fd95e2243d3bf99cfefef134327e116036d172abbf5ed97d80d79172897f2
|
7
|
+
data.tar.gz: 86e6aa5d7dc777dd000f79c124d4f518ba3630284811101a56d9686e71bcd56656afe75af30ab9deb9260796808000dc6d731cbe7471b023caebe34488b10ace
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.0.
|
1
|
+
0.2.0.55
|
data/shared_rubocop.yml
CHANGED
@@ -260,12 +260,37 @@ Layout/IndentationWidth:
|
|
260
260
|
Layout/IndentationConsistency:
|
261
261
|
Enabled: true
|
262
262
|
|
263
|
+
# The next four sort-of belong together, to autocorrect conditional assigns into the form we're happy with, which is:
|
264
|
+
# myVar =
|
265
|
+
# if condition
|
266
|
+
# happy_path
|
267
|
+
# else
|
268
|
+
# other_path
|
269
|
+
# end
|
270
|
+
#
|
271
|
+
# It only forces 'if's to the next line, everything else is a free-for-all.
|
272
|
+
|
263
273
|
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutmultilineassignmentlayout
|
264
274
|
Layout/MultilineAssignmentLayout:
|
265
275
|
Enabled: true
|
266
276
|
SupportedTypes:
|
267
277
|
- if
|
268
278
|
|
279
|
+
# Indent the first line of a multiline assignment (i.e. the line directly after the =) one step
|
280
|
+
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutassignmentindentation
|
281
|
+
Layout/AssignmentIndentation:
|
282
|
+
Enabled: true
|
283
|
+
|
284
|
+
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutelsealignment
|
285
|
+
# Have `else` on the same indent level as the keyword it belongs to
|
286
|
+
Layout/ElseAlignment:
|
287
|
+
Enabled: true
|
288
|
+
|
289
|
+
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutendalignment
|
290
|
+
# 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.
|
291
|
+
Layout/EndAlignment:
|
292
|
+
Enabled: true
|
293
|
+
|
269
294
|
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutclassstructure
|
270
295
|
# https://github.com/barsoom/devbook/tree/master/styleguide#use-a-consistent-class-layout
|
271
296
|
# AutoCorrect: false because it has a tendency to make private delegates public, and it messes up whitespace
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barsoom_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.55
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Skogberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|