jcompiler 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jcompiler.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bd152a08a5acdeb39b5ba979b9170cf9739637a
|
4
|
+
data.tar.gz: c010a9a02caf9a8195e785e1b81fefda51824692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d67a369f3aa85441d23c9c30f3dd4fbbe7003d93d1fc34c6a15d0950733c022b6b89ef0f08c09b525e9759aec676829f9317d1e265dc541a63d9423b95b9b99
|
7
|
+
data.tar.gz: df84536a2bfd5110ead28b8b6c2c23a756f0ed36004f7b3c6160b3553282427f7abb2c7bf98a0eff4ebed55c98a00d67d223eca8358454f8ebbb531900665a0f
|
data/lib/jcompiler.rb
CHANGED
@@ -10,7 +10,7 @@ class Jcompiler
|
|
10
10
|
# image_medium: 'absolute_url(brand.image_file.url(:medium))',
|
11
11
|
# image_square: 'absolute_url(brand.image_file.url(:square))',
|
12
12
|
# url: brand_
|
13
|
-
labels: '"#{brand.new_arrival? ? \'["NEW"]\' : \'[]\'}"'
|
13
|
+
#labels: '"#{brand.new_arrival? ? \'["NEW"]\' : \'[]\'}"'
|
14
14
|
}.map do |key, code|
|
15
15
|
v = eval(code)
|
16
16
|
"\"#{key}\":#{v.is_a?(String) ? ActiveSupport::JSON.encode(v) : v ? v.to_s : 'null'}"
|