summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-01-10 16:11:26 -0800
committerTim Smith <tsmith@chef.io>2018-01-10 16:11:26 -0800
commit0c20d6da8a9e4d14958518e42b617ab4e78bbde1 (patch)
treea1035856bc00bf14dce8f3dae56d57a2480c30f7
parent5cfb5d9d3ce1d86e0fbbc2ca3c1d0d4029ac88a2 (diff)
downloadohai-ruby24_up.tar.gz
Require Ruby 2.4 or laterruby24_up
Support the last 2 major releases. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.travis.yml1
-rw-r--r--ohai.gemspec2
2 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index c7167d9e..f7f0f7c7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,6 @@ before_install:
- bundle --version
- rm -f .bundle/config
rvm:
- - 2.3.5
- 2.4.2
- 2.5.0
- ruby-head
diff --git a/ohai.gemspec b/ohai.gemspec
index 108b9fbf..1be3b9ca 100644
--- a/ohai.gemspec
+++ b/ohai.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.email = "adam@chef.io"
s.homepage = "https://docs.chef.io/ohai.html"
- s.required_ruby_version = ">= 2.3"
+ s.required_ruby_version = ">= 2.4"
s.add_dependency "systemu", "~> 2.6.4"
s.add_dependency "ffi-yajl", "~> 2.2"