Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: support rails 8.0 #1134

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,18 @@ jobs:
ruby:
- 3.3
- 3.2
- 3.1
gemfile:
- gemfiles/activerecord_8.0.gemfile
- gemfiles/activerecord_7.2.gemfile
- gemfiles/activerecord_7.1.gemfile
- gemfiles/activerecord_7.0.gemfile
db:
- mysql
- postgresql
- sqlite3
include:
- ruby: truffleruby-head
db: postgresql
gemfile: gemfiles/activerecord_7.0.gemfile
gemfile: gemfiles/activerecord_8.0.gemfile
- ruby: truffleruby-head
db: postgresql
gemfile: gemfiles/activerecord_7.1.gemfile
Expand Down
17 changes: 9 additions & 8 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# frozen_string_literal: true

appraise 'activerecord-7.0' do
gem 'activerecord', '~> 7.0.1'
gem 'pg'
gem 'sqlite3', '~> 1.4'
gem 'mysql2', '~> 0.5'
end

appraise 'activerecord-7.1' do
gem 'activerecord', '~> 7.1.0'
gem 'pg'
Expand All @@ -17,6 +10,14 @@ end
appraise 'activerecord-7.2' do
gem 'activerecord', '~> 7.2.0'
gem 'pg'
gem 'sqlite3', '~> 1.4'
gem 'sqlite3', '~> 2.1'
gem 'mysql2', '~> 0.5'
end

appraise 'activerecord-8.0' do
gem 'activerecord', '~> 8.0.0.beta1'
gem 'railties', '~> 8.0.0.beta1'
gem 'pg'
gem 'sqlite3', '~> 2.1'
gem 'mysql2', '~> 0.5'
end
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,10 @@ Versions >= 8.x are compatible with Ruby 2.3.7+ and Rails 5 and 6.

Versions >= 9.x are compatible with Ruby 2.5.0 and Rails 6 and 7.

Versions >= 11.x are compatible with Ruby 3.1.0 and Rails 7.

Versions >= 12.x are compatible with Ruby 3.2.0 and Rails 7.1 and 8.0.

For an up-to-date roadmap, see https://github.com/mbleigh/acts-as-taggable-on/milestones

## Testing
Expand Down
4 changes: 2 additions & 2 deletions acts-as-taggable-on.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Gem::Specification.new do |gem|
gem.files = `git ls-files`.split($/)
gem.test_files = gem.files.grep(%r{^spec/})
gem.require_paths = ['lib']
gem.required_ruby_version = '>= 3.0.0'
gem.required_ruby_version = '>= 3.2.0'

if File.exist?('UPGRADING.md')
gem.post_install_message = File.read('UPGRADING.md')
end

gem.add_runtime_dependency 'activerecord', '>= 7.0', '< 8.0'
gem.add_runtime_dependency 'activerecord', '>= 7.1', '< 8.1'
gem.add_runtime_dependency 'zeitwerk', '>= 2.4', '< 3.0'

gem.add_development_dependency 'rspec-rails'
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/activerecord_7.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"

gem "activerecord", "~> 7.2.0"
gem "pg"
gem "sqlite3", "~> 1.4"
gem "sqlite3", "~> 2.1"
gem "mysql2", "~> 0.5"

group :local_development do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

source "https://rubygems.org"

gem "activerecord", "~> 7.0.1"
gem "activerecord", "~> 8.0.0.beta1"
gem "railties", "~> 8.0.0.beta1"
gem "pg"
gem "sqlite3", "~> 1.4"
gem "sqlite3", "~> 2.1"
gem "mysql2", "~> 0.5"

group :local_development do
Expand Down
Loading