diff --git a/.ruby-version b/.ruby-version deleted file mode 100644 index 73462a5a13..0000000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -2.5.1 diff --git a/.travis.yml b/.travis.yml index a8bece6a98..f9ad1f699e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,17 @@ language: ruby sudo: false rvm: - - 2.2 + - 2.4.4 + - 2.5.1 + - ruby-head cache: bundler: true +matrix: + allow_failures: + - rvm: ruby-head + fast_finish: true + script: - bundle exec rake diff --git a/actiontext.gemspec b/actiontext.gemspec index d9de924efa..1185dfc791 100644 --- a/actiontext.gemspec +++ b/actiontext.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.homepage = "https://github.com/rails/actiontext" s.license = "MIT" - s.required_ruby_version = ">= 2.2.2" + s.required_ruby_version = ">= 2.4.1" s.add_dependency "rails", ">= 5.2.0" s.add_dependency "nokogiri"