diff --git a/Appraisals b/Appraisals index a8d6497..6773b64 100644 --- a/Appraisals +++ b/Appraisals @@ -34,3 +34,9 @@ appraise "activerecord_6_1" do gem "activesupport", "~> 6.1.0" gem "pg", "~> 1.1" end + +appraise "activerecord_7_0" do + gem "activerecord", "~> 7.0" + gem "activesupport", "~> 7.0" + gem "pg", "~> 1.1" +end diff --git a/crypt_keeper.gemspec b/crypt_keeper.gemspec index 325fdcf..0fdb447 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', '< 6.2' - gem.add_runtime_dependency 'activesupport', '>= 4.2', '< 6.2' + gem.add_runtime_dependency 'activerecord', '>= 4.2', '<= 7' + gem.add_runtime_dependency 'activesupport', '>= 4.2', '<= 7' 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 new file mode 100644 index 0000000..ea40221 --- /dev/null +++ b/gemfiles/activerecord_7_0.gemfile @@ -0,0 +1,9 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 7.0" +gem "activesupport", "~> 7.0" +gem "pg", "~> 1.1" + +gemspec :path => "../"