[DRE-commits] [ruby-foreigner] 01/03: Add patch require_mocha_correctly.patch
Thiago Ribeiro
thiagovsk-guest at moszumanska.debian.org
Fri Mar 4 17:33:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
thiagovsk-guest pushed a commit to branch master
in repository ruby-foreigner.
commit 26981c6a010b696bc765b2e4be07fe0d91cfbbce
Author: Thiago Ribeiro <thiagitosouza at gmail.com>
Date: Fri Mar 4 12:00:47 2016 -0300
Add patch require_mocha_correctly.patch
---
debian/patches/require_mocha_correctly.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/require_mocha_correctly.patch b/debian/patches/require_mocha_correctly.patch
new file mode 100644
index 0000000..51454e0
--- /dev/null
+++ b/debian/patches/require_mocha_correctly.patch
@@ -0,0 +1,16 @@
+Description: Require mocka correctly in test/helper.rb
+Author: Thiago Ribeiro <thiago at pencillabs.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808530
+Forwarded: not-needed
+Last-Update: 2016-03-04
+--- a/test/helper.rb
++++ b/test/helper.rb
+@@ -3,7 +3,7 @@
+
+ require 'active_support/test_case'
+ require 'minitest/autorun'
+-require 'mocha'
++require 'mocha/mini_test'
+ require 'set'
+ require 'foreigner'
+ # Foreigner::Adapter.registered.values.each do |file_name|
diff --git a/debian/patches/series b/debian/patches/series
index 1e07cfb..92e73cd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
removing_bundler.diff
+require_mocha_correctly.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-foreigner.git
More information about the Pkg-ruby-extras-commits
mailing list