[DRE-commits] [ruby-http-form-data] 03/04: Make tests run

Balasankar C balasankarc-guest at moszumanska.debian.org
Sat Aug 29 07:41:36 UTC 2015


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

balasankarc-guest pushed a commit to branch master
in repository ruby-http-form-data.

commit e292942d8b7c95ed1c33254412399280d9761a6b
Author: Balasankar C <balasankarc at autistici.org>
Date:   Sat Aug 29 13:00:32 2015 +0530

    Make tests run
---
 debian/patches/remove-simplecov.patch | 23 +++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/remove-simplecov.patch b/debian/patches/remove-simplecov.patch
new file mode 100644
index 0000000..eabbfce
--- /dev/null
+++ b/debian/patches/remove-simplecov.patch
@@ -0,0 +1,23 @@
+Description: Disable simplecov while running tests
+Author: Balasankar C <balasankarc at autistici.org>
+Last-Update: 2015-08-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,15 +1,5 @@
+ # coding: utf-8
+ 
+-require "simplecov"
+-require "coveralls"
+-
+-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+-  SimpleCov::Formatter::HTMLFormatter,
+-  Coveralls::SimpleCov::Formatter
+-]
+-
+-SimpleCov.start { add_filter "/spec/" }
+-
+ require "http/form_data"
+ require "support/fixtures_helper"
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..93f0321
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-simplecov.patch

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



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