[ 
https://issues.apache.org/jira/browse/AVRO-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852212#comment-13852212
 ] 

Ches Martin commented on AVRO-1063:
-----------------------------------

I'm not sure what the release procedure is for the gem, but with the 
{{runtime_dependencies}} change included in the patch, {{rake package}} or 
{{rake release}} should update the gem specification in the built {{.gem}} file 
such that multi-json will be installed automatically when Avro is installed 
with RubyGems ({{gem install}} or dependency managers like Bundler}}).

I believe you can confirm locally with {{gem uninstall multi_json}} followed by 
{{rake install}}.

> Ruby client should use multi_json rather than being locked down to yajl
> -----------------------------------------------------------------------
>
>                 Key: AVRO-1063
>                 URL: https://issues.apache.org/jira/browse/AVRO-1063
>             Project: Avro
>          Issue Type: Improvement
>          Components: ruby
>            Reporter: Paul Dlug
>            Priority: Minor
>             Fix For: 1.8.0
>
>         Attachments: AVRO-1063.diff
>
>
> The avro ruby client uses yajl for JSON serialization which is just one of 
> many suitable JSON implementations for ruby. The multi_json gem provides a 
> wrapper for JSON serialization selecting the fastest library available (Oj is 
> now even faster than Yajl) and falling back to a pure ruby implementation 
> bundled with multi_json. Requiring yajl also precludes the ruby gem from 
> being used under jruby since it requires a C extension.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to