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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba84e8f79c0b531370bb027d09e5fe43aa1aa2ff
4
- data.tar.gz: ba9032c6f5814fd3922f187b196201b2e6f03de0
3
+ metadata.gz: bc0e9cafa22bcffc303b1154bd14adb20a59fc28
4
+ data.tar.gz: 3e90753a8ee1e2484e89e29437ac44f7a1548ad0
5
5
  SHA512:
6
- metadata.gz: a1d825b9f8adb045f80372737170b76b7aa932c847eeeb285c4df9c76eee1738ad4303e9a0705f914e20fd97c4089a7d9ac9b9d8a8ba980fa2cdf2b4ff362002
7
- data.tar.gz: 5a5c26e722ad7b47b0d7d35de20032033eb311fcab588bfae8d9a878b5d0e6e38a05a1f3f02c15e0a6307e6ee31021c9489ce745a7168c0eeedbc73376aa2a02
6
+ metadata.gz: bf66ee0e7370f4edd7d997da976cfca3b9fcf5c4451e6cf59468dbd203ad647a459adb05fce4edbc45f319e974f4cd0b082fa1008a99004d0259d776fe19018c
7
+ data.tar.gz: a9b38e648bf9b2a119addb9a9cb85467f8fa3ac3ea2b1f2215181a22dc03e39d9565fb82270b2d3701c398925e71e04b1d55bab035d03d655dc42554104435b7
@@ -100,7 +100,7 @@ CyclomaticComplexity:
100
100
  Description: 'Avoid complex methods.'
101
101
  Enabled: false
102
102
 
103
- DeprecatedHashMethods:
103
+ PreferredHashMethods:
104
104
  Description: 'Checks for use of deprecated Hash methods.'
105
105
  Enabled: false
106
106
 
@@ -8,12 +8,13 @@ module Govuk
8
8
  module Lint
9
9
  class CLI < RuboCop::CLI
10
10
  def run(args = ARGV)
11
- args += ["--config",
12
- ConfigFile.new.config_file_path,
13
- "--display-cop-names",
14
- "--extra-details",
15
- "--display-style-guide",
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
 
@@ -1,5 +1,5 @@
1
1
  module Govuk
2
2
  module Lint
3
- VERSION = "1.2.1".freeze
3
+ VERSION = "2.0.0".freeze
4
4
  end
5
5
  end
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: 1.2.1
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: 2016-08-17 00:00:00.000000000 Z
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.39.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.39.0
82
+ version: 0.43.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: scss_lint
85
85
  requirement: !ruby/object:Gem::Requirement