rack-app 5.8.0 → 5.9.0

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: f508a985161b52acd4c9670809dd2e67e58e0651
4
- data.tar.gz: 996142d38f74b27f7ae120711f7e46006801828f
3
+ metadata.gz: 805e9eb8a82e58d39a73357208675377e91da78b
4
+ data.tar.gz: 986add7fe01156db17d32306bcf2fd83f38283bc
5
5
  SHA512:
6
- metadata.gz: 4ece40a6832073132ddcbb0d103615f189247899cd361761da3955af816ed61017bd9aca772d853e0fe0f76609b0ef77bdd86e3883c78747c5687e34bfcc5084
7
- data.tar.gz: d1ba5d8943f0404cb48ed44cc2c58e06a740e79bc353d9d90b06de5609e4b4f8a6617d3e220879904be83932dd4ac5dc73dfaa8c77a72163a273c4f252a07053
6
+ metadata.gz: 8ae71fe9c27cd1c3ab821a5a9f9cf344e90926d5bd59bcb6884f3d2ff3e62b5f3d391fd13505d1903e0a098ec9c5a789db796e5eb8c5731aea66b620fc788300
7
+ data.tar.gz: dd9febe79c1e1e7147be13d5251ee78f6c86f94208b0d73756b66bc9d9e1241772d9cbc212be0580524386fb07ec39a95186d93b6dc4cae9a2b3e60ef6cf183f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.8.0
1
+ 5.9.0
@@ -19,6 +19,10 @@ class Rack::App::Payload::Parser::Builder
19
19
  Rack::App::Payload::Parser::Builder::Formats.accept(self, *formats)
20
20
  end
21
21
 
22
+ def on_unknown_media_types(&parser)
23
+ @content_type__parsers = Hash.new(parser).merge(@content_type__parsers)
24
+ end
25
+
22
26
  def reject_unsupported_media_types
23
27
  reject = proc do |io|
24
28
  rr = Rack::Response.new
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.8.0
4
+ version: 5.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-16 00:00:00.000000000 Z
11
+ date: 2016-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler