File: remove-simplecov.patch

package info (click to toggle)
ruby-omniauth-oauth2 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 140 kB
  • sloc: ruby: 212; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 923 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Remove requirements of simplecov
Author: Sudheesh Shetty <sudheeshshetty@gmail.com>
		Pirate Praveen <praveen@debian.org>
Last-Update: 2016-03-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -1,16 +1,16 @@
 $LOAD_PATH.unshift File.expand_path("..", __FILE__)
 $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
 
-if RUBY_VERSION >= "1.9"
-  require "simplecov"
-  require "coveralls"
+#if RUBY_VERSION >= "1.9"
+#  require "simplecov"
+#  require "coveralls"
 
-  SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
-
-  SimpleCov.start do
-    minimum_coverage(78.48)
-  end
-end
+#  SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
+#
+#  SimpleCov.start do
+#    minimum_coverage(78.48)
+#  end
+#end
 
 require "rspec"
 require "rack/test"