Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ruby3_2 fix: check if object responds to regex_match op #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mtasaka
Copy link

@mtasaka mtasaka commented Nov 15, 2022

Maybe there is more clean solution, however anyway proposing the fix.

Object#=~ is already deprecated since ruby2.6 and will be removed from ruby3.2. As the result, Array no longer respond to =~ from ruby3.2, for example.

Check if the target object really respond to =~ .

Closes #168

Object#=~ is already deprecated since ruby2.6 and will be
removed from ruby3.2. As the result, Array no longer
respond to =~ from ruby3.2, for example.

Check if the target object really respond to =~ .

Closes wvanbergen#168
@UweKubosch
Copy link

Any chance of getting this PR merged and released? It would enable use with Ruby 3.2+

thesamesam added a commit to thesamesam/gentoo that referenced this pull request Mar 25, 2023
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spec test suite of chunky_png 1.4.0 fails with upcoming ruby32 due to Object#:~ removal
2 participants