rubyzip-bzip2 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7322a0596a465cab1e1f7e5a2bfa7c7fbc8d5d8265187dffb8eb2c3826066c8e
4
+ data.tar.gz: 83693f7f9c329715977b8bcef4990013c6983ca0e1945525a877352814d612d7
5
+ SHA512:
6
+ metadata.gz: 67d3cdb7afe2d41236cc7cd3b6350b32dcc4d009ce8ae30f327cf6cc3fee8a0a75b9b5aeec016a0d97a437699dc6a919d0f636a309b1dd075c61b55917dc28c9
7
+ data.tar.gz: a8130502de8fd975e62095197d1ec41b669a3bddd56adedd8a6feda29fb12db2c35a71ac016b96d9e7b2b7579a9a1ecd4d13fa13ed5ab75a647b9030af756421
@@ -0,0 +1,59 @@
1
+ # rubyzip-bzip2
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/rubyzip-bzip2.svg)](http://badge.fury.io/rb/rubyzip-bzip2)
4
+ [![Build Status](https://secure.travis-ci.org/rubyzip/rubyzip-bzip2.svg)](http://travis-ci.org/rubyzip/rubyzip-bzip2)
5
+ [![Code Climate](https://codeclimate.com/github/rubyzip/rubyzip-bzip2.svg)](https://codeclimate.com/github/rubyzip/rubyzip-bzip2)
6
+ [![Coverage Status](https://img.shields.io/coveralls/rubyzip/rubyzip-bzip2.svg)](https://coveralls.io/r/rubyzip/rubyzip-bzip2?branch=master)
7
+
8
+ The rubyzip-bzip2 gem provides an extension of the rubyzip gem for reading zip files
9
+ compressed with bzip2 compression.
10
+
11
+ ## Website and Project Home
12
+ http://github.com/rubyzip/rubyzip-bzip2
13
+
14
+ ## Requirements
15
+ - Ruby 2.4 or greater
16
+
17
+ ## Installation
18
+ The rubyzip-bzip2 gem is available on RubyGems:
19
+
20
+ ```
21
+ gem install rubyzip-bzip2
22
+ ```
23
+
24
+ Or in your Gemfile:
25
+
26
+ ```ruby
27
+ gem 'rubyzip-bzip2'
28
+ ```
29
+
30
+ ## Usage
31
+ Reading a zip file with bzip2 compression is not different from reading
32
+ any other zip file using rubyzip:
33
+
34
+ ```ruby
35
+ Zip::File.open('foo.zip') do |zipfile|
36
+ zipfile.each do |entry|
37
+ content = zipfile.read(entry.name)
38
+ end
39
+ end
40
+
41
+ ```
42
+
43
+ ## License
44
+ Rubyzip-bzip2 is distributed under the same license as ruby. See
45
+ http://www.ruby-lang.org/en/LICENSE.txt
46
+
47
+ ## Contributing
48
+ Bug reports and pull requests are welcome on GitHub at https://github.com/rubyzip/rubyzip-bzip2.
49
+
50
+ ## Development
51
+ You can run the tests with:
52
+
53
+ ```
54
+ bundle install
55
+ rake
56
+ ```
57
+
58
+ ## Authors
59
+ Jan-Joost Spanjers ( oss at hiberis.nl )
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'zip'
4
+ require 'zip/bzip2/version'
5
+ require 'zip/bzip2/decompressor'
6
+
7
+ module Zip
8
+ # The Zip::Bzip2 module extends Rubyzip with support for the bzip2 compression method.
9
+ module Bzip2
10
+ end
11
+ end
@@ -0,0 +1,70 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'zip/bzip2/libbz2'
4
+
5
+ module Zip
6
+ module Bzip2
7
+ class Decompress #:nodoc:
8
+ OUTPUT_BUFFER_SIZE = 4096
9
+
10
+ def initialize(options = {})
11
+ small = options[:small]
12
+
13
+ @libbz2 = Libbz2.new.tap do |libbz2|
14
+ libbz2.decompress_init!(small)
15
+ end
16
+
17
+ @finished = false
18
+ end
19
+
20
+ def decompress(data)
21
+ result = ''.dup
22
+
23
+ with_input_buffer(data) do |input_buffer|
24
+ @libbz2.input_buffer = input_buffer
25
+
26
+ with_output_buffer(OUTPUT_BUFFER_SIZE) do |output_buffer|
27
+ while @libbz2.input?
28
+ @libbz2.output_buffer = output_buffer
29
+
30
+ @finished = @libbz2.decompress!
31
+ result += @libbz2.output
32
+ next unless @finished
33
+
34
+ @libbz2.decompress_end!
35
+ break
36
+ end
37
+ end
38
+ end
39
+
40
+ result
41
+ end
42
+
43
+ def finished?
44
+ @finished
45
+ end
46
+
47
+ private
48
+
49
+ def with_input_buffer(data)
50
+ input_buffer = nil
51
+ begin
52
+ input_buffer = Libbz2.buffer_from_data(data)
53
+ yield input_buffer
54
+ ensure
55
+ input_buffer&.free
56
+ end
57
+ end
58
+
59
+ def with_output_buffer(length)
60
+ output_buffer = nil
61
+ begin
62
+ output_buffer = Libbz2.buffer(length)
63
+ yield output_buffer
64
+ ensure
65
+ output_buffer&.free
66
+ end
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'zip'
4
+ require 'zip/bzip2/decompress'
5
+
6
+ module Zip #:nodoc:
7
+ module Bzip2
8
+ class Decompressor < ::Zip::Decompressor #:nodoc:
9
+ def initialize(*args)
10
+ super
11
+
12
+ @buffer = ''.dup
13
+ @bzip2_ffi_decompressor = ::Zip::Bzip2::Decompress.new
14
+ end
15
+
16
+ def read(length = nil, outbuf = ''.dup)
17
+ return return_value_on_eof(length) if eof
18
+
19
+ fill_buffer(length)
20
+
21
+ outbuf.replace(@buffer.slice!(0...(length || @buffer.bytesize)))
22
+ end
23
+
24
+ def eof
25
+ @buffer.empty? && input_finished?
26
+ end
27
+
28
+ alias eof? eof
29
+
30
+ private
31
+
32
+ def return_value_on_eof(length)
33
+ return '' if length.nil? || length.zero?
34
+ end
35
+
36
+ def fill_buffer(min_length)
37
+ while min_length.nil? || (@buffer.bytesize < min_length)
38
+ break if input_finished?
39
+
40
+ @buffer << produce_input
41
+ end
42
+ end
43
+
44
+ def produce_input
45
+ @bzip2_ffi_decompressor.decompress(input_stream.read(Decompressor::CHUNK_SIZE))
46
+ rescue Bzip2::Error
47
+ raise(::Zip::DecompressionError, 'bzip2 error while decompressing')
48
+ end
49
+
50
+ def input_finished?
51
+ @bzip2_ffi_decompressor.finished?
52
+ end
53
+ end
54
+ end
55
+
56
+ ::Zip::Decompressor.register(::Zip::COMPRESSION_METHOD_BZIP2, ::Zip::Bzip2::Decompressor)
57
+ end
@@ -0,0 +1,67 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Zip
4
+ module Bzip2
5
+ # Base class for Zip::Bzip2 exceptions.
6
+ class Error < IOError
7
+ end
8
+
9
+ # Raised if a failure occurred allocating memory to complete a request.
10
+ class MemError < Error
11
+ # Initializes a new instance of MemError.
12
+ #
13
+ # @private
14
+ def initialize #:nodoc:
15
+ super('Could not allocate enough memory to perform this request')
16
+ end
17
+ end
18
+
19
+ # Raised if a data integrity error is detected (a mismatch between
20
+ # stored and computed CRCs or another anomaly in the compressed data).
21
+ class DataError < Error
22
+ # Initializes a new instance of DataError.
23
+ #
24
+ # @param message [String] Exception message (overrides the default).
25
+ # @private
26
+ def initialize(message = nil) #:nodoc:
27
+ super(
28
+ message ||
29
+ 'Data integrity error detected (mismatch between stored and computed CRCs, '\
30
+ 'or other anomaly in the compressed data)',
31
+ )
32
+ end
33
+ end
34
+
35
+ # Raised if the compressed data does not start with the correct magic
36
+ # bytes ('BZh').
37
+ class MagicDataError < DataError
38
+ # Initializes a new instance of MagicDataError.
39
+ #
40
+ # @private
41
+ def initialize #:nodoc:
42
+ super('Compressed data does not start with the correct magic bytes (\'BZh\')')
43
+ end
44
+ end
45
+
46
+ # Raised if libbz2 detects that it has been improperly compiled.
47
+ class ConfigError < DataError
48
+ # Initializes a new instance of ConfigError.
49
+ #
50
+ # @private
51
+ def initialize #:nodoc:
52
+ super('libbz2 has been improperly compiled on your platform')
53
+ end
54
+ end
55
+
56
+ # Raised if libbz2 reported an unexpected error code.
57
+ class UnexpectedError < Error
58
+ # Initializes a new instance of UnexpectedError.
59
+ #
60
+ # @param error_code [Integer] The error_code reported by libbz2.
61
+ # @private
62
+ def initialize(error_code) #:nodoc:
63
+ super("An unexpected error was detected (error code: #{error_code})")
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,100 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file is copied from:
4
+ #
5
+ # https://github.com/philr/bzip2-ffi/raw/master/lib/bzip2/ffi/libbz2.rb
6
+
7
+ # Copyright (c) 2015-2016 Philip Ross
8
+ #
9
+ # Permission is hereby granted, free of charge, to any person obtaining a copy of
10
+ # this software and associated documentation files (the "Software"), to deal in
11
+ # the Software without restriction, including without limitation the rights to
12
+ # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
13
+ # of the Software, and to permit persons to whom the Software is furnished to do
14
+ # so, subject to the following conditions:
15
+ #
16
+ # The above copyright notice and this permission notice shall be included in all
17
+ # copies or substantial portions of the Software.
18
+ #
19
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25
+ # THE SOFTWARE.
26
+
27
+ require 'ffi'
28
+
29
+ module Zip
30
+ module Bzip2
31
+ module FFI
32
+ # FFI bindings for the libbz2 low-level interface.
33
+ #
34
+ # See bzlib.h and http://bzip.org/docs.html.
35
+ #
36
+ # @private
37
+ module Libbz2 #:nodoc:
38
+ extend ::FFI::Library
39
+
40
+ ffi_lib ['bz2', 'libbz2.so.1', 'libbz2.dll']
41
+
42
+ BZ_RUN = 0
43
+ BZ_FLUSH = 1
44
+ BZ_FINISH = 2
45
+
46
+ BZ_OK = 0
47
+ BZ_RUN_OK = 1
48
+ BZ_FLUSH_OK = 2
49
+ BZ_FINISH_OK = 3
50
+ BZ_STREAM_END = 4
51
+ BZ_SEQUENCE_ERROR = -1
52
+ BZ_PARAM_ERROR = -2
53
+ BZ_MEM_ERROR = -3
54
+ BZ_DATA_ERROR = -4
55
+ BZ_DATA_ERROR_MAGIC = -5
56
+ BZ_CONFIG_ERROR = -9
57
+
58
+ # void *(*bzalloc)(void *,int,int);
59
+ callback :bzalloc, %i[pointer int int], :pointer
60
+
61
+ # void (*bzfree)(void *,void *);
62
+ callback :bzfree, %i[pointer pointer], :void
63
+
64
+ # typedef struct { ... } bz_stream;
65
+ class BzStream < ::FFI::Struct #:nodoc:
66
+ layout :next_in, :pointer,
67
+ :avail_in, :uint,
68
+ :total_in_lo32, :uint,
69
+ :total_in_hi32, :uint,
70
+ :next_out, :pointer,
71
+ :avail_out, :uint,
72
+ :total_out_lo32, :uint,
73
+ :total_out_hi32, :uint,
74
+ :state, :pointer,
75
+ :bzalloc, :bzalloc,
76
+ :bzfree, :bzfree,
77
+ :opaque, :pointer
78
+ end
79
+
80
+ # int BZ2_bzCompressInt(bz_stream* strm, int blockSize100k, int verbosity, int workFactor);
81
+ attach_function :BZ2_bzCompressInit, [BzStream.by_ref, :int, :int, :int], :int
82
+
83
+ # int BZ2_bzCompress (bz_stream* strm, int action);
84
+ attach_function :BZ2_bzCompress, [BzStream.by_ref, :int], :int
85
+
86
+ # int BZ2_bzCompressEnd (bz_stream* strm);
87
+ attach_function :BZ2_bzCompressEnd, [BzStream.by_ref], :int
88
+
89
+ # int BZ2_bzDecompressInit (bz_stream *strm, int verbosity, int small);
90
+ attach_function :BZ2_bzDecompressInit, [BzStream.by_ref, :int, :int], :int
91
+
92
+ # int BZ2_bzDecompress (bz_stream* strm);
93
+ attach_function :BZ2_bzDecompress, [BzStream.by_ref], :int
94
+
95
+ # int BZ2_bzDecompressEnd (bz_stream *strm);
96
+ attach_function :BZ2_bzDecompressEnd, [BzStream.by_ref], :int
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,99 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ffi'
4
+ require 'zip/bzip2/errors'
5
+ require 'zip/bzip2/ffi/libbz2'
6
+
7
+ module Zip
8
+ module Bzip2
9
+ class Libbz2 #:nodoc:
10
+ def self.finalizer
11
+ lambda do |_id|
12
+ decompress_end
13
+ end
14
+ end
15
+ private_class_method :finalizer
16
+
17
+ def self.buffer(length)
18
+ ::FFI::MemoryPointer.new(1, length)
19
+ end
20
+
21
+ def self.buffer_from_data(data)
22
+ buffer = ::FFI::MemoryPointer.new(1, data.bytesize)
23
+ buffer.write_bytes(data)
24
+ buffer
25
+ end
26
+
27
+ def initialize
28
+ @stream = FFI::Libbz2::BzStream.new
29
+ end
30
+
31
+ def decompress_init!(small = false)
32
+ result = FFI::Libbz2::BZ2_bzDecompressInit(@stream, 0, small ? 1 : 0)
33
+ check_error(result)
34
+
35
+ ObjectSpace.define_finalizer(self, self.class.send(:finalizer))
36
+
37
+ true
38
+ end
39
+
40
+ def decompress!
41
+ result = FFI::Libbz2::BZ2_bzDecompress(@stream)
42
+ check_error(result)
43
+
44
+ result == FFI::Libbz2::BZ_STREAM_END
45
+ end
46
+
47
+ def decompress_end!
48
+ result = FFI::Libbz2::BZ2_bzDecompressEnd(@stream)
49
+ check_error(result)
50
+
51
+ ObjectSpace.undefine_finalizer(self)
52
+
53
+ true
54
+ end
55
+
56
+ def input_buffer=(input_buffer)
57
+ @stream[:next_in] = input_buffer
58
+ @stream[:avail_in] = input_buffer.size
59
+ end
60
+
61
+ def output_buffer=(output_buffer)
62
+ @output_buffer = output_buffer
63
+ @stream[:next_out] = output_buffer
64
+ @stream[:avail_out] = output_buffer.size
65
+ end
66
+
67
+ def input?
68
+ @stream[:avail_in].positive?
69
+ end
70
+
71
+ def output
72
+ @output_buffer.read_bytes(@output_buffer.size - @stream[:avail_out])
73
+ end
74
+
75
+ private
76
+
77
+ def check_error(result)
78
+ return if result >= 0
79
+
80
+ raise error(result)
81
+ end
82
+
83
+ def error(result)
84
+ case result
85
+ when FFI::Libbz2::BZ_MEM_ERROR
86
+ MemError
87
+ when FFI::Libbz2::BZ_DATA_ERROR
88
+ DataError
89
+ when FFI::Libbz2::BZ_DATA_ERROR_MAGIC
90
+ MagicDataError
91
+ when FFI::Libbz2::BZ_CONFIG_ERROR
92
+ ConfigError
93
+ else
94
+ raise UnexpectedError, result
95
+ end
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Zip
4
+ module Bzip2
5
+ VERSION = '0.0.1'
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,182 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubyzip-bzip2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jan-Joost Spanjers
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-02-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ffi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubyzip
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: coveralls
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.7'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.4'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '5.4'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.10'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.10'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '10.3'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '10.3'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.79.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.79.0
139
+ description: The rubyzip-bzip2 gem provides an extension of the rubyzip gem for reading
140
+ zip files compressed with bzip2 compression
141
+ email:
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - README.md
147
+ - lib/zip/bzip2.rb
148
+ - lib/zip/bzip2/decompress.rb
149
+ - lib/zip/bzip2/decompressor.rb
150
+ - lib/zip/bzip2/errors.rb
151
+ - lib/zip/bzip2/ffi/libbz2.rb
152
+ - lib/zip/bzip2/libbz2.rb
153
+ - lib/zip/bzip2/version.rb
154
+ homepage: http://github.com/rubyzip/rubyzip-bzip2
155
+ licenses:
156
+ - BSD 2-Clause
157
+ metadata:
158
+ bug_tracker_uri: https://github.com/rubyzip/rubyzip-bzip2/issues
159
+ changelog_uri: https://github.com/rubyzip/rubyzip-bzip2/blob/v0.0.1/Changelog.md
160
+ documentation_uri: https://www.rubydoc.info/gems/rubyzip-bzip2/0.0.1
161
+ source_code_uri: https://github.com/rubyzip/rubyzip-bzip2/tree/v0.0.1
162
+ wiki_uri: https://github.com/rubyzip/rubyzip-bzip2/wiki
163
+ post_install_message:
164
+ rdoc_options: []
165
+ require_paths:
166
+ - lib
167
+ required_ruby_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: '2.4'
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ requirements: []
178
+ rubygems_version: 3.0.3
179
+ signing_key:
180
+ specification_version: 4
181
+ summary: Extension of rubyzip to read bzip2 compressed files
182
+ test_files: []