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 +1 -1
- data/lib/json-schema/validator.rb +8 -0
- metadata +1 -1
data/README.textile
CHANGED
@@ -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')
|