Here follow some tips, straight from Matz, on how to get your patches considered.
These guidelines were adopted from a post by Matz on the Ruby-Core mailing list:
Implement one modification per patch
This is the biggest issue for most deferred patches. When you submit a patch that fixes multiple bugs (and adds features) at once, we have to separate them before applying it. It is a rather hard task for us busy developers, so this kind of patches tends to be deferred. No big patches please.
Sometimes a mere patch does not sufficiently describe the problem it fixes. A better description (the problem it fixes, preconditions, platform, etc.) would help a patch to be merged earlier.
Diff to the latest revision
Your problem might have been fixed in the latest revision. Or the code might be totally different by now. Before submitting a patch, try to fetch the latest version (the
trunkbranch for the latest development version,
ruby_2_6for 2.6) from the Subversion repository, please.
diff -ustyle unified diff patches to
diff -cor any other style of patches. They are far easier to review. Do not send modified files, we do not want to make a diff by ourselves.
Provide test cases (optional)
A patch providing test cases (preferably a patch to
test/*/test_*.rb) would help us understand the patch and your intention.
We might move to a Git style push/pull workflow in the future. But until then, following the above guidelines would help you to avoid frustration.