Sha256: 77d15241f9917dcb3d6001e936733601bc42caf2d0e24120c52b77863396cd7b
Contents?: true
Size: 842 Bytes
Versions: 5
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 $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/json-schema" require 'rubygems' require 'util/hash' require 'util/array_set' require 'schema' require '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 'uri/file'
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
json-schema-2.2.1 | lib/json-schema.rb |
json-schema-2.2.0 | lib/json-schema.rb |
json-schema-2.1.9 | lib/json-schema.rb |
json-schema-2.1.8 | lib/json-schema.rb |
json-schema-2.1.7 | lib/json-schema.rb |