jcompiler 0.1.29 → 0.1.30
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: 54e2fa5690584600e354d2f6dc9d0b59c461a203
|
4
|
+
data.tar.gz: 23bb10b2fe0a40a75921f2392533b16ccb62f3df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f20f5b4e1ecdc4fd8d74fe2993e599b3e81cc000dae6e15028271880623463f539b391f9d8ecc70d74f0d3c79566814ec8cf2cde8b9d234559bc38cb92dc2fda
|
7
|
+
data.tar.gz: 23e14b506e852488a18a8de987d8b02483422938c2b19f345f5434a9edd44327c43bd26da1e0340cbdc3d02b71f7ea5b23cc0203db43ea8c9187bc8dee673339
|
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
|
-
|
13
|
+
url: 'brand_path(brand)'
|
14
14
|
#labels: '"#{brand.new_arrival? ? \'["NEW"]\' : \'[]\'}"'
|
15
15
|
}.map do |key, code|
|
16
16
|
v = eval(code, bind)
|