rentacop 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rentacop/version.rb +1 -1
- data/rentacop.yml +9 -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: 13f4ad6a537c8164fc2c3f5bb17af6a77e05a4ea7ad1a0992903160853812a66
|
4
|
+
data.tar.gz: 97f4ecc6120330dfc55d29876e628ae9e04db9ef21619bd9b74575ae76e820e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d19c0f1ddb36645c5495389c28e0e11fbee9368a292c9f2b5a4e91a13099a4ee5825f00b162d1d53d8c05ca16d52efa65e7bd3c30abe824cc4420021b1246046
|
7
|
+
data.tar.gz: 8b4374be6f7b4c76f98535879498e4f21f13da0659dd135521d1445c27b150e92d4e3f6ca14ac70e7ff8a1d80ab672ff65a3acd814400f09d9413bfad86990c4
|
data/lib/rentacop/version.rb
CHANGED
data/rentacop.yml
CHANGED
@@ -62,8 +62,13 @@ Metrics/CyclomaticComplexity:
|
|
62
62
|
Max: 10
|
63
63
|
|
64
64
|
# Allow somewhat longer methods
|
65
|
+
# Consider multiline arrays/hashes as one line
|
65
66
|
Metrics/MethodLength:
|
66
67
|
Max: 25
|
68
|
+
CountAsOne:
|
69
|
+
- array
|
70
|
+
- hash
|
71
|
+
- heredoc
|
67
72
|
|
68
73
|
# Allow some complexity
|
69
74
|
Metrics/PerceivedComplexity:
|
@@ -155,6 +160,10 @@ Style/PerlBackrefs:
|
|
155
160
|
Style/PreferredHashMethods:
|
156
161
|
EnforcedStyle: verbose
|
157
162
|
|
163
|
+
# Allow one line `rescue` since it is useful in some cases
|
164
|
+
Style/RescueModifier:
|
165
|
+
Enabled: false
|
166
|
+
|
158
167
|
# Prefer `rescue` over `rescue StandardError`
|
159
168
|
Style/RescueStandardError:
|
160
169
|
EnforcedStyle: implicit
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rentacop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Collection of more relaxed rubocop rules
|
14
14
|
email: db@dannyben.com
|