degzipper 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/degzipper/rails.rb +6 -2
- data/lib/degzipper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5f70dff4fd824eab8a9014e43f09cccf160a75a
|
4
|
+
data.tar.gz: 1f894a7127a26c360823099f6e96c015bc17cd4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ada1da12ec3a7fce61000ee7601c0051bf9764884d263d45e79017401a0becc491649a8bd63d7d83aa674e70aff656b1f8774b1cf5f643a9657e26252625ced3
|
7
|
+
data.tar.gz: 8434435540bca231c672f394b2bbe5c454c34854e6ae82ebee46c6df362953b9907511b6b3dbd8e7cb78c629f7f5802bfd7f430517d240a87a1d7e1130289ceb
|
data/CHANGELOG.md
CHANGED
data/lib/degzipper/rails.rb
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
module Degzipper
|
2
2
|
class Rails < Rails::Railtie
|
3
3
|
initializer "degzipper.configure_rails_initialization" do |app|
|
4
|
-
|
4
|
+
if ::Rails.version >= "5"
|
5
|
+
app.middleware.use Degzipper::Middleware
|
6
|
+
else
|
7
|
+
app.middleware.insert_before ActionDispatch::ParamsParser, "Degzipper::Middleware"
|
8
|
+
end
|
5
9
|
end
|
6
10
|
end
|
7
|
-
end
|
11
|
+
end
|
data/lib/degzipper/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: degzipper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Hammond
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.4.
|
111
|
+
rubygems_version: 2.4.5
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Rack middleware to inflate incoming Gzip data from HTTP requests.
|