Sha256: 70e50ab195e03c4fa3b4228d2a95e2c7c6334039925d0d6ea424e964793dde81
Contents?: true
Size: 505 Bytes
Versions: 18
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true require_relative "rust_json_schema/version" module RustJSONSchema class Error < StandardError; end class JSONParseError < Error; end class SchemaParseError < Error; end class InvalidOptionsError < Error; end end # Tries to require the extension for the given Ruby version first begin RUBY_VERSION =~ /(\d+\.\d+)/ require "rust_json_schema/#{Regexp.last_match(1)}/rust_json_schema" rescue LoadError require_relative "rust_json_schema/rust_json_schema" end
Version data entries
18 entries across 18 versions & 1 rubygems