lib/wayfarer.rb in wayfarer-0.4.3 vs lib/wayfarer.rb in wayfarer-0.4.4
- old
+ new
@@ -6,11 +6,10 @@
require "securerandom"
require "uri"
require "active_job"
require "capybara"
-require "capybara/cuprite"
require "connection_pool"
require "docile"
require "ferrum"
require "metainspector"
require "mime/types"
@@ -37,22 +36,16 @@
module Wayfarer
module VERSION
MAJOR = 0
MINOR = 4
- TINY = 3
+ TINY = 4
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]
-
- UserAgentTimeoutError = Class.new(StandardError)
+ UserAgentTimeoutError = Class.new(StandardError) # TODO: Move to Networking namespace
end
loader.eager_load
ActiveJob::Serializers.serializers << Wayfarer::Serializer