[DRE-commits] [ruby-grape] 04/11: refresh patches
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Jul 3 17:03:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-grape.
commit abf1dec456732305be56f7ca6e96bbea53609c58
Author: Pirate Praveen <praveen at debian.org>
Date: Mon Jul 3 21:15:00 2017 +0530
refresh patches
---
.../patches/0001-Do-not-require-bundler-nor-rubygems.patch | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/debian/patches/0001-Do-not-require-bundler-nor-rubygems.patch b/debian/patches/0001-Do-not-require-bundler-nor-rubygems.patch
index b6f04bb..ed7962e 100644
--- a/debian/patches/0001-Do-not-require-bundler-nor-rubygems.patch
+++ b/debian/patches/0001-Do-not-require-bundler-nor-rubygems.patch
@@ -6,21 +6,19 @@ Subject: Do not require bundler nor rubygems
spec/spec_helper.rb | 9 ---------
1 file changed, 9 deletions(-)
-diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
-index c6cd2d0..8740e51 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
-@@ -1,13 +1,4 @@
+@@ -1,13 +1,5 @@
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'support'))
-
require 'grape'
--
+
-require 'rubygems'
-require 'bundler'
--Bundler.setup :default, :test
+-Bundler.require :default, :test
-
- require 'json'
- require 'rack/test'
- require 'base64'
+ Dir["#{File.dirname(__FILE__)}/support/*.rb"].each do |file|
+ require file
+ end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-grape.git
More information about the Pkg-ruby-extras-commits
mailing list