[DRE-commits] [ruby-grape] 05/11: refresh patch
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 4d224c47b13bac042d8b4dc42e8fd10864d8c96e
Author: Pirate Praveen <praveen at debian.org>
Date: Mon Jul 3 22:23:25 2017 +0530
refresh patch
---
debian/patches/0001-Do-not-require-bundler-nor-rubygems.patch | 9 +++++----
1 file changed, 5 insertions(+), 4 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 ed7962e..8987d21 100644
--- a/debian/patches/0001-Do-not-require-bundler-nor-rubygems.patch
+++ b/debian/patches/0001-Do-not-require-bundler-nor-rubygems.patch
@@ -8,17 +8,18 @@ Subject: Do not require bundler nor rubygems
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
-@@ -1,13 +1,5 @@
+@@ -1,12 +1,6 @@
-$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.require :default, :test
--
++require 'rack/test'
++require 'cookiejar'
+
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