committee 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/committee/drivers/open_api_2.rb +2 -2
- 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: d8e95c038f0a60b8733804e45d07d86d06fe443b
|
4
|
+
data.tar.gz: 50bd54f25decd41bbd3f0408a27d96945cdcbf4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1882ae94a7ebc433f0c477fb8af1e39c9e54315387d276ecf1d2fa9c00aea9181ea343e1ce26628d06a01d062c82fdf9ca62728ee16afab2555594d0d1d14a39
|
7
|
+
data.tar.gz: 31e11c118cac2fddee6723cd56434b49e91dedd5d32203446db4de8e8843403a943ce1ff9851a918df1ca844da39ce37d94b8930e3a52f245b2d7c87844fd4cf
|
@@ -190,9 +190,9 @@ module Committee::Drivers
|
|
190
190
|
].map(&:to_s).freeze
|
191
191
|
|
192
192
|
def find_best_fit_response(link_data)
|
193
|
-
if response_data = link_data["responses"]["200"]
|
193
|
+
if response_data = link_data["responses"]["200"] || response_data = link_data["responses"][200]
|
194
194
|
[200, response_data]
|
195
|
-
elsif response_data = link_data["responses"]["201"]
|
195
|
+
elsif response_data = link_data["responses"]["201"] || response_data = link_data["responses"][201]
|
196
196
|
[201, response_data]
|
197
197
|
else
|
198
198
|
# Sort responses so that we can try to prefer any 3-digit status code.
|
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: 2.0.
|
4
|
+
version: 2.0.1
|
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: 2018-02-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_schema
|
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
212
|
version: '0'
|
213
213
|
requirements: []
|
214
214
|
rubyforge_project:
|
215
|
-
rubygems_version: 2.
|
215
|
+
rubygems_version: 2.4.5.1
|
216
216
|
signing_key:
|
217
217
|
specification_version: 4
|
218
218
|
summary: A collection of Rack middleware to support JSON Schema.
|