pr-zlib 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES +8 -0
- data/certs/djberg96_pub.pem +22 -17
- data/lib/pr/rbzlib.rb +2 -6
- data/lib/pr/zlib.rb +3 -1
- data/pr-zlib.gemspec +13 -2
- data/test/test_zlib.rb +131 -137
- data/test/test_zlib_gzip_reader.rb +3 -3
- data/test/test_zlib_gzip_writer.rb +1 -1
- metadata +37 -24
- metadata.gz.sig +0 -0
- data/test.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e267929bdd826d6886a7c925291f1a8e2f344e9d2d6a4458c11f7fff0a68f896
|
4
|
+
data.tar.gz: 04d530d76deb665ba5b825545ac41b032ae0b2a792d24b72ab09e5bc3281c642
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bfa36efad4f579428aa55297044cf0a1174fbded31d7b0e4c2d79815306bb9406f9b48ed4afb7c71c2e12d8114650efca13a444c391dcc5f11a72bc56da3073
|
7
|
+
data.tar.gz: ae47b4147c1607ec1ab0962a5c49200874c3b62010186a1648b2c27f8b85f341a5ef83074774acdaa9b809c73d21938098850279cc037b3742fce98321675381
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGES
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
= 1.0.5 - 18-Mar-2018
|
2
|
+
* Set the frozen_string_literal pragma, which gives us a small performance
|
3
|
+
boost for reads.
|
4
|
+
* Removed the custom Fixnum#ord method.
|
5
|
+
* This library now requires Ruby 2.2 or later
|
6
|
+
* Added metadata to the gemspec plus some other minor updates.
|
7
|
+
* Updated cert.
|
8
|
+
|
1
9
|
= 1.0.4 - 15-Nov-2016
|
2
10
|
* Fixed an endian bug. Thanks go to Benoit Daloze for the patch.
|
3
11
|
* The version constants are now frozen (and fixed the version number).
|
data/certs/djberg96_pub.pem
CHANGED
@@ -1,21 +1,26 @@
|
|
1
1
|
-----BEGIN CERTIFICATE-----
|
2
|
-
|
2
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
|
3
3
|
cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
|
4
|
-
|
4
|
+
MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
|
5
5
|
ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
6
|
+
bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALgfaroVM6CI06cxr0/h
|
7
|
+
A+j+pc8fgpRgBVmHFaFunq28GPC3IvW7Nvc3Y8SnAW7pP1EQIbhlwRIaQzJ93/yj
|
8
|
+
u95KpkP7tA9erypnV7dpzBkzNlX14ACaFD/6pHoXoe2ltBxk3CCyyzx70mTqJpph
|
9
|
+
75IB03ni9a8yqn8pmse+s83bFJOAqddSj009sGPcQO+QOWiNxqYv1n5EHcvj2ebO
|
10
|
+
6hN7YTmhx7aSia4qL/quc4DlIaGMWoAhvML7u1fmo53CYxkKskfN8MOecq2vfEmL
|
11
|
+
iLu+SsVVEAufMDDFMXMJlvDsviolUSGMSNRTujkyCcJoXKYYxZSNtIiyd9etI0X3
|
12
|
+
ctu0uhrFyrMZXCedutvXNjUolD5r9KGBFSWH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
3
|
# rbrzlib -- pure ruby version of 'zlib' general purpose compression library
|
2
4
|
# version 1.2.3, July 18th, 2005
|
3
5
|
#
|
@@ -30,12 +32,6 @@
|
|
30
32
|
# Copyright (C) 2009 by Park Heesob phasis@gmail.com
|
31
33
|
#
|
32
34
|
|
33
|
-
class Fixnum
|
34
|
-
def ord
|
35
|
-
self
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
35
|
module Rbzlib
|
40
36
|
MAX_MEM_LEVEL = 9
|
41
37
|
DEF_MEM_LEVEL = 8
|
data/lib/pr/zlib.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# zlib.rb -- An interface for rbzlib
|
2
4
|
# Copyright (C) UENO Katsuhiro 2000-2003
|
3
5
|
#
|
@@ -9,7 +11,7 @@ include Rbzlib
|
|
9
11
|
module Zlib
|
10
12
|
|
11
13
|
RUBY_ZLIB_VERSION = '0.6.0'.freeze
|
12
|
-
PR_ZLIB_VERSION = '1.0.
|
14
|
+
PR_ZLIB_VERSION = '1.0.5'.freeze
|
13
15
|
|
14
16
|
class Error < StandardError
|
15
17
|
end
|
data/pr-zlib.gemspec
CHANGED
@@ -2,9 +2,9 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'pr-zlib'
|
5
|
-
spec.version = '1.0.
|
5
|
+
spec.version = '1.0.5'
|
6
6
|
spec.authors = ['Park Heesob', 'Daniel Berger']
|
7
|
-
spec.email = 'phasis@gmail.com'
|
7
|
+
spec.email = ['phasis@gmail.com', 'djberg96@gmail.com'],
|
8
8
|
spec.homepage = 'https://github.com/djberg96/pr-zlib'
|
9
9
|
spec.license = 'zlib'
|
10
10
|
spec.summary = 'Pure Ruby version of the zlib library'
|
@@ -15,6 +15,17 @@ Gem::Specification.new do |spec|
|
|
15
15
|
|
16
16
|
spec.add_development_dependency('test-unit', '>= 2.4.0')
|
17
17
|
spec.add_development_dependency('ruby-prof')
|
18
|
+
|
19
|
+
spec.required_ruby_version = '>= 2.2.0'
|
20
|
+
|
21
|
+
spec.metadata = {
|
22
|
+
'homepage_uri' => 'https://github.com/djberg96/pr-zlib',
|
23
|
+
'bug_tracker_uri' => 'https://github.com/djberg96/pr-zlib/issues',
|
24
|
+
'changelog_uri' => 'https://github.com/djberg96/pr-zlib/CHANGES',
|
25
|
+
'documentation_uri' => 'https://github.com/djberg96/pr-zlib/wiki',
|
26
|
+
'source_code_uri' => 'https://github.com/djberg96/pr-zlib',
|
27
|
+
'wiki_uri' => 'https://github.com/djberg96/pr-zlib/wiki'
|
28
|
+
}
|
18
29
|
|
19
30
|
spec.description = <<-EOF
|
20
31
|
The pr-zlib library is a pure Ruby implementation of both the zlib C
|
data/test/test_zlib.rb
CHANGED
@@ -7,162 +7,156 @@ require 'test-unit'
|
|
7
7
|
require 'pr/zlib'
|
8
8
|
|
9
9
|
class TC_Zlib < Test::Unit::TestCase
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
assert_equal(1, Zlib.adler32(nil, 3))
|
92
|
-
assert_equal(73728451, Zlib.adler32('test', 3))
|
93
|
-
end
|
10
|
+
def setup
|
11
|
+
@zstream_funcs = Zlib::ZStreamFuncs.new
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_ruby_zlib_version
|
15
|
+
assert_equal('0.6.0', Zlib::VERSION)
|
16
|
+
assert_equal('0.6.0', Zlib::RUBY_ZLIB_VERSION)
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_zlib_version
|
20
|
+
assert_equal('1.2.3', Zlib::ZLIB_VERSION)
|
21
|
+
assert_equal('1.0.5', Zlib::PR_ZLIB_VERSION)
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_zlib_included_constants
|
25
|
+
assert_not_nil(Zlib::BINARY)
|
26
|
+
assert_not_nil(Zlib::ASCII)
|
27
|
+
assert_not_nil(Zlib::UNKNOWN)
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_zlib_included_compression_constants
|
31
|
+
assert_not_nil(Zlib::NO_COMPRESSION)
|
32
|
+
assert_not_nil(Zlib::BEST_SPEED)
|
33
|
+
assert_not_nil(Zlib::BEST_COMPRESSION)
|
34
|
+
assert_not_nil(Zlib::DEFAULT_COMPRESSION)
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_zlib_included_encoding_constants
|
38
|
+
assert_not_nil(Zlib::FILTERED)
|
39
|
+
assert_not_nil(Zlib::HUFFMAN_ONLY)
|
40
|
+
assert_not_nil(Zlib::DEFAULT_STRATEGY)
|
41
|
+
assert_not_nil(Zlib::MAX_WBITS)
|
42
|
+
assert_not_nil(Zlib::DEF_MEM_LEVEL)
|
43
|
+
assert_not_nil(Zlib::MAX_MEM_LEVEL)
|
44
|
+
assert_not_nil(Zlib::NO_FLUSH)
|
45
|
+
assert_not_nil(Zlib::SYNC_FLUSH)
|
46
|
+
assert_not_nil(Zlib::FULL_FLUSH)
|
47
|
+
assert_not_nil(Zlib::FINISH)
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_zlib_os_constants
|
51
|
+
assert_equal(0x00, Zlib::OS_MSDOS)
|
52
|
+
assert_equal(0x01, Zlib::OS_AMIGA)
|
53
|
+
assert_equal(0x02, Zlib::OS_VMS)
|
54
|
+
assert_equal(0x03, Zlib::OS_UNIX)
|
55
|
+
assert_equal(0x05, Zlib::OS_ATARI)
|
56
|
+
assert_equal(0x06, Zlib::OS_OS2)
|
57
|
+
assert_equal(0x07, Zlib::OS_MACOS)
|
58
|
+
assert_equal(0x0a, Zlib::OS_TOPS20)
|
59
|
+
assert_equal(0x0b, Zlib::OS_WIN32)
|
60
|
+
end
|
61
|
+
|
62
|
+
def test_zlib_zstream_flag_constants
|
63
|
+
assert_equal(0x1, Zlib::ZSTREAM_FLAG_READY)
|
64
|
+
assert_equal(0x2, Zlib::ZSTREAM_FLAG_IN_STREAM)
|
65
|
+
assert_equal(0x4, Zlib::ZSTREAM_FLAG_FINISHED)
|
66
|
+
assert_equal(0x8, Zlib::ZSTREAM_FLAG_CLOSING)
|
67
|
+
assert_equal(0x10, Zlib::ZSTREAM_FLAG_UNUSED)
|
68
|
+
end
|
69
|
+
|
70
|
+
def test_zlib_zstream_buffer_constants
|
71
|
+
assert_equal(1024, Zlib::ZSTREAM_INITIAL_BUFSIZE)
|
72
|
+
assert_equal(16384, Zlib::ZSTREAM_AVAIL_OUT_STEP_MAX)
|
73
|
+
assert_equal(2048, Zlib::ZSTREAM_AVAIL_OUT_STEP_MIN)
|
74
|
+
end
|
75
|
+
|
76
|
+
def test_zlib_version_module_function
|
77
|
+
assert_respond_to(Zlib, :zlib_version)
|
78
|
+
end
|
79
|
+
|
80
|
+
def test_adler32_module_function_basic
|
81
|
+
assert_respond_to(Zlib, :adler32)
|
82
|
+
assert_nothing_raised{ Zlib.adler32 }
|
83
|
+
end
|
84
|
+
|
85
|
+
def test_adler32_module_function
|
86
|
+
assert_equal(1, Zlib.adler32)
|
87
|
+
assert_equal(73204161, Zlib.adler32('test'))
|
88
|
+
assert_equal(1, Zlib.adler32(nil, 3))
|
89
|
+
assert_equal(73728451, Zlib.adler32('test', 3))
|
90
|
+
end
|
94
91
|
|
95
92
|
def test_adler32_module_function_expected_errors
|
96
93
|
assert_raise(RangeError){ Zlib.adler32('test', 2**128) }
|
97
94
|
end
|
98
95
|
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
96
|
+
def test_crc32_module_function_basic
|
97
|
+
assert_respond_to(Zlib, :crc32)
|
98
|
+
assert_nothing_raised{ Zlib.crc32 }
|
99
|
+
end
|
103
100
|
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
101
|
+
def test_crc32_module_function
|
102
|
+
assert_equal(0, Zlib.crc32)
|
103
|
+
assert_equal(3632233996, Zlib.crc32('test'))
|
104
|
+
assert_equal(0, Zlib.crc32(nil, 3))
|
105
|
+
assert_equal(3402289634, Zlib.crc32('test', 3))
|
106
|
+
end
|
110
107
|
|
111
108
|
def test_crc32_module_function_expected_errors
|
112
109
|
assert_raise(RangeError){ Zlib.crc32('test', 2**128) }
|
113
110
|
end
|
114
111
|
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
def test_zstream_funcs_struct
|
122
|
-
assert_kind_of(Zlib::ZStreamFuncs, @zstream_funcs)
|
123
|
-
assert_respond_to(@zstream_funcs, :reset)
|
124
|
-
assert_respond_to(@zstream_funcs, :end)
|
125
|
-
assert_respond_to(@zstream_funcs, :run)
|
126
|
-
end
|
112
|
+
def test_crc_table_module_function_basic
|
113
|
+
assert_respond_to(Zlib, :crc_table)
|
114
|
+
assert_nothing_raised{ Zlib.crc_table }
|
115
|
+
assert_kind_of(Array, Zlib.crc_table)
|
116
|
+
end
|
127
117
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
118
|
+
def test_zstream_funcs_struct
|
119
|
+
assert_kind_of(Zlib::ZStreamFuncs, @zstream_funcs)
|
120
|
+
assert_respond_to(@zstream_funcs, :reset)
|
121
|
+
assert_respond_to(@zstream_funcs, :end)
|
122
|
+
assert_respond_to(@zstream_funcs, :run)
|
123
|
+
end
|
132
124
|
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
125
|
+
def test_error_class
|
126
|
+
assert_not_nil(Zlib::Error)
|
127
|
+
assert_kind_of(StandardError, Zlib::Error.new)
|
128
|
+
end
|
137
129
|
|
138
|
-
|
139
|
-
|
140
|
-
|
130
|
+
def test_stream_end_class
|
131
|
+
assert_not_nil(Zlib::StreamEnd)
|
132
|
+
assert_kind_of(Zlib::Error, Zlib::StreamEnd.new)
|
133
|
+
end
|
141
134
|
|
142
|
-
|
143
|
-
|
144
|
-
|
135
|
+
def test_need_dict_class
|
136
|
+
assert_kind_of(Zlib::Error, Zlib::NeedDict.new)
|
137
|
+
end
|
145
138
|
|
146
|
-
|
147
|
-
|
148
|
-
|
139
|
+
def test_data_error_class
|
140
|
+
assert_kind_of(Zlib::Error, Zlib::DataError.new)
|
141
|
+
end
|
149
142
|
|
150
|
-
|
151
|
-
|
152
|
-
|
143
|
+
def test_stream_error_class
|
144
|
+
assert_kind_of(Zlib::Error, Zlib::StreamError.new)
|
145
|
+
end
|
153
146
|
|
154
|
-
|
155
|
-
|
156
|
-
|
147
|
+
def test_mem_error_class
|
148
|
+
assert_kind_of(Zlib::Error, Zlib::MemError.new)
|
149
|
+
end
|
157
150
|
|
158
|
-
|
159
|
-
|
160
|
-
|
151
|
+
def test_buf_error_class
|
152
|
+
assert_kind_of(Zlib::Error, Zlib::BufError.new)
|
153
|
+
end
|
161
154
|
|
162
|
-
|
163
|
-
|
164
|
-
|
155
|
+
def test_version_error_class
|
156
|
+
assert_kind_of(Zlib::Error, Zlib::VersionError.new)
|
157
|
+
end
|
165
158
|
|
166
|
-
|
167
|
-
|
159
|
+
def teardown
|
160
|
+
@zstream_funcs = nil
|
161
|
+
end
|
168
162
|
end
|
@@ -31,7 +31,7 @@ class TC_GzipReader < Test::Unit::TestCase
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def test_lineno_get
|
34
|
-
assert_kind_of(
|
34
|
+
assert_kind_of(Integer, @gz_reader.lineno)
|
35
35
|
assert_equal(0, @gz_reader.lineno)
|
36
36
|
end
|
37
37
|
|
@@ -41,7 +41,7 @@ class TC_GzipReader < Test::Unit::TestCase
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def test_lineno_set
|
44
|
-
assert_kind_of(
|
44
|
+
assert_kind_of(Integer, @gz_reader.lineno = 0)
|
45
45
|
assert_equal(0, @gz_reader.lineno = 0)
|
46
46
|
end
|
47
47
|
|
@@ -56,7 +56,7 @@ class TC_GzipReader < Test::Unit::TestCase
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def test_pos
|
59
|
-
assert_kind_of(
|
59
|
+
assert_kind_of(Integer, @gz_reader.pos)
|
60
60
|
end
|
61
61
|
|
62
62
|
def test_rewind_basic
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pr-zlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Park Heesob
|
@@ -11,27 +11,32 @@ bindir: bin
|
|
11
11
|
cert_chain:
|
12
12
|
- |
|
13
13
|
-----BEGIN CERTIFICATE-----
|
14
|
-
|
14
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
|
15
15
|
cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
|
16
|
-
|
16
|
+
MB4XDTE4MDMxODE1Mj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BgkqhkiG9w0BAQsFAAOCAYEAW2tnYixXQtKxgGXq
|
30
|
+
/3iSWG2bLwvxS4go3srO+aRXZHrFUMlJ5W0mCxl03aazxxKTsVVpZD8QZxvK91OQ
|
31
|
+
h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
|
32
|
+
6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
|
33
|
+
ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
|
34
|
+
1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
|
35
|
+
DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
|
36
|
+
ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
|
37
|
+
WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
|
33
38
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
39
|
+
date: 2018-03-18 00:00:00.000000000 Z
|
35
40
|
dependencies:
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: test-unit
|
@@ -65,7 +70,10 @@ description: |2
|
|
65
70
|
The pr-zlib library is a pure Ruby implementation of both the zlib C
|
66
71
|
library, and the Ruby zlib interface that ships as part of the standard
|
67
72
|
library.
|
68
|
-
email:
|
73
|
+
email:
|
74
|
+
- - phasis@gmail.com
|
75
|
+
- djberg96@gmail.com
|
76
|
+
- https://github.com/djberg96/pr-zlib
|
69
77
|
executables: []
|
70
78
|
extensions: []
|
71
79
|
extra_rdoc_files:
|
@@ -105,11 +113,16 @@ files:
|
|
105
113
|
- test/test_zlib_gzip_writer.rb
|
106
114
|
- test/test_zlib_inflate.rb
|
107
115
|
- test/test_zlib_zstream.rb
|
108
|
-
- test.rb
|
109
116
|
homepage: https://github.com/djberg96/pr-zlib
|
110
117
|
licenses:
|
111
118
|
- zlib
|
112
|
-
metadata:
|
119
|
+
metadata:
|
120
|
+
homepage_uri: https://github.com/djberg96/pr-zlib
|
121
|
+
bug_tracker_uri: https://github.com/djberg96/pr-zlib/issues
|
122
|
+
changelog_uri: https://github.com/djberg96/pr-zlib/CHANGES
|
123
|
+
documentation_uri: https://github.com/djberg96/pr-zlib/wiki
|
124
|
+
source_code_uri: https://github.com/djberg96/pr-zlib
|
125
|
+
wiki_uri: https://github.com/djberg96/pr-zlib/wiki
|
113
126
|
post_install_message:
|
114
127
|
rdoc_options: []
|
115
128
|
require_paths:
|
@@ -118,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
131
|
requirements:
|
119
132
|
- - ">="
|
120
133
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
134
|
+
version: 2.2.0
|
122
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
136
|
requirements:
|
124
137
|
- - ">="
|
@@ -126,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
139
|
version: '0'
|
127
140
|
requirements: []
|
128
141
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.6
|
142
|
+
rubygems_version: 2.7.6
|
130
143
|
signing_key:
|
131
144
|
specification_version: 4
|
132
145
|
summary: Pure Ruby version of the zlib library
|
metadata.gz.sig
CHANGED
Binary file
|
data/test.rb
DELETED