json_schemer 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +2 -0
- data/json_schemer.gemspec +2 -2
- data/lib/json_schemer/schema/base.rb +1 -1
- data/lib/json_schemer/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8539e2f821dae70cf72e1a1763214c65de861b8fa46bc34ca959ca03c320c7f
|
4
|
+
data.tar.gz: f5e6ad6cac83929765d123951f816e614f3e51eab4df37533c7acee601defae1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38976cf5c7948cd9ef0a334b9e6d12ec984cee8954b54f2e92a17466bba0581e50886cc6290c82c6819aecd034ae44566a573dc74ad262999ab5f0daf89dc9fc
|
7
|
+
data.tar.gz: e23d82c6a4d16049e12ba913c1a1e87d178717d9bd0a1aebb715a66ada0e60d681c86feba4ee98ec51e572b261b39e9dcf293f1e1f70f33a2f3ac5b3cd889b30
|
data/Gemfile.lock
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
json_schemer (0.1.
|
5
|
-
ecma-re-validator (~> 0.
|
4
|
+
json_schemer (0.1.8)
|
5
|
+
ecma-re-validator (~> 0.2.0)
|
6
6
|
hana (~> 1.3.3)
|
7
|
-
regexp_parser (~>
|
7
|
+
regexp_parser (~> 1.2.0)
|
8
8
|
uri_template (~> 0.7.0)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
ecma-re-validator (0.
|
14
|
-
regexp_parser (~>
|
13
|
+
ecma-re-validator (0.2.0)
|
14
|
+
regexp_parser (~> 1.2)
|
15
15
|
hana (1.3.4)
|
16
16
|
minitest (5.11.1)
|
17
17
|
rake (10.5.0)
|
18
|
-
regexp_parser (
|
18
|
+
regexp_parser (1.2.0)
|
19
19
|
uri_template (0.7.0)
|
20
20
|
|
21
21
|
PLATFORMS
|
data/README.md
CHANGED
data/json_schemer.gemspec
CHANGED
@@ -31,8 +31,8 @@ Gem::Specification.new do |spec|
|
|
31
31
|
# spec.add_development_dependency "json_validation", "~> 0.1.0"
|
32
32
|
# spec.add_development_dependency "jsonschema", "~> 2.0.2"
|
33
33
|
|
34
|
-
spec.add_runtime_dependency "ecma-re-validator", "~> 0.
|
34
|
+
spec.add_runtime_dependency "ecma-re-validator", "~> 0.2.0"
|
35
35
|
spec.add_runtime_dependency "hana", "~> 1.3.3"
|
36
36
|
spec.add_runtime_dependency "uri_template", "~> 0.7.0"
|
37
|
-
spec.add_runtime_dependency "regexp_parser", "~>
|
37
|
+
spec.add_runtime_dependency "regexp_parser", "~> 1.2.0"
|
38
38
|
end
|
@@ -228,7 +228,7 @@ module JSONSchemer
|
|
228
228
|
ref_uri = join_uri(instance.parent_uri, ref)
|
229
229
|
|
230
230
|
if valid_json_pointer?(ref_uri.fragment)
|
231
|
-
ref_pointer = Hana::Pointer.new(URI.
|
231
|
+
ref_pointer = Hana::Pointer.new(URI.decode_www_form_component(ref_uri.fragment))
|
232
232
|
if ref.start_with?('#')
|
233
233
|
subinstance = instance.merge(
|
234
234
|
schema: ref_pointer.eval(root),
|
data/lib/json_schemer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_schemer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Harsha
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.2.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.2.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: hana
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 1.2.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 1.2.0
|
111
111
|
description:
|
112
112
|
email:
|
113
113
|
- davishmcclurg@gmail.com
|