[DRE-commits] [ruby-http] 03/04: updated patch
Nitesh A Jain
niteshjain-guest at moszumanska.debian.org
Fri Oct 24 20:22:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
niteshjain-guest pushed a commit to branch master
in repository ruby-http.
commit dfb9adf1d1ea3f2d37f3785d930bc210003a54ca
Author: Nitesh A Jain <nitesh.j at directi.com>
Date: Sat Oct 25 01:46:35 2014 +0530
updated patch
---
debian/patches/removing_simplecov_html.patch | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/debian/patches/removing_simplecov_html.patch b/debian/patches/removing_simplecov_html.patch
index c749d83..84cc476 100644
--- a/debian/patches/removing_simplecov_html.patch
+++ b/debian/patches/removing_simplecov_html.patch
@@ -6,19 +6,17 @@ 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,15 +1,5 @@
--require 'simplecov'
- require 'coveralls'
+@@ -1,13 +1,6 @@
+ if RUBY_VERSION >= '1.9'
+- require 'simplecov'
+ require 'coveralls'
--SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
-- SimpleCov::Formatter::HTMLFormatter,
-- Coveralls::SimpleCov::Formatter
--]
+- SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
-
--SimpleCov.start do
-- add_filter '/spec/'
-- minimum_coverage(80)
--end
+- SimpleCov.start do
+- add_filter '/spec/'
+- minimum_coverage(80)
+- end
+ end
require 'http'
- require 'support/example_server'
--
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