json-schema 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/json-schema/validator.rb +1 -0
  2. metadata +3 -3
@@ -498,6 +498,7 @@ module JSON
498
498
  if @schemas[uri.to_s].nil?
499
499
  begin
500
500
  schema = JSON::Schema.new(JSON.parse(open(uri.to_s).read), uri)
501
+ @schemas[uri.to_s] = schema
501
502
  build_schemas(schema)
502
503
  rescue
503
504
  # Failures will occur when this URI cannot be referenced yet. Don't worry about it,
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-schema
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kenny Hoxworth