lib/httpx/adapters/faraday.rb in httpx-0.10.2 vs lib/httpx/adapters/faraday.rb in httpx-0.11.0
- old
+ new
@@ -63,11 +63,10 @@
class Session < ::HTTPX::Session
plugin(:compression)
plugin(:persistent)
- # :nocov:
module ReasonPlugin
if RUBY_VERSION < "2.5"
def self.load_dependencies(*)
require "webrick"
end
@@ -86,10 +85,9 @@
Net::HTTP::STATUS_CODES.fetch(@status)
end
end
end
end
- # :nocov:
plugin(ReasonPlugin)
end
class ParallelManager
class ResponseHandler