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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/shared_rubocop.yml +15 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39a5288af30c425e05527a3839e8c5b4eb629c94cbf2129426c5cb428f88d03b
4
- data.tar.gz: 0a121c81a71a2705bd87dd81356d7fa65de52d7b709a39be3136ac5409b72140
3
+ metadata.gz: 2d0e1da4754743683d4eae4b444570406c9a679e6206c07e314b6659c73a948e
4
+ data.tar.gz: eb85bda7ce8b6ff4cee984318aac4d9f4d96d95f78256e0ce366669cd3e7a6b2
5
5
  SHA512:
6
- metadata.gz: 55aedd808a10b0d770dfdbf26a893b7b648dc9a1ed16077630bd5f294d785c0036155727f8f0e419b2485c81164e966ace73242a4f2afe5875a5e5335cb62694
7
- data.tar.gz: daddf61d2325ef808767b40d9d476df32f107125efc50c7b1d33f00d04f28e8203a0f61e3d512c217a5f101337bff5ea283ed30797bc724e5c20c31c546db1ff
6
+ metadata.gz: dc0426ea3f8e51fb23a65e8ba9182ed07f4a31052a769790cc1c951513a511b2e60c124dacc465e29f9d6df50136f0557bb5423028135c77e6d38713fcac3b51
7
+ data.tar.gz: b955c7b311a0fc3d90577e6a18aa62c5aca8d3eb1b3ab771af54b83dac7a9d1602472ed790e2f47201bf8a4c86843e6f8e2ee9675215a034e418e5368fd9aa4c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0.70
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:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barsoom_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.70
4
+ version: 0.2.0.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Skogberg