liquidscript 0.7.11 → 0.7.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a734d499b822a7a6b1c584a6397233a08b6291bc
4
- data.tar.gz: 16e9f4c667e7738817c092c456c1e6f37b17e664
3
+ metadata.gz: 81818718ba26d7134d542545b3b19e9008f88ef4
4
+ data.tar.gz: 8f3bcb8c445c7fec88a98f99dce14afdcc064dd6
5
5
  SHA512:
6
- metadata.gz: 2a21f8b985d69a0e88f2a88dbf12a4bb9d7d862544c1a5ebe71b8a183256d0c7328c6419b9a6a23b29208bc938ef745df2dfd8bd4f46076d073be2324206646c
7
- data.tar.gz: 62c4ced070885b066dab89f09e1ceb02658f5e05e43c00315b272335c85dead6f04f93fb9f5c30ccca9452a368a1342222000d365c3d42c11858c0fc77007003
6
+ metadata.gz: 59c2abf77dc9bc5f570e18ad6a1e9a87052eba96ee0053effff3181baeaffb6e8c4ecad979e6c622194e57143fcbffaa20f436d13de0690721be516127bbbf23
7
+ data.tar.gz: a22a56199f840defcdc4c107468449e32f982a2590ae1f25602c99df860f045ffdda4672e13f9662d44616b5c4d17723054e4c55312d6c7b803fb5731ded1d0b
@@ -97,8 +97,12 @@ module Liquidscript
97
97
 
98
98
  loop do
99
99
  contents << compile_vexpression
100
- contents << shift(:iheredoc)
101
- peek?(:istring_begin)
100
+ if peek?(:iheredoc_begin)
101
+ contents << shift(:iheredoc_begin)
102
+ else
103
+ contents << shift(:iheredoc)
104
+ false
105
+ end
102
106
  end
103
107
 
104
108
  top[:heredocs][top[:herenum]].body = contents
@@ -1,5 +1,5 @@
1
1
  module Liquidscript
2
2
 
3
3
  # The current version of liquidscript.
4
- VERSION = "0.7.11".freeze
4
+ VERSION = "0.7.12".freeze
5
5
  end
@@ -2,8 +2,8 @@ data: |
2
2
  console.log(<<TEST, <<-MAYBE)
3
3
  hello world
4
4
  TEST
5
- hello #{console}
5
+ hello #{console} durr #{console.log}
6
6
  MAYBE
7
7
 
8
8
  compiled: |
9
- console.log("hello world", "hello " + console + "");
9
+ console.log("hello world", "hello " + console + " durr " + console.log + "");
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquidscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.11
4
+ version: 0.7.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Rodi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-29 00:00:00.000000000 Z
11
+ date: 2014-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler