summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2016-06-30 16:01:08 -0700
committerTim Smith <tsmith@chef.io>2016-07-01 10:00:08 -0700
commitaf27fd0527cd500549292f63a6e4e165a449fc10 (patch)
tree837d7866625ef48659911df8c59ccf0ddd18c6f0
parentf9992941f3a39937362d1c98cb4dc63bd9d5b680 (diff)
downloadohai-af27fd0527cd500549292f63a6e4e165a449fc10.tar.gz
Remove support for Ruby 2.0
Also test on more specific Ruby versions since the rbenv aliases don't point to current. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.travis.yml7
-rw-r--r--ohai.gemspec2
2 files changed, 4 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index f33b7d17..9980eb3d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,10 +14,9 @@ before_install:
- bundle --version
- gem --version
rvm:
- - 2.0
- - 2.1
- - 2.2
- - 2.3.0
+ - 2.1.9
+ - 2.2.5
+ - 2.3.1
script:
- bundle exec chefstyle
diff --git a/ohai.gemspec b/ohai.gemspec
index 3e59b6a8..f9508757 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.0.0"
+ s.required_ruby_version = ">= 2.1.0"
s.add_dependency "systemu", "~> 2.6.4"
s.add_dependency "ffi-yajl", "~> 2.2"