rentacop 0.1.8 → 0.1.10
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/lib/rentacop/version.rb +1 -1
- data/rentacop.yml +7 -3
- 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: 41edb74ee40373cc4469551e076e70a08da0c1e9233bd14551c3572311a060ac
|
|
4
|
+
data.tar.gz: c84c0dc2c2e4a17e20e26099e92d1e6baab6bb7033bf652d0d5367ac797b4e27
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42e0b776b21f1777c5405c93745f8bda9cdb2ecf6074ddf1fb706b9ea9865f8afa1ce7ef633f1cfaa2f3a12c042cebdecb30fb6db8b5a87434335e8a87073b17
|
|
7
|
+
data.tar.gz: a03449b3cf71127c23cbed3d3abaebe7426402e423b06a57a8b54d93c0af3a815a77046ac25e0d741b30540f5ed5e7c95cf121e0411f323cd639fc8dc3f68537
|
data/lib/rentacop/version.rb
CHANGED
data/rentacop.yml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
AllCops:
|
|
4
4
|
NewCops: enable
|
|
5
|
-
TargetRubyVersion: 3.
|
|
5
|
+
TargetRubyVersion: 3.2
|
|
6
6
|
Exclude:
|
|
7
7
|
- 'spec/approvals/**/*'
|
|
8
8
|
|
|
@@ -45,6 +45,10 @@ Layout/MultilineOperationIndentation:
|
|
|
45
45
|
|
|
46
46
|
# === Lint ===
|
|
47
47
|
|
|
48
|
+
# Allow `it` instead of `it()` inside a block
|
|
49
|
+
Lint/ItWithoutArgumentsInBlock:
|
|
50
|
+
Enabled: false
|
|
51
|
+
|
|
48
52
|
# Not all inheriting classes need to call `super` in their constructor
|
|
49
53
|
Lint/MissingSuper:
|
|
50
54
|
Enabled: false
|
|
@@ -54,6 +58,8 @@ Lint/NonAtomicFileOperation:
|
|
|
54
58
|
Enabled: false
|
|
55
59
|
|
|
56
60
|
|
|
61
|
+
|
|
62
|
+
|
|
57
63
|
# === Metrics ===
|
|
58
64
|
|
|
59
65
|
# Allow some complexity
|
|
@@ -141,10 +147,8 @@ Style/FrozenStringLiteralComment:
|
|
|
141
147
|
Enabled: false
|
|
142
148
|
|
|
143
149
|
# Avoid hash rocket syntax where appropriate (EnforcedStyle)
|
|
144
|
-
# Avoid value-less hash shorthand since it is ruby >= 3.1 (EnforcedShorthandSyntax)
|
|
145
150
|
Style/HashSyntax:
|
|
146
151
|
EnforcedStyle: ruby19_no_mixed_keys
|
|
147
|
-
EnforcedShorthandSyntax: never
|
|
148
152
|
|
|
149
153
|
# Allow non one-line conditions even when the body of the condition is one line
|
|
150
154
|
Style/IfUnlessModifier:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rentacop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Danny Ben Shitrit
|
|
@@ -36,7 +36,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
36
36
|
requirements:
|
|
37
37
|
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '3.
|
|
39
|
+
version: '3.2'
|
|
40
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
41
41
|
requirements:
|
|
42
42
|
- - ">="
|