Skip to content

Commit f4f9108

Browse files
committed
Require ruby 3.1
Ruby 3.0 EOL was 2024-04-23. **NOTE:** The next release after this is merged should be v2.9.0.
1 parent d1d65b3 commit f4f9108

File tree

4 files changed

+9
-33
lines changed

4 files changed

+9
-33
lines changed

.github/workflows/test.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,16 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- ruby: 2.5
20-
timeout: 5
21-
- ruby: 2.6
22-
timeout: 5
23-
- ruby: 2.7
24-
timeout: 5
25-
- ruby: '3.0'
26-
timeout: 5
2719
- ruby: 3.1
2820
timeout: 5
2921
- ruby: 3.2
3022
timeout: 5
3123
- ruby: 3.3
3224
timeout: 5
25+
- ruby: ruby
26+
timeout: 5
27+
- ruby: head
28+
timeout: 5
3329
- ruby: truffleruby
3430
timeout: 50
3531
- ruby: truffleruby-head
@@ -38,12 +34,6 @@ jobs:
3834
timeout: 5
3935
- ruby: jruby-head
4036
timeout: 5
41-
- ruby: jruby-9.4
42-
timeout: 5
43-
- ruby: jruby-9.3
44-
timeout: 5
45-
- ruby: jruby-9.2
46-
timeout: 5
4737
steps:
4838
- name: Installing libyaml-dev
4939
run: |

Gemfile

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ source 'https://rubygems.org'
33
gemspec
44

55
if ENV['MBCHARS'] # see spec/environment.rb
6-
if RUBY_VERSION < '2.7.0'
7-
gem 'activesupport', '< 6'
8-
else
9-
gem 'activesupport', :git => 'https://github.com/rails/rails', :branch => 'main'
10-
end
6+
gem 'activesupport', :git => 'https://github.com/rails/rails', :branch => 'main'
117
end
128

139
gem 'jruby-openssl', :platforms => :jruby

README.md

+3-13
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,9 @@ our documentation, add new features—up to you! Thank you for pitching in.
4949

5050
Mail is tested against:
5151

52-
* Ruby: 2.5
53-
* Ruby: 2.6
54-
* Ruby: 2.7
55-
* Ruby: 3.0
56-
* Ruby: 3.1
57-
* Ruby: 3.2
58-
* JRuby: 9.2
59-
* JRuby: 9.3
60-
* JRuby: 9.4
61-
* JRuby: stable
62-
* JRuby: head
63-
* Truffleruby: stable
64-
* Truffleruby: head
52+
* Ruby: 3.1, 3.2, 3.3, stable, head
53+
* JRuby: stable, head
54+
* Truffleruby: stable, head
6555

6656
As new versions of Ruby are released, Mail will be compatible with support for the "preview" and all "normal maintenance", "security maintenance" and the two most recent "end of life" versions listed at the [Ruby Maintenance Branches](https://www.ruby-lang.org/en/downloads/branches/) page. Pull requests to assist in adding support for new preview releases are more than welcome.
6757

mail.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
1313
s.extra_rdoc_files = %w[ README.md ]
1414
s.rdoc_options << '--exclude' << 'lib/mail/values/unicode_tables.dat'
1515

16-
s.required_ruby_version = ">= 2.5"
16+
s.required_ruby_version = ">= 3.1"
1717

1818
s.add_dependency('logger')
1919
s.add_dependency('mini_mime', '>= 0.1.1')

0 commit comments

Comments
 (0)