Closed andrew closed 8 years ago
Thanks, would you mind adding gem 'json', :platform => :ruby_18
to the Gemfile to ensure tests pass? You'll want to rebase on master first as I've fixed the tests that are currently failing.
@domcleal adding that to the gem file won't actually fix it for people wanting to use ruby 1.8 though, if you want to fully support 1.8, which has been unsupported for nearly three years now, then don't merge this pr as it will fail to work for 1.8 users.
Yes, I'm happy for Ruby 1.8.7 users to add their own dependencies on the json gem if they want to use this, but I'd like to ensure the gem still runs on 1.8.7. The Gemfile update is just needed for tests on 1.8.7 for spdx-licenses itself.
Though it's long since unsupported upstream, it's still common in certain places - this gem is used in the Puppet community, and 1.8's often still tested.
@domcleal cool, updated and rebased 👍
Merged, thanks @andrew!
Not needed since ruby 1.9+ as it's including in the standard library
Similar pr sent to rails recently: https://github.com/rails/rails/pull/23453