bade 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bade/generator.rb +1 -1
- data/lib/bade/runtime/render_binding.rb +1 -0
- data/lib/bade/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: a8686ad9e6c2c1ef1c752a2dc0e05e12b7e2ee30bfe7d4eb8ffc5256ed8a1594
|
4
|
+
data.tar.gz: 47516ba228a2111cdd8e966e468ba1bd5b02e905f9b0042bb96dd84299f737eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1852993735fd0917d23e1fb73922bef6df9263d69f93f3c68109bd29bc6d0c2d94c56e385ed8e8d779b7fb64dd69a0b2631b2d5f3bbbad3602cb41bafa96b2ec
|
7
|
+
data.tar.gz: deea59751038b074cc1f20791b4f8f19cc6b0ed8dad026ceec4c0341d9c34f0526b56f817ebd006943528ed9d8b8580ccf0b86f14ce980d850458f44a6a8dde8
|
data/lib/bade/generator.rb
CHANGED
@@ -388,7 +388,7 @@ module Bade
|
|
388
388
|
when :code
|
389
389
|
value = node.value.strip
|
390
390
|
|
391
|
-
|
391
|
+
value.match(/^(end|else|\}|class)\b/) || value.match(/^(when|elsif) /) || value.match(/^\./)
|
392
392
|
when :newline
|
393
393
|
true
|
394
394
|
else
|
data/lib/bade/version.rb
CHANGED