committee 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/committee/request_validator.rb +1 -1
- 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: 9aedb3bccc410a9dbc3c361146b7d60a6dcb3f85
|
4
|
+
data.tar.gz: 1eadfab98ece0372a7133a1429df76bd3c77f11b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b75b6b31b27846b6d4761c9ce83d3c9a5e99a4ffcdd8a36a4069fddf4aa0b1db85335651692c5ae759db639b47ea164822d928b71c5b912e3022610e9f5374ab
|
7
|
+
data.tar.gz: 670473dc12fbaf3ea3f9f32cebd72804d67833432fd43fb01ae7fb778298e383eb813f64042fef6053f6c640a856f4e711ceb95743224c5f1364133333dd64cc
|
@@ -19,7 +19,7 @@ module Committee
|
|
19
19
|
|
20
20
|
def check_content_type!(request, data)
|
21
21
|
if request.content_type && !empty_request?(request)
|
22
|
-
unless Rack::Mime.match?(@link.enc_type
|
22
|
+
unless Rack::Mime.match?(request.content_type, @link.enc_type)
|
23
23
|
raise Committee::InvalidRequest,
|
24
24
|
%{"Content-Type" request header must be set to "#{@link.enc_type}".}
|
25
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: committee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandur
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-02-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_schema
|