json-schema 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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')
|