multi_compress 0.2.4 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -2
- data/GET_STARTED.md +863 -0
- data/README.md +15 -19
- data/ext/multi_compress/extconf.rb +2 -0
- data/ext/multi_compress/multi_compress.c +630 -220
- data/lib/multi_compress/version.rb +1 -1
- data/lib/multi_compress.rb +104 -21
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f801c58708b34a23e3348b12d482ce3afbbf12208bdfa7d8454b20d4afbf55f4
|
|
4
|
+
data.tar.gz: 666eee26931519bf0069d451767053bc87cf91cede44cfe69a87408dc4b08736
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39c03d5ce59b250947c9c91a61926d5ac2bdad8193cdd0b5d38bdb639e7ad38921a26e439729c0ea55cebe133a3724bd3010e3d83147aa4ce00a66909f34d7e6
|
|
7
|
+
data.tar.gz: d633ab7a2257c71d741b66c598aef4924ca99ef62dbaa01185aa1efdaaae93e7ffcaaec0205a300bc6291e279d8fafc34560a203e71da3c9ae6825c69819faa6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.0]
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- `MultiCompress.configure` with global decompression defaults:
|
|
7
|
+
- `config.max_output_size` for one-shot `MultiCompress.decompress`
|
|
8
|
+
- `config.streaming_max_output_size` for `MultiCompress::Inflater` / `MultiCompress::Reader`
|
|
9
|
+
- Per-call `max_output_size:` overrides continue to work and now take precedence over global defaults
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- One-shot and streaming decompression now use separate defaults out of the box:
|
|
13
|
+
- one-shot `max_output_size`: `512MB`
|
|
14
|
+
- streaming cumulative `max_output_size`: `2GB`
|
|
15
|
+
- Size limits are now the primary default UX for decompression while the existing ratio guard behavior remains unchanged.
|
|
16
|
+
- Reader/Writer IO parity was tightened for stream wrappers:
|
|
17
|
+
- `Reader#read(n)` now returns `nil` at EOF
|
|
18
|
+
- `Reader#gets` correctly preserves multi-byte separators
|
|
19
|
+
- `Reader#each_chunk` no longer yields an empty trailing chunk at EOF
|
|
20
|
+
- `Writer#puts` now flattens nested arrays like `IO#puts`
|
|
21
|
+
|
|
3
22
|
## [0.2.4]
|
|
4
23
|
|
|
5
24
|
### Added
|
|
@@ -25,9 +44,8 @@
|
|
|
25
44
|
- Cumulative streaming output budget enforcement
|
|
26
45
|
- Dictionary file size cap (`32MB`) for `MultiCompress::Dictionary.load`
|
|
27
46
|
- New docs/code parity and limits tests
|
|
28
|
-
- Linux-only ASAN/UBSAN CI job
|
|
29
47
|
- Local `script/valgrind.sh` helper for developer verification (with Ruby VM suppressions)
|
|
30
|
-
- Local `script/sanitize.sh` helper for
|
|
48
|
+
- Local `script/sanitize.sh` helper for running ASAN/UBSAN checks on Linux
|
|
31
49
|
- Optional `./build.sh --test`, `./build.sh --valgrind`, and `./build.sh --sanitize` modes
|
|
32
50
|
|
|
33
51
|
### Changed
|