jcompiler 0.1.35 → 0.1.36
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: b9130bdb25f9082c542310c1216557b324e30ef2
|
4
|
+
data.tar.gz: 06ef20633ca5048fa3941afe8f25d2d5be30b266
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6428e965d3e08413e0b44e6b1ed590d47a4e7dc610632653df760e12dfe5853b52dc98fbf5a3cbfbb26f6f4c27d5e16ae3dfbbd7060387eedd9dd07c0e15381b
|
7
|
+
data.tar.gz: eafbe0139dbc1410b3978b9b71b40ed91b548912b2da4a48457666278b01cabb5ecee26aa11c17ec76ce2fcc2feac66e16b1ac8951d4a71e66b0f0e6ed6a0705
|
data/lib/jcompiler.rb
CHANGED
@@ -10,7 +10,7 @@ class Jcompiler
|
|
10
10
|
sex_group: 'brand.blog_sex_switch',
|
11
11
|
image_medium: 'absolute_url(brand.image_file.url(:medium))',
|
12
12
|
image_square: 'absolute_url(brand.image_file.url(:square))',
|
13
|
-
url: 'brand_path(brand)'
|
13
|
+
url: 'brand_path(brand)',
|
14
14
|
labels: '"#{brand.new_arrival? ? \'["NEW"]\' : \'[]\'}"'
|
15
15
|
}.map do |key, code|
|
16
16
|
v = eval(code, bind)
|