jcompiler 0.1.36 → 0.1.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jcompiler.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9130bdb25f9082c542310c1216557b324e30ef2
4
- data.tar.gz: 06ef20633ca5048fa3941afe8f25d2d5be30b266
3
+ metadata.gz: c01d35f85c171b144bd2d23fce5704a5f359df83
4
+ data.tar.gz: a6c48ce2eb7e6583df83ff4f7b57a55a5c7bc854
5
5
  SHA512:
6
- metadata.gz: 6428e965d3e08413e0b44e6b1ed590d47a4e7dc610632653df760e12dfe5853b52dc98fbf5a3cbfbb26f6f4c27d5e16ae3dfbbd7060387eedd9dd07c0e15381b
7
- data.tar.gz: eafbe0139dbc1410b3978b9b71b40ed91b548912b2da4a48457666278b01cabb5ecee26aa11c17ec76ce2fcc2feac66e16b1ac8951d4a71e66b0f0e6ed6a0705
6
+ metadata.gz: 21349c9ec8115aa649c4f0bf294aecb9ca5948eecf496c44c39f11c478c51a567022b772529c6a8ef9a8d7ecb651dc9d276b6c652550bd60912de753b0b232fc
7
+ data.tar.gz: ad48eb79f8ea93522f8032300203f3140dc11023c3ba53a72663a9f183061a6427c05b40afdd0cfa7a3093ed730448f2cbd19ec7bf526abcb0158805381fac66
@@ -11,7 +11,7 @@ class Jcompiler
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
- labels: '"#{brand.new_arrival? ? \'["NEW"]\' : \'[]\'}"'
14
+ labels: 'brand.new_arrival? ? \'["NEW"]\' : \'[]\''
15
15
  }.map do |key, code|
16
16
  v = eval(code, bind)
17
17
  "\"#{key}\":#{v.is_a?(String) ? ActiveSupport::JSON.encode(v) : v ? v.to_s : 'null'}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jcompiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.36
4
+ version: 0.1.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuri Moriya