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: ff568a29db6d33ba030c2afbb4abfa0130b0f6e8
4
- data.tar.gz: 77970676ad5dd827bad451618819754ac51c131f
3
+ metadata.gz: 93f0c29edafb31abd12f6baf9f23390bfc52f54c
4
+ data.tar.gz: 2c9f144d509b51e8eb4b0875e12b983e759b4861
5
5
  SHA512:
6
- metadata.gz: fa2d730dbeb7bd87dfb26f4a7a7264cf2f901bc4c5c16d2ac7648ac1800691883ce49829947015375b8e471dabdc10b56e0d95ed73208a49cf8662065b2380e8
7
- data.tar.gz: 377e9403abe9acc905718a4578c522727bd258813de6be240598b6ae7701e59ed6b689aef3e4f221a1e8467947de817d0172cda73e9be54787e4bf4aa39a44f8
6
+ metadata.gz: 854d7b7a62c428ee884a379d37c08f5c741be5e3f893f93a05340d12e374884e95e543301145fa48083161589257613d66499a647f7384417b332787b601e8dc
7
+ data.tar.gz: 7076402eece8e3f00bcac2873936c90eee96d99eda5551a0c09dd79919d222bab0c9a8b8b445e485aab1e2465b2f22db9d72673f1cf34e57d0c0bfd44b866956
@@ -291,7 +291,7 @@ HashSyntax:
291
291
  - ruby19
292
292
  - hash_rockets
293
293
 
294
- TrailingComma:
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
- SingleSpaceBeforeFirstArg:
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
- SpaceAfterControlKeyword:
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
@@ -40,8 +40,6 @@ module Govuk
40
40
  end
41
41
  end
42
42
 
43
- private
44
-
45
43
  def self.changed_files
46
44
  `git diff #{commit_options} --name-only`.
47
45
  split.
@@ -1,5 +1,5 @@
1
1
  module Govuk
2
2
  module Lint
3
- VERSION = "0.8.1"
3
+ VERSION = "1.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: 0.8.1
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-02-29 00:00:00.000000000 Z
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.35.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.35.0
82
+ version: 0.39.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: scss_lint
85
85
  requirement: !ruby/object:Gem::Requirement