zstdlib 0.11.0-arm64-darwin → 0.12.0-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +9 -0
- data/ext/zstdlib_c/extconf.rb +8 -3
- data/ext/zstdlib_c/ruby/zlib-3.3/zstdlib.c +5090 -0
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/adler32.c +5 -27
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/compress.c +5 -16
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/crc32.c +94 -161
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/deflate.c +362 -434
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/deflate.h +43 -12
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzclose.c +1 -3
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzguts.h +13 -18
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzlib.c +28 -85
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzread.c +23 -73
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/gzwrite.c +19 -65
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/infback.c +17 -30
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inffast.c +1 -4
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inffast.h +1 -1
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inflate.c +36 -102
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inftrees.c +6 -11
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inftrees.h +6 -6
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/trees.c +290 -355
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/uncompr.c +4 -12
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/zconf.h +23 -14
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/zlib.h +202 -199
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/zutil.c +18 -44
- data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/zutil.h +13 -33
- data/lib/2.4/zstdlib_c.bundle +0 -0
- data/lib/2.5/zstdlib_c.bundle +0 -0
- data/lib/2.6/zstdlib_c.bundle +0 -0
- data/lib/2.7/zstdlib_c.bundle +0 -0
- data/lib/3.0/zstdlib_c.bundle +0 -0
- data/lib/3.1/zstdlib_c.bundle +0 -0
- data/lib/3.2/zstdlib_c.bundle +0 -0
- data/lib/3.3/zstdlib_c.bundle +0 -0
- metadata +34 -32
- /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/crc32.h +0 -0
- /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inffixed.h +0 -0
- /data/ext/zstdlib_c/{zlib-1.2.12 → zlib-1.3.1}/inflate.h +0 -0
- /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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2feb81ec7a989256e4236db50f1cdc1ea2dbed5c507b47c90d3f17c3e125f89a
|
4
|
+
data.tar.gz: ec564b34c8fdd893a965d6087cb98372b673dd79ab7e222141b53b8327150d01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8399899a3818aa55e5d7d7e53be5f9d9282fb63bdc044115f34802192c068b77dcfc34f6d96f90597232442a7683aaa18422496c674c4777dd461fd5de278355
|
7
|
+
data.tar.gz: be32564326e3f632b221f5a39bc36397ec4b383de0e2ea8348c8aee4af953f88755e87830c4650521f8a4c22ff36978a292aa9ea25db242f7e5d5d450f76169d
|
data/CHANGES.md
CHANGED
data/ext/zstdlib_c/extconf.rb
CHANGED
@@ -7,12 +7,17 @@ include RbConfig
|
|
7
7
|
include FileUtils
|
8
8
|
|
9
9
|
ZSTD_VERSION = '1.5.5'
|
10
|
-
ZLIB_VERSION = '1.
|
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
|
-
|
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
|
|