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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/shared_rubocop.yml +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f11d78bff20ebbf6b856d3b4e5657d0a04b7d4e9568b0fcd0ba3470b02c1fbb
|
|
4
|
+
data.tar.gz: c9ad12598bb12014265a3327a937013f2bdca5b1880be04b5ebc07beccb2408e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45b42b85d9482db2e957d1e7e4eed26ee6e52807824b0be61d4b73d600ab4c81cae9aa738ee470fc62a6880f85d746f8b0d53247e05b93371f97e3bd92730e62
|
|
7
|
+
data.tar.gz: e29dab34c4e673dba8315977ef4c36313da284a6c65065f5622306c8b5dfd991a62473b4433a2a677de0c5161b6530cfcda4c366e2b8751db55f67c65cae57a8
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
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.
|
|
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-
|
|
11
|
+
date: 2023-07-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|