aroundhome_cops 2.0.0 → 2.1.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 +4 -0
- data/default.yml +9 -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: 677a8fd1caf9f01b7edbf601523d6b7682b6c80a5f3733e53181aa91d4fe80c8
|
4
|
+
data.tar.gz: e165928316c12030231e86c0f57276cb7a36b2a4787e95f28657fc4a35806e57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c3db4236a4c8006abb661fc8dfdb6e86aa8ee571d77ae499e362ea3752e68147ccb5677d36efc4c3264305d2479451d55289fc93ae48d882dee6fc018d21d00
|
7
|
+
data.tar.gz: b4f999e50282e2131759451409a86001c7efde00fed869c7f3f69c1c1664081cea7d31c176d6563937ea83b41dc8315f084c7a1178768a3cc57b79307ca6ba83
|
data/CHANGELOG.md
CHANGED
data/default.yml
CHANGED
@@ -20,6 +20,15 @@ AllCops:
|
|
20
20
|
- 'db/migrate/2016*.rb'
|
21
21
|
- 'db/migrate/2017*.rb'
|
22
22
|
|
23
|
+
# While we like to write blocks like the following
|
24
|
+
# expect { add_special_project }.not_to change { SpecialProject.count }
|
25
|
+
# Rubocop doesn't like that and prefers either of the following options for clarity
|
26
|
+
# expect { add_special_project }.not_to change(SpecialProject, :count)
|
27
|
+
# expect { add_special_project }.not_to(change { SpecialProject.count })
|
28
|
+
Lint/AmbiguousBlockAssociation:
|
29
|
+
Exclude:
|
30
|
+
- 'spec/**/*'
|
31
|
+
|
23
32
|
# Models can have a bunch of attributes which lead to long methods and high
|
24
33
|
# complexity values. However, these methods are still very readable because they
|
25
34
|
# usually have a lot of repetition.
|
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: 2.
|
4
|
+
version: 2.1.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: 2020-07-
|
11
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|