This is Ruby wrapper for libmspack library.
Compressing and decompressing some loosely related Microsoft compression formats, CAB, CHM, HLP, LIT, KWAJ and SZDD.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install libmspack
ffi-compiler(required for compiling libmspack)
require 'libmspack' decompressor = LibMsPack::CabDecompressor.new cab = decompressor.search('data.cab') puts cab.files.filename decompressor.close(cab) decompressor.destroy
All text, documentation, code and files in this repository are in public domain (including this text, README).
It means you can copy, modify, distribute and include in your own work/code, even for commercial purposes, all without asking permission.
libmspack library itself is licensed with the GNU LGPL
Feel free to improve anything.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
Warning: By sending pull request to this repository you dedicate any and all copyright interest in pull request (code files and all other) to the public domain. (files will be in public domain even if pull request doesn't get merged)
Also before sending pull request you acknowledge that you own all copyrights or have authorization to dedicate them to public domain.
If you don't want to dedicate code to public domain or if you're not allowed to (eg. you don't own required copyrights) then DON'T send pull request.