json-schema 1.2.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
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: 1.2.1
4
+ version: 2.0.0
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: 2013-06-23 00:00:00.000000000 Z
12
13
  dependencies: []
13
14
  description:
14
15
  email: hoxworth@gmail.com
@@ -20,7 +21,10 @@ extra_rdoc_files:
20
21
  files:
21
22
  - lib/json-schema/attributes/additionalitems.rb
22
23
  - lib/json-schema/attributes/additionalproperties.rb
24
+ - lib/json-schema/attributes/allof.rb
25
+ - lib/json-schema/attributes/anyof.rb
23
26
  - lib/json-schema/attributes/dependencies.rb
27
+ - lib/json-schema/attributes/dependencies_v4.rb
24
28
  - lib/json-schema/attributes/disallow.rb
25
29
  - lib/json-schema/attributes/divisibleby.rb
26
30
  - lib/json-schema/attributes/enum.rb
@@ -32,16 +36,24 @@ files:
32
36
  - lib/json-schema/attributes/maximum_inclusive.rb
33
37
  - lib/json-schema/attributes/maxitems.rb
34
38
  - lib/json-schema/attributes/maxlength.rb
39
+ - lib/json-schema/attributes/maxproperties.rb
35
40
  - lib/json-schema/attributes/minimum.rb
36
41
  - lib/json-schema/attributes/minimum_inclusive.rb
37
42
  - lib/json-schema/attributes/minitems.rb
38
43
  - lib/json-schema/attributes/minlength.rb
44
+ - lib/json-schema/attributes/minproperties.rb
45
+ - lib/json-schema/attributes/multipleof.rb
46
+ - lib/json-schema/attributes/not.rb
47
+ - lib/json-schema/attributes/oneof.rb
39
48
  - lib/json-schema/attributes/pattern.rb
40
49
  - lib/json-schema/attributes/patternproperties.rb
41
50
  - lib/json-schema/attributes/properties.rb
42
51
  - lib/json-schema/attributes/properties_optional.rb
52
+ - lib/json-schema/attributes/properties_v4.rb
43
53
  - lib/json-schema/attributes/ref.rb
54
+ - lib/json-schema/attributes/required.rb
44
55
  - lib/json-schema/attributes/type.rb
56
+ - lib/json-schema/attributes/type_v4.rb
45
57
  - lib/json-schema/attributes/uniqueitems.rb
46
58
  - lib/json-schema/schema.rb
47
59
  - lib/json-schema/uri/file.rb
@@ -50,19 +62,22 @@ files:
50
62
  - lib/json-schema/validators/draft1.rb
51
63
  - lib/json-schema/validators/draft2.rb
52
64
  - lib/json-schema/validators/draft3.rb
65
+ - lib/json-schema/validators/draft4.rb
53
66
  - lib/json-schema.rb
54
67
  - resources/draft-01.json
55
68
  - resources/draft-02.json
56
69
  - resources/draft-03.json
70
+ - resources/draft-04.json
57
71
  - README.textile
58
72
  - LICENSE.md
59
73
  - test/test_extended_schema.rb
60
74
  - test/test_extends_and_additionalProperties.rb
61
- - test/test_files.rb
75
+ - test/test_files_v3.rb
62
76
  - test/test_full_validation.rb
63
77
  - test/test_jsonschema_draft1.rb
64
78
  - test/test_jsonschema_draft2.rb
65
79
  - test/test_jsonschema_draft3.rb
80
+ - test/test_jsonschema_draft4.rb
66
81
  - test/test_schema_validation.rb
67
82
  - test/data/bad_data_1.json
68
83
  - test/data/good_data_1.json
@@ -75,35 +90,37 @@ files:
75
90
  - test/schemas/inner.schema.json
76
91
  homepage: http://github.com/hoxworth/json-schema/tree/master
77
92
  licenses: []
78
- metadata: {}
79
93
  post_install_message:
80
94
  rdoc_options: []
81
95
  require_paths:
82
96
  - lib
83
97
  required_ruby_version: !ruby/object:Gem::Requirement
98
+ none: false
84
99
  requirements:
85
100
  - - ! '>='
86
101
  - !ruby/object:Gem::Version
87
102
  version: '0'
88
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
+ none: false
89
105
  requirements:
90
106
  - - ! '>='
91
107
  - !ruby/object:Gem::Version
92
108
  version: '0'
93
109
  requirements: []
94
110
  rubyforge_project:
95
- rubygems_version: 2.0.7
111
+ rubygems_version: 1.8.24
96
112
  signing_key:
97
- specification_version: 4
113
+ specification_version: 3
98
114
  summary: Ruby JSON Schema Validator
99
115
  test_files:
100
116
  - test/test_extended_schema.rb
101
117
  - test/test_extends_and_additionalProperties.rb
102
- - test/test_files.rb
118
+ - test/test_files_v3.rb
103
119
  - test/test_full_validation.rb
104
120
  - test/test_jsonschema_draft1.rb
105
121
  - test/test_jsonschema_draft2.rb
106
122
  - test/test_jsonschema_draft3.rb
123
+ - test/test_jsonschema_draft4.rb
107
124
  - test/test_schema_validation.rb
108
125
  - test/data/bad_data_1.json
109
126
  - test/data/good_data_1.json
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NjcxNmQ1MWU2ODRmMzM4MDE1NTQ3YzA1YWNhOWY2NjlkOTQ3OThjZg==
5
- data.tar.gz: !binary |-
6
- MTZmY2FiYjI0OWJiMjlkNzFjZjA3ZjdkMWY1MGZmZGVhYzExMDVmZA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NDc2NGZmMTdmMDM4NmQ2MzhmYTgyYzAxZGMzMGQ2ZWEwMzYxYzQ4OGZhNmRl
10
- MGU1OWNjOWE4MzQ1MTc2ZTc5YzdlNDUxOWY4ZjZjMjU5MTNlYjAxMzFhOTVi
11
- ZTlhYjQxYzA5OTg1Yjg0MTI3ZTgwZTAyNzgwOTU1MDFmYzY5ZDc=
12
- data.tar.gz: !binary |-
13
- N2NkYTNlYmIwNTkwZDdhYTk2Yzc1MjU5Y2E5MjUzZGQzZTYwZTkxNGIwZDhl
14
- OWUxZjk0NGZhZTgwZDhiY2UxYzhhZDRhMWRjNGNhNTYyYTFmOGMzNmQxNWVi
15
- YjhmMTg3MDJiY2VlN2I5MjRiMjAxZDQxNWE1YzZkOWNhZTEwYWY=