File: remove-simplecov.patch

package info (click to toggle)
ruby-omniauth-oauth2 1.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 160 kB
  • sloc: ruby: 318; makefile: 3
file content (46 lines) | stat: -rw-r--r-- 1,252 bytes parent folder | download | duplicates (2)
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
35
36
37
38
39
40
41
42
43
44
45
46
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,23 +1,23 @@
 $LOAD_PATH.unshift File.expand_path("..", __FILE__)
 $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
 
-if RUBY_VERSION >= "1.9"
-  require "simplecov"
-  require "simplecov-lcov"
-  require "coveralls"
+#if RUBY_VERSION >= "1.9"
+#  require "simplecov"
+#  require "simplecov-lcov"
+#  require "coveralls"
 
-  SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
+#  SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
 
-  SimpleCov.formatters = [
-    SimpleCov::Formatter::HTMLFormatter,
-    SimpleCov::Formatter::LcovFormatter,
-    Coveralls::SimpleCov::Formatter
-  ]
+#  SimpleCov.formatters = [
+#    SimpleCov::Formatter::HTMLFormatter,
+#    SimpleCov::Formatter::LcovFormatter,
+#    Coveralls::SimpleCov::Formatter
+#  ]
 
-  SimpleCov.start do
-    minimum_coverage(78.48)
-  end
-end
+#  SimpleCov.start do
+#    minimum_coverage(78.48)
+#  end
+#end
 
 require "rspec"
 require "rack/test"