openapi_parser 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: ddf9e2711b22d6b164e2bccd23ec3d06a2bd66918b61213a2f0d5c84eb0f5fa5
4
- data.tar.gz: 908dc71a0e892164a987968587c0a4899e91207c27bbd8a4e65d27b517398d8e
3
+ metadata.gz: fdb420e31335da630aad23a8462f96fa97df173e6dd2a6f07aa082467a14327c
4
+ data.tar.gz: 0d54aa044616132bcfb3e3f0904e42197012296f8977e7decf30970ef859c5a7
5
5
  SHA512:
6
- metadata.gz: 1e38fba425316e75580b5dbfd2f2e012890e4d4d9ad9e0abd83f74c8500176d21b1ddee533cf9120accd9355e60b8d5307fb3913d9678d6e3239c9fcbb3727f1
7
- data.tar.gz: a7e22a6b8248fb0931c396ba1a8b07b8f9cea6a7e0f6832a1a2b1af4eba82bf673357044d9d0f8bb0c9c5bf5929106d47356e97411412bab60ef5fcc5efac703
6
+ metadata.gz: b90dd23242cd4b63965f04d70b2b51930ac85c2ea87d268b8fe711a61c5b655677c27edc59e932be7a5979f0df9cc2d632e6478fe5b41810a482c91160681bd0
7
+ data.tar.gz: c344c398530cdaa6e8fae8c431a5a52d6b3166303054712f544cb194525303783989cab37de20896fb19867d639034ac2cf998c8fd6e7f90d27b71d03dccf124
@@ -20,7 +20,7 @@ class OpenAPIParser::SchemaValidator
20
20
 
21
21
  return [nil, OpenAPIParser::NotExistRequiredKey.new(required_set.to_a, schema.object_reference)] unless required_set.empty?
22
22
 
23
- value = value.merge(coerced_values.to_h) if @coerce_value
23
+ value.merge!(coerced_values.to_h) if @coerce_value
24
24
 
25
25
  [value, nil]
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module OpenAPIParser
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ota42y
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-18 00:00:00.000000000 Z
11
+ date: 2018-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -185,8 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  - !ruby/object:Gem::Version
186
186
  version: '0'
187
187
  requirements: []
188
- rubyforge_project:
189
- rubygems_version: 2.7.6
188
+ rubygems_version: 3.0.0.beta3
190
189
  signing_key:
191
190
  specification_version: 4
192
191
  summary: OpenAPI3 parser