Skip to content

modcloth-labs/commons-compress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commons-compress

Build Status

A simple JRuby wrapper around the Apache commons-compress library. Attempts to give a ruby-like API for programmers familiar with ruby's file libraries.

Installation

Add this line to your application's Gemfile:

gem 'commons-compress', github: 'modcloth-labs/commons-compress'

then execute:

$ bundle

Usage

Commons::Compress::Tar::Archive.open('foo.tgz', 'r:g') do |tar|
  tar.each_entry do |entry|
    puts entry.name

    tar.each_block do |data|
      puts data
    end
  end
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Jruby gem wrapper around Apache Commons Compress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages