ruby-brs 1.1.4 → 1.1.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -16
  3. data/lib/brs/version.rb +1 -1
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 169f9d5837ac233e808610055a4edee6c5e133c78bd1047e951c218bd731e74d
4
- data.tar.gz: bd9ddc4653f00f5a5dd855a14f5c2b8013fd90ffce741334f523197621cacb15
3
+ metadata.gz: a66abcbdc6c29138075e622a75c3af830c333b3534429d97c57d08f568e0c6ae
4
+ data.tar.gz: 1326fc334ec25dcfef28777cbe9defa15ffde9d84df48773bfd5199d140510a1
5
5
  SHA512:
6
- metadata.gz: 1f7014703dbf00857e5c829aef7742c85d6251858047ed7bb234ec6b18c433615a5c72f0a48ce943cd34c9074f4104af23077beb27763ad6d8d68aa2a0cace6a
7
- data.tar.gz: 581c2b4e7d0b2cbab7c8b54427c05305238ecda8ef8e6f1a98493e01176f7e98b5a0f1009ec2f95beeb54ed6562511a08994ae24d7f75d0fed4ac7017f7eb21c
6
+ metadata.gz: 690e7ac3f938f10028ea88d50933a5f6b59f7ad8040966356655760bc5dc3deaaa27a89fc3b98e85565edf373015075ca1424a6c894557c6d6dc7c52bee83a9f
7
+ data.tar.gz: 2daa6c5c07566869cdb1f5826a8ab9584ff7c1371140edfba33dcd1bdbaf1ea02dcbebb2c0ee405c44692658bdbbaad326482c4069d761d05e86a4dfc8dcdb9d
data/README.md CHANGED
@@ -85,18 +85,18 @@ end
85
85
 
86
86
  ## Options
87
87
 
88
- | Option | Values | Default | Description |
89
- |------------------------------------|--------------|--------------|-------------|
90
- | `source_buffer_length` | `0 - inf` | `0 (auto)` | internal buffer length for source data |
91
- | `destination_buffer_length` | `0 - inf` | `0 (auto)` | internal buffer length for description data |
92
- | `mode` | `MODES` | `:generic` | compressor mode |
93
- | `quality` | `0 - 11` | `11` | compression level |
94
- | `lgwin` | `10 - 24` | `22` | compressor window size |
95
- | `lgblock` | `16 - 24` | `nil (auto)` | compressor input block size |
96
- | `disable_literal_context_modeling` | `true/false` | `false` | disables literal context modeling format |
97
- | `disable_ring_buffer_reallocation` | `true/false` | `false` | disables ring buffer reallocation |
98
- | `size_hint` | `0 - inf` | `0 (auto)` | size of input (if known) |
99
- | `large_window` | `true/false` | `false` | enables large window |
88
+ | Option | Values | Default | Description |
89
+ |------------------------------------|------------|------------|-------------|
90
+ | `source_buffer_length` | 0 - inf | 0 (auto) | internal buffer length for source data |
91
+ | `destination_buffer_length` | 0 - inf | 0 (auto) | internal buffer length for description data |
92
+ | `mode` | `MODES` | `:generic` | compressor mode |
93
+ | `quality` | 0 - 11 | 11 | compression level |
94
+ | `lgwin` | 10 - 24 | 22 | compressor window size |
95
+ | `lgblock` | 16 - 24 | nil (auto) | compressor input block size |
96
+ | `disable_literal_context_modeling` | true/false | false | disables literal context modeling format |
97
+ | `disable_ring_buffer_reallocation` | true/false | false | disables ring buffer reallocation |
98
+ | `size_hint` | 0 - inf | 0 (auto) | size of input (if known) |
99
+ | `large_window` | true/false | false | enables large window |
100
100
 
101
101
  There are internal buffers for compressed and decompressed data.
102
102
  For example you want to use 1 KB as `source_buffer_length` for compressor - please use 256 B as `destination_buffer_length`.
@@ -108,10 +108,10 @@ You can also read brotli docs for more info about options.
108
108
 
109
109
  | Option | Related constants |
110
110
  |-----------|-------------------|
111
- | `mode` | `BRS::Option::MODES = %i[text font generic]` |
112
- | `quality` | `BRS::Option::MIN_QUALITY = 0`, `BRS::Option::MAX_QUALITY = 11` |
113
- | `lgwin` | `BRS::Option::MIN_LGWIN = 10`, `BRS::Option::MAX_LGWIN = 24` |
114
- | `lgblock` | `BRS::Option::MIN_LGBLOCK = 16`, `BRS::Option::MAX_LGBLOCK = 24` |
111
+ | `mode` | `BRS::Option::MODES` = `%i[text font generic]` |
112
+ | `quality` | `BRS::Option::MIN_QUALITY` = 0, `BRS::Option::MAX_QUALITY` = 11 |
113
+ | `lgwin` | `BRS::Option::MIN_LGWIN` = 10, `BRS::Option::MAX_LGWIN` = 24 |
114
+ | `lgblock` | `BRS::Option::MIN_LGBLOCK` = 16, `BRS::Option::MAX_LGBLOCK` = 24 |
115
115
 
116
116
  Possible compressor options:
117
117
  ```
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) 2019 AUTHORS, MIT License.
3
3
 
4
4
  module BRS
5
- VERSION = "1.1.4".freeze
5
+ VERSION = "1.1.5".freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-brs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
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-02 00:00:00.000000000 Z
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.7'
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.2
203
+ rubygems_version: 3.1.4
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: Ruby bindings for brotli library.