Skip to content

Commit

Permalink
Enforces dependency on typhoeus and typhoeus/adapters/faraday
Browse files Browse the repository at this point in the history
  • Loading branch information
iMacTia committed Nov 16, 2017
1 parent 16953a7 commit 1e2d6e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions lib/faraday/adapter/typhoeus.rb
Expand Up @@ -4,6 +4,9 @@ class Adapter
class Typhoeus < Faraday::Adapter
# Needs to define this method in order to support Typhoeus <= 1.3.0
def call; end

dependency 'typhoeus'
dependency 'typhoeus/adapters/faraday'
end
end
end
4 changes: 0 additions & 4 deletions test/adapters/typhoeus_test.rb
@@ -1,9 +1,5 @@
require File.expand_path('../integration', __FILE__)

require 'typhoeus/adapters/faraday'

Faraday::Adapter.register_middleware :typhoeus => :Typhoeus

module Adapters
class TyphoeusTest < Faraday::TestCase

Expand Down

0 comments on commit 1e2d6e2

Please sign in to comment.