- Notifications
You must be signed in to change notification settings - Fork0
Ruby bindings for libdeflate
License
kaorimatz/libdeflate-ruby
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Ruby bindings forlibdeflate.
Add this line to your application's Gemfile:
gem'libdeflate'
And then execute:
$ bundle
Or install it yourself as:
$ gem install libdeflate
require'libdeflate'compressor=Libdeflate::Compressor.newcompressed_string=compressor.compress('Hello, World!')decompressor=Libdeflate::Decompressor.newdecompressor.decompress(compressed_string)
After checking out the repo, runbin/setup
to install dependencies. Then, runrake spec
to run the tests. You can also runbin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, runbundle exec rake install
. To release a new version, update the version number inversion.rb
, and then runbundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the.gem
file torubygems.org.
Bug reports and pull requests are welcome on GitHub athttps://github.com/kaorimatz/libdeflate.
The gem is available as open source under the terms of theMIT License.
The gem bundleslibdeflate, which is licensed under the terms of theMIT License.