Skip to content

Commit 1b48ec6

Browse files
committed
Support Ruby 3.4, Rails 8.0 (#39)
1 parent 0f97104 commit 1b48ec6

File tree

5 files changed

+19
-3
lines changed

5 files changed

+19
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Ruby
1616
uses: ruby/setup-ruby@v1
1717
with:
18-
ruby-version: 3.0
18+
ruby-version: 3.4
1919
- name: Install dependencies
2020
run: bundle install
2121
- name: Run RuboCop against BASE..HEAD changes

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,28 @@ on: [push]
55
jobs:
66
test:
77
strategy:
8+
fail-fast: false
89
matrix:
910
ruby-version:
1011
- '3.0'
1112
- '3.1'
1213
- '3.2'
1314
- '3.3'
15+
- '3.4'
1416
gemfile:
1517
- gemfiles/Gemfile.rails61
1618
- gemfiles/Gemfile.rails70
1719
- gemfiles/Gemfile.rails71
1820
- gemfiles/Gemfile.rails72
21+
- gemfiles/Gemfile.rails80
1922
exclude:
23+
# rails 6.1 requires ruby < 3.4
24+
- ruby-version: '3.4'
25+
gemfile: 'gemfiles/Gemfile.rails61'
26+
# rails 7.0 requires ruby >= 2.7, < 3.4
27+
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
28+
- ruby-version: '3.4'
29+
gemfile: 'gemfiles/Gemfile.rails70'
2030
# rails 7.2 requires ruby >= 3.1
2131
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
2232
- ruby-version: '3.0'

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [Unreleased]
2-
* no unreleased changes
2+
### Fixed
3+
* Support Ruby 3.4, Rails 8.0
34

45
## 2.3.2 / 2024-11-21
56
### Fixed

gemfiles/Gemfile.rails80

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source 'https://rubygems.org'
2+
3+
gemspec path: '..'
4+
5+
gem 'rails', '~> 8.0.0'

ndr_error.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
2121

2222
s.required_ruby_version = '>= 3.0'
2323

24-
s.add_dependency 'rails', '>= 6.1', '< 7.3'
24+
s.add_dependency 'rails', '>= 6.1', '< 8.1'
2525

2626
# Support rails 6.1 with Ruby 3.1
2727
s.add_dependency 'net-imap'

0 commit comments

Comments
 (0)