json_schema 0.14.3 → 0.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/json_schema/parser.rb +1 -0
- data/test/json_schema/parser_test.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4568a23c3abb4e52e8a572f5ef4a097b62371e9
|
|
4
|
+
data.tar.gz: 7db413d52b9c17c6ee628d3319747eadbd66011e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9108a578bdb1e5e44f8e28358e770bfe2607d97aa23e060b57393ab5a327cac50607a53aae73ca4a56d2579b98854d754d891c37ead2f2a44b0964ec4438aefc
|
|
7
|
+
data.tar.gz: 12495587293fa18e9f18a5c7f0b640c650160bb2b4659fa472584a3dede66060cbfd26dfedee47f38b3c02f5fb1b5b13292db7d8c1651f5ea20b74a69bdd41ed
|
data/lib/json_schema/parser.rb
CHANGED
|
@@ -198,6 +198,8 @@ describe JsonSchema::Parser do
|
|
|
198
198
|
schema = parse.definitions["app"]
|
|
199
199
|
link = schema.links[0]
|
|
200
200
|
assert_equal schema, link.parent
|
|
201
|
+
assert_equal "links/0", link.fragment
|
|
202
|
+
assert_equal "#/definitions/app/links/0", link.pointer
|
|
201
203
|
assert_equal "Create a new app.", link.description
|
|
202
204
|
assert_equal "application/x-www-form-urlencoded", link.enc_type
|
|
203
205
|
assert_equal "/apps", link.href
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: json_schema
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.14.
|
|
4
|
+
version: 0.14.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brandur
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-11-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ecma-re-validator
|