Package: ruby-webmock / 3.0.1-1~bpo9+1

remove-patron.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Remove patron adapter
 patron is unmaintained and removed from testing due to ftbfs.
Author: Pirate Praveen <praveen@debian.org>
Last-Updated: 2014-07-08

--- a/lib/webmock.rb
+++ b/lib/webmock.rb
@@ -44,7 +44,7 @@ require 'webmock/http_lib_adapters/http_
 require 'webmock/http_lib_adapters/net_http'
 require 'webmock/http_lib_adapters/http_rb_adapter'
 require 'webmock/http_lib_adapters/httpclient_adapter'
-require 'webmock/http_lib_adapters/patron_adapter'
+#require 'webmock/http_lib_adapters/patron_adapter'
 require 'webmock/http_lib_adapters/curb_adapter'
 require 'webmock/http_lib_adapters/em_http_request_adapter'
 require 'webmock/http_lib_adapters/typhoeus_hydra_adapter'
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -2,7 +2,6 @@ require 'rubygems'
 require 'httpclient'
 unless RUBY_PLATFORM =~ /java/
   require 'curb'
-  require 'patron'
   require 'em-http'
   require 'typhoeus'
 end