Skip to content

Commit 68f2ca0

Browse files
committed
feat!: support rails 8.0
1 parent f7bfad9 commit 68f2ca0

7 files changed

+15
-10
lines changed

.github/workflows/spec.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ jobs:
1717
- 3.2
1818
- 3.1
1919
gemfile:
20+
- gemfiles/activerecord_8.0.gemfile
2021
- gemfiles/activerecord_7.2.gemfile
2122
- gemfiles/activerecord_7.1.gemfile
22-
- gemfiles/activerecord_7.0.gemfile
2323
db:
2424
- mysql
2525
- postgresql
2626
- sqlite3
2727
include:
2828
- ruby: truffleruby-head
2929
db: postgresql
30-
gemfile: gemfiles/activerecord_7.0.gemfile
30+
gemfile: gemfiles/activerecord_8.0.gemfile
3131
- ruby: truffleruby-head
3232
db: postgresql
3333
gemfile: gemfiles/activerecord_7.1.gemfile

Appraisals

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# frozen_string_literal: true
22

3-
appraise 'activerecord-7.0' do
4-
gem 'activerecord', '~> 7.0.1'
3+
appraise 'activerecord-7.1' do
4+
gem 'activerecord', '~> 7.1.0'
55
gem 'pg'
66
gem 'sqlite3', '~> 1.4'
77
gem 'mysql2', '~> 0.5'
88
end
99

10-
appraise 'activerecord-7.1' do
11-
gem 'activerecord', '~> 7.1.0'
10+
appraise 'activerecord-7.2' do
11+
gem 'activerecord', '~> 7.2.0'
1212
gem 'pg'
1313
gem 'sqlite3', '~> 1.4'
1414
gem 'mysql2', '~> 0.5'
1515
end
1616

17-
appraise 'activerecord-7.2' do
18-
gem 'activerecord', '~> 7.2.0'
17+
appraise 'activerecord-8.0' do
18+
gem 'activerecord', '~> 8.0.0.beta1'
1919
gem 'pg'
2020
gem 'sqlite3', '~> 1.4'
2121
gem 'mysql2', '~> 0.5'

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ source 'https://rubygems.org'
22

33
gemspec
44

5+
gem 'railties'
6+
57
group :local_development do
68
gem 'guard'
79
gem 'guard-rspec'

acts-as-taggable-on.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
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.1.gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

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

5+
gem "railties"
56
gem "activerecord", "~> 7.1.0"
67
gem "pg"
78
gem "sqlite3", "~> 1.4"

gemfiles/activerecord_7.2.gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

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

5+
gem "railties"
56
gem "activerecord", "~> 7.2.0"
67
gem "pg"
78
gem "sqlite3", "~> 1.4"

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

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

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

0 commit comments

Comments
 (0)