[DRE-commits] [ruby-gon] 03/10: remove remove_lib_from_loadpath_for_spec.patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Nov 18 20:07:31 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-gon.

commit fa6624bd6649eb531fd9819d61f774a9181fe3c5
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Nov 19 01:06:19 2014 +0530

    remove remove_lib_from_loadpath_for_spec.patch
---
 .../remove_lib_from_loadpath_for_spec.patch        | 23 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 24 deletions(-)

diff --git a/debian/patches/remove_lib_from_loadpath_for_spec.patch b/debian/patches/remove_lib_from_loadpath_for_spec.patch
deleted file mode 100644
index 665716c..0000000
--- a/debian/patches/remove_lib_from_loadpath_for_spec.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Description: remove lib/ from $LOAD_PATH for specs
- Since the files are patched to change some paths, we must use the installed library
- in debian/ruby-gon
-Author: Cédric Boutillier <boutil at debian.org>
-Origin: vendor
-Forwarded: not-needed
-Last-Update: 2013-06-01
-
---- a/spec/spec_helper.rb
-+++ b/spec/spec_helper.rb
-@@ -1,8 +1,12 @@
-+# remove lib/ from loadpath, added by rspec
-+$:.delete(File.expand_path("../../lib",__FILE__))
-+
- require 'gon'
- require 'jbuilder'
- require 'rabl'
- require 'rabl-rails'
- 
-+
- # rabl has a conflict with rabl-rails as rabl-rails causes Rails
- # to be defined. In order to run all specs at once, we'll need to
- # load/unload rabl and rabl-rails whenever we switch from testing
diff --git a/debian/patches/series b/debian/patches/series
index a92c703..ce4bd95 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
 change_watch_js_location.patch
-remove_lib_from_loadpath_for_spec.patch
 fix-json-scaping-on-tests-strings
 fix_tests_with_rabl_rails.patch

-- 
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