Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
Ruby 2.4 can only use the json gem if the version is 2.x or higher. The currently released version of the PredictionIO Ruby SDK has a dependency on json ~> 1.8.
Support for Ruby 2.4 can be had easily by relaxing the version constraint on the json gem to allow 2.x versions that are required for Ruby 2.4, and then switching to newer versions of rspec and webmock that work with Ruby 2.4.
There is an open pull request for this feature at https://github.com/apache/incubator-predictionio-sdk-ruby/pull/22.