barsoom_utils 0.2.0.42 → 0.2.0.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/shared_rubocop.yml +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5142bbb960a1c13d9c80cb14be0088673229fd453969ac94bc72e54f018a3180
|
4
|
+
data.tar.gz: 0153044f300d170af185d1e7d8168b2155e9f6a26815cca213f68784846c7c19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a106b7cd02481df06e070f4432e05f18f45f6ed3d1042942ad7f0e8dbe52640a117906aa0844613150d33020de534a4d0f8df10bd8d057b5da175ecaa5b0304
|
7
|
+
data.tar.gz: 92e1e1b7f08aaac94d441cee476e870372fe7ab01e6f570acd478370603e494474847da8e9c59504f1b3729e27aa1971828464a6d638d19809b5698cc241540d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.0.
|
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
|