rubyzip-bzip2 1.0.0 → 2.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.
- checksums.yaml +4 -4
- data/.github/workflows/lint.yml +1 -1
- data/.github/workflows/tests.yml +12 -5
- data/.rubocop.yml +17 -1
- data/.simplecov +1 -1
- data/Changelog.md +34 -1
- data/README.md +10 -3
- data/Rakefile +8 -6
- data/lib/zip/bzip2/decompress.rb +4 -4
- data/lib/zip/bzip2/decompressor.rb +8 -9
- data/lib/zip/bzip2/errors.rb +6 -6
- data/lib/zip/bzip2/ffi/libbz2.rb +2 -2
- data/lib/zip/bzip2/libbz2.rb +4 -5
- data/lib/zip/bzip2/version.rb +1 -1
- data/lib/zip/bzip2.rb +2 -2
- data/rubyzip-bzip2.gemspec +10 -10
- metadata +41 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7d1870d4589d373861e10eb62455dcf78b163bff87c27cafdb687ac6f7f891c
|
|
4
|
+
data.tar.gz: c1c7591cb17069321ee8d3ae0a170066f7384612d9acbe27e8b14fd1433e3768
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56e65391e707f61231aa62c89b8fedeae42261d8253458fb0027e1804095e347ce7db094bb1ee140e6eca167371033bf213e2579f4c83eca8d9ea4c9dbf19e63
|
|
7
|
+
data.tar.gz: '08f3420bd7bb85f5b1f5cca5d804b2ad42f068841bb224f69683a851a1b5f6579db76723ac8b5b1f4b5e0fcfe7d212e911c99c2287e07348d27aad676fe9bd60'
|
data/.github/workflows/lint.yml
CHANGED
data/.github/workflows/tests.yml
CHANGED
|
@@ -8,12 +8,12 @@ jobs:
|
|
|
8
8
|
fail-fast: false
|
|
9
9
|
matrix:
|
|
10
10
|
os: [ubuntu]
|
|
11
|
-
ruby: ['
|
|
11
|
+
ruby: ['3.0', '3.1', '3.2', '3.3', '3.4', head, jruby, jruby-head, truffleruby, truffleruby-head]
|
|
12
12
|
include:
|
|
13
13
|
- os: macos
|
|
14
|
-
ruby: '
|
|
14
|
+
ruby: '3.0'
|
|
15
15
|
- os: windows
|
|
16
|
-
ruby: '
|
|
16
|
+
ruby: '3.0'
|
|
17
17
|
runs-on: ${{ matrix.os }}-latest
|
|
18
18
|
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.os == 'windows' }}
|
|
19
19
|
steps:
|
|
@@ -30,8 +30,15 @@ jobs:
|
|
|
30
30
|
- name: Install bzip2 library
|
|
31
31
|
if: matrix.os == 'windows'
|
|
32
32
|
run: |
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
Invoke-WebRequest `
|
|
34
|
+
-Uri https://github.com/philr/bzip2-windows/releases/download/v1.0.8.0/bzip2-dll-1.0.8.0-win-x64.zip `
|
|
35
|
+
-OutFile bzip2.zip `
|
|
36
|
+
-MaximumRetryCount 10 `
|
|
37
|
+
-RetryIntervalSec 2
|
|
38
|
+
$RubyBinPath = Split-Path (Get-Command ${{ startsWith(matrix.ruby, 'jruby') && 'j' || '' }}ruby.exe).Path
|
|
39
|
+
Write-Host $RubyBinPath
|
|
40
|
+
Expand-Archive -Path bzip2.zip -DestinationPath $RubyBinPath -Force
|
|
41
|
+
Get-Command bzip2.exe | Format-List
|
|
35
42
|
|
|
36
43
|
- name: Run the tests
|
|
37
44
|
env:
|
data/.rubocop.yml
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
|
+
plugins:
|
|
2
|
+
- rubocop-performance
|
|
3
|
+
- rubocop-rake
|
|
4
|
+
|
|
5
|
+
# Set this to the minimum supported ruby in the gemspec. Otherwise
|
|
6
|
+
# we get errors if our ruby version doesn't match.
|
|
1
7
|
AllCops:
|
|
2
|
-
|
|
8
|
+
SuggestExtensions: false
|
|
9
|
+
TargetRubyVersion: 3.0
|
|
10
|
+
NewCops: enable
|
|
11
|
+
|
|
12
|
+
Gemspec/DevelopmentDependencies:
|
|
13
|
+
EnforcedStyle: gemspec
|
|
3
14
|
|
|
4
15
|
Layout/LineLength:
|
|
5
16
|
Max: 120
|
|
6
17
|
|
|
7
18
|
Metrics/MethodLength:
|
|
8
19
|
Max: 15
|
|
20
|
+
|
|
21
|
+
# Allow `!` methods in this file to return boolean values.
|
|
22
|
+
Naming/PredicateMethod:
|
|
23
|
+
Exclude:
|
|
24
|
+
- 'lib/zip/bzip2/libbz2.rb'
|
data/.simplecov
CHANGED
data/Changelog.md
CHANGED
|
@@ -1,4 +1,37 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 2.0.1 (2025-11-29)
|
|
2
|
+
|
|
3
|
+
* Relax rubyzip dependency version constraint.
|
|
4
|
+
|
|
5
|
+
## Tooling and internal changes
|
|
6
|
+
|
|
7
|
+
* Update development dependencies to later versions.
|
|
8
|
+
* Fix Naming/PredicateMethod cop.
|
|
9
|
+
|
|
10
|
+
# 2.0.0 (2025-08-22)
|
|
11
|
+
|
|
12
|
+
* Bump version number for RubyZip v3.0 support.
|
|
13
|
+
* Update to use RubyZip ~> 3.0.0.
|
|
14
|
+
* Update README with requirements for version 2.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## Tooling and internal changes
|
|
18
|
+
|
|
19
|
+
* Enable branch coverage analysis.
|
|
20
|
+
* Update Rubocop and add extensions.
|
|
21
|
+
* Prefer `require_relative` where appropriate.
|
|
22
|
+
* Deal with Rubocop offences in gemspec.
|
|
23
|
+
* Fix Style/RedundantReturn Rubocop offences.
|
|
24
|
+
* Fix Style/OptionalBooleanParameter Rubocop offences.
|
|
25
|
+
* Fix Performance/UnfreezeString Rubocop offences.
|
|
26
|
+
* Fix Layout/LineContinuationSpacing Rubocop offences.
|
|
27
|
+
* Fix Style/FileRead Rubocop offences.
|
|
28
|
+
* Fix Layout/LeadingCommentSpace Rubocop offences.
|
|
29
|
+
* Update GitHub Actions to use rubies >= 3.0.
|
|
30
|
+
* Update Minitest and properly use it.
|
|
31
|
+
* Remove use of JRuby object space in tests.
|
|
32
|
+
* Update installation of bzip2 in windows tests.
|
|
33
|
+
|
|
34
|
+
# 1.0.0 (2025-02-07)
|
|
2
35
|
|
|
3
36
|
* Fix automatic require
|
|
4
37
|
* Fix the Libbz2::finalizer method.
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://github.com/rubyzip/rubyzip-bzip2/actions/workflows/tests.yml)
|
|
5
5
|
[](https://github.com/rubyzip/rubyzip-bzip2/actions/workflows/lint.yml)
|
|
6
6
|
[](https://codeclimate.com/github/rubyzip/rubyzip-bzip2)
|
|
7
|
-
[](https://coveralls.io/r/rubyzip/rubyzip-bzip2?branch=
|
|
7
|
+
[](https://coveralls.io/r/rubyzip/rubyzip-bzip2?branch=main)
|
|
8
8
|
|
|
9
9
|
The rubyzip-bzip2 gem provides an extension of the rubyzip gem for reading zip files compressed with bzip2 compression.
|
|
10
10
|
|
|
@@ -12,7 +12,14 @@ The rubyzip-bzip2 gem provides an extension of the rubyzip gem for reading zip f
|
|
|
12
12
|
http://github.com/rubyzip/rubyzip-bzip2
|
|
13
13
|
|
|
14
14
|
## Requirements
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
Version 2.x of this library:
|
|
17
|
+
* Ruby 3.0 or greater
|
|
18
|
+
* Rubyzip 3.0 or greater
|
|
19
|
+
|
|
20
|
+
Version 1.x of this library:
|
|
21
|
+
* Ruby 2.4 or greater
|
|
22
|
+
* Rubyzip 2.4.x
|
|
16
23
|
|
|
17
24
|
## Installation
|
|
18
25
|
The rubyzip-bzip2 gem is available on RubyGems:
|
|
@@ -28,7 +35,7 @@ gem 'rubyzip-bzip2'
|
|
|
28
35
|
```
|
|
29
36
|
|
|
30
37
|
## Usage
|
|
31
|
-
Reading a zip file with bzip2 compression is
|
|
38
|
+
Reading a zip file with bzip2 compression is no different from reading
|
|
32
39
|
any other zip file using rubyzip:
|
|
33
40
|
|
|
34
41
|
```ruby
|
data/Rakefile
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require 'bundler/gem_tasks'
|
|
4
|
-
require '
|
|
4
|
+
require 'minitest/test_task'
|
|
5
|
+
require 'rubocop/rake_task'
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
task default: :test
|
|
8
|
+
|
|
9
|
+
Minitest::TestTask.create do |test|
|
|
10
|
+
test.framework = 'require "simplecov"'
|
|
11
|
+
test.test_globs = 'test/**/*_test.rb'
|
|
10
12
|
end
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
RuboCop::RakeTask.new
|
data/lib/zip/bzip2/decompress.rb
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
require_relative 'libbz2'
|
|
4
4
|
|
|
5
5
|
module Zip
|
|
6
6
|
module Bzip2
|
|
7
|
-
class Decompress
|
|
7
|
+
class Decompress # :nodoc:
|
|
8
8
|
OUTPUT_BUFFER_SIZE = 4096
|
|
9
9
|
|
|
10
10
|
def initialize(options = {})
|
|
11
11
|
small = options[:small]
|
|
12
12
|
|
|
13
13
|
@libbz2 = Libbz2.new.tap do |libbz2|
|
|
14
|
-
libbz2.decompress_init!(small)
|
|
14
|
+
libbz2.decompress_init!(small: small)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
@finished = false
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def decompress(data)
|
|
21
|
-
result = ''
|
|
21
|
+
result = +''
|
|
22
22
|
|
|
23
23
|
with_input_buffer(data) do |input_buffer|
|
|
24
24
|
@libbz2.input_buffer = input_buffer
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
require 'zip/bzip2/decompress'
|
|
3
|
+
require_relative 'decompress'
|
|
5
4
|
|
|
6
|
-
module Zip
|
|
5
|
+
module Zip # :nodoc:
|
|
7
6
|
module Bzip2
|
|
8
|
-
class Decompressor < ::Zip::Decompressor
|
|
7
|
+
class Decompressor < ::Zip::Decompressor # :nodoc:
|
|
9
8
|
def initialize(*args)
|
|
10
9
|
super
|
|
11
10
|
|
|
12
|
-
@buffer = ''
|
|
11
|
+
@buffer = +''
|
|
13
12
|
@bzip2_ffi_decompressor = ::Zip::Bzip2::Decompress.new
|
|
14
13
|
end
|
|
15
14
|
|
|
16
|
-
def read(length = nil, outbuf = ''
|
|
15
|
+
def read(length = nil, outbuf = +'')
|
|
17
16
|
return return_value_on_eof(length) if eof
|
|
18
17
|
|
|
19
18
|
fill_buffer(length)
|
|
@@ -21,16 +20,16 @@ module Zip #:nodoc:
|
|
|
21
20
|
outbuf.replace(@buffer.slice!(0...(length || @buffer.bytesize)))
|
|
22
21
|
end
|
|
23
22
|
|
|
24
|
-
def eof
|
|
23
|
+
def eof?
|
|
25
24
|
@buffer.empty? && input_finished?
|
|
26
25
|
end
|
|
27
26
|
|
|
28
|
-
alias eof
|
|
27
|
+
alias eof eof?
|
|
29
28
|
|
|
30
29
|
private
|
|
31
30
|
|
|
32
31
|
def return_value_on_eof(length)
|
|
33
|
-
|
|
32
|
+
'' if length.nil? || length.zero?
|
|
34
33
|
end
|
|
35
34
|
|
|
36
35
|
def fill_buffer(min_length)
|
data/lib/zip/bzip2/errors.rb
CHANGED
|
@@ -11,7 +11,7 @@ module Zip
|
|
|
11
11
|
# Initializes a new instance of MemError.
|
|
12
12
|
#
|
|
13
13
|
# @private
|
|
14
|
-
def initialize
|
|
14
|
+
def initialize # :nodoc:
|
|
15
15
|
super('Could not allocate enough memory to perform this request')
|
|
16
16
|
end
|
|
17
17
|
end
|
|
@@ -23,10 +23,10 @@ module Zip
|
|
|
23
23
|
#
|
|
24
24
|
# @param message [String] Exception message (overrides the default).
|
|
25
25
|
# @private
|
|
26
|
-
def initialize(message = nil)
|
|
26
|
+
def initialize(message = nil) # :nodoc:
|
|
27
27
|
super(
|
|
28
28
|
message ||
|
|
29
|
-
'Data integrity error detected (mismatch between stored and computed CRCs, '\
|
|
29
|
+
'Data integrity error detected (mismatch between stored and computed CRCs, ' \
|
|
30
30
|
'or other anomaly in the compressed data)',
|
|
31
31
|
)
|
|
32
32
|
end
|
|
@@ -38,7 +38,7 @@ module Zip
|
|
|
38
38
|
# Initializes a new instance of MagicDataError.
|
|
39
39
|
#
|
|
40
40
|
# @private
|
|
41
|
-
def initialize
|
|
41
|
+
def initialize # :nodoc:
|
|
42
42
|
super('Compressed data does not start with the correct magic bytes (\'BZh\')')
|
|
43
43
|
end
|
|
44
44
|
end
|
|
@@ -48,7 +48,7 @@ module Zip
|
|
|
48
48
|
# Initializes a new instance of ConfigError.
|
|
49
49
|
#
|
|
50
50
|
# @private
|
|
51
|
-
def initialize
|
|
51
|
+
def initialize # :nodoc:
|
|
52
52
|
super('libbz2 has been improperly compiled on your platform')
|
|
53
53
|
end
|
|
54
54
|
end
|
|
@@ -59,7 +59,7 @@ module Zip
|
|
|
59
59
|
#
|
|
60
60
|
# @param error_code [Integer] The error_code reported by libbz2.
|
|
61
61
|
# @private
|
|
62
|
-
def initialize(error_code)
|
|
62
|
+
def initialize(error_code) # :nodoc:
|
|
63
63
|
super("An unexpected error was detected (error code: #{error_code})")
|
|
64
64
|
end
|
|
65
65
|
end
|
data/lib/zip/bzip2/ffi/libbz2.rb
CHANGED
|
@@ -34,7 +34,7 @@ module Zip
|
|
|
34
34
|
# See bzlib.h and http://bzip.org/docs.html.
|
|
35
35
|
#
|
|
36
36
|
# @private
|
|
37
|
-
module Libbz2
|
|
37
|
+
module Libbz2 # :nodoc:
|
|
38
38
|
extend ::FFI::Library
|
|
39
39
|
|
|
40
40
|
ffi_lib ['bz2', 'libbz2.so.1', 'libbz2.dll']
|
|
@@ -62,7 +62,7 @@ module Zip
|
|
|
62
62
|
callback :bzfree, %i[pointer pointer], :void
|
|
63
63
|
|
|
64
64
|
# typedef struct { ... } bz_stream;
|
|
65
|
-
class BzStream < ::FFI::Struct
|
|
65
|
+
class BzStream < ::FFI::Struct # :nodoc:
|
|
66
66
|
layout :next_in, :pointer,
|
|
67
67
|
:avail_in, :uint,
|
|
68
68
|
:total_in_lo32, :uint,
|
data/lib/zip/bzip2/libbz2.rb
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
require 'zip/bzip2/ffi/libbz2'
|
|
3
|
+
require_relative 'errors'
|
|
4
|
+
require_relative 'ffi/libbz2'
|
|
6
5
|
|
|
7
6
|
module Zip
|
|
8
7
|
module Bzip2
|
|
9
|
-
class Libbz2
|
|
8
|
+
class Libbz2 # :nodoc:
|
|
10
9
|
def self.finalizer(stream)
|
|
11
10
|
lambda do |_id|
|
|
12
11
|
FFI::Libbz2::BZ2_bzDecompressEnd(stream)
|
|
@@ -28,7 +27,7 @@ module Zip
|
|
|
28
27
|
@stream = FFI::Libbz2::BzStream.new
|
|
29
28
|
end
|
|
30
29
|
|
|
31
|
-
def decompress_init!(small
|
|
30
|
+
def decompress_init!(small: false)
|
|
32
31
|
result = FFI::Libbz2::BZ2_bzDecompressInit(@stream, 0, small ? 1 : 0)
|
|
33
32
|
check_error(result)
|
|
34
33
|
|
data/lib/zip/bzip2/version.rb
CHANGED
data/lib/zip/bzip2.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require 'zip'
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
require_relative 'bzip2/version'
|
|
5
|
+
require_relative 'bzip2/decompressor'
|
|
6
6
|
|
|
7
7
|
module Zip
|
|
8
8
|
# The Zip::Bzip2 module extends Rubyzip with support for the bzip2 compression method.
|
data/rubyzip-bzip2.gemspec
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
|
-
require 'zip/bzip2/version'
|
|
3
|
+
require_relative 'lib/zip/bzip2/version'
|
|
6
4
|
|
|
7
5
|
Gem::Specification.new do |spec|
|
|
8
6
|
spec.name = 'rubyzip-bzip2'
|
|
9
|
-
spec.version =
|
|
7
|
+
spec.version = Zip::Bzip2::VERSION
|
|
10
8
|
spec.authors = [
|
|
11
9
|
'Jan-Joost Spanjers', 'Robert Haines'
|
|
12
10
|
]
|
|
13
11
|
|
|
14
12
|
spec.summary = 'Extension of rubyzip to read bzip2 compressed files'
|
|
15
13
|
spec.description =
|
|
16
|
-
'The rubyzip-bzip2 gem provides an extension of the rubyzip gem '\
|
|
14
|
+
'The rubyzip-bzip2 gem provides an extension of the rubyzip gem ' \
|
|
17
15
|
'for reading zip files compressed with bzip2 compression'
|
|
18
16
|
spec.homepage = 'http://github.com/rubyzip/rubyzip-bzip2'
|
|
19
17
|
spec.license = 'BSD 2-Clause'
|
|
20
18
|
spec.require_paths = ['lib']
|
|
21
19
|
|
|
22
|
-
spec.required_ruby_version = '>=
|
|
20
|
+
spec.required_ruby_version = '>= 3.0'
|
|
23
21
|
|
|
24
22
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
25
23
|
f.match(%r{^(test|spec|features)/})
|
|
@@ -35,11 +33,13 @@ Gem::Specification.new do |spec|
|
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
spec.add_dependency 'ffi', '~> 1.0'
|
|
38
|
-
spec.add_dependency 'rubyzip', '~>
|
|
36
|
+
spec.add_dependency 'rubyzip', '~> 3.0'
|
|
39
37
|
|
|
40
|
-
spec.add_development_dependency 'minitest', '~> 5.
|
|
38
|
+
spec.add_development_dependency 'minitest', '~> 5.25'
|
|
41
39
|
spec.add_development_dependency 'rake', '~> 13.2'
|
|
42
|
-
spec.add_development_dependency 'rubocop', '~>
|
|
43
|
-
spec.add_development_dependency '
|
|
40
|
+
spec.add_development_dependency 'rubocop', '~> 1.80.2'
|
|
41
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.26.0'
|
|
42
|
+
spec.add_development_dependency 'rubocop-rake', '~> 0.7.1'
|
|
43
|
+
spec.add_development_dependency 'simplecov', '~> 0.22.0'
|
|
44
44
|
spec.add_development_dependency 'simplecov-lcov', '~> 0.8'
|
|
45
45
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubyzip-bzip2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan-Joost Spanjers
|
|
8
8
|
- Robert Haines
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: ffi
|
|
@@ -30,9 +29,6 @@ dependencies:
|
|
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
|
31
30
|
requirements:
|
|
32
31
|
- - "~>"
|
|
33
|
-
- !ruby/object:Gem::Version
|
|
34
|
-
version: '2.4'
|
|
35
|
-
- - "<"
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
37
33
|
version: '3.0'
|
|
38
34
|
type: :runtime
|
|
@@ -40,9 +36,6 @@ dependencies:
|
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
37
|
requirements:
|
|
42
38
|
- - "~>"
|
|
43
|
-
- !ruby/object:Gem::Version
|
|
44
|
-
version: '2.4'
|
|
45
|
-
- - "<"
|
|
46
39
|
- !ruby/object:Gem::Version
|
|
47
40
|
version: '3.0'
|
|
48
41
|
- !ruby/object:Gem::Dependency
|
|
@@ -51,14 +44,14 @@ dependencies:
|
|
|
51
44
|
requirements:
|
|
52
45
|
- - "~>"
|
|
53
46
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '5.
|
|
47
|
+
version: '5.25'
|
|
55
48
|
type: :development
|
|
56
49
|
prerelease: false
|
|
57
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
58
51
|
requirements:
|
|
59
52
|
- - "~>"
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '5.
|
|
54
|
+
version: '5.25'
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
|
63
56
|
name: rake
|
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -79,28 +72,56 @@ dependencies:
|
|
|
79
72
|
requirements:
|
|
80
73
|
- - "~>"
|
|
81
74
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
75
|
+
version: 1.80.2
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: 1.80.2
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: rubocop-performance
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: 1.26.0
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: 1.26.0
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: rubocop-rake
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - "~>"
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: 0.7.1
|
|
83
104
|
type: :development
|
|
84
105
|
prerelease: false
|
|
85
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
86
107
|
requirements:
|
|
87
108
|
- - "~>"
|
|
88
109
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 0.
|
|
110
|
+
version: 0.7.1
|
|
90
111
|
- !ruby/object:Gem::Dependency
|
|
91
112
|
name: simplecov
|
|
92
113
|
requirement: !ruby/object:Gem::Requirement
|
|
93
114
|
requirements:
|
|
94
115
|
- - "~>"
|
|
95
116
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: 0.
|
|
117
|
+
version: 0.22.0
|
|
97
118
|
type: :development
|
|
98
119
|
prerelease: false
|
|
99
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
100
121
|
requirements:
|
|
101
122
|
- - "~>"
|
|
102
123
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 0.
|
|
124
|
+
version: 0.22.0
|
|
104
125
|
- !ruby/object:Gem::Dependency
|
|
105
126
|
name: simplecov-lcov
|
|
106
127
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -117,7 +138,6 @@ dependencies:
|
|
|
117
138
|
version: '0.8'
|
|
118
139
|
description: The rubyzip-bzip2 gem provides an extension of the rubyzip gem for reading
|
|
119
140
|
zip files compressed with bzip2 compression
|
|
120
|
-
email:
|
|
121
141
|
executables: []
|
|
122
142
|
extensions: []
|
|
123
143
|
extra_rdoc_files: []
|
|
@@ -147,12 +167,11 @@ licenses:
|
|
|
147
167
|
- BSD 2-Clause
|
|
148
168
|
metadata:
|
|
149
169
|
bug_tracker_uri: https://github.com/rubyzip/rubyzip-bzip2/issues
|
|
150
|
-
changelog_uri: https://github.com/rubyzip/rubyzip-bzip2/blob/
|
|
151
|
-
documentation_uri: https://www.rubydoc.info/gems/rubyzip-bzip2/
|
|
152
|
-
source_code_uri: https://github.com/rubyzip/rubyzip-bzip2/tree/
|
|
170
|
+
changelog_uri: https://github.com/rubyzip/rubyzip-bzip2/blob/v2.0.1/Changelog.md
|
|
171
|
+
documentation_uri: https://www.rubydoc.info/gems/rubyzip-bzip2/2.0.1
|
|
172
|
+
source_code_uri: https://github.com/rubyzip/rubyzip-bzip2/tree/v2.0.1
|
|
153
173
|
wiki_uri: https://github.com/rubyzip/rubyzip-bzip2/wiki
|
|
154
174
|
rubygems_mfa_required: 'true'
|
|
155
|
-
post_install_message:
|
|
156
175
|
rdoc_options: []
|
|
157
176
|
require_paths:
|
|
158
177
|
- lib
|
|
@@ -160,15 +179,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
160
179
|
requirements:
|
|
161
180
|
- - ">="
|
|
162
181
|
- !ruby/object:Gem::Version
|
|
163
|
-
version: '
|
|
182
|
+
version: '3.0'
|
|
164
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
184
|
requirements:
|
|
166
185
|
- - ">="
|
|
167
186
|
- !ruby/object:Gem::Version
|
|
168
187
|
version: '0'
|
|
169
188
|
requirements: []
|
|
170
|
-
rubygems_version: 3.
|
|
171
|
-
signing_key:
|
|
189
|
+
rubygems_version: 3.7.2
|
|
172
190
|
specification_version: 4
|
|
173
191
|
summary: Extension of rubyzip to read bzip2 compressed files
|
|
174
192
|
test_files: []
|