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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0719ce2f2d3336816d822c41eace6161265ab86b
4
- data.tar.gz: 8eaf8c70a09ed4ef5b6613897e54d370f8523ea6
3
+ metadata.gz: d8e95c038f0a60b8733804e45d07d86d06fe443b
4
+ data.tar.gz: 50bd54f25decd41bbd3f0408a27d96945cdcbf4c
5
5
  SHA512:
6
- metadata.gz: c94926b7b0f4a0e92b99d448d5eb186c751b5b29fe7734038027f824ae2d892e8d93939d9c0d6f738b11d21926ef4235ac8a0818b2a03d8b4f421cbab5d396cf
7
- data.tar.gz: 5df57d46e4d3f639705339a88c0464eb9c1677d314eccf1ea877d8449b13fb9f8d3da3d56f865fe1da5fcfe038eb1d3b2c43754de064a825a05ff4062447e5d6
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.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: 2017-09-05 00:00:00.000000000 Z
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.6.12
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.