[DRE-commits] [ruby-gitlab] 01/01: Add a patch to use installed libraries in the tests

Sophie Brun sbrun-guest at moszumanska.debian.org
Thu Sep 21 14:21:01 UTC 2017


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

sbrun-guest pushed a commit to branch master
in repository ruby-gitlab.

commit 488646b24433e19c3d9133f8751bcfb0fee2a228
Author: Sophie Brun <sophie at freexian.com>
Date:   Thu Sep 21 16:14:38 2017 +0200

    Add a patch to use installed libraries in the tests
---
 debian/patches/series                        |  1 +
 debian/patches/use-installed-libraries.patch | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index b6c9316..0273278 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 drop-git-ls-files.patch
+use-installed-libraries.patch
diff --git a/debian/patches/use-installed-libraries.patch b/debian/patches/use-installed-libraries.patch
new file mode 100644
index 0000000..2e32e57
--- /dev/null
+++ b/debian/patches/use-installed-libraries.patch
@@ -0,0 +1,19 @@
+Description: Use installed libraries
+Author: Sophie Brun <sophie at freexian.com>
+Last-Update: 2017-09-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,8 +1,9 @@
+ require 'rspec'
+ require 'webmock/rspec'
+ 
+-require File.expand_path('../../lib/gitlab', __FILE__)
+-require File.expand_path('../../lib/gitlab/cli', __FILE__)
++$:.unshift File.expand_path('../../lib', __FILE__)
++require 'gitlab'
++require 'gitlab/cli'
+ 
+ def capture_output
+   out = StringIO.new

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



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