rubocop-govuk 3.2.0 → 3.5.0
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 +4 -4
- data/CHANGELOG.md +21 -0
- data/config/default.yml +3 -1
- data/config/gds-ruby-styleguide.yml +1 -1
- data/config/other-lint.yml +0 -4
- data/config/other-style.yml +0 -9
- data/config/rails.yml +1 -0
- data/config/rake.yml +1 -0
- metadata +19 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49e1517d2d56a777aa1ad3514ee449b11e2c59da8e756f020861b753f6eeafd4
|
|
4
|
+
data.tar.gz: 2f54aaeaf5a929bc3efcf2e004b9514bb4f80f473374778237002e45c20e1769
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5963c4d2bbbf4b6d3c9b2ad5b0810e3e7c015134f88ba402b71921a0fabd0f975a2f922f6c002407df6b91fd6db1693df5d0d33bd8867665d19b1b7f6ec20c2
|
|
7
|
+
data.tar.gz: d12dc98b4c7e0aaa8ef8c7c04ce428e44acd4dd0550a5792126d5a3c0b68c56d7b8ad5e1757cf544e6968b23b26d4d1bcf00d39e61646138b9f15a2fd11227fc
|
data/CHANGELOG.md
CHANGED
|
@@ -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)
|
data/config/default.yml
CHANGED
|
@@ -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
|
data/config/other-lint.yml
CHANGED
|
@@ -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
|
data/config/other-style.yml
CHANGED
data/config/rails.yml
CHANGED
data/config/rake.yml
ADDED
|
@@ -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.
|
|
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-
|
|
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.
|
|
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.
|
|
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
|