jcompiler 0.1.23 → 0.1.24

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: bb8bc4c6477ee5b09d4bd7bfe730494cb25fb559
4
- data.tar.gz: e35732eb03fbe6fee54644a8091b4db886f86cd3
3
+ metadata.gz: 44ed586aa4014908ee2bc307da311040090544b3
4
+ data.tar.gz: df95fcd77d639bd467fdc701ddfe66a9e9d0409a
5
5
  SHA512:
6
- metadata.gz: 2094eb1d2622e759e7a8898554bff09f67de4e84d3f5fe30562b30d2e2c41ab18344787792dcf6287ccf805a4cfca13f842f23b2ebff1161b6b195f53b77a1d5
7
- data.tar.gz: 309ab5f35633ab2be460bc7aaa40926b519f284e6e1f4e5222112aa3745ec8ae55deeffb72853fbea787d7df9ad5f842cd90b618a1554bc0524d89902a40b040
6
+ metadata.gz: 86579b32fcb0a76cd40325c7f5348f6b550e64c01f0fde43156f7e8ccd1837a22acc5fe442961fc99e88f4752405e1879e09c0f50c2f65918b67a78dfdbaab27
7
+ data.tar.gz: 96e61c05fb370173cd5d5db4347eaaf20283a54c2256b040fb19561a171e72e866b936ad5b5a73532c193e506caf8bf7b2cadc0c33b7ac6284aa07fcb18aa98f
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
  "\"#{attr}\":#{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.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuri Moriya