Sha256: 83f9bfba0ba728fce8e623e5abbf317d0f6036fe43eb54ebe0e09febcdadf7b2
Contents?: true
Size: 842 Bytes
Versions: 4
Compression:
Stored size: 842 Bytes
Contents
require 'rubygems' if begin Gem::Specification::find_by_name('multi_json') rescue Gem::LoadError false rescue Gem.available?('multi_json') end require 'multi_json' # Force MultiJson to load an engine before we define the JSON constant here; otherwise, # it looks for things that are under the JSON namespace that aren't there (since we have defined it here) MultiJson.respond_to?(:adapter) ? MultiJson.adapter : MultiJson.engine end require 'rubygems' require 'json-schema/util/hash' require 'json-schema/util/array_set' require 'json-schema/schema' require 'json-schema/validator' Dir[File.join(File.dirname(__FILE__), "json-schema/attributes/*.rb")].each {|file| require file } Dir[File.join(File.dirname(__FILE__), "json-schema/validators/*.rb")].sort!.each {|file| require file } require 'json-schema/uri/file'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
json-schema-2.2.5 | lib/json-schema.rb |
json-schema-2.2.4 | lib/json-schema.rb |
json-schema-2.2.3 | lib/json-schema.rb |
json-schema-2.2.2 | lib/json-schema.rb |