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 +4 -4
- data/VERSION +1 -1
- data/lib/rack/app/payload/parser/builder.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 805e9eb8a82e58d39a73357208675377e91da78b
|
4
|
+
data.tar.gz: 986add7fe01156db17d32306bcf2fd83f38283bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ae71fe9c27cd1c3ab821a5a9f9cf344e90926d5bd59bcb6884f3d2ff3e62b5f3d391fd13505d1903e0a098ec9c5a789db796e5eb8c5731aea66b620fc788300
|
7
|
+
data.tar.gz: dd9febe79c1e1e7147be13d5251ee78f6c86f94208b0d73756b66bc9d9e1241772d9cbc212be0580524386fb07ec39a95186d93b6dc4cae9a2b3e60ef6cf183f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.
|
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.
|
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-
|
11
|
+
date: 2016-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|