From 2142d6479a7dbc7b0afc746f3b34b932a9b5b024 Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Thu, 1 Dec 2022 11:44:00 +1100 Subject: [PATCH] Adding explicit JRuby support Adding support for JRuby 9.2, 9.3 and 9.4 as well as stable and HEAD as well as updating README --- .github/workflows/test.yml | 10 ++++++++++ CHANGELOG.rdoc | 1 + README.md | 15 ++++++++++++++- 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bee8a6d52..4e7d31a6d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,10 +25,20 @@ jobs: timeout: 5 - ruby: 3.1 timeout: 5 + - ruby: truffleruby + timeout: 50 - ruby: truffleruby-head timeout: 50 - ruby: jruby timeout: 5 + - ruby: jruby-head + timeout: 5 + - ruby: jruby-9.4 + timeout: 5 + - ruby: jruby-9.3 + timeout: 5 + - ruby: jruby-9.2 + timeout: 5 steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index c79b9e8c1..1a42938ab 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -16,6 +16,7 @@ Code Improvements: * Use Rake's default rakelib/ directory @olleolleolle * refactor: Use Dir.glob only once in gemspec's "files" directive @olleolleolle * Configure RSpec's zero-monkey patching mode @olleolleolle +* Added support for JRuby 9.4 @mikel Bug Fixes: diff --git a/README.md b/README.md index ec20d539c..c114cf470 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,20 @@ our documentation, add new features—up to you! Thank you for pitching in. ## Compatibility -Mail supports Ruby 2.5+, including JRuby and TruffleRuby. +Mail is tested against: + +* Ruby: 2.5 +* Ruby: 2.6 +* Ruby: 2.7 +* Ruby: 3.0 +* Ruby: 3.1 +* JRuby: 9.2 +* JRuby: 9.3 +* JRuby: 9.4 +* JRuby: stable +* JRuby: head +* Truffleruby: stable +* Truffleruby: head 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.