liquid_assets 0.4.2 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/liquid_assets/config.rb +1 -1
- data/lib/liquid_assets/version.rb +1 -1
- data/test/helper.rb +8 -0
- data/test/test_liquid_assets.rb +3 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f414bb1c0ef89a7bc95cd501fddeb1f326192678
|
4
|
+
data.tar.gz: eaf3abc52c05ba6f96699724d541be94a2049ce5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dc54d4954e4b824ccc21c6613f06494a908a15b186b7761fa0b450c6962f7fa8238546722ef4b1b15de78dee56124c68ab7a2d5b0e61e48dcc7644e50b27227
|
7
|
+
data.tar.gz: b5fff83b47eb3f7ca709825063f99b1a56da6037b37dc11f8e69b9e223f27ed2de1afce639bfa68e06e706fee772c7766b820933b4370068b22122d5e3a7997f
|
data/lib/liquid_assets/config.rb
CHANGED
data/test/helper.rb
CHANGED
data/test/test_liquid_assets.rb
CHANGED
@@ -24,10 +24,9 @@ tmpl="LQT.Templates[\"path/to/template\"] = function(locals,fil
|
|
24
24
|
|
25
25
|
def test_template_rendering
|
26
26
|
locals = {foo:'bar'}
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
assert_equal 'foo=bar', template
|
27
|
+
v = DummyView.new
|
28
|
+
v.compile LiquidAssets::TemplateHandler.call("Hello {{foo|upcase}}")
|
29
|
+
assert_equal 'Hello BAR', v.template( locals )
|
31
30
|
end
|
32
31
|
|
33
32
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: liquid_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Stitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: liquid
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
161
|
rubyforge_project:
|
162
|
-
rubygems_version: 2.0.
|
162
|
+
rubygems_version: 2.0.6
|
163
163
|
signing_key:
|
164
164
|
specification_version: 4
|
165
165
|
summary: Liquid formmated views and assets
|