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.
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 theGemfile.lock
. For a gem it doesn't make sense to have theGemfile.lock
in version control.