Add support for Ruby 2.4 Closes #22
Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-ruby/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-ruby/commit/814e3e65 Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-ruby/tree/814e3e65 Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-ruby/diff/814e3e65 Branch: refs/heads/master Commit: 814e3e65d0e8ae52bfd32fc59b1f6ab59661d72f Parents: 7ea663a Author: anothermh <[email protected]> Authored: Wed Oct 25 21:54:08 2017 -0700 Committer: Donald Szeto <[email protected]> Committed: Wed Oct 25 21:54:55 2017 -0700 ---------------------------------------------------------------------- .travis.yml | 3 ++- Gemfile | 6 +++--- predictionio.gemspec | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-ruby/blob/814e3e65/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 24c6234..26971d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: ruby rvm: - 2.1.5 - 2.2.7 - - 2.3.4 + - 2.3.5 + - 2.4.2 script: - rake http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-ruby/blob/814e3e65/Gemfile ---------------------------------------------------------------------- diff --git a/Gemfile b/Gemfile index 9bb1435..bfb4050 100644 --- a/Gemfile +++ b/Gemfile @@ -2,12 +2,12 @@ source 'https://rubygems.org' group :test do gem 'coveralls', require: false - gem 'rspec', '~> 3.1.0' - gem 'webmock', '~> 1.20.4' + gem 'rspec', '~> 3.6.0' + gem 'webmock', '~> 2.3.2' end group :doc do gem 'rdoc', '~> 4.0.0' end -gem 'activesupport', '~> 4.2' \ No newline at end of file +gem 'activesupport', '~> 4.2' http://git-wip-us.apache.org/repos/asf/incubator-predictionio-sdk-ruby/blob/814e3e65/predictionio.gemspec ---------------------------------------------------------------------- diff --git a/predictionio.gemspec b/predictionio.gemspec index 4a86f4e..42a3a34 100644 --- a/predictionio.gemspec +++ b/predictionio.gemspec @@ -18,5 +18,5 @@ EOF s.platform = Gem::Platform::RUBY s.required_ruby_version = '>= 2.0' s.files = Dir[File.join('lib', '**', '**')] - s.add_runtime_dependency 'json', '~> 1.8' + s.add_runtime_dependency 'json', '>= 1.8' end
