govuk-lint 0.8.1 → 1.0.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93f0c29edafb31abd12f6baf9f23390bfc52f54c
|
4
|
+
data.tar.gz: 2c9f144d509b51e8eb4b0875e12b983e759b4861
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 854d7b7a62c428ee884a379d37c08f5c741be5e3f893f93a05340d12e374884e95e543301145fa48083161589257613d66499a647f7384417b332787b601e8dc
|
7
|
+
data.tar.gz: 7076402eece8e3f00bcac2873936c90eee96d99eda5551a0c09dd79919d222bab0c9a8b8b445e485aab1e2465b2f22db9d72673f1cf34e57d0c0bfd44b866956
|
@@ -291,7 +291,7 @@ HashSyntax:
|
|
291
291
|
- ruby19
|
292
292
|
- hash_rockets
|
293
293
|
|
294
|
-
|
294
|
+
TrailingCommaInLiteral:
|
295
295
|
Description: Checks for trailing comma in parameter lists and literals.
|
296
296
|
Enabled: false
|
297
297
|
EnforcedStyleForMultiline: comma
|
@@ -299,12 +299,18 @@ TrailingComma:
|
|
299
299
|
- comma
|
300
300
|
- no_comma
|
301
301
|
|
302
|
+
TrailingCommaInArguments:
|
303
|
+
Enabled: false
|
304
|
+
|
302
305
|
# Supports --auto-correct
|
303
306
|
WordArray:
|
304
307
|
Description: Use %w or %W for arrays of words.
|
305
308
|
Enabled: true
|
306
309
|
MinSize: 0
|
307
310
|
|
311
|
+
MultilineMethodCallIndentation:
|
312
|
+
Enabled: false
|
313
|
+
|
308
314
|
## Strings
|
309
315
|
|
310
316
|
# Supports --auto-correct
|
@@ -4,10 +4,6 @@ ActionFilter:
|
|
4
4
|
Description: 'Enforces consistent use of action filter methods.'
|
5
5
|
Enabled: false
|
6
6
|
|
7
|
-
DefaultScope:
|
8
|
-
Description: 'Checks if the argument passed to default_scope is a block.'
|
9
|
-
Enabled: false
|
10
|
-
|
11
7
|
Delegate:
|
12
8
|
Description: 'Prefer delegate method for delegations.'
|
13
9
|
Enabled: false
|
@@ -317,13 +317,13 @@ SingleLineMethods:
|
|
317
317
|
Description: 'Avoid single-line methods.'
|
318
318
|
Enabled: false
|
319
319
|
|
320
|
-
|
320
|
+
SpaceBeforeFirstArg:
|
321
321
|
Description: >-
|
322
322
|
Checks that exactly one space is used between a method name
|
323
323
|
and the first argument for method calls without parentheses.
|
324
324
|
Enabled: false
|
325
325
|
|
326
|
-
|
326
|
+
SpaceAroundKeyword:
|
327
327
|
Description: 'Use spaces after if/elsif/unless/while/until/case/when.'
|
328
328
|
Enabled: false
|
329
329
|
|
@@ -344,10 +344,6 @@ SpaceInsideBlockBraces:
|
|
344
344
|
or doesn't have trailing space.
|
345
345
|
Enabled: true
|
346
346
|
|
347
|
-
SpaceBeforeModifierKeyword:
|
348
|
-
Description: 'Put a space before the modifier keyword.'
|
349
|
-
Enabled: false
|
350
|
-
|
351
347
|
SpaceInsideHashLiteralBraces:
|
352
348
|
Description: "Use spaces inside hash literal braces - or don't."
|
353
349
|
Enabled: true
|
data/lib/govuk/lint/diff.rb
CHANGED
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: 0.
|
4
|
+
version: 1.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-
|
11
|
+
date: 2016-04-06 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.39.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.39.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: scss_lint
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|