Skip to content

Commit

Permalink
Add ruby 3.4 Support (#2189)
Browse files Browse the repository at this point in the history
* add ruyb 3.4

* add changelog entry

* fix spec

* fix spec

* fix specs for ruby-main
  • Loading branch information
reeganviljoen authored Jan 6, 2025
1 parent c5feaed commit ad04301
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ jobs:
- ruby_version: "3.3"
rails_version: "8.0"
mode: "capture_patch_enabled"
- ruby_version: "3.4"
rails_version: "8.0"
mode: "capture_patch_disabled"
- ruby_version: "3.4"
rails_version: "8.0"
mode: "capture_patch_enabled"
- ruby_version: "head"
rails_version: "main"
mode: "capture_patch_disabled"
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ nav_order: 5

*Joel Hawksley*

* Add ruby 3.4 support to CI.

*Reegan Viljoen*

## 3.21.0

* Updates testing docs to include an example of how to use with RSpec.
Expand Down
2 changes: 1 addition & 1 deletion test/sandbox/test/rendering_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_render_inline_allocations
MyComponent.ensure_compiled

allocations = (Rails.version.to_f >= 8.0) ?
{"3.4.0" => 110, "3.3.6" => 129} :
{"3.5.0" => 117, "3.4.1" => 117, "3.3.6" => 129} :
{"3.3.6" => 120, "3.3.0" => 120, "3.2.6" => 118, "3.1.6" => 118, "3.0.7" => 127}

assert_allocations(**allocations) do
Expand Down

0 comments on commit ad04301

Please sign in to comment.