File: use-installed-libraries.patch

package info (click to toggle)
ruby-gitlab 4.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,752 kB
  • sloc: ruby: 8,203; makefile: 6; sh: 4
file content (19 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Use installed libraries
Author: Sophie Brun <sophie@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
@@ -3,8 +3,9 @@
 require 'rspec'
 require 'webmock/rspec'
 
-require File.expand_path('../lib/gitlab', __dir__)
-require File.expand_path('../lib/gitlab/cli', __dir__)
+$:.unshift File.expand_path('../../lib', __FILE__)
+require 'gitlab'
+require 'gitlab/cli'
 
 def capture_output
   out = StringIO.new