zstdlib 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +9 -0
  3. data/ext/zstdlib_c/extconf.rb +8 -3
  4. data/ext/zstdlib_c/ruby/zlib-3.3/zstdlib.c +5090 -0
  5. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/adler32.c +5 -27
  6. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/compress.c +5 -16
  7. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/crc32.c +94 -161
  8. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/deflate.c +362 -434
  9. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/deflate.h +43 -12
  10. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzclose.c +1 -3
  11. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzguts.h +13 -18
  12. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzlib.c +28 -85
  13. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzread.c +23 -73
  14. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzwrite.c +19 -65
  15. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/infback.c +17 -30
  16. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inffast.c +1 -4
  17. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inffast.h +1 -1
  18. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inflate.c +36 -102
  19. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inftrees.c +6 -11
  20. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inftrees.h +6 -6
  21. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/trees.c +290 -355
  22. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/uncompr.c +4 -12
  23. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/zconf.h +23 -14
  24. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/zlib.h +202 -199
  25. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/zutil.c +18 -44
  26. data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/zutil.h +13 -33
  27. metadata +33 -32
  28. /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/crc32.h +0 -0
  29. /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inffixed.h +0 -0
  30. /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inflate.h +0 -0
  31. /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/trees.h +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc7f54270d7fafdbaf9261f23966afdd7fd339f12841de05c9edade19264f995
4
- data.tar.gz: 1a76df3aad661d4668fb54de823cb38e0d2a2941b1486fbf4aed5b943959cbaf
3
+ metadata.gz: dd4c724098ade669548ba25cd1192c10a1e2e8c2af2f1ebcaa2359191c344867
4
+ data.tar.gz: af7b6c49b89aaf7abcfcea9b68739c76e6394877bc96759baf44cc33c6269250
5
5
  SHA512:
6
- metadata.gz: '0396cf76af94efbffe286a7672f44ce5f9d08a90995c4be0ff7f255c9c02214b90f53884016d0077a9d4f3694a0d95ff1ca841a3ac2e428c299a392fa6dfb418'
7
- data.tar.gz: 13243661b28728bf2c47dc4bbac9da8744b65754b06351fc38d4c976651539e38dfbffec05e0a513ba7a451458790c0faf738d6e5288a3a7944511ea9116e321
6
+ metadata.gz: b261fbd202e7ed2b525e6daf95c4c00a3571b06214d0293d1ad689ba1f02a81eab4f7d21b8f98fdc5c7c8c6e6a304315326c7c2486bb4bdf320fd2492d078ec8
7
+ data.tar.gz: 3b98295e8bb3b4bddb117b6080a2782267ec1130779a0fc2d76cb87294aa60218cb2a9f5a98a01115e792d63e9902194b1c93fc228fe46a49e19fbbea9d41add
data/CHANGES.md CHANGED
@@ -1,3 +1,12 @@
1
+ # 0.12.0
2
+
3
+ Updated Zlib to `1.3.1`
4
+
5
+ Added support for MRI Ruby version `3.3`
6
+
7
+ Upgraded rake-compiler-dock to `1.4.0`
8
+
9
+
1
10
  # 0.11.0
2
11
 
3
12
  Updated Zstd to `1.5.5`
@@ -7,12 +7,17 @@ include RbConfig
7
7
  include FileUtils
8
8
 
9
9
  ZSTD_VERSION = '1.5.5'
10
- ZLIB_VERSION = '1.2.12'
10
+ ZLIB_VERSION = '1.3.1'
11
11
 
12
12
  RB_VERSION = CONFIG['MAJOR']+'.'+CONFIG['MINOR']
13
- ZMOD_VERSION = RB_VERSION >= '2.3' ? '3.2' : RB_VERSION # Review requirements with every new zlib module release!
14
13
 
15
- # For cross compiling
14
+ # Review requirements with every new zlib module release!
15
+ ZMOD_VERSION = if RB_VERSION >= '2.5' then '3.3'
16
+ elsif RB_VERSION >= '2.3' then '3.2'
17
+ else RB_VERSION
18
+ end
19
+
20
+ # For cross compiling
16
21
  ENV['CC'] = RbConfig::CONFIG['CC']
17
22
  ENV['LD'] = RbConfig::CONFIG['LD']
18
23