Skip to content

Commit

Permalink
updated to zstd 1.4.5, content size works perfect, updated release sc…
Browse files Browse the repository at this point in the history
…ripts
  • Loading branch information
andrew-aladev committed Jun 26, 2020
1 parent e555c89 commit 641c17e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/ci_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export LIBRARY_PATH="${C_INCLUDE_PATH}:/usr/local/lib"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib"

# Compiling library from source.
ZSTD_BRANCH="v1.4.4"
ZSTD_BRANCH="v1.4.5"

cd "tmp"

Expand Down
3 changes: 2 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ rake gem

# Packing source.

NAME="ruby-zstds"
VERSION=$(grep "VERSION" "lib/zstds/version.rb" | sed "s/.*VERSION\s*=\s*['\"]\([0-9.]*\).*/\1/g")
NAME="ruby-zstds-${VERSION}"

COMPRESSION_LEVEL="-9"
TAR_COMMANDS=(
Expand Down
3 changes: 1 addition & 2 deletions test/option.rb
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,7 @@ def self.get_compressor_options(buffer_length_names, &_block)
# other

flags_generator = OCG.new(
# TODO: content size is broken https://github.com/facebook/zstd/issues/1863.
:content_size_flag => [true],
:content_size_flag => BOOLS,
:checksum_flag => BOOLS,
:dict_id_flag => BOOLS
)
Expand Down

0 comments on commit 641c17e

Please sign in to comment.