zstd-ruby 1.3.8.0 → 1.4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -5
  3. data/README.md +1 -1
  4. data/ext/zstdruby/libzstd/Makefile +7 -3
  5. data/ext/zstdruby/libzstd/README.md +4 -2
  6. data/ext/zstdruby/libzstd/common/compiler.h +1 -1
  7. data/ext/zstdruby/libzstd/common/fse.h +1 -1
  8. data/ext/zstdruby/libzstd/common/threading.c +2 -2
  9. data/ext/zstdruby/libzstd/common/xxhash.c +2 -2
  10. data/ext/zstdruby/libzstd/common/zstd_internal.h +55 -2
  11. data/ext/zstdruby/libzstd/compress/fse_compress.c +2 -2
  12. data/ext/zstdruby/libzstd/compress/zstd_compress.c +423 -296
  13. data/ext/zstdruby/libzstd/compress/zstd_compress_internal.h +14 -11
  14. data/ext/zstdruby/libzstd/compress/zstd_fast.c +203 -124
  15. data/ext/zstdruby/libzstd/compress/zstd_lazy.h +1 -1
  16. data/ext/zstdruby/libzstd/compress/zstd_ldm.c +1 -1
  17. data/ext/zstdruby/libzstd/compress/zstd_opt.c +27 -11
  18. data/ext/zstdruby/libzstd/compress/zstdmt_compress.c +41 -49
  19. data/ext/zstdruby/libzstd/compress/zstdmt_compress.h +43 -26
  20. data/ext/zstdruby/libzstd/decompress/zstd_ddict.c +4 -4
  21. data/ext/zstdruby/libzstd/decompress/zstd_decompress.c +257 -164
  22. data/ext/zstdruby/libzstd/decompress/zstd_decompress_block.c +51 -47
  23. data/ext/zstdruby/libzstd/decompress/zstd_decompress_internal.h +7 -0
  24. data/ext/zstdruby/libzstd/dictBuilder/cover.c +58 -13
  25. data/ext/zstdruby/libzstd/dictBuilder/cover.h +29 -0
  26. data/ext/zstdruby/libzstd/dictBuilder/fastcover.c +25 -13
  27. data/ext/zstdruby/libzstd/dictBuilder/zdict.h +18 -8
  28. data/ext/zstdruby/libzstd/dll/example/build_package.bat +3 -2
  29. data/ext/zstdruby/libzstd/legacy/zstd_legacy.h +42 -12
  30. data/ext/zstdruby/libzstd/legacy/zstd_v01.c +32 -7
  31. data/ext/zstdruby/libzstd/legacy/zstd_v01.h +12 -7
  32. data/ext/zstdruby/libzstd/legacy/zstd_v02.c +31 -12
  33. data/ext/zstdruby/libzstd/legacy/zstd_v02.h +12 -7
  34. data/ext/zstdruby/libzstd/legacy/zstd_v03.c +32 -12
  35. data/ext/zstdruby/libzstd/legacy/zstd_v03.h +12 -7
  36. data/ext/zstdruby/libzstd/legacy/zstd_v04.c +32 -12
  37. data/ext/zstdruby/libzstd/legacy/zstd_v04.h +12 -7
  38. data/ext/zstdruby/libzstd/legacy/zstd_v05.c +32 -7
  39. data/ext/zstdruby/libzstd/legacy/zstd_v05.h +12 -7
  40. data/ext/zstdruby/libzstd/legacy/zstd_v06.c +36 -8
  41. data/ext/zstdruby/libzstd/legacy/zstd_v06.h +10 -5
  42. data/ext/zstdruby/libzstd/legacy/zstd_v07.c +40 -9
  43. data/ext/zstdruby/libzstd/legacy/zstd_v07.h +10 -5
  44. data/ext/zstdruby/libzstd/zstd.h +689 -542
  45. data/lib/zstd-ruby/version.rb +1 -1
  46. data/zstd-ruby.gemspec +1 -1
  47. metadata +6 -7
  48. data/ext/zstdruby/libzstd/dll/libzstd.def +0 -87
@@ -1,3 +1,3 @@
1
1
  module Zstd
2
- VERSION = "1.3.8.0"
2
+ VERSION = "1.4.0.0"
3
3
  end
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.require_paths = ["lib"]
32
32
  spec.extensions = ["ext/zstdruby/extconf.rb"]
33
33
 
34
- spec.add_development_dependency "bundler", "~> 1.14"
34
+ spec.add_development_dependency "bundler"
35
35
  spec.add_development_dependency "rake", "~> 10.0"
36
36
  spec.add_development_dependency "rake-compiler", '~> 1'
37
37
  spec.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zstd-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.8.0
4
+ version: 1.4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SpringMT
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-28 00:00:00.000000000 Z
11
+ date: 2019-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.14'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.14'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -153,7 +153,6 @@ files:
153
153
  - ext/zstdruby/libzstd/dll/example/build_package.bat
154
154
  - ext/zstdruby/libzstd/dll/example/fullbench-dll.sln
155
155
  - ext/zstdruby/libzstd/dll/example/fullbench-dll.vcxproj
156
- - ext/zstdruby/libzstd/dll/libzstd.def
157
156
  - ext/zstdruby/libzstd/legacy/zstd_legacy.h
158
157
  - ext/zstdruby/libzstd/legacy/zstd_v01.c
159
158
  - ext/zstdruby/libzstd/legacy/zstd_v01.h
@@ -1,87 +0,0 @@
1
- LIBRARY libzstd.dll
2
- EXPORTS
3
- ZDICT_getDictID
4
- ZDICT_getErrorName
5
- ZDICT_isError
6
- ZDICT_trainFromBuffer
7
- ZSTD_CStreamInSize
8
- ZSTD_CStreamOutSize
9
- ZSTD_DStreamInSize
10
- ZSTD_DStreamOutSize
11
- ZSTD_adjustCParams
12
- ZSTD_checkCParams
13
- ZSTD_compress
14
- ZSTD_compressBegin
15
- ZSTD_compressBegin_advanced
16
- ZSTD_compressBegin_usingDict
17
- ZSTD_compressBlock
18
- ZSTD_compressBound
19
- ZSTD_compressCCtx
20
- ZSTD_compressContinue
21
- ZSTD_compressEnd
22
- ZSTD_compressStream
23
- ZSTD_compress_advanced
24
- ZSTD_compress_usingCDict
25
- ZSTD_compress_usingDict
26
- ZSTD_copyCCtx
27
- ZSTD_copyDCtx
28
- ZSTD_createCCtx
29
- ZSTD_createCCtx_advanced
30
- ZSTD_createCDict
31
- ZSTD_createCDict_advanced
32
- ZSTD_createCStream
33
- ZSTD_createCStream_advanced
34
- ZSTD_createDCtx
35
- ZSTD_createDCtx_advanced
36
- ZSTD_createDDict
37
- ZSTD_createDStream
38
- ZSTD_createDStream_advanced
39
- ZSTD_decompress
40
- ZSTD_decompressBegin
41
- ZSTD_decompressBegin_usingDict
42
- ZSTD_decompressBlock
43
- ZSTD_decompressContinue
44
- ZSTD_decompressDCtx
45
- ZSTD_decompressStream
46
- ZSTD_decompress_usingDDict
47
- ZSTD_decompress_usingDict
48
- ZSTD_endStream
49
- ZSTD_estimateCCtxSize
50
- ZSTD_estimateDCtxSize
51
- ZSTD_flushStream
52
- ZSTD_freeCCtx
53
- ZSTD_freeCDict
54
- ZSTD_freeCStream
55
- ZSTD_freeDCtx
56
- ZSTD_freeDDict
57
- ZSTD_freeDStream
58
- ZSTD_getBlockSizeMax
59
- ZSTD_getCParams
60
- ZSTD_getDecompressedSize
61
- ZSTD_findDecompressedSize
62
- ZSTD_getFrameContentSize
63
- ZSTD_getErrorName
64
- ZSTD_getFrameParams
65
- ZSTD_getParams
66
- ZSTD_initCStream
67
- ZSTD_initCStream_advanced
68
- ZSTD_initCStream_usingCDict
69
- ZSTD_initCStream_usingDict
70
- ZSTD_initDStream
71
- ZSTD_initDStream_usingDDict
72
- ZSTD_initDStream_usingDict
73
- ZSTD_insertBlock
74
- ZSTD_isError
75
- ZSTD_isFrame
76
- ZSTD_maxCLevel
77
- ZSTD_nextInputType
78
- ZSTD_nextSrcSizeToDecompress
79
- ZSTD_resetCStream
80
- ZSTD_resetDStream
81
- ZSTD_sizeof_CCtx
82
- ZSTD_sizeof_CDict
83
- ZSTD_sizeof_CStream
84
- ZSTD_sizeof_DCtx
85
- ZSTD_sizeof_DDict
86
- ZSTD_sizeof_DStream
87
- ZSTD_versionNumber