From 9dec154f0426ff3f0f4f07fcccbae926f4f6688f Mon Sep 17 00:00:00 2001 From: nick evans Date: Sat, 22 Jun 2024 21:36:39 -0400 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=96=20Bump=20version=20to=200.5.0-?= =?UTF-8?q?dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The next release from the main branch will be 0.5.0. --- lib/net/imap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 6fda53ce..6a55c5f2 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -717,7 +717,7 @@ module Net # * {IMAP URLAUTH Authorization Mechanism Registry}[https://www.iana.org/assignments/urlauth-authorization-mechanism-registry/urlauth-authorization-mechanism-registry.xhtml] # class IMAP < Protocol - VERSION = "0.4.14" + VERSION = "0.5.0-dev" # Aliases for supported capabilities, to be used with the #enable command. ENABLE_ALIASES = { From 6a39c56d17125f253848e4fbaaf35f2e9f62aa1e Mon Sep 17 00:00:00 2001 From: nick evans Date: Thu, 2 May 2024 08:41:31 -0400 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=92=A5=20Drop=20ruby=202.7=20and=203.?= =?UTF-8?q?0=20support,=20and=20require=203.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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._ --- .github/workflows/test.yml | 4 ++-- net-imap.gemspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70a5dc31..17732cac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -26,6 +26,6 @@ jobs: with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - rubygems: 3.4.22 + rubygems: 3.5.14 - name: Run test run: bundle exec rake test diff --git a/net-imap.gemspec b/net-imap.gemspec index 99f7896f..d52abfad 100644 --- a/net-imap.gemspec +++ b/net-imap.gemspec @@ -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