dato_json_schema 0.20.8 → 0.20.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebc8feef22a5290c21f944327bf8578f036808a3cc0f6dda3c04a07a19f6f614
|
4
|
+
data.tar.gz: d0d4d13be89493c62d654c9fc8c84ae4746b311ac9e097e84235cb012a62a2df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39fd6fd66bca9ad53608c318b7ff3a0ec2e9ffd440d22c27a39afee64ef8077f21d5d643531333223f865acce8e5496fef64daa36d8c1e9368ec01d09b2797ce
|
7
|
+
data.tar.gz: 3900cde54955237150c5a53f3baf094aa51a3e1c2e60eae07182802c44cec2be36858ee4ab711d7d16a2b6192bff4979c9cc0359d1076fd47560943e8b56904c
|
data/test/data_scaffold.rb
CHANGED
@@ -123,6 +123,13 @@ describe JsonSchema::ReferenceExpander do
|
|
123
123
|
assert_equal ["string"], schema.type
|
124
124
|
end
|
125
125
|
|
126
|
+
it "will expand hyperschema link jobSchemas" do
|
127
|
+
expand
|
128
|
+
assert_equal [], error_messages
|
129
|
+
schema = @schema.properties["app"].links[0].job_schema.properties["name"]
|
130
|
+
assert_equal ["string"], schema.type
|
131
|
+
end
|
132
|
+
|
126
133
|
it "will perform multiple passes to resolve all references" do
|
127
134
|
pointer("#/properties").merge!(
|
128
135
|
"app0" => { "$ref" => "#/properties/app1" },
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dato_json_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandur
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -69,8 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
|
73
|
-
rubygems_version: 2.7.6
|
72
|
+
rubygems_version: 3.1.2
|
74
73
|
signing_key:
|
75
74
|
specification_version: 4
|
76
75
|
summary: A JSON Schema V4 and Hyperschema V4 parser and validator.
|