Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Non-blocking zip reading and writing for Ruby
C Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ext
lib
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
async-ruby-zip-1.0.0.gem
async-ruby-zip.gemspec

README.md

async-ruby-zip

Non-blocking zip reading and writing for Ruby

Requirements

  • OS X or Linux
  • MRI 1.9.2
  • libzip >=0.10.1

Example

require 'rubygems'
require 'async_zip'
include AsyncZip


# Non-blocking zip-file creation:
AsyncZip.create(files, './output.zip') do |task|
  puts task.inspect
end

# Non-blocking zip-file extraction:
AsyncZip.extract('./output.zip', './extracted') do |task|
  puts task.inspect
end

Contact

Grigoriy Chudnov

License

Distributed under the The MIT License (MIT).

Something went wrong with that request. Please try again.