Skip to content

Commit fead6a4

Browse files
committed
💥 Drop ruby 2.7 and 3.0 support, and require 3.1
Ruby 2.7 EOL was 2023-03-31. Ruby 3.0 EOL was 2024-04-23. Currently, net-imap remains compatible with ruby 2.7. But some of my unmerged branches do use ruby 3.1 syntax (e.g: updated pattern matching and endless method definitions). It will be nice if I don't need to update those branches for compatibility with EOL rubies. ---- _**NOTE:** The next release after this is merged should be v0.5.0._
1 parent 9dec154 commit fead6a4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
88
with:
99
engine: cruby
10-
min_version: 2.7
10+
min_version: 3.1
1111

1212
build:
1313
needs: ruby-versions
@@ -26,6 +26,5 @@ jobs:
2626
with:
2727
ruby-version: ${{ matrix.ruby }}
2828
bundler-cache: true
29-
rubygems: 3.4.22
3029
- name: Run test
3130
run: bundle exec rake test

net-imap.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
1616
spec.summary = %q{Ruby client api for Internet Message Access Protocol}
1717
spec.description = %q{Ruby client api for Internet Message Access Protocol}
1818
spec.homepage = "https://github.com/ruby/net-imap"
19-
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.3")
19+
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
2020
spec.licenses = ["Ruby", "BSD-2-Clause"]
2121

2222
spec.metadata["homepage_uri"] = spec.homepage

0 commit comments

Comments
 (0)