Skip to content

Commit

Permalink
Add test for Rails 8.0 (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee authored Sep 27, 2024
1 parent 82bf933 commit 2e16f8e
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 21 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
include:
- ruby: 3.3
gemfile: Gemfile
- ruby: 3.3
gemfile: gemfiles/Gemfile-8-0
- ruby: 3.3
gemfile: gemfiles/Gemfile-7-2
- ruby: 3.2
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
source "https://rubygems.org"
gemspec

gem "railties", "~> 7.2.0"
gem "activerecord", "~> 7.2.0"
gem "railties", "~> 8.0.0.beta1"
gem "activerecord", "~> 8.0.0.beta1"
41 changes: 22 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actionpack (7.2.1)
actionview (= 7.2.1)
activesupport (= 7.2.1)
actionpack (8.0.0.beta1)
actionview (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4, < 3.2)
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actionview (7.2.1)
activesupport (= 7.2.1)
actionview (8.0.0.beta1)
activesupport (= 8.0.0.beta1)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activemodel (7.2.1)
activesupport (= 7.2.1)
activerecord (7.2.1)
activemodel (= 7.2.1)
activesupport (= 7.2.1)
activemodel (8.0.0.beta1)
activesupport (= 8.0.0.beta1)
activerecord (8.0.0.beta1)
activemodel (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
timeout (>= 0.4.0)
activesupport (7.2.1)
activesupport (8.0.0.beta1)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
Expand All @@ -42,8 +42,10 @@ GEM
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
ast (2.4.2)
base64 (0.2.0)
benchmark (0.3.0)
bigdecimal (3.1.8)
builder (3.3.0)
concurrent-ruby (1.3.4)
Expand All @@ -54,7 +56,7 @@ GEM
i18n (1.14.6)
concurrent-ruby (~> 1.0)
io-console (0.7.2)
irb (1.14.0)
irb (1.14.1)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.7.2)
Expand Down Expand Up @@ -93,9 +95,9 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.2.1)
actionpack (= 7.2.1)
activesupport (= 7.2.1)
railties (8.0.0.beta1)
actionpack (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
Expand Down Expand Up @@ -131,6 +133,7 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.6.0)
uri (0.13.1)
useragent (0.16.10)
webrick (1.8.2)
zeitwerk (2.6.18)
Expand All @@ -140,11 +143,11 @@ PLATFORMS
x86_64-darwin-20

DEPENDENCIES
activerecord (~> 7.2.0)
activerecord (~> 8.0.0.beta1)
minitest
pg
rails-settings-cached!
railties (~> 7.2.0)
railties (~> 8.0.0.beta1)
rake
rubocop
sqlite3
Expand Down
7 changes: 7 additions & 0 deletions gemfiles/Gemfile-8-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source "https://rubygems.org"

gem "railties", "~> 8.0.0.beta1"
gem "activerecord", "~> 8.0.0.beta1"
gem "sqlite3"

gemspec path: ".."

0 comments on commit 2e16f8e

Please sign in to comment.