liquidscript 0.7.11 → 0.7.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81818718ba26d7134d542545b3b19e9008f88ef4
|
4
|
+
data.tar.gz: 8f3bcb8c445c7fec88a98f99dce14afdcc064dd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
101
|
-
|
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
|
data/lib/liquidscript/version.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2014-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|