haml_lint 0.29.0 → 0.30.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
  SHA256:
3
- metadata.gz: a2b6e2913e09e73c44c78189a5766b3b30bb8999c010a61729843f038fdd6b72
4
- data.tar.gz: 4b59c4427a7bf35b2f90eb03f4fe5c89fb4b6046cdedde5b2bc6137cca1b265d
3
+ metadata.gz: 206ee804d052b1d36416d62a9143b4cc61e5bbc52032e314ab4f8937842c67c7
4
+ data.tar.gz: d972e18ec4ca4646f31ec3b4f85450c8afeae2e3051cd5e9f87e65d68fda0cdb
5
5
  SHA512:
6
- metadata.gz: d1dc05e7ce0d8b5ad2cb268159ad51894f1bf17c883d3f23af222b8754f3d24fdbd73368466b55ceda9d587bf457b7961180818971d482110bbc0ad0cfb7f874
7
- data.tar.gz: bc1553ea5bd67ee4d19e56ff7ed34fea91f4c286d2a8f09419ccae1ae19da7469c917d2a297e21b5b6e3bf8ad4457b3301c7c7282aca81c1a88102ff0c7fa931
6
+ metadata.gz: 79e24f904324a9fe229bbd71d0cf46e8547af267b9e397882021205147a98e12a1a0eee89cae304d25ccafcdf6470a639656bb3c9c8eeba0a94c6b77eb5f1d01
7
+ data.tar.gz: b395c2192c88a674f1abc75e88ce21e3c875278c251e0c64c85acb1cb6dac843b807c9fee0bd360735a87751dcaf74932f1e0a999ec7cc111e9c6b40655c0b9c
@@ -19,7 +19,6 @@ module HamlLint
19
19
  version = haml_version
20
20
  case version
21
21
  when '~> 4.0' then HamlLint::Adapter::Haml4
22
- when '~> 4.1' then HamlLint::Adapter::Haml4
23
22
  when '~> 5.0' then HamlLint::Adapter::Haml5
24
23
  else fail HamlLint::Exceptions::UnknownHamlVersion, "Cannot handle Haml version: #{version}"
25
24
  end
@@ -47,7 +47,7 @@ module HamlLint
47
47
  # Return the configuration file path.
48
48
  # @return [String]
49
49
  def config
50
- @config.path
50
+ @config&.path
51
51
  end
52
52
 
53
53
  # List of files to lint (can contain shell globs).
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module HamlLint
5
- VERSION = '0.29.0'
5
+ VERSION = '0.30.0'
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.29.0
4
+ version: 0.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane da Silva