[DRE-commits] [ruby-oauth2] 05/06: Refresh remove-simplecov.patch to also exclude coveralls
Cédric Boutillier
boutil at moszumanska.debian.org
Tue May 6 20:53:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-oauth2.
commit 38f06f22fab7e5c5dfdcf9b244cc7c432b06e414
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue May 6 22:27:22 2014 +0200
Refresh remove-simplecov.patch to also exclude coveralls
---
debian/patches/remove-simplecov.patch | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/debian/patches/remove-simplecov.patch b/debian/patches/remove-simplecov.patch
index 1814b86..65b17ca 100644
--- a/debian/patches/remove-simplecov.patch
+++ b/debian/patches/remove-simplecov.patch
@@ -1,24 +1,25 @@
-Description: Remove simplecov
+Description: Remove simplecov and coveralls
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: 2014-05-06
--- a/spec/helper.rb
+++ b/spec/helper.rb
-@@ -1,9 +1,9 @@
--unless ENV['CI']
-- require 'simplecov'
-- SimpleCov.start do
-- add_filter 'spec'
-- end
+@@ -1,16 +1,3 @@
+-require 'simplecov'
+-require 'coveralls'
+-
+-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+- SimpleCov::Formatter::HTMLFormatter,
+- Coveralls::SimpleCov::Formatter
+-]
+-
+-SimpleCov.start do
+- add_filter '/spec/'
+- minimum_coverage(95.29)
-end
-+#unless ENV['CI']
-+# require 'simplecov'
-+# SimpleCov.start do
-+# add_filter 'spec'
-+# end
-+#end
-
+-
require 'oauth2'
require 'addressable/uri'
+ require 'rspec'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-oauth2.git
More information about the Pkg-ruby-extras-commits
mailing list