Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

fixed requires for faraday + typhoeus - #195

Open
spnkr wants to merge 1 commit into
facebookarchive:masterfrom
spnkr:master
Open

spnkr wants to merge 1 commit into
facebookarchive:masterfrom
spnkr:master

Conversation

@spnkr

@spnkr spnkr commented Dec 1, 2015

Copy link
Copy Markdown

If using typhoeus as the adapter Ethon::Errors::InvalidOption: The option: disable_ssl_peer_verification is invalid. is thrown unless these two requires are added to lib/faraday/*.rb

require 'faraday'
require 'typhoeus' #+
require 'typhoeus/adapters/faraday' #+

by adding these requires (commented out) it is now easier to use typhoeus—all you have to do is uncomment out the requires and change the DEFAULT_ADAPTER to :typhoeus in configuration.rb

this is an implementation of typhoeus/typhoeus#270

@facebook-github-bot

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants