Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix Ruby 2.6 breakage #255

Merged
merged 2 commits into from
Nov 22, 2022
Merged

Fix Ruby 2.6 breakage #255

merged 2 commits into from
Nov 22, 2022

Conversation

perlun
Copy link
Contributor

@perlun perlun commented Nov 22, 2022

Beginless ranges are a Ruby 2.7 feature and should be avoided in this gem which has required_ruby_version = '> 1.9'.

(Maybe it would be best to reintroduce Ruby 2.6/older versions in CI as well? Just to avoid unintentional breakage like this. Either that or bump the required ruby version (in a new major version of the gem 🙂))

Beginless ranges are a [Ruby 2.7](https://ruby-doc.org/core-2.7.0/Range.html#class-Range-label-Beginless-2FEndless+Ranges) feature and should be avoided in this gem which has `required_ruby_version = '> 1.9'`.
@mislav mislav merged commit 33caddc into github:master Nov 22, 2022
@perlun perlun deleted the patch-1 branch November 23, 2022 19:44
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants