json_schemer 0.2.10 → 0.2.11

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: bf65b652bb728979d855beb43ca825f5bdfc2f9cbd05ed71e721900edb5ca478
4
- data.tar.gz: 9b2a5bb41e365da48e6fe18fadb36d690397026f79ca5a0d00e05a89b82add77
3
+ metadata.gz: 45e4c874bfbfd416a38a47a23cf9b5c561df5da3457b11b7cb6acc0f36a8f5d6
4
+ data.tar.gz: a62663e1c3f250af1b57418d666c4bbe9229212c00845dc3b5f6c34d7ab3d57c
5
5
  SHA512:
6
- metadata.gz: 652cda34ebb49e94b9e725e3143c7f7ed18329cdcb046aa55b1ef1f49f0b4722154389e49d13ce8d4182cb640c1b1b418107fa8b01b54572505207e930b34e51
7
- data.tar.gz: 1f922f37d0540c33f7d2238cf9bfc2bf03f2231c07668e94a6216c576bbd1db0f74db6f10456e7a96ae3bb3ed034ad9eb062c327dade08c64ec16a6cf09f1172
6
+ metadata.gz: ff9d2a99b3f964b71d1a98a9037d5465627b913616a6c0c6160d1fe71aac784891585b92339773e677fdc9637bed0e120935ad7f4c4f283dada6f96a219b2591
7
+ data.tar.gz: 78d254d698f87a46a1ba1737775178310d2cb0e9d25f095f2da7dede4bcfee58c62dcbd89899370c158638734041b59fe5f351156a713002ceeeca8552849638
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- json_schemer (0.2.10)
4
+ json_schemer (0.2.11)
5
5
  ecma-re-validator (~> 0.2)
6
6
  hana (~> 1.3)
7
7
  regexp_parser (~> 1.5)
@@ -14,7 +14,7 @@ GEM
14
14
  regexp_parser (~> 1.2)
15
15
  hana (1.3.5)
16
16
  minitest (5.11.3)
17
- rake (10.5.0)
17
+ rake (13.0.1)
18
18
  regexp_parser (1.7.0)
19
19
  uri_template (0.7.0)
20
20
 
@@ -25,7 +25,7 @@ DEPENDENCIES
25
25
  bundler (~> 2.0)
26
26
  json_schemer!
27
27
  minitest (~> 5.0)
28
- rake (~> 10.0)
28
+ rake (~> 13.0)
29
29
 
30
30
  BUNDLED WITH
31
31
  2.1.4
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.required_ruby_version = '~> 2.4'
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 2.0"
26
- spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rake", "~> 13.0"
27
27
  spec.add_development_dependency "minitest", "~> 5.0"
28
28
 
29
29
  # spec.add_development_dependency "benchmark-ips", "~> 2.7.2"
@@ -28,6 +28,7 @@ module JSONSchemer
28
28
  class InvalidSymbolKey < StandardError; end
29
29
 
30
30
  DRAFT_CLASS_BY_META_SCHEMA = {
31
+ 'http://json-schema.org/schema#' => Schema::Draft4, # Version-less $schema deprecated after Draft 4
31
32
  'http://json-schema.org/draft-04/schema#' => Schema::Draft4,
32
33
  'http://json-schema.org/draft-06/schema#' => Schema::Draft6,
33
34
  'http://json-schema.org/draft-07/schema#' => Schema::Draft7
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module JSONSchemer
3
- VERSION = '0.2.10'
3
+ VERSION = '0.2.11'
4
4
  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.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Harsha
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-26 00:00:00.000000000 Z
11
+ date: 2020-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement