zstd-ruby 1.5.2.1 → 1.5.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70096397fcb0ba88b1332602dc743a979e6417bc07aa25270b2fa3e637922291
4
- data.tar.gz: e3e2f2ddf2d2d01514e7128b01792e10d9b48cbc08f61a25e0cd9ddf3e91430e
3
+ metadata.gz: '048d980344614b4a0087d7eb25cc01f9937fdf93439bdf4c1c830ca0d6fedeff'
4
+ data.tar.gz: 432606f67285abd98fb76650445a4950e28501552a55661ed41b6f87000a4aa1
5
5
  SHA512:
6
- metadata.gz: fd02829550fef9d56add09f13c1bee7a5171830e6f7f08e728ef4140e922657b1c70df79e4dd4b56b1bf77cddedbcea4830405561d6cb027bbbce928ff5d7152
7
- data.tar.gz: aa56ea5cbc0b9d6e6268691ad656d71f38afde239d9833f07c4ae02a6ab1e1ee2b81e92e5489db3e993774938e58d8fb884c8d882ba4126de15588164ceeff25
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/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.
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 = 0; // The default. See ZSTD_CLEVEL_DEFAULT in zstd_compress.c
59
+ compression_level = ZSTD_CLEVEL_DEFAULT;
62
60
  } else {
63
61
  compression_level = NUM2INT(compression_level_value);
64
62
  }
@@ -10,9 +10,7 @@ static void
10
10
  streaming_decompress_mark(void *p)
11
11
  {
12
12
  struct streaming_decompress_t *sd = p;
13
- // rb_gc_mark((VALUE)sd->ctx);
14
13
  rb_gc_mark(sd->buf);
15
- rb_gc_mark(sd->buf_size);
16
14
  }
17
15
 
18
16
  static void
@@ -1,3 +1,3 @@
1
1
  module Zstd
2
- VERSION = "1.5.2.1"
2
+ VERSION = "1.5.2.2"
3
3
  end
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.1
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-20 00:00:00.000000000 Z
11
+ date: 2022-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler