Consolidate Ruby patches using major and minor versions
What does this MR do and why?
Previously we had to remember to apply specific patches for each version of Ruby, and it was easy to forget. Let's just simplify this by applying patches for the major and minor versions (e.g. 2.7, 3.0, etc.).
Relates to gitlab#384081 (closed)
Edited by Stan Hu