Socket
Book a DemoInstallSign in
Socket

rubyzip-bzip2

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rubyzip-bzip2

2.0.0
bundlerRubygems
Version published
Maintainers
2
Created
Source

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

Version 2.x of this library:

  • Ruby 3.0 or greater
  • Rubyzip 3.0.x

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:

gem 'rubyzip-bzip2'

Usage

Reading a zip file with bzip2 compression is no 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. 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 )

FAQs

Package last updated on 22 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.