From 08a47ec11eaab18240e5028225b73e54ba2c5ac8 Mon Sep 17 00:00:00 2001 From: Johan Smits Date: Wed, 9 Feb 2022 14:10:58 +0100 Subject: [PATCH] Allow all version of the 7.0.x versions of Rails --- Appraisals | 4 ++-- crypt_keeper.gemspec | 4 ++-- gemfiles/activerecord_7_0.gemfile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Appraisals b/Appraisals index 6773b64..27bcb12 100644 --- a/Appraisals +++ b/Appraisals @@ -36,7 +36,7 @@ appraise "activerecord_6_1" do end appraise "activerecord_7_0" do - gem "activerecord", "~> 7.0" - gem "activesupport", "~> 7.0" + gem "activerecord", "~> 7.0.0" + gem "activesupport", "~> 7.0.0" gem "pg", "~> 1.1" end diff --git a/crypt_keeper.gemspec b/crypt_keeper.gemspec index 13f91fe..6654574 100644 --- a/crypt_keeper.gemspec +++ b/crypt_keeper.gemspec @@ -18,8 +18,8 @@ Gem::Specification.new do |gem| gem.post_install_message = "WARNING: CryptKeeper 2.0 contains breaking changes and may require you to reencrypt your data! Please view the README at https://github.com/jmazzi/crypt_keeper for more information." - gem.add_runtime_dependency 'activerecord', '>= 4.2', '<= 7' - gem.add_runtime_dependency 'activesupport', '>= 4.2', '<= 7' + gem.add_runtime_dependency 'activerecord', '>= 4.2', '~> 7.0.0' + gem.add_runtime_dependency 'activesupport', '>= 4.2', '~> 7.0.0' gem.add_development_dependency 'rspec', '~> 3.5.0' gem.add_development_dependency 'guard', '~> 2.6.1' diff --git a/gemfiles/activerecord_7_0.gemfile b/gemfiles/activerecord_7_0.gemfile index ea40221..ca050fe 100644 --- a/gemfiles/activerecord_7_0.gemfile +++ b/gemfiles/activerecord_7_0.gemfile @@ -2,8 +2,8 @@ source "https://rubygems.org" -gem "activerecord", "~> 7.0" -gem "activesupport", "~> 7.0" +gem "activerecord", "~> 7.0.0" +gem "activesupport", "~> 7.0.0" gem "pg", "~> 1.1" gemspec :path => "../"