Sha256: ecf8ed96aebf740d554946d7a353ddbd6b1f319c80e4d2ef09e2f5345560565c
Contents?: true
Size: 948 Bytes
Versions: 1
Compression:
Stored size: 948 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/attributes/formats/*.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
json-schema-2.3.0 | lib/json-schema.rb |