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 +4 -4
- data/README.md +2 -2
- data/lib/json/schema/serializer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62a4161f9050de4df1b222a1ebd2b5556ea8362759f7dd26b0d03f54511659d0
|
4
|
+
data.tar.gz: df64164f07b39ff544be501d94f157ae5c23f35123bdc5ac6eb79c10531f990c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: ->(
|
159
|
-
walk(
|
158
|
+
resolver: ->(part_schema) do
|
159
|
+
walk(JsonRefs.(schema), part_schema))
|
160
160
|
end
|
161
161
|
})
|
162
162
|
```
|
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.
|
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.
|
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:
|