rubocop-govuk 3.11.0 → 3.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/config/rails.yml +13 -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: 48b85a6990ecf33c92d9506a869a15ee68f5c04c065d71fb1328ea6e115a9182
|
4
|
+
data.tar.gz: 1af1fda610c32d6a02e8bbc632f9c78aa03825c1fcc3e83c77a6809b70156e6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcbceebe47c06f3df409779bef414174a6264af3a4f1c9be97b433adad2d7d74d9337d53a812971e316728e9fa9cd3d6b742e5c0397045735dce58d61585bff9
|
7
|
+
data.tar.gz: 8d91c162862383603bcfff118e71f31528b567c23a09a2706e74341450fa46b7a5c30059d9fc25edcebd64d4f5faa497320b9a66131af60abfd71d3b9f12271d
|
data/CHANGELOG.md
CHANGED
data/config/rails.yml
CHANGED
@@ -27,3 +27,16 @@ Rails/Output:
|
|
27
27
|
Rails/SkipsModelValidations:
|
28
28
|
Blacklist:
|
29
29
|
- update_attribute
|
30
|
+
|
31
|
+
# While using has_many/through does have some advantages,
|
32
|
+
# it also requires a significant amount of boilerplate code:
|
33
|
+
#
|
34
|
+
# - An additional 'has_many :join_table' statement
|
35
|
+
# - An additional class for the join table (model)
|
36
|
+
#
|
37
|
+
# This Cop/rule appears to have been written with the
|
38
|
+
# assumption that all join tables have inherent meaning,
|
39
|
+
# we want to represent, which is not the case; sometimes
|
40
|
+
# relationships are just # many-to-many, and that's it.
|
41
|
+
Rails/HasAndBelongsToMany:
|
42
|
+
Enabled: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-govuk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Government Digital Service
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|