zstdlib 0.11.0-x64-mingw32 → 0.12.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) 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. data/lib/2.4/zstdlib_c.so +0 -0
  28. data/lib/2.5/zstdlib_c.so +0 -0
  29. data/lib/2.6/zstdlib_c.so +0 -0
  30. data/lib/2.7/zstdlib_c.so +0 -0
  31. data/lib/3.0/zstdlib_c.so +0 -0
  32. metadata +32 -31
  33. /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/crc32.h +0 -0
  34. /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inffixed.h +0 -0
  35. /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inflate.h +0 -0
  36. /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: 0b1f12086eaf5858d57238f77c4bf02dcdaf9787b1e02b0a4fc86ed463c21478
4
- data.tar.gz: e086ba203e0d04410e544b84b259f728b4ad783f3dd7ff0db83c230d240d65a1
3
+ metadata.gz: 1e370faf2edf3402efb1c1cd5869f23a08594660ea2b12ca6eb5e9c0d65f478b
4
+ data.tar.gz: 46f0a2857bb9858252029db6ba8847880d4a9b9611d78f0e030c47ca6408f97e
5
5
  SHA512:
6
- metadata.gz: 8f997ba9e12f3d3bd909545f8120bef4d1807de4112c985a6b77b8c76bdea803a7fa444e472075fc7a76886ea7fe6db99942a1a7d36681ac49b1b15e94c12d38
7
- data.tar.gz: ed5c066ed3d5bdc4e29cbff4d8bd7c86ccbe15f168379efad4acd3380458d03056b450c5ef560328e34fa36d517ac7d588f08738e3d0a812871f053b0616dce7
6
+ metadata.gz: b87ab4ab3d7a67acfa872550bd61347726200b6b5b53e970a7ee3a477eba50140506bd20e9a0d5b9798194e0fe88c3adb4837ffa2dd0901bb098c58b9d992903
7
+ data.tar.gz: 639784c947f2e309e43c4de4bb9ff09275c519f34b524561990fb4d710e3c88df499b73c19e921dd06fcbf0268a4c104390e031c4ad6ac33ba406e09d96aeb68
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