json-schema 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ From the git repo:
22
22
 
23
23
  <pre>
24
24
  $ gem build json-schema.gemspec
25
- $ gem install json-schema-2.2.1.gem
25
+ $ gem install json-schema-2.2.2.gem
26
26
  </pre>
27
27
 
28
28
 
@@ -14,13 +14,11 @@ if begin
14
14
  MultiJson.respond_to?(:adapter) ? MultiJson.adapter : MultiJson.engine
15
15
  end
16
16
 
17
- $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/json-schema"
18
-
19
17
  require 'rubygems'
20
- require 'util/hash'
21
- require 'util/array_set'
22
- require 'schema'
23
- require 'validator'
18
+ require 'json-schema/util/hash'
19
+ require 'json-schema/util/array_set'
20
+ require 'json-schema/schema'
21
+ require 'json-schema/validator'
24
22
  Dir[File.join(File.dirname(__FILE__), "json-schema/attributes/*.rb")].each {|file| require file }
25
23
  Dir[File.join(File.dirname(__FILE__), "json-schema/validators/*.rb")].sort!.each {|file| require file }
26
- require 'uri/file'
24
+ require 'json-schema/uri/file'
@@ -553,7 +553,7 @@ module JSON
553
553
  require 'uuidtools'
554
554
  @@fake_uri_generator = lambda{|s| UUIDTools::UUID.sha1_create(UUIDTools::UUID_URL_NAMESPACE, s).to_s }
555
555
  else
556
- require 'uri/uuid'
556
+ require 'json-schema/uri/uuid'
557
557
  @@fake_uri_generator = lambda{|s| JSON::Util::UUID.create_v5(s,JSON::Util::UUID::Nil).to_s }
558
558
  end
559
559
 
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Kenny Hoxworth
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-01-15 00:00:00.000000000 Z
12
+ date: 2014-03-08 00:00:00.000000000 Z
12
13
  dependencies: []
13
14
  description:
14
15
  email: hoxworth@gmail.com
@@ -113,26 +114,27 @@ files:
113
114
  homepage: http://github.com/hoxworth/json-schema/tree/master
114
115
  licenses:
115
116
  - MIT
116
- metadata: {}
117
117
  post_install_message:
118
118
  rdoc_options: []
119
119
  require_paths:
120
120
  - lib
121
121
  required_ruby_version: !ruby/object:Gem::Requirement
122
+ none: false
122
123
  requirements:
123
124
  - - ! '>='
124
125
  - !ruby/object:Gem::Version
125
126
  version: '0'
126
127
  required_rubygems_version: !ruby/object:Gem::Requirement
128
+ none: false
127
129
  requirements:
128
130
  - - ! '>='
129
131
  - !ruby/object:Gem::Version
130
132
  version: '0'
131
133
  requirements: []
132
134
  rubyforge_project:
133
- rubygems_version: 2.0.7
135
+ rubygems_version: 1.8.23
134
136
  signing_key:
135
- specification_version: 4
137
+ specification_version: 3
136
138
  summary: Ruby JSON Schema Validator
137
139
  test_files:
138
140
  - test/test_all_of_ref_schema.rb
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YTUxNTA3MTA3MmZmODJlZDJhYjk5NzIxM2FjNmY4MjdlODgzNDc0NQ==
5
- data.tar.gz: !binary |-
6
- ODJlOGI0OTMwNjU5OTU2OTFmMjg5MTE1ODlkYTFhNjI1NGY3ZjNjNA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ZmE4OTAxOWJkNTc3ZTcyNWU3MTRkMDdkMzAxMjk2ZDc5ZTBiYTVmY2E5ZDY1
10
- NWNjYWM1ZTMxMjU4ZjcyZmMwMWNjNjQ4ZTk1Y2QzNjBkZjRiYThlOTg1NjZk
11
- YWI3MDEwYjRmNjBkZWNjZjIwNjBiZWJmNzZjNTVhODY2NDZlNmM=
12
- data.tar.gz: !binary |-
13
- MGJlODg2YTY5MTgyOTRmYTRmNTMwMzNhOGI1ZDVkY2RhN2VjNzNiYTRjNmMz
14
- NjA3NjI1ZDlkNzgxNzVkYzdiNGUzM2IwMTAwZTNjNzlmMWQyYjE2NjIzOTA1
15
- NWEzNWU1ZWM0NGM2MjFiMzk3MDA1ODUyZDI2M2IyYjkyNWJmYTQ=