[DRE-commits] [ruby-sham-rack] 01/03: remove patron

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed May 21 17:52:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-sham-rack.

commit 4548a7deddb9cee819e5d0b5f098906ba7b7348f
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed May 21 22:54:00 2014 +0530

    remove patron
---
 debian/control                     |  2 +-
 debian/patches/remove-patron.patch | 51 ++++++++++++++++++++++++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 53 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index a03e2e2..17ab38d 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Praveen Arimbrathodiyil <praveen at debian.org>
 Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rack, rake, ruby-rspec,
- ruby-rack-test, ruby-rr (>= 1.1.1-2~), ruby-patron, ruby-rest-client, ruby-mechanize, ruby-sinatra
+ ruby-rack-test, ruby-rr (>= 1.1.1-2~), ruby-rest-client, ruby-mechanize, ruby-sinatra
 Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-sham-rack.git
 Vcs-Browser: http://anonscm.debian.org/?p=pkg-ruby-extras/ruby-sham-rack.git;a=summary
diff --git a/debian/patches/remove-patron.patch b/debian/patches/remove-patron.patch
new file mode 100644
index 0000000..dcbef6f
--- /dev/null
+++ b/debian/patches/remove-patron.patch
@@ -0,0 +1,51 @@
+Description: patron is unmaintained
+ and it is removed from testing. So disabling tests using patron.
+Bug-Upstream: https://github.com/mdub/sham_rack/issues/7
+Author: Pirate Praveen <praveen at debian.org>
+
+--- a/spec/sham_rack_spec.rb
++++ b/spec/sham_rack_spec.rb
+@@ -1,7 +1,6 @@
+ require "spec_helper"
+ 
+ require "sham_rack"
+-require "sham_rack/patron"
+ require "open-uri"
+ require "restclient"
+ require "mechanize"
+@@ -58,7 +57,7 @@
+       response.body.should == "Hello, world"
+     end
+ 
+-    it "can be accessed using Patron" do
++    xit "can be accessed using Patron" do
+       patron = Patron::Session.new
+       response = patron.get("http://www.greetings.com/foo/bar")
+       response.body.should == "Hello, world"
+@@ -314,7 +313,7 @@
+ 
+     end
+ 
+-    it "supports POST using Patron" do
++    xit "supports POST using Patron" do
+ 
+       patron = Patron::Session.new
+       response = patron.post("http://env.xyz/resource", "<xml/>", "Content-Type" => "application/xml")
+@@ -337,7 +336,7 @@
+ 
+     end
+ 
+-    it "supports PUT using Patron" do
++    xit "supports PUT using Patron" do
+ 
+       patron = Patron::Session.new
+       response = patron.put("http://env.xyz/resource", "stuff", "Content-Type" => "text/plain")
+@@ -357,7 +356,7 @@
+ 
+     end
+ 
+-    it "supports DELETE using Patron" do
++    xit "supports DELETE using Patron" do
+ 
+       patron = Patron::Session.new
+       response = patron.delete("http://env.xyz/resource")
diff --git a/debian/patches/series b/debian/patches/series
index 4f17ce4..7f18b3e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 LICENSE-from-upstream-git.patch
 drop_rr_adapters.patch
+remove-patron.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-sham-rack.git



More information about the Pkg-ruby-extras-commits mailing list