# frozen_string_literal: true require "cgi" require "forwardable" require "net/http" require "securerandom" require "uri" require "active_job" require "capybara" 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 = 4 STRING = [MAJOR, MINOR, TINY].join(".") end mattr_accessor :config, default: Wayfarer::Config::Root.new UserAgentTimeoutError = Class.new(StandardError) # TODO: Move to Networking namespace end loader.eager_load ActiveJob::Serializers.serializers << Wayfarer::Serializer