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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/shared_rubocop.yml +16 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2df28ca0456cc2b6fb3a63a143b7a77cfcbf793e41e0a0e47f0591da2a4c7608
4
- data.tar.gz: 18a16615878569f7a637603134b5f776aee30cf2643a133a26ba5cf2cf633615
3
+ metadata.gz: c2ead625c0211799577c7f34b8f7ba873ada3f608ea9369c7de050f32d51291a
4
+ data.tar.gz: 9bd4404d8fee82f58c5ebc4033665279b1d74d5bf2629395bb5e1d9d6f7b1dab
5
5
  SHA512:
6
- metadata.gz: b297521965ef6b55ee416ac935d53efe4fe862cd6918484ba06d97967361efde1c433f3102ab8c507d71292fab1c4b2c7b03eff57b165df2a24e736f50392d97
7
- data.tar.gz: 3dc3bceaadec2ce06223e6922a3dbea4d8462b36ea369a6c751fab377185d866dcc96ab77cdf230f4ffefdc04fd106157a8b280f0c43915042fe57ae348815f1
6
+ metadata.gz: f6fedfe0267777d8731f8f0af24b3f8cce7d89cc010236703bed3ea1bddc846a2e93fecef7d1fc30cb7085831a0110d66320d4ab1dfcb7d729a12fd893b4899a
7
+ data.tar.gz: fbd4db6dcda11150c62d777a365a18ee79439a9dfda6e755e436c34c6b91f847f99fea850772758f7a52df098972569fcd1b0909bd1b0883bba9e03ac9abfa09
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0.69
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
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.69
4
+ version: 0.2.0.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Skogberg