Skip to content

Commit d8d9ea0

Browse files
authored
Support ActiveRecord8 tests (#81)
1 parent 130a8d0 commit d8d9ea0

File tree

5 files changed

+147
-3
lines changed

5 files changed

+147
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
ruby-version: [3.0, 3.1, 3.2, 3.3]
13+
ruby-version: [3.2, 3.3]
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:

Appraisals

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ appraise "rails-7.2" do
1717
gem 'activemodel', '~> 7.2.0'
1818
gem 'actionpack', '~> 7.2.0'
1919
end
20+
21+
appraise "rails-8.0" do
22+
gem 'activemodel', '~> 8.0.0'
23+
gem 'actionpack', '~> 8.0.0'
24+
end

gemfiles/rails_7.0.gemfile.lock

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,4 @@ DEPENDENCIES
9393
subroutine!
9494

9595
BUNDLED WITH
96-
2.6.1
97-
96+
2.6.1

gemfiles/rails_8.0.gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "activemodel", "~> 8.0.0"
7+
gem "actionpack", "~> 8.0.0"
8+
9+
gemspec path: "../"

gemfiles/rails_8.0.gemfile.lock

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
PATH
2+
remote: ..
3+
specs:
4+
subroutine (4.2.0)
5+
activemodel (>= 6.1)
6+
activesupport (>= 6.1)
7+
8+
GEM
9+
remote: https://rubygems.org/
10+
specs:
11+
actionpack (8.0.1)
12+
actionview (= 8.0.1)
13+
activesupport (= 8.0.1)
14+
nokogiri (>= 1.8.5)
15+
rack (>= 2.2.4)
16+
rack-session (>= 1.0.1)
17+
rack-test (>= 0.6.3)
18+
rails-dom-testing (~> 2.2)
19+
rails-html-sanitizer (~> 1.6)
20+
useragent (~> 0.16)
21+
actionview (8.0.1)
22+
activesupport (= 8.0.1)
23+
builder (~> 3.1)
24+
erubi (~> 1.11)
25+
rails-dom-testing (~> 2.2)
26+
rails-html-sanitizer (~> 1.6)
27+
activemodel (8.0.1)
28+
activesupport (= 8.0.1)
29+
activesupport (8.0.1)
30+
base64
31+
benchmark (>= 0.3)
32+
bigdecimal
33+
concurrent-ruby (~> 1.0, >= 1.3.1)
34+
connection_pool (>= 2.2.5)
35+
drb
36+
i18n (>= 1.6, < 2)
37+
logger (>= 1.4.2)
38+
minitest (>= 5.1)
39+
securerandom (>= 0.3)
40+
tzinfo (~> 2.0, >= 2.0.5)
41+
uri (>= 0.13.1)
42+
ansi (1.5.0)
43+
appraisal (2.5.0)
44+
bundler
45+
rake
46+
thor (>= 0.14.0)
47+
base64 (0.2.0)
48+
benchmark (0.4.0)
49+
bigdecimal (3.1.8)
50+
builder (3.3.0)
51+
byebug (11.1.3)
52+
concurrent-ruby (1.3.4)
53+
connection_pool (2.4.1)
54+
crass (1.0.6)
55+
drb (2.2.1)
56+
erubi (1.13.1)
57+
i18n (1.14.6)
58+
concurrent-ruby (~> 1.0)
59+
logger (1.6.4)
60+
loofah (2.23.1)
61+
crass (~> 1.0.2)
62+
nokogiri (>= 1.12.0)
63+
m (1.6.2)
64+
method_source (>= 0.6.7)
65+
rake (>= 0.9.2.2)
66+
method_source (1.1.0)
67+
minitest (5.25.4)
68+
minitest-reporters (1.7.1)
69+
ansi
70+
builder
71+
minitest (>= 5.0)
72+
ruby-progressbar
73+
mocha (2.7.1)
74+
ruby2_keywords (>= 0.0.5)
75+
nokogiri (1.17.2-aarch64-linux)
76+
racc (~> 1.4)
77+
nokogiri (1.17.2-arm-linux)
78+
racc (~> 1.4)
79+
nokogiri (1.17.2-arm64-darwin)
80+
racc (~> 1.4)
81+
nokogiri (1.17.2-x86-linux)
82+
racc (~> 1.4)
83+
nokogiri (1.17.2-x86_64-darwin)
84+
racc (~> 1.4)
85+
nokogiri (1.17.2-x86_64-linux)
86+
racc (~> 1.4)
87+
racc (1.8.1)
88+
rack (3.1.8)
89+
rack-session (2.0.0)
90+
rack (>= 3.0.0)
91+
rack-test (2.1.0)
92+
rack (>= 1.3)
93+
rails-dom-testing (2.2.0)
94+
activesupport (>= 5.0.0)
95+
minitest
96+
nokogiri (>= 1.6)
97+
rails-html-sanitizer (1.6.2)
98+
loofah (~> 2.21)
99+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
100+
rake (13.2.1)
101+
ruby-progressbar (1.13.0)
102+
ruby2_keywords (0.0.5)
103+
securerandom (0.4.1)
104+
thor (1.3.2)
105+
tzinfo (2.0.6)
106+
concurrent-ruby (~> 1.0)
107+
uri (1.0.2)
108+
useragent (0.16.11)
109+
110+
PLATFORMS
111+
aarch64-linux
112+
arm-linux
113+
arm64-darwin
114+
x86-linux
115+
x86_64-darwin
116+
x86_64-linux
117+
118+
DEPENDENCIES
119+
actionpack (~> 8.0.0)
120+
activemodel (~> 8.0.0)
121+
appraisal
122+
byebug
123+
m
124+
minitest
125+
minitest-reporters
126+
mocha
127+
rake
128+
subroutine!
129+
130+
BUNDLED WITH
131+
2.6.1

0 commit comments

Comments
 (0)