Skip to content

Commit

Permalink
Use external em_http and em_synchrony adapters (#1274)
Browse files Browse the repository at this point in the history
  • Loading branch information
iMacTia committed Apr 26, 2021
1 parent a582495 commit 67c5f7b
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 578 deletions.
2 changes: 2 additions & 0 deletions faraday.gemspec
Expand Up @@ -15,6 +15,8 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.4'

spec.add_dependency 'faraday-em_http', '~> 1.0'
spec.add_dependency 'faraday-em_synchrony', '~> 1.0'
spec.add_dependency 'faraday-excon', '~> 1.1'
spec.add_dependency 'faraday-net_http', '~> 1.0'
spec.add_dependency 'faraday-net_http_persistent', '~> 1.1'
Expand Down
4 changes: 3 additions & 1 deletion lib/faraday.rb
Expand Up @@ -27,9 +27,11 @@
require 'faraday/file_part'
require 'faraday/param_part'

require 'faraday/em_http'
require 'faraday/em_synchrony'
require 'faraday/excon'
require 'faraday/net_http'
require 'faraday/net_http_persistent'
require 'faraday/excon'

# This is the main namespace for Faraday.
#
Expand Down
2 changes: 0 additions & 2 deletions lib/faraday/adapter.rb
Expand Up @@ -13,8 +13,6 @@ class Adapter
test: [:Test, 'test'],
typhoeus: [:Typhoeus, 'typhoeus'],
patron: [:Patron, 'patron'],
em_synchrony: [:EMSynchrony, 'em_synchrony'],
em_http: [:EMHttp, 'em_http'],
rack: [:Rack, 'rack'],
httpclient: [:HTTPClient, 'httpclient']

Expand Down
289 changes: 0 additions & 289 deletions lib/faraday/adapter/em_http.rb

This file was deleted.

62 changes: 0 additions & 62 deletions lib/faraday/adapter/em_http_ssl_patch.rb

This file was deleted.

0 comments on commit 67c5f7b

Please sign in to comment.