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

Use DidYouMean.correct_error for better Ractor support #762

Closed
wants to merge 1 commit into from

Conversation

yuki24
Copy link

@yuki24 yuki24 commented Dec 22, 2021

I was working on better Ractor support for DidYouMean for the last few days. As part of that I had to deprecate the direct access to DidYouMean::SPELL_CHECKERS due to the necessity to maintain shareable objects within the dependency. From the next version the DidYouMean.correct_error method should be used as a replacement. This PR replaces the old API with the new one and should fix the build failures in the upstream Ruby.

Let me know if there is anything I can do to get this change in.

@yuki24
Copy link
Author

yuki24 commented Dec 22, 2021

Ah, this is the exact same change as #761. Closing.

@yuki24 yuki24 closed this Dec 22, 2021
@yuki24 yuki24 deleted the did-you-mean branch December 22, 2021 13:28
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.

1 participant