From d36c41ad7b7b0df8558d984a07f25282b83ad62e Mon Sep 17 00:00:00 2001 From: Guillaume Dott Date: Thu, 6 Jan 2022 12:52:06 +0100 Subject: [PATCH] Add support for Rails 7 --- .travis.yml | 6 ++---- the_moderator.gemspec | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index da9c155..5e35f5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,5 @@ language: ruby rvm: - - 2.1.9 - - 2.2.7 - - 2.3.4 - - 2.4.1 + - 3.0.3 + - 3.1.0 script: 'bundle exec rspec spec' diff --git a/the_moderator.gemspec b/the_moderator.gemspec index 51deb5c..b62be75 100644 --- a/the_moderator.gemspec +++ b/the_moderator.gemspec @@ -18,9 +18,9 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_dependency "activemodel", ">= 3.2.0", "< 7" - spec.add_dependency "activerecord", ">= 3.2.0", "< 7" - spec.add_dependency "activesupport", ">= 3.2.0", "< 7" + spec.add_dependency "activemodel", ">= 3.2.0", "< 8" + spec.add_dependency "activerecord", ">= 3.2.0", "< 8" + spec.add_dependency "activesupport", ">= 3.2.0", "< 8" spec.add_development_dependency "bundler", "~> 2.2" spec.add_development_dependency "rake", "~> 13.0"