rubocop-govuk 3.3.2 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df6a3a00cc679e356a1f46158181579d3ab56347230af39ec0cb7ab813e2141c
4
- data.tar.gz: 5fa159ee07c8676de3540cdf26e1b872f70a9aee654a6a86b42f869092f1c387
3
+ metadata.gz: 8c05e0e71521ca817899863fb41a4bd1ce4445c57c6378e72722b7f8e1608911
4
+ data.tar.gz: ce6d80037e731e9464062277805685eaf5ef84df3ec4674f1a528321d0535e4c
5
5
  SHA512:
6
- metadata.gz: b2cf00c68a5d09bcf89f29034b1bb0b14c786efae3b75a8f9eac2d69dfecec3999705baa0ab2583c2c9401d38907431a1c05b5ab8160148e4dba3c12d13a342c
7
- data.tar.gz: 64fa4d8eabeae7413e34609ec079ba161242c400fcd191a1ce4d5d9fdb038a25c60e9646edae3bbc7dc24c2a72beb058e7b09a126151a0746d9dae6b6260a909
6
+ metadata.gz: 925cdd94d3c96afa2d65b0e0187cb5a83e7900525f32636c7b2cc94d56afe568f1adf613ad83859d17a01df2a6bd587ac25ad88b3b2eb18da0b7ce5bdff04adf
7
+ data.tar.gz: 3a4e4b176801563d962a2fd4658e522edca77982ee6ecaec1aa9960acef06483d698f50b9341526f19723f5529c679308d70d7370280d69451dcf08f15827ddb
@@ -1,3 +1,8 @@
1
+ # 3.4.0
2
+
3
+ * Add rubocop-rake cops (#32)
4
+ * Revert #27 (hash transform cops) (#31)
5
+
1
6
  # 3.3.2
2
7
 
3
8
  * Exclude /tmp directory (#29)
@@ -22,3 +22,4 @@ inherit_from:
22
22
  - other-style.yml
23
23
  - other-metrics.yml
24
24
  - other-excludes.yml
25
+ - rake.yml
@@ -14,10 +14,3 @@ 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
@@ -34,7 +34,7 @@ Lint/EmptyInterpolation:
34
34
  Description: 'Checks for empty string interpolation.'
35
35
  Enabled: true
36
36
 
37
- Lint/EndInMethod:
37
+ Lint/EndBlock:
38
38
  Description: 'END blocks should not be placed inside method definitions.'
39
39
  Enabled: true
40
40
 
@@ -383,3 +383,9 @@ Style/FrozenStringLiteralComment:
383
383
 
384
384
  Style/HashEachMethods:
385
385
  Enabled: true
386
+
387
+ Style/HashTransformKeys:
388
+ Enabled: true
389
+
390
+ Style/HashTransformValues:
391
+ Enabled: true
@@ -0,0 +1 @@
1
+ require: rubocop-rake
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.3.2
4
+ version: 3.4.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-03-27 00:00:00.000000000 Z
11
+ date: 2020-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.80.1
33
+ version: 0.81.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.80.1
40
+ version: 0.81.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.5.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.5.1
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rubocop-rspec
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -83,6 +97,7 @@ files:
83
97
  - config/other-metrics.yml
84
98
  - config/other-style.yml
85
99
  - config/rails.yml
100
+ - config/rake.yml
86
101
  homepage: https://github.com/alphagov/rubocop-govuk
87
102
  licenses:
88
103
  - MIT