brianmario / yajl-ruby

A streaming JSON parsing and encoding library for Ruby (C bindings to yajl)
http://rdoc.info/projects/brianmario/yajl-ruby
MIT License
1.48k stars 169 forks source link

Rename gem from yajl-ruby to yajl #128

Open sferik opened 10 years ago

sferik commented 10 years ago

It makes sense for this repository to be named yajl-ruby, to avoid ambiguity with other wrapper libraries (not to mention YAJL itself) but the gem name need not include -ruby, since the rubygems package manager is tightly coupled to the Ruby language. Just as the sqlite3-ruby gem was renamed to sqlite, this package’s name should just be yajl.

This also increases consistency between the library’s name and the way it is required.

require 'yajl'
brianmario commented 10 years ago

I've been thinking about this lately as well. It's come up many times in the past I just wasn't sure how best to handle it other than just shipping the changed name :)

sferik commented 10 years ago

I’ve proposed a similar change to libxml-ruby and fleshed out my thoughts on how best to roll this out: https://github.com/xml4r/libxml-ruby/pull/81#issuecomment-30852959.

Just as I offered to libxml-ruby, I’m happy to help coordinate this release process.

sferik commented 10 years ago

For what it’s worth, bcrypt just made this transition seamlessly. Is there any reason not to move forward with this?

padde commented 10 years ago

:+1: I always try to gem install yail when I realize it’s called yajl with a J – oh no wait yajl-ruby :wink: