libarchive-ruby provides Ruby bindings for the libarchive library that allows you to alter arbitrary archives.
Hanmac
无