barsoom_utils 0.1.1.39 → 0.2.0.41

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 +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 452e58f03517c904c20f1269cf9eb2761429f113d9e2f619a9b52e61c4182c34
4
- data.tar.gz: 6821bd508597cfa7b1ac6ab2e1d356dbf358d8e42bd2a1cac04bb5ce26b89af2
3
+ metadata.gz: 0f11d78bff20ebbf6b856d3b4e5657d0a04b7d4e9568b0fcd0ba3470b02c1fbb
4
+ data.tar.gz: c9ad12598bb12014265a3327a937013f2bdca5b1880be04b5ebc07beccb2408e
5
5
  SHA512:
6
- metadata.gz: 3008728e61a4e048868a080d8c541a20f0bba74319593a67d0d3c7fb74bd70b571419074fc1f7777349618583d80f31e3e3fb5a0c16f3538e2ccffafe3993b03
7
- data.tar.gz: 0ac894b0903d000fc01222410f91c2c08176052f1d3fe9efe1615d79b99f58a974b763221090faffefb8998243c41d3731e22f72844a96bfb42106ee84027f75
6
+ metadata.gz: 45b42b85d9482db2e957d1e7e4eed26ee6e52807824b0be61d4b73d600ab4c81cae9aa738ee470fc62a6880f85d746f8b0d53247e05b93371f97e3bd92730e62
7
+ data.tar.gz: e29dab34c4e673dba8315977ef4c36313da284a6c65065f5622306c8b5dfd991a62473b4433a2a677de0c5161b6530cfcda4c366e2b8751db55f67c65cae57a8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1.39
1
+ 0.2.0.41
data/shared_rubocop.yml CHANGED
@@ -44,6 +44,14 @@ Style/CollectionMethods:
44
44
  find_all: select
45
45
  inject: reduce
46
46
 
47
+ Style/PercentLiteralDelimiters:
48
+ PreferredDelimiters:
49
+ '%w': '[]'
50
+ '%W': '[]'
51
+ '%i': '[]'
52
+ '%I': '[]'
53
+ StyleGuide: https://github.com/barsoom/devbook/tree/master/styleguide#use-square-brackets-for-w-and-friends
54
+
47
55
  # Allow e.g. `numbers.map(&:to_s)` and disallow e.g. `numbers.map { _1.to_s }`.
48
56
  Style/SymbolProc:
49
57
  Enabled: true
@@ -221,6 +229,10 @@ Style/TrailingCommaInArguments:
221
229
  Enabled: true
222
230
  EnforcedStyleForMultiline: comma
223
231
 
232
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylereturnnilinpredicatemethoddefinition
233
+ Style/ReturnNilInPredicateMethodDefinition:
234
+ Enabled: true
235
+
224
236
  # Warn about "too many positional arguments in the parameter list" when more than 5.
225
237
  # Warn about "too many positional arguments with optional values" when more than 3.
226
238
  Metrics/ParameterLists:
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.1.1.39
4
+ version: 0.2.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Skogberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-14 00:00:00.000000000 Z
11
+ date: 2023-07-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: