This PR adds Ruby 3.1 to CI and fills out the supported Ruby versions for the listed Rails versions.
It also removes the explicit patch versions, allowing the minor versions to use the latest patch version in CI.
Aside from the workflow changes, the only required change was that the Gemfile be updated to include the net-smtp, net-imap, and net-pop gems when the Ruby version is 3.1 or higher, as these gems are no longer included in Ruby by default.
A follow up PR will work on adding Rails 7 support.
This PR adds Ruby 3.1 to CI and fills out the supported Ruby versions for the listed Rails versions.
It also removes the explicit patch versions, allowing the minor versions to use the latest patch version in CI.
Aside from the workflow changes, the only required change was that the Gemfile be updated to include the net-smtp, net-imap, and net-pop gems when the Ruby version is 3.1 or higher, as these gems are no longer included in Ruby by default.
A follow up PR will work on adding Rails 7 support.