pr-zlib 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGES +8 -0
- data/Rakefile +78 -47
- data/lib/pr/rbzlib.rb +811 -818
- data/lib/pr/zlib.rb +16 -16
- data/pr-zlib.gemspec +17 -23
- data/profile/bench_pr_zlib.rb +43 -0
- data/profile/bench_zlib.rb +43 -0
- data/profile/profile_pr_zlib_read.rb +28 -0
- data/profile/profile_pr_zlib_write.rb +26 -0
- data/test/test_rbzlib.rb +124 -127
- data/test/test_rbzlib_bytef.rb +2 -5
- data/test/test_rbzlib_posf.rb +1 -4
- data/test/test_zlib.rb +2 -5
- data/test/test_zlib_deflate.rb +1 -4
- data/test/test_zlib_gzip_file.rb +1 -4
- data/test/test_zlib_gzip_reader.rb +173 -174
- data/test/test_zlib_gzip_writer.rb +175 -179
- data/test/test_zlib_inflate.rb +1 -4
- data/test/test_zlib_zstream.rb +1 -4
- metadata +61 -45
data/test/test_zlib_inflate.rb
CHANGED
@@ -3,11 +3,8 @@
|
|
3
3
|
#
|
4
4
|
# Test case for the Zlib::Inflate class.
|
5
5
|
########################################################################
|
6
|
-
require 'rubygems'
|
7
|
-
gem 'test-unit'
|
8
|
-
|
9
6
|
require 'pr/zlib'
|
10
|
-
require 'test
|
7
|
+
require 'test-unit'
|
11
8
|
|
12
9
|
class TC_Zlib_Inflate < Test::Unit::TestCase
|
13
10
|
def self.startup
|
data/test/test_zlib_zstream.rb
CHANGED
metadata
CHANGED
@@ -1,48 +1,69 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: pr-zlib
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Park Heesob
|
8
8
|
- Daniel Berger
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2014-10-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: test-unit
|
18
|
-
|
19
|
-
|
20
|
-
version_requirements: !ruby/object:Gem::Requirement
|
21
|
-
requirements:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
22
18
|
- - ">="
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 2.0
|
25
|
-
|
26
|
-
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 2.4.0
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 2.4.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: ruby-prof
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
description: |2
|
43
|
+
The pr-zlib library is a pure Ruby implementation of both the zlib C
|
44
|
+
library, and the Ruby zlib interface that ships as part of the standard
|
45
|
+
library.
|
27
46
|
email: phasis@gmail.com
|
28
47
|
executables: []
|
29
|
-
|
30
48
|
extensions: []
|
31
|
-
|
32
|
-
extra_rdoc_files:
|
49
|
+
extra_rdoc_files:
|
33
50
|
- README
|
34
51
|
- CHANGES
|
35
52
|
- MANIFEST
|
36
|
-
files:
|
37
|
-
- bin/minizip.rb
|
53
|
+
files:
|
38
54
|
- CHANGES
|
55
|
+
- MANIFEST
|
56
|
+
- README
|
57
|
+
- Rakefile
|
58
|
+
- bin/minizip.rb
|
39
59
|
- examples/example_rbzlib.rb
|
40
60
|
- lib/pr/rbzlib.rb
|
41
61
|
- lib/pr/zlib.rb
|
42
|
-
- MANIFEST
|
43
62
|
- pr-zlib.gemspec
|
44
|
-
-
|
45
|
-
-
|
63
|
+
- profile/bench_pr_zlib.rb
|
64
|
+
- profile/bench_zlib.rb
|
65
|
+
- profile/profile_pr_zlib_read.rb
|
66
|
+
- profile/profile_pr_zlib_write.rb
|
46
67
|
- test/test_rbzlib.rb
|
47
68
|
- test/test_rbzlib_bytef.rb
|
48
69
|
- test/test_rbzlib_posf.rb
|
@@ -53,35 +74,30 @@ files:
|
|
53
74
|
- test/test_zlib_gzip_writer.rb
|
54
75
|
- test/test_zlib_inflate.rb
|
55
76
|
- test/test_zlib_zstream.rb
|
56
|
-
|
57
|
-
homepage: http://www.rubyforge.org/projects/pure
|
77
|
+
homepage: https://github.com/djberg96/pr-zlib
|
58
78
|
licenses: []
|
59
|
-
|
79
|
+
metadata: {}
|
60
80
|
post_install_message:
|
61
81
|
rdoc_options: []
|
62
|
-
|
63
|
-
require_paths:
|
82
|
+
require_paths:
|
64
83
|
- lib
|
65
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
67
86
|
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version:
|
70
|
-
|
71
|
-
|
72
|
-
requirements:
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
73
91
|
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
version:
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
77
94
|
requirements: []
|
78
|
-
|
79
|
-
|
80
|
-
rubygems_version: 1.3.4
|
95
|
+
rubyforge_project:
|
96
|
+
rubygems_version: 2.3.0
|
81
97
|
signing_key:
|
82
|
-
specification_version:
|
98
|
+
specification_version: 4
|
83
99
|
summary: Pure Ruby version of the zlib library
|
84
|
-
test_files:
|
100
|
+
test_files:
|
85
101
|
- test/test_rbzlib.rb
|
86
102
|
- test/test_rbzlib_bytef.rb
|
87
103
|
- test/test_rbzlib_posf.rb
|