liquidscript 0.7.8 → 0.7.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 621c69740b0730853b043a40c178b144dba65c58
|
4
|
+
data.tar.gz: 01e69c3968a6deca669f88bb937f0de8c892bd51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6743253fda9c62d6681072e83ac4eb66f3ed268d8d5d4ec104f45f487686879c17b538778fe837593bdc1550c74cc9b99912bf4ac1e37bab4d98853da5e0f57
|
7
|
+
data.tar.gz: ce4939652fc23a159777fdb63b18cc767e886c1d0cf3072c7d5690fb1f1024aa1f06d0334a86ad350be6285a641aa709bb53bd7ac4203c4801183b2dddcee066
|
@@ -112,8 +112,12 @@ module Liquidscript
|
|
112
112
|
|
113
113
|
loop do
|
114
114
|
contents << compile_vexpression
|
115
|
-
|
116
|
-
|
115
|
+
if peek?(:istring_begin)
|
116
|
+
contents << shift(:istring_begin)
|
117
|
+
else
|
118
|
+
contents << shift(:istring)
|
119
|
+
false
|
120
|
+
end
|
117
121
|
end
|
118
122
|
|
119
123
|
|
data/lib/liquidscript/version.rb
CHANGED
@@ -3,11 +3,11 @@ data: |
|
|
3
3
|
foo = 'world
|
4
4
|
thing = "hello \" test
|
5
5
|
world"
|
6
|
-
interop = "hello #{foo}"
|
6
|
+
interop = "hello #{foo} #{test}"
|
7
7
|
|
8
8
|
compiled: |
|
9
9
|
var test, foo, thing, interop;
|
10
10
|
test = "hello";
|
11
11
|
foo = 'world';
|
12
12
|
thing = "hello \" test \n world";
|
13
|
-
interop = "hello" + (foo) + "";
|
13
|
+
interop = "hello" + (foo) + " " + (test) + "";
|