json-schema 1.0.6 → 1.0.7

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.0.6.gem
21
+ $ gem install json-schema-1.0.7.gem
22
22
  </pre>
23
23
 
24
24
 
@@ -434,6 +434,14 @@ module JSON
434
434
  @@available_json_backends << 'json'
435
435
  @@json_backend = 'json'
436
436
  end
437
+
438
+ # Try force-loading json for rubies > 1.9.2
439
+ begin
440
+ require 'json'
441
+ @@available_json_backends << 'json'
442
+ @@json_backend = 'json'
443
+ rescue LoadError
444
+ end
437
445
 
438
446
  if begin
439
447
  Gem::Specification::find_by_name('yajl-ruby')
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.0.6
4
+ version: 1.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: