json-schema-serializer 1.3.0 → 1.3.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
  SHA256:
3
- metadata.gz: 34d2323a3916909a75c82c34fac5be56267ec91391737ccc56bccc44d28cc008
4
- data.tar.gz: 754c7cfc61441a22cae20d198c943ba7688fa9f5b4898f4cb4458ccb9aa0501a
3
+ metadata.gz: 62a4161f9050de4df1b222a1ebd2b5556ea8362759f7dd26b0d03f54511659d0
4
+ data.tar.gz: df64164f07b39ff544be501d94f157ae5c23f35123bdc5ac6eb79c10531f990c
5
5
  SHA512:
6
- metadata.gz: c9b16d0c0cae997cba4db892b3ec9d36bebb05b36477ff5840c81728c595221e1fd27f939aac367934714cc82cf69bc25494f5e754f2984687320f5aafcbaab6
7
- data.tar.gz: '082080bd9faf94c1cb444eef4874581e91009c385f1d9f7d2355864615bcfaa5fb80619b46e6eca99384bb0c22ee007ca604f2458e115897a31e734e93bde247'
6
+ metadata.gz: a6e9a5725b9a66ffb70b36cb3cdd7460319ec1d650a4e5524f8d0fd72ec375e4ebd0904080d9f30a3a2f00ba3ef904541ef1245730ec6d9ac528d9ca571624b0
7
+ data.tar.gz: 1eb6b5e3554c72b45bebd546f1afbc3a47b40d1d60bef2c61fd8f0eafb4a5e4358b706f7c627b5fab4025dd127b8b4d237d9ef72351d1947f03a284c0279c1b0
data/README.md CHANGED
@@ -155,8 +155,8 @@ def walk(all, part)
155
155
  end
156
156
 
157
157
  serializer2 = JSON::Schema::Serializer.new(schema["properties"]["bar"], {
158
- resolver: ->(schema) do
159
- walk(all, JsonRefs.(schema))
158
+ resolver: ->(part_schema) do
159
+ walk(JsonRefs.(schema), part_schema))
160
160
  end
161
161
  })
162
162
  ```
@@ -1,7 +1,7 @@
1
1
  module Json
2
2
  module Schema
3
3
  module Serializer
4
- VERSION = "1.3.0".freeze
4
+ VERSION = "1.3.1".freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-schema-serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Narazaka
@@ -181,7 +181,7 @@ metadata:
181
181
  homepage_uri: https://github.com/Narazaka/json-schema-serializer
182
182
  source_code_uri: https://github.com/Narazaka/json-schema-serializer.git
183
183
  changelog_uri: https://github.com/Narazaka/json-schema-serializer/blob/master/CHANGELOG.md
184
- documentation_uri: https://www.rubydoc.info/gems/json-schema-serializer/1.3.0
184
+ documentation_uri: https://www.rubydoc.info/gems/json-schema-serializer/1.3.1
185
185
  post_install_message:
186
186
  rdoc_options: []
187
187
  require_paths: