rubocop-govuk 3.2.0 → 3.5.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: 82b9a8a41b6ff232b9f25c7fde4a498c8f6cdf950749a7b6b2174bab4f4239e0
4
- data.tar.gz: 779bd06389fe70038b21396ddb62e54fdd5e39e21fd6c2047d49db39e5657ae8
3
+ metadata.gz: 49e1517d2d56a777aa1ad3514ee449b11e2c59da8e756f020861b753f6eeafd4
4
+ data.tar.gz: 2f54aaeaf5a929bc3efcf2e004b9514bb4f80f473374778237002e45c20e1769
5
5
  SHA512:
6
- metadata.gz: 68ff798125fe9145572f42d53660e2195d238899bd38a55d384bc735a793ec987e02c579c827a64a1e13592fb99d9a7f92efa3e5eeb195c8cda830eb648989d8
7
- data.tar.gz: 72549606aec583281a87915192229543ad5e4c0eb405ca710e08142471ffdfb70ee646474000d3a50cc9321a69d2f24a034413d38999de19adc4b02db2353065
6
+ metadata.gz: d5963c4d2bbbf4b6d3c9b2ad5b0810e3e7c015134f88ba402b71921a0fabd0f975a2f922f6c002407df6b91fd6db1693df5d0d33bd8867665d19b1b7f6ec20c2
7
+ data.tar.gz: d12dc98b4c7e0aaa8ef8c7c04ce428e44acd4dd0550a5792126d5a3c0b68c56d7b8ad5e1757cf544e6968b23b26d4d1bcf00d39e61646138b9f15a2fd11227fc
@@ -1,3 +1,24 @@
1
+ # 3.5.0
2
+
3
+ * Disable pending cops by default (#37)
4
+
5
+ # 3.4.0
6
+
7
+ * Add rubocop-rake cops (#32)
8
+ * Revert #27 (hash transform cops) (#31)
9
+
10
+ # 3.3.2
11
+
12
+ * Exclude /tmp directory (#29)
13
+
14
+ # 3.3.1
15
+
16
+ * Exclude two unsafe style cops (#27)
17
+
18
+ # 3.3.0
19
+
20
+ * Exclude Rails migrations from linting checks (#25)
21
+
1
22
  # 3.2.0
2
23
 
3
24
  * Configure new cops about hash styles (#24)
@@ -1,8 +1,9 @@
1
1
  AllCops:
2
+ NewCops: disable
2
3
  Exclude:
3
4
  - 'bin/**'
4
5
  - 'config.ru'
5
- - 'tmp/**'
6
+ - 'tmp/**/*'
6
7
 
7
8
  DisplayCopNames:
8
9
  Description: 'Display cop names in offense messages'
@@ -22,3 +23,4 @@ inherit_from:
22
23
  - other-style.yml
23
24
  - other-metrics.yml
24
25
  - other-excludes.yml
26
+ - rake.yml
@@ -104,7 +104,7 @@ Layout/SpaceInsideParens:
104
104
  Description: No spaces after ( or before ).
105
105
  Enabled: true
106
106
 
107
- Layout/Tab:
107
+ Layout/IndentationStyle:
108
108
  Description: No hard tabs.
109
109
  Enabled: true
110
110
 
@@ -34,10 +34,6 @@ Lint/EmptyInterpolation:
34
34
  Description: 'Checks for empty string interpolation.'
35
35
  Enabled: true
36
36
 
37
- Lint/EndInMethod:
38
- Description: 'END blocks should not be placed inside method definitions.'
39
- Enabled: true
40
-
41
37
  Lint/EnsureReturn:
42
38
  Description: 'Never use return in an ensure block.'
43
39
  Enabled: true
@@ -380,12 +380,3 @@ Style/WhileUntilModifier:
380
380
 
381
381
  Style/FrozenStringLiteralComment:
382
382
  Enabled: false
383
-
384
- Style/HashEachMethods:
385
- Enabled: true
386
-
387
- Style/HashTransformKeys:
388
- Enabled: true
389
-
390
- Style/HashTransformValues:
391
- 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
@@ -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.2.0
4
+ version: 3.5.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-12 00:00:00.000000000 Z
11
+ date: 2020-04-16 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.82.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.82.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