Sha256: e11052edd540fede22a6ca6bd8573c29a68ce17024441b1157faafe3589cb9f8

Contents?: true

Size: 750 Bytes

Versions: 6

Compression:

Stored size: 750 Bytes

Contents

require 'rubygems'

if Gem::Specification::find_all_by_name('multi_json').any?
  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 'json-schema/util/array_set'
require 'json-schema/util/uri'
require 'json-schema/schema'
require 'json-schema/schema/reader'
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 }

Version data entries

6 entries across 5 versions & 3 rubygems

Version Path
json-schema-ouidou-2.9.1 lib/json-schema.rb
json-schema-ouidou-2.9.0 lib/json-schema.rb
json-schema-3.0.0 lib/json-schema.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema.rb
mountapi-0.11.1 vendor/json-schema/lib/json-schema.rb
json-schema-2.8.1 lib/json-schema.rb