[DRE-commits] [ruby-carrierwave] 01/01: disable loading mysql2, which is not used

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Jul 1 18:59:54 UTC 2015


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

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

commit 6378ca0d7b0a18f00ae461d47c8be2a26c39f4ce
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Jul 2 00:27:16 2015 +0530

    disable loading mysql2, which is not used
---
 debian/patches/disable_mysql2.patch | 13 +++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/disable_mysql2.patch b/debian/patches/disable_mysql2.patch
new file mode 100644
index 0000000..3328e04
--- /dev/null
+++ b/debian/patches/disable_mysql2.patch
@@ -0,0 +1,13 @@
+Index: ruby-carrierwave/spec/spec_helper.rb
+===================================================================
+--- ruby-carrierwave.orig/spec/spec_helper.rb
++++ ruby-carrierwave/spec/spec_helper.rb
+@@ -14,7 +14,7 @@ require 'sham_rack'
+ require 'mini_magick'
+ require 'generator_spec'
+ 
+-require 'mysql2'
++#require 'mysql2'
+ 
+ require 'fog'
+ require 'storage/fog_helper'
diff --git a/debian/patches/series b/debian/patches/series
index 41b15b3..6711150 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+disable_mysql2.patch
 remove-rubygems-require.patch
 fix-download-test.patch

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



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