Skip to content

Commit

Permalink
Add Rails 7.2.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
adbelsham committed Aug 20, 2024
1 parent b97fe68 commit e5ad0dd
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- "3.0"
- 2.7
gemfile:
- gemfiles/activerecord_7.2.gemfile
- gemfiles/activerecord_7.1.gemfile
- gemfiles/activerecord_7.0.gemfile
- gemfiles/activerecord_6.1.gemfile
Expand All @@ -35,6 +36,10 @@ jobs:
exclude:
- ruby: 3.2
gemfile: gemfiles/activerecord_6.0.gemfile
- ruby: 2.7
gemfile: gemfiles/activerecord_7.2.gemfile
- ruby: 3.0
gemfile: gemfiles/activerecord_7.2.gemfile

services:
postgres:
Expand Down
6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ appraise 'activerecord-7.1' do
gem 'pg'
gem 'mysql2', '~> 0.5'
end

appraise 'activerecord-7.2' do
gem 'activerecord', '~> 7.2.0'
gem 'pg'
gem 'mysql2', '~> 0.5'
end
2 changes: 1 addition & 1 deletion acts-as-taggable-on.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
gem.post_install_message = File.read('UPGRADING.md')
end

gem.add_runtime_dependency 'activerecord', '>= 6.1', '< 7.2'
gem.add_runtime_dependency 'activerecord', '>= 6.1', '< 7.3'

gem.add_development_dependency 'rspec-rails'
gem.add_development_dependency 'rspec-its'
Expand Down
18 changes: 18 additions & 0 deletions gemfiles/activerecord_7.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 7.2.0"
gem "pg"
gem "mysql2", "~> 0.5"

group :local_development do
gem "guard"
gem "guard-rspec"
gem "appraisal"
gem "rake"
gem "sqlite3"
gem "byebug", platforms: [:mri]
end

gemspec path: "../"

0 comments on commit e5ad0dd

Please sign in to comment.