[ANN] ruby-xz 1.0.0 released

Good evening everyone,

I am pleased to announce that I have released ruby-xz 1.0.0 today after
several years of stallment.

ruby-xz provides Ruby bindings for the liblzma[1] library, the C library
behind the compression programme xz(1). It can thus be used to create or
unpack XZ-compressed tarballs if used together with the minitar[2]
RubyGem. A simple usage example looks like this:

    require "xz"

    XZ.compress_file("myfile.txt", "myfile.txt.xz")
    XZ.decompress_file("myfile.txt.xz", "myfile.txt")

For more information, take a look at the project's README[3].

ruby-xz is licensed under the MIT license. It binds to liblzma using
Ruby's own "fiddle" library and thus does not require compilation of
native extensions. liblzma itself however needs to be installed on the
target system.

ruby-xz can be installed via RubyGems:

    $ gem install ruby-xz

Version 1.0.0 breaks the API compared to the old 0.2.3 version at
several points. Most notably, long argument lists have been replaced by
real Ruby keyword arguments, and ruby-xz now honours Ruby's external and
internal encoding concept, where "external" encoding refers to the
content of XZ compressed files in this context, not to the XZ file
itself (which is binary data). Apart from these two major changes, the
often critised dependency on io-like has been dropped, which thanks to
fiddle results in ruby-xz now only depending on Ruby's stdlib and no
other gems.

The HISTORY.rdoc[4] file contains more information on the changes.

Project website: https://mg.guelker.eu/projects/ruby-xz/
Online docs: https://mg.guelker.eu/projects/ruby-xz/doc/
Repository: https://git.guelker.eu/?p=ruby-xz.git;a=summary
Bugtracker: https://github.com/Quintus/ruby-xz/issues

Marvin

[1]: https://tukaani.org/xz/
[2]: https://github.com/halostatue/minitar
[3]: https://git.guelker.eu/?p=ruby-xz.git;a=blob;f=README.md;h=f9c9060785420592706cafc011c61e910366e2e3;hb=d6c6f712e7ed50368fb7462bae6fffc631b9baf7
[4]: https://git.guelker.eu/?p=ruby-xz.git;a=blob;f=HISTORY.rdoc;h=aa0430b282097097d456ef9ea543c0a4b813156e;hb=d6c6f712e7ed50368fb7462bae6fffc631b9baf7

···

--
Blog: https://mg.guelker.eu
PGP/GPG ID: F1D8799FBCC8BC4F