[DRE-commits] [ruby-thread-safe] 04/05: remove simplecov by patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Jul 30 11:56:43 UTC 2015


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

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

commit 1ba83c8e402fd3f260ab63beb5f58b0f38976aa3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Jul 30 16:55:44 2015 +0530

    remove simplecov by patch
---
 debian/patches/remove-simplecov.patch | 30 ++++++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/remove-simplecov.patch b/debian/patches/remove-simplecov.patch
new file mode 100644
index 0000000..5cd9a21
--- /dev/null
+++ b/debian/patches/remove-simplecov.patch
@@ -0,0 +1,30 @@
+Index: ruby-thread-safe/test/test_helper.rb
+===================================================================
+--- ruby-thread-safe.orig/test/test_helper.rb
++++ ruby-thread-safe/test/test_helper.rb
+@@ -1,25 +1,4 @@
+ unless defined?(JRUBY_VERSION)
+-  require 'simplecov'
+-  require 'coveralls'
+-
+-  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+-    SimpleCov::Formatter::HTMLFormatter,
+-    Coveralls::SimpleCov::Formatter
+-  ]
+-
+-  SimpleCov.start do
+-    project_name 'thread_safe'
+-
+-    add_filter '/examples/'
+-    add_filter '/pkg/'
+-    add_filter '/test/'
+-    add_filter '/tasks/'
+-    add_filter '/yard-template/'
+-    add_filter '/yardoc/'
+-
+-    command_name 'Mintest'
+-  end
+-end
+ 
+ require 'minitest/autorun'
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 3c67466..cab59e6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 deactive_test_hash_ruby20.patch
+remove-simplecov.patch

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



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