[DRE-commits] [ruby-filepath] 04/07: Patch to require RSpec in helper

Gioele Barabucci gioele-guest at alioth.debian.org
Sun Sep 22 13:23:30 UTC 2013


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

gioele-guest pushed a commit to branch master
in repository ruby-filepath.

commit e532a33898205b0a424c31a6a45c828ac8196edd
Author: Gioele Barabucci <gioele at svario.it>
Date:   Sun Sep 22 11:41:51 2013 +0000

    Patch to require RSpec in helper
---
 debian/patches/0001-Require-RSpec-in-helper.patch |   21 +++++++++++++++++++++
 debian/patches/series                             |    1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0001-Require-RSpec-in-helper.patch b/debian/patches/0001-Require-RSpec-in-helper.patch
new file mode 100644
index 0000000..6203327
--- /dev/null
+++ b/debian/patches/0001-Require-RSpec-in-helper.patch
@@ -0,0 +1,21 @@
+From: Gioele Barabucci <gioele at svario.it>
+Date: Sun, 22 Sep 2013 11:40:19 +0000
+Subject: Require RSpec in helper
+
+---
+ spec/spec_helper.rb | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 059e2e4..ac50221 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -3,6 +3,8 @@
+ LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib]))
+ $LOAD_PATH.unshift(LIB_DIR) unless $LOAD_PATH.include?(LIB_DIR)
+ 
++require 'rspec'
++
+ require 'filepath'
+ 
+ RSpec.configure do |config|
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..388a8f3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Require-RSpec-in-helper.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-filepath.git



More information about the Pkg-ruby-extras-commits mailing list