lib/wayfarer.rb in wayfarer-0.4.1 vs lib/wayfarer.rb in wayfarer-0.4.2
- old
+ new
@@ -37,20 +37,22 @@
module Wayfarer
module VERSION
MAJOR = 0
MINOR = 4
- TINY = 1
+ TINY = 2
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)
end
loader.eager_load
ActiveJob::Serializers.serializers << Wayfarer::Serializer