Skip to content

Commit

Permalink
Raise Ruby version requirement to 3.0
Browse files Browse the repository at this point in the history
Ruby 2.7 is tagged End of Life (not even security maintanence) since this month.
We (Highline) traditionally try to maintain compatibility with old rubies.
But rubies bellow 2.7.1 lack "io/console" or they have incompatibilities.
(as discussed in PR #259)

So, this EOL of 2.7 signal to us that is time for us to move on.
People relying on old versions of Highline will probably face no problem with it.
But we will be free to start removing old code that is necessary only for
retrocompatibility in newer versions.
  • Loading branch information
abinoam committed Apr 27, 2023
1 parent 51773ff commit 2cb2cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion highline.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ DESCRIPTION

spec.extra_rdoc_files = %w[README.md TODO Changelog.md LICENSE]

spec.required_ruby_version = ">= 2.3"
spec.required_ruby_version = ">= 3.0"

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
Expand Down

0 comments on commit 2cb2cff

Please sign in to comment.