diff --git a/lib/lurch.rb b/lib/lurch.rb index 538fd56..4f716a8 100644 --- a/lib/lurch.rb +++ b/lib/lurch.rb @@ -5,8 +5,7 @@ require "inflecto" require "rack" require "faraday" -require "typhoeus" -require "typhoeus/adapters/faraday" +require 'net/http' require "lurch/configuration" require "lurch/logger" diff --git a/lib/lurch/client.rb b/lib/lurch/client.rb index 98d8740..7cf65a6 100644 --- a/lib/lurch/client.rb +++ b/lib/lurch/client.rb @@ -90,7 +90,7 @@ def client conn.response :jsonapi @customize_faraday&.yield(conn) - conn.adapter :typhoeus + conn.adapter :net_http end end diff --git a/lurch.gemspec b/lurch.gemspec index 80ed067..f708bfa 100644 --- a/lurch.gemspec +++ b/lurch.gemspec @@ -18,7 +18,6 @@ Gem::Specification.new do |gem| gem.add_dependency("faraday", "< 1.0") gem.add_dependency("inflecto", "~> 0.0") gem.add_dependency("rack", ">= 1.0") - gem.add_dependency("typhoeus", "< 2.0") gem.add_development_dependency("codecov") gem.add_development_dependency("minitest")