liquidscript 0.4.0 → 0.4.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: 6e5b9fbac30bdea16bbd07de8b99ca913d320b6c
4
- data.tar.gz: 888ba150e7957d376b2d1582b8ddd7d12a1d8ecc
3
+ metadata.gz: 4f11281d148fb640ffc2e0f7e8620d90db902979
4
+ data.tar.gz: 8e49e850af07a8d34d44595e2f8d550eb09e5a05
5
5
  SHA512:
6
- metadata.gz: c8d20ebc1d0dbdcf8398304d8e2a7e4a6e67eec0468189f42ee8f08e449151b2f9d3799e73ef9b4d9be25e7b4b083c0c625e3e2379c5d69c0bb5604c8eeaaf4c
7
- data.tar.gz: e989b3f6b374a81c8e55b282570ecb6b6969a7250611addd042c6a8ce10bbb165be7cde3dbc1e43ca9c40276245236363e07dc7ca2c976f7e36a3df92ab996e9
6
+ metadata.gz: f7e8ba8419ac72d775682a35fd5f8acea5a8210e20d2279ef508b1008470eb8f737d9226c481bd35f9ce3bfb2f980e9c191cd47e1d86afb56148f5a7ddde1cb4
7
+ data.tar.gz: 05d976029b24a986e993c40604ea57bd2034bd27dde7aa376e14db6db3a1bfc65e537009fab0bcac41612e44fed250c654a37571924bac12e8f80daa023874e6
data/lib/liquidscript.rb CHANGED
@@ -9,7 +9,7 @@ require "liquidscript/template"
9
9
 
10
10
  module Liquidscript
11
11
  def self.compile(data)
12
- compiler = Compiler::ICR.new(Scanner.new(data))
12
+ compiler = Compiler::ICR.new(Scanner::Liquidscript.new(data))
13
13
  compiler.compile
14
14
  Generator::Javascript.new(compiler.top).generate
15
15
  end
@@ -9,7 +9,7 @@ module Liquidscript
9
9
 
10
10
  def render
11
11
  @_render ||= begin
12
- compiler = Compiler::ICR.new(Scanner.new(@data))
12
+ compiler = Compiler::ICR.new(Scanner::Liquidscript.new(@data))
13
13
  compiler.compile
14
14
  puts ICR::Sexp.new(compiler.top).output
15
15
  Generator::Javascript.new(compiler.top).generate
@@ -1,5 +1,5 @@
1
1
  module Liquidscript
2
2
 
3
3
  # The current version of liquidscript.
4
- VERSION = "0.4.0".freeze
4
+ VERSION = "0.4.1".freeze
5
5
  end
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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Rodi