File: faraday-typhoeus.patch

package info (click to toggle)
ruby-typhoeus 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 656 kB
  • sloc: ruby: 4,489; makefile: 6
file content (17 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: use faraday adapter from ruby-faraday-typhoeus
 instead of the provided lib/typhoeus/adapters/faraday.rb
 which is not suited for faraday 2.x
Author: Cédric Boutillier <boutil@debian.org>
Last-Upadate: 2024-09-01

--- a/spec/typhoeus/adapters/faraday_spec.rb
+++ b/spec/typhoeus/adapters/faraday_spec.rb
@@ -1,6 +1,7 @@
 if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("1.9.0")
   require 'spec_helper'
-  require 'typhoeus/adapters/faraday'
+  require 'faraday/typhoeus'
+
 
   describe Faraday::Adapter::Typhoeus do
     let(:base_url) { "http://localhost:3001" }