Skip to content

Commit

Permalink
removing typhoeus to fix Server Error Status 0 response
Browse files Browse the repository at this point in the history
  • Loading branch information
leohner committed Jun 26, 2024
1 parent 07d56e0 commit b0272b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/lurch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion lib/lurch/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def client
conn.response :jsonapi
@customize_faraday&.yield(conn)

conn.adapter :typhoeus
conn.adapter :net_http
end
end

Expand Down
1 change: 0 additions & 1 deletion lurch.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b0272b9

Please sign in to comment.