Skip to content

Commit 6699e01

Browse files
committed
Add Rails 8.1.0.beta testing support
- Replace edge testing with Rails 8.1.0.beta in Appraisals - Update CI workflow to test against Rails 8.1.0.beta - Tests pass successfully with Rails 8.1.0.beta
1 parent 55623ea commit 6699e01

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
gemfiles:
1717
- gemfiles/active_model_7.2.gemfile
1818
- gemfiles/active_model_8.0.gemfile
19-
- gemfiles/active_model_edge.gemfile
19+
- gemfiles/active_model_8.1.gemfile
2020
env:
2121
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfiles }}
2222
steps:

Appraisals

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ appraise 'active_model_8.0' do
99
gem 'activemodel', '~> 8.0.0'
1010
end
1111

12-
appraise 'active_model_edge' do
13-
gem 'activemodel', github: 'rails/rails', branch: 'main'
12+
appraise 'active_model_8.1' do
13+
gem 'activemodel', '~> 8.1.0.beta'
1414
end

gemfiles/active_model_8.1.gemfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rubocop"
6+
gem "activemodel", "~> 8.1.0.beta"
7+
8+
platforms :mri do
9+
gem "debug"
10+
end
11+
12+
gemspec path: "../"

0 commit comments

Comments
 (0)