govuk-lint 2.0.0 → 2.1.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: bc0e9cafa22bcffc303b1154bd14adb20a59fc28
4
- data.tar.gz: 3e90753a8ee1e2484e89e29437ac44f7a1548ad0
3
+ metadata.gz: 128758e256d17b31eed912c0dfdee087081a33d4
4
+ data.tar.gz: efaccad03407955a9a549ae595a572feee871050
5
5
  SHA512:
6
- metadata.gz: bf66ee0e7370f4edd7d997da976cfca3b9fcf5c4451e6cf59468dbd203ad647a459adb05fce4edbc45f319e974f4cd0b082fa1008a99004d0259d776fe19018c
7
- data.tar.gz: a9b38e648bf9b2a119addb9a9cb85467f8fa3ac3ea2b1f2215181a22dc03e39d9565fb82270b2d3701c398925e71e04b1d55bab035d03d655dc42554104435b7
6
+ metadata.gz: f557a7cbabe0d3285302ea25e460fe3bcb095223dc857d9f81664abdbde68074e40d6fcb7aee5a5143fbd6d7ad4470e68e8f5baf5b85b12fea532032a74a6036
7
+ data.tar.gz: 28693e469940e429b5546f1158b3996a05ccb1ba9fe8b8772a3f738489a6097bf60e40c9b468fd4a903e98df02f00f75583bc66ba9a6b2bf76e3a1f12c2d2893
@@ -76,6 +76,10 @@ ParenthesesAsGroupedExpression:
76
76
  parenthesis.
77
77
  Enabled: true
78
78
 
79
+ PercentStringArray:
80
+ Description: Checks for unwanted commas and quotes in %w/%W literals eg %w('foo', “bar”).
81
+ Enabled: true
82
+
79
83
  RequireParentheses:
80
84
  Description: >-
81
85
  Use parentheses in the method call to avoid confusion
@@ -297,6 +297,12 @@ RescueModifier:
297
297
  Description: 'Avoid using rescue in its modifier form.'
298
298
  Enabled: false
299
299
 
300
+ Style/SafeNavigation:
301
+ Description: >-
302
+ This cop transforms usages of a method call safeguarded by a check for the
303
+ existance of the object to safe navigation (`&.`).
304
+ Enabled: false
305
+
300
306
  SelfAssignment:
301
307
  Description: 'Checks for places where self-assignment shorthand should have been used.'
302
308
  Enabled: false
@@ -1,5 +1,5 @@
1
1
  module Govuk
2
2
  module Lint
3
- VERSION = "2.0.0".freeze
3
+ VERSION = "2.1.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: 2.0.0
4
+ version: 2.1.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: 2017-03-01 00:00:00.000000000 Z
11
+ date: 2017-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler