mapbox / mapbox-sdk-rb

A Ruby interface to Mapbox APIs.
Other
59 stars 32 forks source link

Remove dependency on JSON gem #14

Closed klaustopher closed 7 years ago

klaustopher commented 7 years ago

Hi, thanks for providing this nifty wrapper around the mapbox APIs.

When updating to Ruby 2.4 I found that this gem is still using the JSON gem. Ruby has had native support for parsing and generating JSON since 1.9 and it is not really necessary for a gem to depend on the json-gem. If someone is still using the (unmaintained) ruby 1.8, they should add the json gem manually as a dependency to their Gemfile.

And I also added a .gitignore file and removed the Gemfile.lock. For a gem it doesn't make sense to have the Gemfile.lock in version control.