ruby-lzws 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -11
- data/lib/lzws/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45c0c7f35addf83d5ba03c70c375c22ffa77033b0e324cda2a30548bfb91a579
|
4
|
+
data.tar.gz: 99d7cb5a5465ce8f6d82e1d727e63eac94be05db3546f3fd6c445769dd1c7cb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a8ccf1146d380093e028f40453f2747e6f67e64e308eac8ee4bb5a0bd8abd6d572d42b4a537813c3edcdb46170292740d52b61e8384b47cac2a92895ec1f0d3
|
7
|
+
data.tar.gz: 2b6deed0dfb579fc16637fab9bb82fe3889e100644b80219aa5dc4a59ab00681f17b59a64b5d1930bcf92551f03f04cff9dc714231ec38dcc3856eaf5aa43b5a
|
data/README.md
CHANGED
@@ -86,16 +86,16 @@ end
|
|
86
86
|
|
87
87
|
## Options
|
88
88
|
|
89
|
-
| Option | Values
|
90
|
-
|
91
|
-
| `source_buffer_length` |
|
92
|
-
| `destination_buffer_length` |
|
93
|
-
| `max_code_bit_length` |
|
94
|
-
| `block_mode` |
|
95
|
-
| `without_magic_header` |
|
96
|
-
| `msb` |
|
97
|
-
| `unaligned_bit_groups` |
|
98
|
-
| `quiet` |
|
89
|
+
| Option | Values | Default | Description |
|
90
|
+
|-----------------------------|------------|----------|-------------|
|
91
|
+
| `source_buffer_length` | 0, 2 - inf | 0 (auto) | internal buffer length for source data |
|
92
|
+
| `destination_buffer_length` | 0, 2 - inf | 0 (auto) | internal buffer length for description data |
|
93
|
+
| `max_code_bit_length` | 9 - 16 | 16 | max code bit length |
|
94
|
+
| `block_mode` | true/false | true | enables block mode |
|
95
|
+
| `without_magic_header` | true/false | false | disables magic header |
|
96
|
+
| `msb` | true/false | false | enables most significant bit mode |
|
97
|
+
| `unaligned_bit_groups` | true/false | false | enables unaligned bit groups |
|
98
|
+
| `quiet` | true/false | false | disables lzws library logging |
|
99
99
|
|
100
100
|
There are internal buffers for compressed and decompressed data.
|
101
101
|
For example you want to use 1 KB as `source_buffer_length` for compressor - please use 256 B as `destination_buffer_length`.
|
@@ -105,7 +105,7 @@ You can also read lzws docs for more info about options.
|
|
105
105
|
|
106
106
|
| Option | Related constants |
|
107
107
|
|-----------------------|-------------------|
|
108
|
-
| `max_code_bit_length` | `LZWS::Option::LOWEST_MAX_CODE_BIT_LENGTH = 9
|
108
|
+
| `max_code_bit_length` | `LZWS::Option::LOWEST_MAX_CODE_BIT_LENGTH` = 9, `LZWS::Option::BIGGEST_MAX_CODE_BIT_LENGTH` = 16 |
|
109
109
|
|
110
110
|
Possible compressor options:
|
111
111
|
```
|
data/lib/lzws/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-lzws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Aladjev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codecov
|
@@ -191,16 +191,16 @@ require_paths:
|
|
191
191
|
- lib
|
192
192
|
required_ruby_version: !ruby/object:Gem::Requirement
|
193
193
|
requirements:
|
194
|
-
- - "
|
194
|
+
- - ">="
|
195
195
|
- !ruby/object:Gem::Version
|
196
|
-
version: '2.
|
196
|
+
version: '2.5'
|
197
197
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: '0'
|
202
202
|
requirements: []
|
203
|
-
rubygems_version: 3.1.
|
203
|
+
rubygems_version: 3.1.4
|
204
204
|
signing_key:
|
205
205
|
specification_version: 4
|
206
206
|
summary: Ruby bindings for lzws library.
|