json_schema 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json_schema/schema.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: beb41a4b28966d769b0f790c2ee5dc13daa177a2
|
4
|
+
data.tar.gz: bda9fc6b7053c981424265b557004f13ef7473db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d35c9f9a85a08c51c948efb842ad007346264d59c10a96360c33bc50fea36e5cc689640ae3788a69eff059abbe2f505dac4aed616bd103f5372676ca8a0f6a5d
|
7
|
+
data.tar.gz: a52a6bbf6856b2f244588b65a4870d30793dfe3452e2859cc33ac31270a8f8fc9a079a5796c6d6ba44ac9e180fbf8fbb6f242a5aed83a701baeedc228ca2fa9a
|
data/lib/json_schema/schema.rb
CHANGED
@@ -169,13 +169,13 @@ module JsonSchema
|
|
169
169
|
attr_schema :read_only, :schema_name => :readOnly
|
170
170
|
|
171
171
|
# hyperschema link attributes
|
172
|
-
attr_schema :enc_type, :default => "application/json"
|
172
|
+
attr_schema :enc_type, :schema_name => :encType, :default => "application/json"
|
173
173
|
attr_schema :href
|
174
|
-
attr_schema :media_type, :default => "application/json"
|
174
|
+
attr_schema :media_type, :schema_name => :mediaType, :default => "application/json"
|
175
175
|
attr_schema :method
|
176
176
|
attr_schema :rel
|
177
177
|
attr_schema :schema
|
178
|
-
attr_schema :target_schema
|
178
|
+
attr_schema :target_schema, :schema_name => :targetSchema
|
179
179
|
|
180
180
|
# allow booleans to be access with question mark
|
181
181
|
alias :additional_items? :additional_items
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandur
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ecma-re-validator
|