haml_lint 0.18.5 → 0.19.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: f6ec4b450872fd9d82e2ff683de01990d3643ebc
4
- data.tar.gz: f3c500526bcc23947fbcd0b4575420d63454cc89
3
+ metadata.gz: 6f9747b3780af3cd9cdb42bcbd834821c1a1e767
4
+ data.tar.gz: ecf2a62331f883e6bdfb799972ec0715e61e4147
5
5
  SHA512:
6
- metadata.gz: 6a53ba330b313d8305824292d5b9e93b42f39d9cae9fdcdd23685d0110f1563f2bfe6b17e06a30a48d33f3130003b73012cb295e15735cc4d585c7e05910f82c
7
- data.tar.gz: 90b785e119e4a8e48f4a0283b444d2a6d8d4c7bf201d51888e2d982e8a8e75eb853740e67a93106015807e0ee3ebe9ee095166db43f667822a25bbf487e6beb7
6
+ metadata.gz: d79c9732f90c7492f22948ee1e9f7e8fa069fdb52fa3f4257d2775e6f84e1638299be68b12f6c5d3a21b0483ce93ad0f973b1734a0bdb812f36394597c0ced6b
7
+ data.tar.gz: 0c12fd8b30090f23215c35811942b90ffc399cccea4f531c36c9a51e95dfe2aaf8872cf9310b8bf8cee039101c231bde8ae91dcbfc51388aac9f2ccf31ce3b38
@@ -10,8 +10,9 @@ module HamlLint
10
10
  ends_with_newline = document.source.end_with?("\n")
11
11
 
12
12
  if config['present']
13
- record_lint(dummy_node,
14
- 'Files should end with a trailing newline') unless ends_with_newline
13
+ unless ends_with_newline
14
+ record_lint(dummy_node, 'Files should end with a trailing newline')
15
+ end
15
16
  elsif ends_with_newline
16
17
  record_lint(dummy_node,
17
18
  'Files should not end with a trailing newline')
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module HamlLint
5
- VERSION = '0.18.5'.freeze
5
+ VERSION = '0.19.0'.freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.5
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brigade Engineering
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '10'
35
35
  - - "<"
36
36
  - !ruby/object:Gem::Version
37
- version: '12'
37
+ version: '13'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '10'
45
45
  - - "<"
46
46
  - !ruby/object:Gem::Version
47
- version: '12'
47
+ version: '13'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rubocop
50
50
  requirement: !ruby/object:Gem::Requirement