yaz0 0.4.0 → 0.4.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/ext/yaz0/ext_yaz0.c +3 -3
- data/lib/yaz0/version.rb +1 -1
- data/lib/yaz0/yaz0.so +0 -0
- metadata +4 -4
- data/lib/yaz0/yaz0.bundle +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42f0c89e2edf019afff5f5e96f7cbf1797036ab93ed0725cf58efcdf23607e8f
|
|
4
|
+
data.tar.gz: 03440e46538b5197eea2d7d490ace2137d83879948ab23e066c779ceffad070b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20d3ce38706053cce8975aa079e02b267418f80c4eca0f054b0a09d6116c9a74ce8badbfb4fd12f7c7e88ef074b16d00bef251275961ce38cec6510997e4c3f8
|
|
7
|
+
data.tar.gz: f5ae97c8115585c113fc5cd139c393c253cb1efc217815e108afdd4f720db315b2e19dc688696f63f3385a0771583a5a2dfc64192ffb71eabfecfe7ecf026a13
|
data/ext/yaz0/ext_yaz0.c
CHANGED
|
@@ -106,9 +106,9 @@ run(VALUE self, VALUE io_in, VALUE io_out, int compress, int size, int level)
|
|
|
106
106
|
break;
|
|
107
107
|
case YAZ0_NEED_AVAIL_OUT:
|
|
108
108
|
/* Need more output */
|
|
109
|
-
|
|
109
|
+
rb_str_resize(buffer_out, yaz0OutputChunkSize(s));
|
|
110
110
|
rb_funcall(io_out, rb_intern("write"), 1, buffer_out);
|
|
111
|
-
|
|
111
|
+
rb_str_resize(buffer_out, BUFSIZE);
|
|
112
112
|
yaz0Output(s, RSTRING_PTR(buffer_out), BUFSIZE);
|
|
113
113
|
break;
|
|
114
114
|
case YAZ0_BAD_MAGIC:
|
|
@@ -123,7 +123,7 @@ run(VALUE self, VALUE io_in, VALUE io_out, int compress, int size, int level)
|
|
|
123
123
|
|
|
124
124
|
end:
|
|
125
125
|
/* There might still be unflushed output */
|
|
126
|
-
|
|
126
|
+
rb_str_resize(buffer_out, yaz0OutputChunkSize(s));
|
|
127
127
|
rb_funcall(io_out, rb_intern("write"), 1, buffer_out);
|
|
128
128
|
|
|
129
129
|
rb_gc_unregister_address(&buffer_in);
|
data/lib/yaz0/version.rb
CHANGED
data/lib/yaz0/yaz0.so
ADDED
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yaz0
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nax
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-08-
|
|
11
|
+
date: 2022-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|
|
@@ -28,7 +28,7 @@ files:
|
|
|
28
28
|
- ext/yaz0/extconf.rb
|
|
29
29
|
- lib/yaz0.rb
|
|
30
30
|
- lib/yaz0/version.rb
|
|
31
|
-
- lib/yaz0/yaz0.
|
|
31
|
+
- lib/yaz0/yaz0.so
|
|
32
32
|
- libyaz0/include/yaz0.h
|
|
33
33
|
- libyaz0/src/libyaz0/CMakeLists.txt
|
|
34
34
|
- libyaz0/src/libyaz0/compress.c
|
|
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
60
|
version: '0'
|
|
61
61
|
requirements: []
|
|
62
|
-
rubygems_version: 3.3.
|
|
62
|
+
rubygems_version: 3.3.19
|
|
63
63
|
signing_key:
|
|
64
64
|
specification_version: 4
|
|
65
65
|
summary: Compress and decompress Yaz0 data.
|
data/lib/yaz0/yaz0.bundle
DELETED
|
Binary file
|