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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/shared_rubocop.yml +12 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d6916857f234c7a9b12f2a3a976a7221723de1fca3f6f8fe3d5b9dd37698e23
4
- data.tar.gz: 7cfe75d61e28721f7cceac8e0b41431965eb4b58cc85e6158ffb42fc11ffd3e9
3
+ metadata.gz: 39a5288af30c425e05527a3839e8c5b4eb629c94cbf2129426c5cb428f88d03b
4
+ data.tar.gz: 0a121c81a71a2705bd87dd81356d7fa65de52d7b709a39be3136ac5409b72140
5
5
  SHA512:
6
- metadata.gz: 0f2354720fb697f824d41fed01c46f9c1f1047b9cff03d9ecc04514ecc90664867117d491ee322cf8cc1655b650e47fb812d32e6e900f3f2361defa0c1105061
7
- data.tar.gz: 288d4a96988eab093e06e0d588abddd503fb6a7047528747f95da7e1956bf55a04d1c14e98ccdb5e10463ff208a7076958a70315c18bdd94b53b609b53621281
6
+ metadata.gz: 55aedd808a10b0d770dfdbf26a893b7b648dc9a1ed16077630bd5f294d785c0036155727f8f0e419b2485c81164e966ace73242a4f2afe5875a5e5335cb62694
7
+ data.tar.gz: daddf61d2325ef808767b40d9d476df32f107125efc50c7b1d33f00d04f28e8203a0f61e3d512c217a5f101337bff5ea283ed30797bc724e5c20c31c546db1ff
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0.68
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:
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.68
4
+ version: 0.2.0.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Skogberg