Sha256: ecc6b585ea66e29a5a786e122caa17e1a7a57463b19c82e8f597e97a35f1b161

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

# frozen_string_literal: true

require "cgi"
require "forwardable"
require "net/http"
require "securerandom"
require "uri"

require "active_job"
require "capybara"
require "capybara/cuprite"
require "connection_pool"
require "docile"
require "ferrum"
require "metainspector"
require "mime/types"
require "mime-types"
require "mock_redis"
require "mustermann"
require "net/http/persistent"
require "nokogiri"
require "normalize_url"
require "selenium-webdriver"
require "redis"
require "thor"
require "zeitwerk"

loader = Zeitwerk::Loader.for_gem
loader.inflector.inflect("cli" => "CLI",
                         "dsl" => "DSL",
                         "http" => "HTTP",
                         "url" => "URL",
                         "xml" => "XML",
                         "json" => "JSON",
                         "gc" => "GC")
loader.setup

module Wayfarer
  module VERSION
    MAJOR = 0
    MINOR = 4
    TINY = 1
    STRING = [MAJOR, MINOR, TINY].join(".")
  end

  mattr_accessor :config, default: Wayfarer::Config::Root.new

  mattr_accessor :middleware, default: [Wayfarer::Middleware::Stage.new,
                                        Wayfarer::Middleware::Dedup.new,
                                        Wayfarer::Middleware::Normalize.new,
                                        Wayfarer::Middleware::Router.new,
                                        Wayfarer::Middleware::Fetch.new]
end

loader.eager_load

ActiveJob::Serializers.serializers << Wayfarer::Serializer

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wayfarer-0.4.1 lib/wayfarer.rb