Sha256: 601fcf3020c72b4ff790b5d5ba712ec6b69813189f8bdbe48f3d4ef58d73fe66
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
# frozen_string_literal: true require 'r2-oas/version' require 'r2-oas/public' module R2OAS if !defined?(::Rails) raise NoImplementError, 'Can not load Rails' # support Rails version elsif ::Rails::VERSION::STRING >= '4.2.5.1' extend Configuration require 'r2-oas/task' require 'r2-oas/plugin/public' require 'r2-oas/lib/core_ext/hash/deep_merge' require 'r2-oas/lib/core_ext/object/blank' autoload :Base, 'r2-oas/base' autoload :NoImplementError, 'r2-oas/errors' autoload :NoFileExistsError, 'r2-oas/errors' autoload :NoSupportError, 'r2-oas/errors' autoload :Sortable, 'r2-oas/shared/all' autoload :Deprecation, 'r2-oas/support/deprecation' module Schema autoload :Base, 'r2-oas/schema/base' autoload :Generator, 'r2-oas/schema/generator' autoload :Builder, 'r2-oas/schema/builder' autoload :Analyzer, 'r2-oas/schema/analyzer' autoload :Squeezer, 'r2-oas/schema/squeezer' autoload :Cleaner, 'r2-oas/schema/cleaner' end else raise NoImplementError, "Do not support Rails Version: #{::Rails::VERSION::STRING}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
r2-oas-0.4.0 | lib/r2-oas.rb |