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.
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 theDidYouMean.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.