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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 172b5ec24e44155491b10c90400ffdfe5b194ae5
4
- data.tar.gz: 7d9b4798b10bb3ef81e7544ca11b29c39b4f7138
3
+ metadata.gz: ab18e04aceeade619546191a66499ee4d7c1bab5
4
+ data.tar.gz: 83080df33384b570dc88269960ee29929eb1b47a
5
5
  SHA512:
6
- metadata.gz: 36fbea8427cbb7938bbe2f565b365f74ae74a635614a408c89b6ba251ccfac8733d08fb2933f52494a3db6ccd2ba4f67c1b6deb118310592566e1373c92182e4
7
- data.tar.gz: 6053e070453271400590c0668093de272036097a9ef6edace30f67f2a58e2599e5a1665541cf86dae50f584a63b72a5c682382b76096f7e03ada8997b66d7e8d
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? }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-handlebars
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Pretre