Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use external em_http and em_synchrony adapters #1274

Merged
merged 2 commits into from Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.