Sha256: e3185b0a345d77bab942889f52c2104c4533f79d37aa5eb37981af4cb1a65acc

Contents?: true

Size: 752 Bytes

Versions: 10

Compression:

Stored size: 752 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

10 entries across 10 versions & 1 rubygems

Version Path
json-schema-5.1.1 lib/json-schema.rb
json-schema-5.1.0 lib/json-schema.rb
json-schema-5.0.1 lib/json-schema.rb
json-schema-5.0.0 lib/json-schema.rb
json-schema-4.3.1 lib/json-schema.rb
json-schema-4.3.0 lib/json-schema.rb
json-schema-4.2.0 lib/json-schema.rb
json-schema-4.1.1 lib/json-schema.rb
json-schema-4.1.0 lib/json-schema.rb
json-schema-4.0.0 lib/json-schema.rb