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: 1eaa07c850f64e5780f5882d8d9784272563fd0e
4
- data.tar.gz: f4911e6b77556bf93a86f5f737fd7deb60d67b2a
3
+ metadata.gz: 621c69740b0730853b043a40c178b144dba65c58
4
+ data.tar.gz: 01e69c3968a6deca669f88bb937f0de8c892bd51
5
5
  SHA512:
6
- metadata.gz: dcc9c9aa32ed4ff5a4484f7259e53c9143113a2921bcb54a53508fe58d8821874fb0681b1ec0bce86ed8542011b0b557706b7f190c6ee246a697980fae61d2da
7
- data.tar.gz: 7fddc070e2b811dcc45e531d3bec88be589cf524b4ec277bd3006c2434c2b26fbe66fe84fb8b46e3e5b4541714f4191270ed47440f78a21708f92e6dbeff9eed
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
- contents << shift(:istring)
116
- peek?(:istring_begin)
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
 
@@ -1,5 +1,5 @@
1
1
  module Liquidscript
2
2
 
3
3
  # The current version of liquidscript.
4
- VERSION = "0.7.8".freeze
4
+ VERSION = "0.7.9".freeze
5
5
  end
@@ -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) + "";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquidscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.8
4
+ version: 0.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Rodi