You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
@bkeepers Per #457's point, you don't need to restore support for 2.5 and 2.6 if you don't want to. But you do need to add a required_ruby_version into your gemspec. It's fine if people just can't install dotenv 2.9 on Ruby 2.5 or 2.6. CI won't attempt that if you've configured your required_ruby_version to say the gem only supports '>= 2.7.0'. But right now your gemspec says you support all ruby versions, and that's not true, which causes huge problems for Ruby 2.5 & 2.6 users. Regardless of what versions you support, you should specify the requirements in the gemspec.
d7c9135
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bkeepers Per #457's point, you don't need to restore support for 2.5 and 2.6 if you don't want to. But you do need to add a
required_ruby_version
into your gemspec. It's fine if people just can't install dotenv 2.9 on Ruby 2.5 or 2.6. CI won't attempt that if you've configured yourrequired_ruby_version
to say the gem only supports'>= 2.7.0'
. But right now your gemspec says you support all ruby versions, and that's not true, which causes huge problems for Ruby 2.5 & 2.6 users. Regardless of what versions you support, you should specify the requirements in the gemspec.I'd propose you drop support for EOL ruby versions but also update your gemspec files.
Here's Rails' for an example. Rails supports Ruby 2.7+.
https://github.com/rails/rails/blob/main/rails.gemspec#L12