0.01
No release in over 3 years
Low commit activity in last 3 years
The rubyzip-bzip2 gem provides an extension of the rubyzip gem for reading zip files compressed with bzip2 compression
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.7
>= 0
~> 5.4
~> 0.10
~> 10.3
~> 0.79.0

Runtime

~> 1.0
~> 2.2
 Project Readme

rubyzip-bzip2

Gem Version Tests Linter Code Climate Coverage Status

The rubyzip-bzip2 gem provides an extension of the rubyzip gem for reading zip files compressed with bzip2 compression.

Website and Project Home

http://github.com/rubyzip/rubyzip-bzip2

Requirements

  • Ruby 2.4 or greater

Installation

The rubyzip-bzip2 gem is available on RubyGems:

gem install rubyzip-bzip2

Or in your Gemfile:

gem 'rubyzip-bzip2'

Usage

Reading a zip file with bzip2 compression is not different from reading any other zip file using rubyzip:

require 'zip/bzip2'

Zip::File.open('foo.zip') do |zipfile|
  zipfile.each do |entry|
    content = zipfile.read(entry.name)
  end
end

License

Rubyzip-bzip2 is distributed under the same license as ruby. See http://www.ruby-lang.org/en/LICENSE.txt

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rubyzip/rubyzip-bzip2.

Development

You can run the tests with:

bundle install
rake

Authors

Jan-Joost Spanjers ( oss at hiberis.nl )