brotli 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +22 -0
- data/README.md +8 -3
- data/brotli.gemspec +1 -0
- data/lib/brotli/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d47c8cedb63569473115529c3c379af50d3b8f4
|
4
|
+
data.tar.gz: ce50308357d9dd969aed26a069ded7b3a0f4d0eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55f26087525714ae93f19b9428f0657b869b1dad1a5b2c4741778806e21d5d35b57e9ef7b82bceb3212903ce12c24bed490c88cf8c8817293dd1e6acf090a9f0
|
7
|
+
data.tar.gz: 1c7430c0b0ac9882e8e6fd655ad09c464c569ccae27d3d011e8d24d81bd6da9284a746816676f572522a2730b221303cda709c2832ad1e0fd0363f7c13773fa6
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 miyucy
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -22,7 +22,13 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
```ruby
|
26
|
+
require 'brotli'
|
27
|
+
compressed = Brotli.deflate(string)
|
28
|
+
decompressed = Brotli.inflate(compressed)
|
29
|
+
```
|
30
|
+
|
31
|
+
See spec/brotli_spec.rb
|
26
32
|
|
27
33
|
## Development
|
28
34
|
|
@@ -32,5 +38,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
38
|
|
33
39
|
## Contributing
|
34
40
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
36
|
-
|
41
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/miyucy/brotli.
|
data/brotli.gemspec
CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{Brotli compressor/decompressor}
|
13
13
|
spec.description = %q{Brotli compressor/decompressor}
|
14
14
|
spec.homepage = "https://github.com/miyucy/brotli"
|
15
|
+
spec.license = "MIT"
|
15
16
|
|
16
17
|
spec.test_files = `git ls-files -z -- spec`.split("\x0")
|
17
18
|
spec.files = `git ls-files -z`.split("\x0")
|
data/lib/brotli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brotli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- miyucy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- ".rspec"
|
94
94
|
- ".travis.yml"
|
95
95
|
- Gemfile
|
96
|
+
- LICENSE.txt
|
96
97
|
- README.md
|
97
98
|
- Rakefile
|
98
99
|
- bin/console
|
@@ -187,7 +188,8 @@ files:
|
|
187
188
|
- vendor/brotli/enc/utf8_util.h
|
188
189
|
- vendor/brotli/enc/write_bits.h
|
189
190
|
homepage: https://github.com/miyucy/brotli
|
190
|
-
licenses:
|
191
|
+
licenses:
|
192
|
+
- MIT
|
191
193
|
metadata: {}
|
192
194
|
post_install_message:
|
193
195
|
rdoc_options: []
|