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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/json_schema/schema.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6798bbb08d26485699a7ca30447f8f75294dd137
4
- data.tar.gz: cd8ba74cdef026cb26ea3055d9da4c2971b621ff
3
+ metadata.gz: beb41a4b28966d769b0f790c2ee5dc13daa177a2
4
+ data.tar.gz: bda9fc6b7053c981424265b557004f13ef7473db
5
5
  SHA512:
6
- metadata.gz: 9b16a4b7cdc6541e8ece27ad3224e414183ef43ebe7970e301a6485f9066a9c1464827e92f6f9b841acf0ab81c366f8789e3db062b960464105d479218cdfbba
7
- data.tar.gz: 5233dc1555a2c24489fcf366d9b91dc324f7efafe627dad16081e7afd281b6369d873efcd3680b520241460be642173bae8a207c05d6137bf1dba1f95b84eabe
6
+ metadata.gz: d35c9f9a85a08c51c948efb842ad007346264d59c10a96360c33bc50fea36e5cc689640ae3788a69eff059abbe2f505dac4aed616bd103f5372676ca8a0f6a5d
7
+ data.tar.gz: a52a6bbf6856b2f244588b65a4870d30793dfe3452e2859cc33ac31270a8f8fc9a079a5796c6d6ba44ac9e180fbf8fbb6f242a5aed83a701baeedc228ca2fa9a
@@ -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.0
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-08 00:00:00.000000000 Z
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