[DRE-commits] [ruby-grape-logging] 07/07: Add patch to fix relative requires
Balasankar C
balasankarc-guest at moszumanska.debian.org
Thu Nov 2 07:13:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-grape-logging.
commit 834f11dadf2e1cb4d851f1944c40dcc08d2f524e
Author: Balasankar C <balasankarc at autistici.org>
Date: Thu Nov 2 12:39:09 2017 +0530
Add patch to fix relative requires
---
debian/patches/fix-relative-path.patch | 10 ++++++++++
debian/patches/series | 1 +
2 files changed, 11 insertions(+)
diff --git a/debian/patches/fix-relative-path.patch b/debian/patches/fix-relative-path.patch
new file mode 100644
index 0000000..98ea727
--- /dev/null
+++ b/debian/patches/fix-relative-path.patch
@@ -0,0 +1,10 @@
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,6 +1,6 @@
+ $:.unshift '.'
+
+-require 'lib/grape_logging'
++require 'grape_logging'
+
+ RSpec.configure do |config|
+ # rspec-expectations config goes here. You can use an alternate
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..18583f0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-relative-path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-grape-logging.git
More information about the Pkg-ruby-extras-commits
mailing list