zstdlib 0.11.0-x86-mingw32 → 0.12.0-x86-mingw32
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.so +0 -0
- data/lib/2.5/zstdlib_c.so +0 -0
- data/lib/2.6/zstdlib_c.so +0 -0
- data/lib/2.7/zstdlib_c.so +0 -0
- data/lib/3.0/zstdlib_c.so +0 -0
- data/lib/3.1/zstdlib_c.so +0 -0
- data/lib/3.2/zstdlib_c.so +0 -0
- data/lib/3.3/zstdlib_c.so +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: c0674def0fcb8a603f176d5d6a8c1cb9e2640c783bafcc54f5203c621b7a74b1
|
4
|
+
data.tar.gz: 3dd4bd35bd9ba424b4287faca9ff23c0a62f8d69efffb08281083b4eeb8d3a96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc5e7419196b8ebb61f353434330ffa64f156ca44571a49da35362c59805b8eec68213f21ab30edc1b43789ce655db9f7dcc625eebb2186804ec9a01bf1534ae
|
7
|
+
data.tar.gz: b2144288604a43e379bae06f1fdc22241df0e8a46ae07518287fb13a33f24806245c880038c9eea6005c25681c6b01e4b811500b19e1fb40c52865ab7e041f59
|
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
|
|