govuk-lint 1.2.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/configs/rubocop/other-style.yml +1 -1
- data/lib/govuk/lint/cli.rb +7 -6
- data/lib/govuk/lint/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc0e9cafa22bcffc303b1154bd14adb20a59fc28
|
4
|
+
data.tar.gz: 3e90753a8ee1e2484e89e29437ac44f7a1548ad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf66ee0e7370f4edd7d997da976cfca3b9fcf5c4451e6cf59468dbd203ad647a459adb05fce4edbc45f319e974f4cd0b082fa1008a99004d0259d776fe19018c
|
7
|
+
data.tar.gz: a9b38e648bf9b2a119addb9a9cb85467f8fa3ac3ea2b1f2215181a22dc03e39d9565fb82270b2d3701c398925e71e04b1d55bab035d03d655dc42554104435b7
|
data/lib/govuk/lint/cli.rb
CHANGED
@@ -8,12 +8,13 @@ module Govuk
|
|
8
8
|
module Lint
|
9
9
|
class CLI < RuboCop::CLI
|
10
10
|
def run(args = ARGV)
|
11
|
-
args += [
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
11
|
+
args += [
|
12
|
+
"--config",
|
13
|
+
ConfigFile.new.config_file_path,
|
14
|
+
"--display-cop-names",
|
15
|
+
"--extra-details",
|
16
|
+
"--display-style-guide",
|
17
|
+
]
|
17
18
|
|
18
19
|
Diff.enable!(args) if args.include? "--diff"
|
19
20
|
|
data/lib/govuk/lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.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:
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.43.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.43.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: scss_lint
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|