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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee39cde684c0493cba8587318e2f16a37925b1cc
4
- data.tar.gz: 712f518e9a307afd97170c1d8132bc31253a83e4
3
+ metadata.gz: b5f70dff4fd824eab8a9014e43f09cccf160a75a
4
+ data.tar.gz: 1f894a7127a26c360823099f6e96c015bc17cd4a
5
5
  SHA512:
6
- metadata.gz: 300a3b34f87eefd8eed351654d4c98e4fe3d308d59362ce8a3c0e04b6fadf65574dcdd5043ac6774ec5af4f93f4f3edc06ae89ceafc46dd4344dc05d7cf76154
7
- data.tar.gz: f7bf0adfd814f1ef374cc5a82ab575a3b7b0d3957f2168d25fd372de77b8da572365207b873658f87d6945728906bdb9c68c55187f0dfc07660ca381fc952183
6
+ metadata.gz: ada1da12ec3a7fce61000ee7601c0051bf9764884d263d45e79017401a0becc491649a8bd63d7d83aa674e70aff656b1f8774b1cf5f643a9657e26252625ced3
7
+ data.tar.gz: 8434435540bca231c672f394b2bbe5c454c34854e6ae82ebee46c6df362953b9907511b6b3dbd8e7cb78c629f7f5802bfd7f430517d240a87a1d7e1130289ceb
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## [0.0.6] - 2016-12-09
4
+
5
+ ### Fixed
6
+ - [Add Rails 5 support(#5)](https://github.com/andrhamm/degzipper/pull/6)
7
+
8
+
3
9
  ## [0.0.5] - 2015-06-30
4
10
 
5
11
  ### Fixed
@@ -1,7 +1,11 @@
1
1
  module Degzipper
2
2
  class Rails < Rails::Railtie
3
3
  initializer "degzipper.configure_rails_initialization" do |app|
4
- app.middleware.insert_before ActionDispatch::ParamsParser, "Degzipper::Middleware"
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
@@ -1,3 +1,3 @@
1
1
  module Degzipper
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
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.5
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: 2015-06-30 00:00:00.000000000 Z
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.8
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.