Rupat
Description
Rupat is Ruby Patching library. Rupat is mainly intended to patch text files. It can also be used to just extract information from files. Rupat comes with a library for general use and simple executable for patching files.
Documentation
Main documentation is generated from source (See: Rupat).
Test files in “test” directory includes multiple ways of how to use Rupat.
NOTE
At the moment (2017-12-17) it seems that Rupat does not have too much future development.
Rupat was evolved over pretty long period of time and included all kinds of “silly” experiments. I'm not happy with the messy outcome.
I have a rewrite ready with clean interface, but with the same basic concepts. The GEM library is called Patman. The main restriction in Patman is that it is library-only implementation. However, I feel that this is the way to go anyhow for quick-and-dirty patching. Please check if Patman suites your needs. It will have more development future than Rupat.