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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/config/rails.yml +13 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c913a7eee4164badca90121c68221e58784c2a982b9d77edc95a2efb40307e1b
4
- data.tar.gz: 970496645c0749dcae4fcf588f3579ded14a5819cb4d17e0e9fc303cae15b0bd
3
+ metadata.gz: 48b85a6990ecf33c92d9506a869a15ee68f5c04c065d71fb1328ea6e115a9182
4
+ data.tar.gz: 1af1fda610c32d6a02e8bbc632f9c78aa03825c1fcc3e83c77a6809b70156e6a
5
5
  SHA512:
6
- metadata.gz: b98cb3980e29b44f0aaeddd15977ace72241019aae4b01ad7c037e1bab32b23cad77dafc7e4a39cd88a2bbc3eeb67c7739b899ca1413edbd962bb2383f5c4b56
7
- data.tar.gz: 218ff2564b26902b9f12e472fbe780678cc93b41ea360fa71d913de9ac665651332df109ae5d5f519e2f32dbb653aa9247ad0dda4d29cd4f900745cd03a1f4d6
6
+ metadata.gz: dcbceebe47c06f3df409779bef414174a6264af3a4f1c9be97b433adad2d7d74d9337d53a812971e316728e9fa9cd3d6b742e5c0397045735dce58d61585bff9
7
+ data.tar.gz: 8d91c162862383603bcfff118e71f31528b567c23a09a2706e74341450fa46b7a5c30059d9fc25edcebd64d4f5faa497320b9a66131af60abfd71d3b9f12271d
@@ -1,3 +1,7 @@
1
+ # 3.12.0
2
+
3
+ - Disable Rails/HasAndBelongsToMany (#77)
4
+
1
5
  # 3.11.0
2
6
 
3
7
  - Add optional config for RSpec Cops (#75)
@@ -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.11.0
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-19 00:00:00.000000000 Z
11
+ date: 2020-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake