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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b2679a4eda4b976d6799110f8c2e472c54dfe467a95280f186560343490ee54
4
- data.tar.gz: bb03741839c826622680ce3cce4db2b2262ab3e580ff95654d8434465c1b8b3a
3
+ metadata.gz: 137a80ea5bf74eb23f2539a1ee4beb5752d6e17cb751101a764ef838239187ba
4
+ data.tar.gz: e901305179283ddeb9d4f8922cde1c0ad274b648d0147383cf2c6e93e395783e
5
5
  SHA512:
6
- metadata.gz: b68bcfb19226a07893fecc55f8a1732e093cf2445587cb498621501e96ea42d7e136cdc619404262208cfc344d7f362a6e29b8a18b58a3a6f6504d14530c7bab
7
- data.tar.gz: fcd148f38bdbc52ef13d52391b77eb323ab9ce211a1f02d53821e63d03ff08cedfadb0f013039634b9819995609b00daf77344c82b6675d9aa3f30cd59be258d
6
+ metadata.gz: d6a0543fa428a1fcaa7081d9a9ef2394f350ad9d20c7a4878445869e5d35b8e3bd8a8f23ce71acbb46347bfb102ccbf3aec0d41bd72f58f458a3453d5b1b9b1f
7
+ data.tar.gz: 3d1b65df9ca5b2c225d142faa4fd2653e61bca660cd26ba775fc97fc10602aa2bd464a14f404d5a0a0ce7a30641db3f3e4009b738ea2246fe0918434bd4399d8
@@ -1,6 +1,7 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
+ - 2.6
4
5
  - 2.5
5
6
  - 2.3
6
7
  - 2.2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- json_schemer (0.1.9)
4
+ json_schemer (0.1.10)
5
5
  ecma-re-validator (~> 0.2.0)
6
6
  hana (~> 1.3.3)
7
7
  regexp_parser (~> 1.2.0)
@@ -28,4 +28,4 @@ DEPENDENCIES
28
28
  rake (~> 10.0)
29
29
 
30
30
  BUNDLED WITH
31
- 1.16.4
31
+ 1.17.2
@@ -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"
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSONSchemer
4
- VERSION = '0.1.9'
4
+ VERSION = '0.1.10'
5
5
  end
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.9
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: 2018-11-22 00:00:00.000000000 Z
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
- rubyforge_project:
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.