Skip to content

Commit 741f533

Browse files
committed
feat!: support rails 8.0
1 parent f7bfad9 commit 741f533

File tree

6 files changed

+21
-16
lines changed

6 files changed

+21
-16
lines changed

.github/workflows/spec.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,18 @@ jobs:
1515
ruby:
1616
- 3.3
1717
- 3.2
18-
- 3.1
1918
gemfile:
19+
- gemfiles/activerecord_8.0.gemfile
2020
- gemfiles/activerecord_7.2.gemfile
2121
- gemfiles/activerecord_7.1.gemfile
22-
- gemfiles/activerecord_7.0.gemfile
2322
db:
2423
- mysql
2524
- postgresql
2625
- sqlite3
2726
include:
2827
- ruby: truffleruby-head
2928
db: postgresql
30-
gemfile: gemfiles/activerecord_7.0.gemfile
29+
gemfile: gemfiles/activerecord_8.0.gemfile
3130
- ruby: truffleruby-head
3231
db: postgresql
3332
gemfile: gemfiles/activerecord_7.1.gemfile

Appraisals

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
# frozen_string_literal: true
22

3-
appraise 'activerecord-7.0' do
4-
gem 'activerecord', '~> 7.0.1'
5-
gem 'pg'
6-
gem 'sqlite3', '~> 1.4'
7-
gem 'mysql2', '~> 0.5'
8-
end
9-
103
appraise 'activerecord-7.1' do
114
gem 'activerecord', '~> 7.1.0'
125
gem 'pg'
@@ -17,6 +10,14 @@ end
1710
appraise 'activerecord-7.2' do
1811
gem 'activerecord', '~> 7.2.0'
1912
gem 'pg'
20-
gem 'sqlite3', '~> 1.4'
13+
gem 'sqlite3', '~> 2.1'
14+
gem 'mysql2', '~> 0.5'
15+
end
16+
17+
appraise 'activerecord-8.0' do
18+
gem 'activerecord', '~> 8.0.0.beta1'
19+
gem 'railties', '~> 8.0.0.beta1'
20+
gem 'pg'
21+
gem 'sqlite3', '~> 2.1'
2122
gem 'mysql2', '~> 0.5'
2223
end

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,10 @@ Versions >= 8.x are compatible with Ruby 2.3.7+ and Rails 5 and 6.
571571

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

574+
Versions >= 11.x are compatible with Ruby 3.1.0 and Rails 7.
575+
576+
Versions >= 12.x are compatible with Ruby 3.2.0 and Rails 7.1 and 8.0.
577+
574578
For an up-to-date roadmap, see https://github.com/mbleigh/acts-as-taggable-on/milestones
575579

576580
## Testing

acts-as-taggable-on.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Gem::Specification.new do |gem|
1515
gem.files = `git ls-files`.split($/)
1616
gem.test_files = gem.files.grep(%r{^spec/})
1717
gem.require_paths = ['lib']
18-
gem.required_ruby_version = '>= 3.0.0'
18+
gem.required_ruby_version = '>= 3.2.0'
1919

2020
if File.exist?('UPGRADING.md')
2121
gem.post_install_message = File.read('UPGRADING.md')
2222
end
2323

24-
gem.add_runtime_dependency 'activerecord', '>= 7.0', '< 8.0'
24+
gem.add_runtime_dependency 'activerecord', '>= 7.1', '< 8.1'
2525
gem.add_runtime_dependency 'zeitwerk', '>= 2.4', '< 3.0'
2626

2727
gem.add_development_dependency 'rspec-rails'

gemfiles/activerecord_7.2.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44

55
gem "activerecord", "~> 7.2.0"
66
gem "pg"
7-
gem "sqlite3", "~> 1.4"
7+
gem "sqlite3", "~> 2.1"
88
gem "mysql2", "~> 0.5"
99

1010
group :local_development do

gemfiles/activerecord_7.0.gemfile gemfiles/activerecord_8.0.gemfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
source "https://rubygems.org"
44

5-
gem "activerecord", "~> 7.0.1"
5+
gem "activerecord", "~> 8.0.0.beta1"
6+
gem "railties", "~> 8.0.0.beta1"
67
gem "pg"
7-
gem "sqlite3", "~> 1.4"
8+
gem "sqlite3", "~> 2.1"
89
gem "mysql2", "~> 0.5"
910

1011
group :local_development do

0 commit comments

Comments
 (0)