Skip to content

Commit

Permalink
Allows rails 7 with minor versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DAaYaremchuk committed Feb 28, 2024
1 parent 1a1d7fe commit a5da687
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
ruby-version: [ '2.7', '3.0', '3.1']
rails: ['5_0', '5_1', '5_2', '6_0', '6_1', '7_0']
rails: ['5_0', '5_1', '5_2', '6_0', '6_1', '7_0', '7_1']
exclude:
# exclude unsupported ruby versions: https://github.com/rails/rails/issues/40938
- ruby-version: '3.0'
Expand Down
6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@ appraise "activerecord_7_0" do
gem "activesupport", "~> 7.0.0"
gem "pg", "~> 1.1"
end

appraise "activerecord_7_1" do
gem "activerecord", "~> 7.1.0"
gem "activesupport", "~> 7.1.0"
gem "pg", "~> 1.1"
end
4 changes: 2 additions & 2 deletions crypt_keeper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0'
gem.add_runtime_dependency 'activesupport', '>= 4.2', '~> 7.0.0'
gem.add_runtime_dependency 'activerecord', '>= 4.2', '< 8'
gem.add_runtime_dependency 'activesupport', '>= 4.2', '< 8'

gem.add_development_dependency 'rspec', '~> 3.5.0'
gem.add_development_dependency 'guard', '~> 2.6.1'
Expand Down
9 changes: 9 additions & 0 deletions gemfiles/activerecord_7_1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 7.1.0"
gem "activesupport", "~> 7.1.0"
gem "pg", "~> 1.1"

gemspec :path => "../"
2 changes: 1 addition & 1 deletion lib/crypt_keeper/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module CryptKeeper
VERSION = "2.3.0"
VERSION = "2.3.1"
end

0 comments on commit a5da687

Please sign in to comment.