This library is called program_information. It allows you to return the real name and the version of strings such as "htop-1.0.2.tar.xz". The name would be "htop" and the version would be "1.0.2". I needed this for my Cookbooks and RBT project. It has since then become quite useful on its own. If you have specific suggestions to make this gem more useful for others, please drop me an email at: email@example.com Contributions are most welcome! Thank you.