zstd-ruby 1.5.2.1 → 1.5.2.2
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/README.md +1 -1
- data/ext/zstdruby/streaming_compress.c +1 -3
- data/ext/zstdruby/streaming_decompress.c +0 -2
- data/lib/zstd-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '048d980344614b4a0087d7eb25cc01f9937fdf93439bdf4c1c830ca0d6fedeff'
|
|
4
|
+
data.tar.gz: 432606f67285abd98fb76650445a4950e28501552a55661ed41b6f87000a4aa1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f563ede0aa63ff7496f9206db6440f418ccf4b3fb7a9e1fb236bc9a7bfd78a6f4a4d0f4ce0eec497e786a44b7a5f3d74667d45a46952de8b3ba05df4e5c6a06
|
|
7
|
+
data.tar.gz: ea58de90bbd0f397245fdb8830b92eae55787999a1e739540492129ba3461119fd6980b39e53fb0083c2edfc57ad6cb3bd33f183bb917120326af3a342e03fcb
|
data/README.md
CHANGED
|
@@ -109,7 +109,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
109
109
|
|
|
110
110
|
## Contributing
|
|
111
111
|
|
|
112
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/SpringMT/
|
|
112
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/SpringMT/zstd-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
## License
|
|
@@ -11,9 +11,7 @@ static void
|
|
|
11
11
|
streaming_compress_mark(void *p)
|
|
12
12
|
{
|
|
13
13
|
struct streaming_compress_t *sc = p;
|
|
14
|
-
// rb_gc_mark((VALUE)sc->ctx);
|
|
15
14
|
rb_gc_mark(sc->buf);
|
|
16
|
-
rb_gc_mark(sc->buf_size);
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
static void
|
|
@@ -58,7 +56,7 @@ rb_streaming_compress_initialize(int argc, VALUE *argv, VALUE obj)
|
|
|
58
56
|
|
|
59
57
|
int compression_level;
|
|
60
58
|
if (NIL_P(compression_level_value)) {
|
|
61
|
-
compression_level =
|
|
59
|
+
compression_level = ZSTD_CLEVEL_DEFAULT;
|
|
62
60
|
} else {
|
|
63
61
|
compression_level = NUM2INT(compression_level_value);
|
|
64
62
|
}
|
data/lib/zstd-ruby/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zstd-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.2.
|
|
4
|
+
version: 1.5.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SpringMT
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-06-
|
|
11
|
+
date: 2022-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|