Skip to content

Commit b8e1bc2

Browse files
authored
Add support for Rails 8.1. Drop support for Rails 7.0, 7.1 and Ruby 3.1 (#139)
* Add support for Rails 8.1. Drop support for Rails 7.0, 7.1 and Ruby 3.1 https://endoflife.date/rails https://endoflife.date/ruby After rails/rails#53689, not using kwargs is deprecated as of Rails 8.2. * Update test matrix
1 parent 466fe54 commit b8e1bc2

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
ruby-version: ["3.1", "3.2", "3.3", "3.4"]
23-
rails-version: ["7.0", "7.1", "7.2", "8.0"]
24-
exclude:
25-
- ruby-version: "3.1"
26-
rails-version: "8.0"
22+
ruby-version: ["3.2", "3.3", "3.4", "4.0"]
23+
rails-version: ["7.2", "8.0", "8.1"]
2724
runs-on: ubuntu-latest
2825
env:
2926
RAILS_VERSION: ${{ matrix.rails-version }}
3027
steps:
31-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v6
3229
- name: Set up Ruby
3330
uses: ruby/setup-ruby@v1
3431
with:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
# Unreleased
44

5+
# 4.1.0 / 2025-12-03
6+
7+
* Add support for Rails 8.1. Drop support for Rails 7.0, 7.1 and Ruby 3.1
8+
59
# 4.0.1 / 2025-07-04
610

711
* Bump `commander` runtime dependency version constraint to `< 6.0` due to deprecation of `abbrev` from Ruby standard library

lib/coach/router.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def draw(namespace, base: nil, as: nil, constraints: nil, actions: [])
2929
end
3030

3131
def match(url, **args)
32-
@mapper.match(url, args)
32+
@mapper.match(url, **args)
3333
end
3434

3535
private

lib/coach/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Coach
4-
VERSION = "4.0.1"
4+
VERSION = "4.1.0"
55
end

0 commit comments

Comments
 (0)