barsoom_utils 0.1.1.40 → 0.2.0.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/shared_rubocop.yml +11 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07750503c67021fcf99f4da7fd7a48018c14c772ddb886fd9217483dd6fce030
4
- data.tar.gz: c0dfc9b477cf40f00dbdc662ee40b0b4eecac1819820e115ac5587b3985d6c6f
3
+ metadata.gz: 5142bbb960a1c13d9c80cb14be0088673229fd453969ac94bc72e54f018a3180
4
+ data.tar.gz: 0153044f300d170af185d1e7d8168b2155e9f6a26815cca213f68784846c7c19
5
5
  SHA512:
6
- metadata.gz: 60cc1da8cf0f5fae0e4cfbd89ab37979b1625215c8043d33ce8913d9161d82daccf1413554d4b5eea1f1c0d22608b466e8a8236bb0f75dd4dabc384a67c65066
7
- data.tar.gz: c39cb4684b04e2044e4bfbbae0475c84f74b0479442940f4e6b739831b390d2aae6af3237882ee6cb570379d42d26b4891799b7c9475076daca7b18c8b71fbaa
6
+ metadata.gz: 8a106b7cd02481df06e070f4432e05f18f45f6ed3d1042942ad7f0e8dbe52640a117906aa0844613150d33020de534a4d0f8df10bd8d057b5da175ecaa5b0304
7
+ data.tar.gz: 92e1e1b7f08aaac94d441cee476e870372fe7ab01e6f570acd478370603e494474847da8e9c59504f1b3729e27aa1971828464a6d638d19809b5698cc241540d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1.40
1
+ 0.2.0.43
data/shared_rubocop.yml CHANGED
@@ -44,6 +44,17 @@ Style/CollectionMethods:
44
44
  find_all: select
45
45
  inject: reduce
46
46
 
47
+ # The default {} is not in our styleguide, but we need a default to use this cop: https://github.com/rubocop/rubocop/issues/12029
48
+ # And we've mostly used {} consistently anyway, so we might as well enforce it.
49
+ Style/PercentLiteralDelimiters:
50
+ PreferredDelimiters:
51
+ 'default': '{}'
52
+ '%w': '[]'
53
+ '%W': '[]'
54
+ '%i': '[]'
55
+ '%I': '[]'
56
+ StyleGuide: https://github.com/barsoom/devbook/tree/master/styleguide#use-square-brackets-for-w-and-friends
57
+
47
58
  # Allow e.g. `numbers.map(&:to_s)` and disallow e.g. `numbers.map { _1.to_s }`.
48
59
  Style/SymbolProc:
49
60
  Enabled: true
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.40
4
+ version: 0.2.0.43
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-26 00:00:00.000000000 Z
11
+ date: 2023-07-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: