jcompiler 0.1.26 → 0.1.27

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: 3bd152a08a5acdeb39b5ba979b9170cf9739637a
4
- data.tar.gz: c010a9a02caf9a8195e785e1b81fefda51824692
3
+ metadata.gz: 30459f1d0925d506ee07034569d49b50fd9199a2
4
+ data.tar.gz: 3983307f9b09fbdef32af76287e2ad0d798ce884
5
5
  SHA512:
6
- metadata.gz: 1d67a369f3aa85441d23c9c30f3dd4fbbe7003d93d1fc34c6a15d0950733c022b6b89ef0f08c09b525e9759aec676829f9317d1e265dc541a63d9423b95b9b99
7
- data.tar.gz: df84536a2bfd5110ead28b8b6c2c23a756f0ed36004f7b3c6160b3553282427f7abb2c7bf98a0eff4ebed55c98a00d67d223eca8358454f8ebbb531900665a0f
6
+ metadata.gz: c66b74701f9d8a6fd17e3b9b996b8b5273e7d5eef39694f00b56ff1b35e414107f24be5338fc318ab56760924891159a1f762f85d65193f112501548ea0f1887
7
+ data.tar.gz: 74e2be6ab7ab1d6526376ba2b1f87cb398a1796663488d125086ec6036ada76faebfe876ed4a4d518ef288ad4bb463b7450bc13f18dc18bfc1a1dd2ff1d06ef3
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'}"
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.26
4
+ version: 0.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuri Moriya