Skip to content

Commit

Permalink
Remove Ruby 2.2 support (#341)
Browse files Browse the repository at this point in the history
I noticed a Travis failure on Ruby 2.2 on #340
But Ruby 2.2 was EOL six months ago: https://www.ruby-lang.org/en/news/2018/06/20/support-of-ruby-2-2-has-ended/

Chef 12 shipped with Ruby 2.1.2+ per https://github.com/chef/chef-rfc/blob/master/rfc015-chef-12.md#chef-12-1
Chef 12.14.11+ shipped with Ruby 2.3.1: chef/chef@505a2ba
Chef 14.0.1+ shipped with Ruby 2.4+: chef/chef@aad8ccf126

We haven't shipped Ruby < 2.3 since 12.14 around August 2016.

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
  • Loading branch information
btm authored and alexpop committed Oct 11, 2018
1 parent 2b168b0 commit 3e64644
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ before_install:
- bundle --version
matrix:
include:
- rvm: 2.2
script: bundle exec rake
- rvm: 2.3.3
script: bundle exec rake $SUITE
env: SUITE=test:integration OS='default-centos-7'
Expand Down
6 changes: 0 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ source 'https://rubygems.org'

gem 'chef', '>= 12.5.1'

if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
gem 'json', '~> 1.8'
gem 'rack', '< 2.0'
gem 'fauxhai', '< 3.10'
end

group :style do
gem 'foodcritic', '~> 11.0'
gem 'cookstyle', '~> 1.3'
Expand Down

0 comments on commit 3e64644

Please sign in to comment.