[DRE-commits] [ruby-webmock] 05/08: Skip tests for HTTP gem as backend (not yet available in Debian)
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Jan 31 21:31:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-webmock.
commit e8805ffb08708e475218d4af967c00ca4b78c9c0
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri Jan 22 12:40:26 2016 -0200
Skip tests for HTTP gem as backend (not yet available in Debian)
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/skip-HTTP_rb-tests.patch | 16 ++++++++++++++++
3 files changed, 18 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3ccc9a9..d645fa9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ ruby-webmock (1.22.6-1) UNRELEASED; urgency=medium
* Drop remove-rubygems-curb-version-check.patch, not needed
anymore
* New (build-)dependency: ruby-hashdiff
+ * Skip tests for HTTP gem as backend (not yet available in Debian)
-- Antonio Terceiro <terceiro at debian.org> Fri, 22 Jan 2016 11:45:36 -0200
diff --git a/debian/patches/series b/debian/patches/series
index 5084960..adb96bc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ skip-gem-building-whitespace-tests.patch
#deactivate_tests_with_network.patch
#skip-excon-incompatible-test.patch
remove-patron.patch
+skip-HTTP_rb-tests.patch
diff --git a/debian/patches/skip-HTTP_rb-tests.patch b/debian/patches/skip-HTTP_rb-tests.patch
new file mode 100644
index 0000000..74edd9c
--- /dev/null
+++ b/debian/patches/skip-HTTP_rb-tests.patch
@@ -0,0 +1,16 @@
+Description: Ignore tests for HTTP.rb backend
+ It is not available in Debian yet.
+Author: Antonio Terceiro <terceiro at debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2016-01-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/acceptance/http_rb/http_rb_spec.rb
++++ b/spec/acceptance/http_rb/http_rb_spec.rb
+@@ -70,4 +70,4 @@ describe "HTTP.rb" do
+ expect(response.uri.to_s).to eq "http://example.com/foo"
+ end
+ end
+-end
++end if begin gem 'HTTP'; true; rescue LoadError; false; end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-webmock.git
More information about the Pkg-ruby-extras-commits
mailing list