Skip to content

Commit

Permalink
💥 Drop ruby 2.7 and 3.0 support, and require 3.1
Browse files Browse the repository at this point in the history
Ruby 2.7 EOL was 2023-03-31.
Ruby 3.0 EOL was 2023-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.
  • Loading branch information
nevans committed May 2, 2024
1 parent 119f43a commit 4f63422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.7
min_version: 3.1

build:
needs: ruby-versions
Expand All @@ -26,6 +26,6 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
rubygems: 3.4.22
rubygems: 3.5.9
- name: Run test
run: bundle exec rake test
2 changes: 1 addition & 1 deletion net-imap.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
spec.summary = %q{Ruby client api for Internet Message Access Protocol}
spec.description = %q{Ruby client api for Internet Message Access Protocol}
spec.homepage = "https://github.com/ruby/net-imap"
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.3")
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
spec.licenses = ["Ruby", "BSD-2-Clause"]

spec.metadata["homepage_uri"] = spec.homepage
Expand Down

0 comments on commit 4f63422

Please sign in to comment.