[DRE-commits] [ruby-http] 03/04: refreshed patch: removing_simplecov_html

Jonas Genannt genannt at moszumanska.debian.org
Sun Aug 16 18:33:27 UTC 2015


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

genannt pushed a commit to branch master
in repository ruby-http.

commit 64cd231715913da34b4ad6a024c13a2345b6a838
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Sun Aug 16 20:32:40 2015 +0200

    refreshed patch: removing_simplecov_html
---
 debian/patches/removing_simplecov_html.patch | 30 +++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/debian/patches/removing_simplecov_html.patch b/debian/patches/removing_simplecov_html.patch
index 84cc476..4dc6f33 100644
--- a/debian/patches/removing_simplecov_html.patch
+++ b/debian/patches/removing_simplecov_html.patch
@@ -4,19 +4,25 @@ Forwarded: no
 Last-Update: 2014-05-30
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
 --- a/spec/spec_helper.rb
 +++ b/spec/spec_helper.rb
-@@ -1,13 +1,6 @@
- if RUBY_VERSION >= '1.9'
--  require 'simplecov'
-   require 'coveralls'
+@@ -1,18 +1,7 @@
+ # coding: utf-8
  
--  SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
--
--  SimpleCov.start do
--    add_filter '/spec/'
--    minimum_coverage(80)
--  end
- end
+-require "simplecov"
+ require "coveralls"
  
- require 'http'
+-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+-  SimpleCov::Formatter::HTMLFormatter,
+-  Coveralls::SimpleCov::Formatter
+-]
+-
+-SimpleCov.start do
+-  add_filter "/spec/"
+-  minimum_coverage 80
+-end
+-
+ require "http"
+ require "rspec/its"
+ require "support/capture_warning"

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



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