Skip to content

Commit 98d7d6e

Browse files
authored
Add Ruby 3.4 support (#225)
Starting from Ruby 3.4, mutex_m has been changed from a default gem to a bundled gem. In systems using Bundler (such as Rails applications), the gem needs to be explicitly listed in the Gemfile and installed. This change ensures that the mutex_m library is properly available in Ruby 3.4 environments.
1 parent 0833796 commit 98d7d6e

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: ruby/setup-ruby@v1
1717
with:
18-
ruby-version: "3.3"
18+
ruby-version: "3.4"
1919
bundler-cache: true
2020
- run: bundle exec rake rubocop

.github/workflows/mysql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: [push, pull_request]
33

44
jobs:
55
test-latest:
6-
name: "Active Record 8.0 + Ruby 3.3"
6+
name: "Active Record 8.0 + Ruby 3.4"
77
runs-on: ubuntu-latest
88
services:
99
mysql:
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727
- uses: ruby/setup-ruby@v1
2828
with:
29-
ruby-version: "3.3"
29+
ruby-version: "3.4"
3030
bundler-cache: true
3131
- name: Prepare the database
3232
run: |
@@ -63,7 +63,7 @@ jobs:
6363
- 3306:3306
6464
strategy:
6565
matrix:
66-
ruby: ["3.1", "3.2", "3.3"]
66+
ruby: ["3.1", "3.2", "3.3", "3.4"]
6767
active_record: ["7.0", "7.1", "7.2"]
6868
env:
6969
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x

.github/workflows/postgresql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: [push, pull_request]
33

44
jobs:
55
test-latest:
6-
name: "Active Record 8.0 + Ruby 3.3"
6+
name: "Active Record 8.0 + Ruby 3.4"
77
runs-on: ubuntu-latest
88
services:
99
postgres:
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: ruby/setup-ruby@v1
2727
with:
28-
ruby-version: "3.3"
28+
ruby-version: "3.4"
2929
bundler-cache: true
3030
- name: Prepare PostgreSQL
3131
run: createdb active_record_doctor_secondary
@@ -63,7 +63,7 @@ jobs:
6363
- 5432:5432
6464
strategy:
6565
matrix:
66-
ruby: ["3.1", "3.2", "3.3"]
66+
ruby: ["3.1", "3.2", "3.3", "3.4"]
6767
active_record: ["7.0", "7.1", "7.2"]
6868
env:
6969
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x

.github/workflows/sqlite.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ on: [push, pull_request]
33

44
jobs:
55
test-latest:
6-
name: "Active Record 8.0 + Ruby 3.3"
6+
name: "Active Record 8.0 + Ruby 3.4"
77
runs-on: ubuntu-latest
88
env:
99
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-8.0.x
1010
steps:
1111
- uses: actions/checkout@v4
1212
- uses: ruby/setup-ruby@v1
1313
with:
14-
ruby-version: "3.3"
14+
ruby-version: "3.4"
1515
bundler-cache: true
1616
- name: Run the test suite against SQLite
1717
run: bundle exec rake test:sqlite3
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
ruby: ["3.1", "3.2", "3.3"]
25+
ruby: ["3.1", "3.2", "3.3", "3.4"]
2626
active_record: ["7.0", "7.1", "7.2"]
2727
env:
2828
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x

gemfiles/Gemfile.activerecord-7.0.x

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ gem "pg", "~> 1.5.9"
66
gem "mysql2", "~> 0.5.6"
77
gem "sqlite3", "~> 1.4"
88
gem "logger"
9+
gem "mutex_m"
10+
gem "bigdecimal"

0 commit comments

Comments
 (0)