haml 6.1.0 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +3 -1
- data/CHANGELOG.md +4 -0
- data/lib/haml/attribute_compiler.rb +1 -1
- data/lib/haml/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c6e33698052b2d1823959741be8219446b8b3257f5124449daa8cd8deb70e4a
|
4
|
+
data.tar.gz: d2a168766babc32a3f83b065e6d158e5b937995cdd5a46552fb95d4035ad5924
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6d71bcdb86f5281b34c9f56684263db88e947b17c8d79eb764b6ecb8f17945ad7fc374b2ad8032066b0c7ae52e3c0045de3658b76fc073e5ee8ab73e3c7eae3
|
7
|
+
data.tar.gz: 408d9dd0b14378515d175778a9d9b472b70819c2371189aa145d2e787590213f453bba60e6dec2aee5aadf9e7bc0fd6c4b077f96676c9b6e899896ce60eb07cc
|
data/.github/FUNDING.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -19,7 +19,7 @@ module Haml
|
|
19
19
|
end
|
20
20
|
[node.value[:dynamic_attributes].new, node.value[:dynamic_attributes].old].compact.each do |attribute_str|
|
21
21
|
hash = AttributeParser.parse(attribute_str)
|
22
|
-
return runtime_compile(node)
|
22
|
+
return runtime_compile(node) if hash.nil? || hash.any? { |_key, value| value.empty? }
|
23
23
|
hashes << hash
|
24
24
|
end
|
25
25
|
static_compile(node.value[:attributes], hashes)
|
data/lib/haml/version.rb
CHANGED