[DRE-commits] [ruby-multi-xml] 03/12: Refresh remove-simplecov.patch

Cédric Boutillier boutil at moszumanska.debian.org
Mon Dec 4 23:45:28 UTC 2017


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

boutil pushed a commit to branch master
in repository ruby-multi-xml.

commit 75dbd9fc438aff27c4b6d7d531cb3c9ee0ddddb6
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Nov 17 00:23:07 2017 +0100

    Refresh remove-simplecov.patch
---
 debian/patches/remove-simplecov.patch | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/debian/patches/remove-simplecov.patch b/debian/patches/remove-simplecov.patch
index a96fafb..069bb08 100644
--- a/debian/patches/remove-simplecov.patch
+++ b/debian/patches/remove-simplecov.patch
@@ -2,19 +2,24 @@ Description: Remove simplecov
  SimpleCov is used only for code coverage analysis.
  When someone package it for debian, this patch may be removed.
 Author: Praveen Arimbrathodiyil <praveen at debian.org>
-Last-Update: 2013-05-27
+Last-Update: 2017-11-17
 
 --- a/spec/helper.rb
 +++ b/spec/helper.rb
-@@ -1,12 +1,3 @@
+@@ -2,17 +2,6 @@
+   RUBY_PLATFORM == 'java'
+ end
+ 
 -require 'simplecov'
 -require 'coveralls'
 -
--SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
--  SimpleCov::Formatter::HTMLFormatter,
--  Coveralls::SimpleCov::Formatter
--]
--SimpleCov.start
+-SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
+-
+-SimpleCov.start do
+-  add_filter '/spec'
+-  percent = jruby? ? 91.29 : 92.31
+-  minimum_coverage(percent)
+-end
 -
  require 'multi_xml'
  require 'rspec'

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



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