aroundhome_cops 4.2.0 → 4.3.0
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/CHANGELOG.md +3 -0
- data/default.yml +14 -0
- data/lib/aroundhome_cops.rb +1 -1
- 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: 892609c946c6d5b7c856b11c900354e126020bfdc86294456d97ee797b14da1f
|
|
4
|
+
data.tar.gz: '03096a520b19ce75cb83520668bc24f8c96e738525de3546b319a638ccd3c0e1'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2715942fc7d5261183c74623d8536072162dc605e9e9f8e0b02847ee4f66519f14be2a86a0c5f5d44877e5d45203e4d61be54f5f37b9fd52cc87b36684b569aa
|
|
7
|
+
data.tar.gz: 94bb36c19e518f9ecbf029e473e821b1583f6c916cc15335dfd883680dac97f57a3cea53e7d8e972ddd7cba5a76c5fd9114c6df32a7259bdaba9db99907b3790
|
data/CHANGELOG.md
CHANGED
data/default.yml
CHANGED
|
@@ -160,6 +160,20 @@ RSpec/NamedSubject:
|
|
|
160
160
|
RSpec/NestedGroups:
|
|
161
161
|
Max: 7
|
|
162
162
|
|
|
163
|
+
# While well intentioned at teaching about the existence of be_something matchers
|
|
164
|
+
# in RSpec, this one produces false positives on methods such as
|
|
165
|
+
#
|
|
166
|
+
# expect(hash.key?('foo')).to be_truthy
|
|
167
|
+
#
|
|
168
|
+
# Where it suggests to change towards:
|
|
169
|
+
#
|
|
170
|
+
# expect(hash).to be_key('foo')
|
|
171
|
+
#
|
|
172
|
+
# While this works, it is less readable. The hash IS NOT the key, but it HAS the key.
|
|
173
|
+
# Similar mistakes happen for other methods (e.g. File.exist?).
|
|
174
|
+
RSpec/PredicateMatcher:
|
|
175
|
+
Enabled: false
|
|
176
|
+
|
|
163
177
|
# ----------------- Rubocop-forced enablements --------------
|
|
164
178
|
|
|
165
179
|
# Since version 0.80 rubocop wants to cause fewer breaking changes by new cops.
|
data/lib/aroundhome_cops.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aroundhome_cops
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Sandbrink
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-10-
|
|
11
|
+
date: 2021-10-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|