jcompiler 0.1.16 → 0.1.17

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: e23e2396232b4a4a98eac4b54e80a3566eae65ee
4
- data.tar.gz: e07a94f8f582129b570defe9aa082eafa917cf84
3
+ metadata.gz: 0b99e2bc8c5c6eb9ea76346c572eed377e233740
4
+ data.tar.gz: 8dc7af62d608b39370d3bd6dfae25ead69e7f781
5
5
  SHA512:
6
- metadata.gz: 082d86ba2abde6dcedf05a6cc5774d1033e70e182db5a052fccaedfe527de08a831374631e449efa61f1511b8895336bc954f7675050e84aea1ad5607e6fe85b
7
- data.tar.gz: 4a8f025ae4070ca29fc06ab363d4336a76aaa4777abfed5d17645a84120349f75ca58ac2f676303486edf6d31401e1fd4931acac79ce3fd9004bccb191f9f4bf
6
+ metadata.gz: 4243c9006478e1de4d44c43d97658f3f04cfeeb0209a75a46533e1616359ac1302a4408e1a41a6845b5ba6c07648f08fdcc09ebeab7e84db41b3cb866d17ec80
7
+ data.tar.gz: 0b89003a7b37fa3f34e9f91abaeb20e3e5ef6c5897cccccd2c4c6d7e387283c22a7ed54835ff8841e31b647e3a7dcaccf60c849d914f135a86f759381bc0e4da
data/lib/jcompiler.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  class Jcompiler
2
2
  def self.b(brand)
3
- ["\"id\":#{brand.id}", "\"name\":\"#{brand.name}\""]
3
+ ["\"id\":#{brand.id}", "\"name\":#{ActiveSupport::JSON.encode(brand.name)}"]
4
4
  end
5
5
 
6
6
  def self.a(brands)
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.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuri Moriya