json-schema 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.textile CHANGED
@@ -18,7 +18,7 @@ From the git repo:
18
18
 
19
19
  <pre>
20
20
  $ gem build json-schema.gemspec
21
- $ gem install json-schema-1.1.0.gem
21
+ $ gem install json-schema-1.1.1.gem
22
22
  </pre>
23
23
 
24
24
 
@@ -252,6 +252,11 @@ module JSON
252
252
  handle_schema(parent_schema, v)
253
253
  end
254
254
  end
255
+ if parent_schema.schema["patternProperties"]
256
+ parent_schema.schema["patternProperties"].each do |k,v|
257
+ handle_schema(parent_schema, v)
258
+ end
259
+ end
255
260
 
256
261
  # Items are always schemas
257
262
  if parent_schema.schema["items"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-14 00:00:00.000000000 Z
12
+ date: 2013-01-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: hoxworth@gmail.com