zlib 3.0.0 → 3.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/zlib/zlib.c +2 -4
  3. metadata +3 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41b7725d22718acab4587061657664b5bc968f2bf1c49ce138da93d74bcab5b6
4
- data.tar.gz: afcafcf39db41825d341a3b8ae6ae8430c111eff53ba0498054b0c6eb1be3a21
3
+ metadata.gz: a5256d7574d4fcaf95d85282fb08608413d86ebd4818db7cde168441b0c3872a
4
+ data.tar.gz: 51c94357b975da64fecb9aa6a7d76ecfe465de32beba7d9c7e2f3b16ffa7c2e7
5
5
  SHA512:
6
- metadata.gz: 4b7db251e4e66d850419c1f943ca33e4de1239a69230d3b8674ae4c3b4f32ecc72525f928407719601be73dfcbd9ee2162dcfe89c73883b979e7b15a6c9e30bf
7
- data.tar.gz: ab12bdb64f407df968bbf8da42a68c361aa00a151d261ad3557a0a4ca38807184e783bf0c10f79fb0ecc4a1cce7d896e63244f21949824db4d2d19ab9e231196
6
+ metadata.gz: ae90c906532814044b416cfec733b13409b99a6bb2e32d3a4aa2f18f068327442dde8b5c4898b556bc0905bb61de9211a8cc9a014e95d39f09343be0de377f3c
7
+ data.tar.gz: 1e43996f98659c4718cfb02650fb473666d779d8b45aa42cd287cc7bd42d09723b7fc8dac30f48ae4e348901fa473bca7b197c00feefc081276844712d18efed
data/ext/zlib/zlib.c CHANGED
@@ -25,7 +25,7 @@
25
25
  # define VALGRIND_MAKE_MEM_UNDEFINED(p, n) 0
26
26
  #endif
27
27
 
28
- #define RUBY_ZLIB_VERSION "3.0.0"
28
+ #define RUBY_ZLIB_VERSION "3.0.1"
29
29
 
30
30
  #ifndef RB_PASS_CALLED_KEYWORDS
31
31
  # define rb_class_new_instance_kw(argc, argv, klass, kw_splat) rb_class_new_instance(argc, argv, klass)
@@ -851,9 +851,7 @@ zstream_buffer_ungets(struct zstream *z, const Bytef *b, unsigned long len)
851
851
  char *bufptr;
852
852
  long filled;
853
853
 
854
- if (NIL_P(z->buf) || (long)rb_str_capacity(z->buf) <= ZSTREAM_BUF_FILLED(z)) {
855
- zstream_expand_buffer_into(z, len);
856
- }
854
+ zstream_expand_buffer_into(z, len);
857
855
 
858
856
  RSTRING_GETMEM(z->buf, bufptr, filled);
859
857
  memmove(bufptr + len, bufptr, filled);
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto
8
8
  - UENO Katsuhiro
9
- autorequire:
10
9
  bindir: exe
11
10
  cert_chain: []
12
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Ruby interface for the zlib compression/decompression library
15
14
  email:
@@ -30,7 +29,6 @@ licenses:
30
29
  - Ruby
31
30
  - BSD-2-Clause
32
31
  metadata: {}
33
- post_install_message:
34
32
  rdoc_options: []
35
33
  require_paths:
36
34
  - lib
@@ -45,8 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
43
  - !ruby/object:Gem::Version
46
44
  version: '0'
47
45
  requirements: []
48
- rubygems_version: 3.4.0.dev
49
- signing_key:
46
+ rubygems_version: 4.0.3
50
47
  specification_version: 4
51
48
  summary: Ruby interface for the zlib compression/decompression library
52
49
  test_files: []