jcompiler 0.1.33 → 0.1.35

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 +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dcfc790b4fc4f0cfe9b44dfc1dd6b4407372188
4
- data.tar.gz: 4bde8a1581de77fffdd7c9c3255d6dd5351448d4
3
+ metadata.gz: 71b60932faded4de903b4b6be0f063dcb02659dd
4
+ data.tar.gz: e876480850f7378a7118d10f32a843111c4e91dd
5
5
  SHA512:
6
- metadata.gz: 05e879452d8b2a30c38669cab56255361b870520ee757f2a2afbf4269046ca1467eb4dcd1e6e866627677f351a0f1b3fc8a9c67c8351862374741c7bd8509030
7
- data.tar.gz: 8273acc64185130ef0867096d9aa7b2ffc8e6a5a6ab1334fd1e4027c320f39d76f2d197782347f571e2a1d35edc7ed70fb9da2e61a779f64f43e010296be31c6
6
+ metadata.gz: a2073d3650b310d1689c44ad05326ee96cf5f7cc367457a5afd48494b802ea514d7e76fb0dc937dc9aafc898c6942fa2c0930445c614a728d312d9c1b9dc99fa
7
+ data.tar.gz: d01b980d1c0cf38dee56b88d738150f5bcb36d95e7b06009db3a3d5299c2a7e55ee7474f214b9925fbca34838cb9ba0e15cad12aa77481b534bfec555190239a
data/lib/jcompiler.rb CHANGED
@@ -8,10 +8,10 @@ class Jcompiler
8
8
  published_at: 'brand.published_at.utc.iso8601(3)',
9
9
  official_url: 'brand.blog_url',
10
10
  sex_group: 'brand.blog_sex_switch',
11
- image_medium: 'brand.image_file.url(:medium)',
12
- image_square: 'brand.image_file.url(:square)',
11
+ image_medium: 'absolute_url(brand.image_file.url(:medium))',
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jcompiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.33
4
+ version: 0.1.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuri Moriya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2014-05-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: High performance JSON view via compiled DSL
14
14
  email: