json_schemer 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile.lock +2 -2
- data/json_schemer.gemspec +1 -0
- data/lib/json_schemer.rb +1 -1
- data/lib/json_schemer/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 137a80ea5bf74eb23f2539a1ee4beb5752d6e17cb751101a764ef838239187ba
|
4
|
+
data.tar.gz: e901305179283ddeb9d4f8922cde1c0ad274b648d0147383cf2c6e93e395783e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6a0543fa428a1fcaa7081d9a9ef2394f350ad9d20c7a4878445869e5d35b8e3bd8a8f23ce71acbb46347bfb102ccbf3aec0d41bd72f58f458a3453d5b1b9b1f
|
7
|
+
data.tar.gz: 3d1b65df9ca5b2c225d142faa4fd2653e61bca660cd26ba775fc97fc10602aa2bd464a14f404d5a0a0ce7a30641db3f3e4009b738ea2246fe0918434bd4399d8
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
data/json_schemer.gemspec
CHANGED
@@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
# spec.add_development_dependency "json_schema", "~> 0.17.0"
|
31
31
|
# spec.add_development_dependency "json_validation", "~> 0.1.0"
|
32
32
|
# spec.add_development_dependency "jsonschema", "~> 2.0.2"
|
33
|
+
# spec.add_development_dependency "rj_schema", "~> 0.2.0"
|
33
34
|
|
34
35
|
spec.add_runtime_dependency "ecma-re-validator", "~> 0.2.0"
|
35
36
|
spec.add_runtime_dependency "hana", "~> 1.3.3"
|
data/lib/json_schemer.rb
CHANGED
@@ -25,7 +25,7 @@ module JSONSchemer
|
|
25
25
|
|
26
26
|
FILE_URI_REF_RESOLVER = proc do |uri|
|
27
27
|
raise InvalidFileURI, 'must use `file` scheme' unless uri.scheme == 'file'
|
28
|
-
raise InvalidFileURI, 'cannot have a host (use `file:///`)' if uri.host
|
28
|
+
raise InvalidFileURI, 'cannot have a host (use `file:///`)' if uri.host && !uri.host.empty?
|
29
29
|
JSON.parse(File.read(uri.path))
|
30
30
|
end
|
31
31
|
|
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.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Harsha
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -153,8 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
|
-
|
157
|
-
rubygems_version: 2.7.6
|
156
|
+
rubygems_version: 3.0.1
|
158
157
|
signing_key:
|
159
158
|
specification_version: 4
|
160
159
|
summary: JSON Schema validator. Supports drafts 4, 6, and 7.
|