File: remove-simplecov.patch

package info (click to toggle)
ruby-multi-xml 0.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 232 kB
  • sloc: ruby: 1,203; sh: 4; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 507 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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@debian.org>
Last-Update: 2017-11-17

--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -2,14 +2,6 @@ def jruby?
   RUBY_PLATFORM == "java"
 end
 
-require "simplecov"
-
-SimpleCov.start do
-  add_filter "/spec"
-  percent = (jruby?) ? 91.38 : 93.16
-  minimum_coverage(percent)
-end
-
 require "multi_xml"
 require "rspec"