https://github.com/rubyzip/rubyzip-bzip2
https://github.com/rubyzip/rubyzip-bzip2
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rubyzip/rubyzip-bzip2
- Owner: rubyzip
- License: bsd-2-clause
- Created: 2020-02-01T11:09:12.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-11-29T10:17:17.000Z (3 months ago)
- Last Synced: 2026-01-09T11:26:16.200Z (about 1 month ago)
- Language: Ruby
- Size: 75.2 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE.md
Awesome Lists containing this project
README
# rubyzip-bzip2
[](http://badge.fury.io/rb/rubyzip-bzip2)
[](https://github.com/rubyzip/rubyzip-bzip2/actions/workflows/tests.yml)
[](https://github.com/rubyzip/rubyzip-bzip2/actions/workflows/lint.yml)
[](https://codeclimate.com/github/rubyzip/rubyzip-bzip2)
[](https://coveralls.io/r/rubyzip/rubyzip-bzip2?branch=main)
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
Version 2.x of this library:
* Ruby 3.0 or greater
* Rubyzip 3.0 or greater
Version 1.x of this library:
* Ruby 2.4 or greater
* Rubyzip 2.4.x
## Installation
The rubyzip-bzip2 gem is available on RubyGems:
```
gem install rubyzip-bzip2
```
Or in your Gemfile:
```ruby
gem 'rubyzip-bzip2'
```
## Usage
Reading a zip file with bzip2 compression is no different from reading
any other zip file using rubyzip:
```ruby
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. In practice this means you can use it under the terms of the Ruby License or the 2-Clause BSD License. See https://www.ruby-lang.org/en/about/license.txt and LICENSE.md for details.
## 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
See https://github.com/rubyzip/rubyzip-bzip2/graphs/contributors for a comprehensive list.
### Current maintainers
* Robert Haines (@hainesr)
* John Lees-Miller (@jdleesmiller)
* Oleksandr Simonov (@simonoff)
### Original author
Jan-Joost Spanjers ( oss at hiberis.nl )