rubocop-govuk 3.0.0 → 3.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f3cc703ef46580473e74ee44c4aefdb4c24e4dcb93591087e20d2b71ef03554
4
- data.tar.gz: f9da7399e69c0296c83b885848aedf07147322ba1047535c03840aad3c05bec2
3
+ metadata.gz: df6a3a00cc679e356a1f46158181579d3ab56347230af39ec0cb7ab813e2141c
4
+ data.tar.gz: 5fa159ee07c8676de3540cdf26e1b872f70a9aee654a6a86b42f869092f1c387
5
5
  SHA512:
6
- metadata.gz: 9d75c582f92b8a96a30402af2499e98c58e6717a5003078867cd5cb000443ffcb244c13266078c1790d1c02364d0dd7273561b74da67ab7d1bcbf61d85333c4b
7
- data.tar.gz: 4e461a6d025a5e77ea6773bcce84b923ac23454763fb3badb74bf4bc517f69ddffd150be57dc96eb07885463cd448b8a42fdce8334e210ec97ce2f8e89d2890a
6
+ metadata.gz: b2cf00c68a5d09bcf89f29034b1bb0b14c786efae3b75a8f9eac2d69dfecec3999705baa0ab2583c2c9401d38907431a1c05b5ab8160148e4dba3c12d13a342c
7
+ data.tar.gz: 64fa4d8eabeae7413e34609ec079ba161242c400fcd191a1ce4d5d9fdb038a25c60e9646edae3bbc7dc24c2a72beb058e7b09a126151a0746d9dae6b6260a909
@@ -1,3 +1,25 @@
1
+ # 3.3.2
2
+
3
+ * Exclude /tmp directory (#29)
4
+
5
+ # 3.3.1
6
+
7
+ * Exclude two unsafe style cops (#27)
8
+
9
+ # 3.3.0
10
+
11
+ * Exclude Rails migrations from linting checks (#25)
12
+
13
+ # 3.2.0
14
+
15
+ * Configure new cops about hash styles (#24)
16
+ * Exclude `tmp` directory from linting checks (#22)
17
+
18
+ # 3.1.0
19
+
20
+ * Fix deprecation warning for AllCops/Excludes => AllCops/Exclude (#17)
21
+ * Exclude `config.ru` from linter checks (#18)
22
+
1
23
  # 3.0.0
2
24
 
3
25
  * Update Rubocop to 0.80.1
@@ -1,6 +1,8 @@
1
1
  AllCops:
2
- Excludes:
2
+ Exclude:
3
3
  - 'bin/**'
4
+ - 'config.ru'
5
+ - 'tmp/**/*'
4
6
 
5
7
  DisplayCopNames:
6
8
  Description: 'Display cop names in offense messages'
@@ -14,3 +14,10 @@ Bundler/DuplicatedGem:
14
14
 
15
15
  Style/FormatStringToken:
16
16
  Enabled: false
17
+
18
+ # These can result in false positives
19
+ Style/HashTransformKeys:
20
+ Enabled: false
21
+
22
+ Style/HashTransformValues:
23
+ Enabled: false
@@ -380,3 +380,6 @@ Style/WhileUntilModifier:
380
380
 
381
381
  Style/FrozenStringLiteralComment:
382
382
  Enabled: false
383
+
384
+ Style/HashEachMethods:
385
+ Enabled: true
@@ -8,6 +8,7 @@ require: rubocop-rails
8
8
  AllCops:
9
9
  Exclude:
10
10
  - 'db/schema.rb'
11
+ - 'db/migrate/201*'
11
12
 
12
13
  Rails:
13
14
  Enabled: true
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.0.0
4
+ version: 3.3.2
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-03-03 00:00:00.000000000 Z
11
+ date: 2020-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake