[DRE-commits] [ruby-gon] 03/04: refresh patch
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Sep 1 10:49:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-gon.
commit cb845a86068b45c891d4c872d349f99bee5867a1
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Sep 1 16:11:59 2015 +0530
refresh patch
---
debian/changelog | 3 ++-
debian/patches/remove_lib_from_loadpath_for_spec.patch | 7 +++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9206f7f..26cff14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
ruby-gon (6.0.1-1) UNRELEASED; urgency=medium
* Team upload
- * New major upstream release
+ * New major upstream release
+ * Refresh patches
-- Pirate Praveen <praveen at debian.org> Tue, 01 Sep 2015 16:05:50 +0530
diff --git a/debian/patches/remove_lib_from_loadpath_for_spec.patch b/debian/patches/remove_lib_from_loadpath_for_spec.patch
index 8b166a5..dce7462 100644
--- a/debian/patches/remove_lib_from_loadpath_for_spec.patch
+++ b/debian/patches/remove_lib_from_loadpath_for_spec.patch
@@ -10,10 +10,13 @@ Index: ruby-gon/spec/spec_helper.rb
===================================================================
--- ruby-gon.orig/spec/spec_helper.rb
+++ ruby-gon/spec/spec_helper.rb
-@@ -1,3 +1,6 @@
+@@ -11,6 +11,9 @@ module Rails
+ end
+ end
+
+# remove lib/ from loadpath, added by rspec
+$:.delete(File.expand_path("../../lib",__FILE__))
+
require 'gon'
- # We don't require rails for specs, but jbuilder works only in rails.
+ require 'jbuilder'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gon.git
More information about the Pkg-ruby-extras-commits
mailing list