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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdf04ad080ad9a209ecc3ae9ed9ef9bb510a0847
4
- data.tar.gz: 96415ea6c563b9d75b672fd41f89c61934744648
3
+ metadata.gz: 8d47c8cedb63569473115529c3c379af50d3b8f4
4
+ data.tar.gz: ce50308357d9dd969aed26a069ded7b3a0f4d0eb
5
5
  SHA512:
6
- metadata.gz: 259d59d170427d451a5b82f4bd1ab81ffaeaeb16f0d7d10eaeb5467c141e1bb00587bb073da09c06e10dad978a17fbbea3bbf238f2471dec73bd5cb8e654a57f
7
- data.tar.gz: 03ecf56e156dd20bd1fe839f223e1c083f5d0a9c8a26bad1147d2d4378a6c8c7b3e4b4d1ebdf0dfeab276b1907276a594f34c81a771d199ce59ba83c15d381ac
6
+ metadata.gz: 55f26087525714ae93f19b9428f0657b869b1dad1a5b2c4741778806e21d5d35b57e9ef7b82bceb3212903ce12c24bed490c88cf8c8817293dd1e6acf090a9f0
7
+ data.tar.gz: 1c7430c0b0ac9882e8e6fd655ad09c464c569ccae27d3d011e8d24d81bd6da9284a746816676f572522a2730b221303cda709c2832ad1e0fd0363f7c13773fa6
@@ -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
- TODO: Write usage instructions here
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/[USERNAME]/brotli.
36
-
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/miyucy/brotli.
@@ -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")
@@ -1,3 +1,3 @@
1
1
  module Brotli
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
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.5
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: 2016-12-30 00:00:00.000000000 Z
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: []