[DRE-commits] [gist] 03/06: Support building with current webmock
zeha at debian.org
zeha at debian.org
Tue Jul 11 20:17:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository gist.
commit 731d49e14499f907f830c5f04fd5507f3926827d
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Tue Jul 11 19:57:07 2017 +0000
Support building with current webmock
Closes: #867646
---
debian/patches/series | 1 +
debian/patches/webmock | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index a4ec98f..346c2cb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
rename
+webmock
diff --git a/debian/patches/webmock b/debian/patches/webmock
new file mode 100644
index 0000000..bb546e1
--- /dev/null
+++ b/debian/patches/webmock
@@ -0,0 +1,16 @@
+Index: gist/spec/ghe_spec.rb
+===================================================================
+--- gist.orig/spec/ghe_spec.rb
++++ gist/spec/ghe_spec.rb
+@@ -5,9 +5,9 @@ describe '...' do
+ MOCK_USER = 'foo'
+ MOCK_PASSWORD = 'bar'
+
+- MOCK_AUTHZ_GHE_URL = "#{MOCK_GHE_PROTOCOL}://#{MOCK_USER}:#{MOCK_PASSWORD}@#{MOCK_GHE_HOST}/api/v3/"
++ MOCK_AUTHZ_GHE_URL = "#{MOCK_GHE_PROTOCOL}://#{MOCK_GHE_HOST}/api/v3/"
+ MOCK_GHE_URL = "#{MOCK_GHE_PROTOCOL}://#{MOCK_GHE_HOST}/api/v3/"
+- MOCK_AUTHZ_GITHUB_URL = "https://#{MOCK_USER}:#{MOCK_PASSWORD}@api.github.com/"
++ MOCK_AUTHZ_GITHUB_URL = "https://api.github.com/"
+ MOCK_GITHUB_URL = "https://api.github.com/"
+
+ before do
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gist.git
More information about the Pkg-ruby-extras-commits
mailing list