rack-brotli 0.0.0.1.ENOTAG → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/{rack-brotli.rb → brotli.rb} +5 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b885e023ce5938f23f503190fc86ae48f4555a0
|
4
|
+
data.tar.gz: 6463c7c62ec3609998cdb63d1d8716c7f62aa48d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d07f951feb103a5d6daec30258cdf44156365a174d4407e93bda8a802a2fb738c483ca227e49f2d0e29ad9fa4403cf2c97afd837af1306fd3d2f96d49eb77a43
|
7
|
+
data.tar.gz: 12ce1703d86491b0c280e797d1a92fc86e1ca7a583f792c2e46465cc29b1959032b28973a4ad7f3c280620ffe4376ebe062ebb83a0dbbbfeef1faebb9cdd0371
|
@@ -1,11 +1,16 @@
|
|
1
1
|
require 'rack'
|
2
2
|
require 'git-version-bump'
|
3
|
+
require 'rack/brotli/deflater'
|
3
4
|
|
4
5
|
module Rack
|
5
6
|
module Brotli
|
6
7
|
def self.release
|
7
8
|
GVB.version
|
8
9
|
end
|
10
|
+
|
11
|
+
def self.new(app, options={})
|
12
|
+
Rack::Brotli::Deflater.new(app, options)
|
13
|
+
end
|
9
14
|
end
|
10
15
|
|
11
16
|
autoload :Brotli, "rack/brotli/deflater"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-brotli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marco Costa
|
@@ -138,8 +138,8 @@ extra_rdoc_files:
|
|
138
138
|
files:
|
139
139
|
- COPYING
|
140
140
|
- README.md
|
141
|
+
- lib/rack/brotli.rb
|
141
142
|
- lib/rack/brotli/deflater.rb
|
142
|
-
- lib/rack/rack-brotli.rb
|
143
143
|
homepage: http://github.com/marcotc/rack-brotli/
|
144
144
|
licenses:
|
145
145
|
- MIT
|
@@ -161,9 +161,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
161
161
|
version: '0'
|
162
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - "
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: '0'
|
167
167
|
requirements: []
|
168
168
|
rubyforge_project:
|
169
169
|
rubygems_version: 2.4.5
|