ruby-handlebars 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby-handlebars/parser.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab18e04aceeade619546191a66499ee4d7c1bab5
|
4
|
+
data.tar.gz: 83080df33384b570dc88269960ee29929eb1b47a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f2a8eac8b1c767a7f33f68c375751b27d54676cd65aa9ed641301ebce1e17a0fd55bc40619544eb691e43449f1231d205cbe6f931a22bfb6d2b28ac6ed201cd
|
7
|
+
data.tar.gz: 5d814478c5fa2112446ab1263c548596e6d27cf9a78325cc9e83e1dfab677ca83cf04d21285ecf8ad712fee483d712d20880f0bf485c763bc468ba2e0898d387
|
@@ -18,7 +18,7 @@ module Handlebars
|
|
18
18
|
|
19
19
|
rule(:else_kw) { str('else') }
|
20
20
|
rule(:identifier) { (else_kw >> space? >> dccurly).absent? >> match['@\-a-zA-Z0-9_\?'].repeat(1) }
|
21
|
-
rule(:path) { identifier >> (dot >> identifier).repeat }
|
21
|
+
rule(:path) { identifier >> (dot >> (identifier | else_kw)).repeat }
|
22
22
|
|
23
23
|
rule(:nocurly) { match('[^{}]') }
|
24
24
|
rule(:eof) { any.absent? }
|