summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-01-04 16:32:30 -0800
committerTim Smith <tsmith@chef.io>2017-01-13 11:08:24 -0800
commit7caddd55aac75c375122ededd0739e12527d2f1f (patch)
treeab6cf8f01e4b66d8766bc31a32927c7e5b991d24
parent60c7fd2a22cc95a8e52e9c0579ed7d49c531635a (diff)
downloadohai-7caddd55aac75c375122ededd0739e12527d2f1f.tar.gz
Require Ruby 2.2+ruby22
chef/chef already requires Ruby 2.2. We've removed support for Ruby 2.1 in our other projects and community tooling. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.travis.yml2
-rw-r--r--Gemfile1
-rw-r--r--appveyor.yml1
-rw-r--r--ohai.gemspec2
4 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 9c113bec..ed14dd13 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,9 +13,9 @@ before_install:
- bundle --version
- gem --version
rvm:
- - 2.1.9
- 2.2.6
- 2.3.3
+ - 2.4.0
- ruby-head
allow_failures:
diff --git a/Gemfile b/Gemfile
index 4bcd5f6d..87992eff 100644
--- a/Gemfile
+++ b/Gemfile
@@ -17,5 +17,4 @@ group :development do
gem "rspec-collection_matchers", "~> 1.0"
gem "rspec_junit_formatter"
gem "github_changelog_generator", git: "https://github.com/tduffield/github-changelog-generator", branch: "adjust-tag-section-mapping"
- gem "activesupport", "< 5.0" if RUBY_VERSION <= "2.2.2" # github_changelog_generator dep
end
diff --git a/appveyor.yml b/appveyor.yml
index 448ec22a..06ceaa7d 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -6,7 +6,6 @@ platform:
environment:
matrix:
- - ruby_version: "21"
- ruby_version: "22"
- ruby_version: "23"
diff --git a/ohai.gemspec b/ohai.gemspec
index 233e0fb3..17dedee1 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.1.0"
+ s.required_ruby_version = ">= 2.2.0"
s.add_dependency "systemu", "~> 2.6.4"
s.add_dependency "ffi-yajl", "~> 2.2"