liquidscript 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/liquidscript/icr/sexp.rb +3 -1
- data/lib/liquidscript/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fbd86cf262b60dedf9bf967bf3fcaf0e1ce0bf0
|
4
|
+
data.tar.gz: f2186cbe90fd6a0ccf5e133e7f71f29cf28df1f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ae9d41db86d2efdc2d465b5a0b448fec4cc5ad4f0b809314d22c9fe403897b0e7872a49133643438824a875450f6912645e64ced8cde71f18db653b887f6c4a
|
7
|
+
data.tar.gz: f19d80a63fe078a2eeabd47a8d19c626ecb17c7cd3de020097710f55c2e0d1c1d17d49ced93db37e759b633717805e4ef806c3ea71b9e93aedb5619f5d15d7eb
|
@@ -25,7 +25,7 @@ module Liquidscript
|
|
25
25
|
if v.is_a?(Representable) || v.is_a?(Array)
|
26
26
|
@depth += 1
|
27
27
|
body = ["\n", " " * @depth, "(",
|
28
|
-
v.to_a.map {|d| out
|
28
|
+
v.to_a.map {|d| out(d) }.compact.join(' '),
|
29
29
|
")"].join
|
30
30
|
@depth -= 1
|
31
31
|
body
|
@@ -34,6 +34,8 @@ module Liquidscript
|
|
34
34
|
|
35
35
|
if body.include? " "
|
36
36
|
"\"#{body}\""
|
37
|
+
elsif body.length == 0
|
38
|
+
nil
|
37
39
|
else
|
38
40
|
body
|
39
41
|
end
|
data/lib/liquidscript/version.rb
CHANGED
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.5
|
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-03-
|
11
|
+
date: 2014-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|