[DRE-commits] [ruby-tool] 03/04: Add patch to remove usage of simplecov
Balasankar C
balasankarc-guest at moszumanska.debian.org
Tue Jun 20 11:15:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-tool.
commit 1b3f4d0677b9c360ce9d191d9023e57f4834846e
Author: Balasankar C <balasankarc at autistici.org>
Date: Tue Jun 20 16:39:07 2017 +0530
Add patch to remove usage of simplecov
---
debian/patches/remove-simplecov | 31 +++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 32 insertions(+)
diff --git a/debian/patches/remove-simplecov b/debian/patches/remove-simplecov
new file mode 100644
index 0000000..37a183f
--- /dev/null
+++ b/debian/patches/remove-simplecov
@@ -0,0 +1,31 @@
+Description: Remove use of simplecov for coverage analysis
+Author: Balasankar C <balasankarc at autistici.org>
+Last-Update: 2017-06-19
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/support/coverage.rb
++++ /dev/null
+@@ -1,17 +0,0 @@
+-require 'tool/warning_filter'
+-require 'simplecov'
+-require 'coveralls'
+-
+-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+- SimpleCov::Formatter::HTMLFormatter,
+- Coveralls::SimpleCov::Formatter
+-]
+-
+-SimpleCov.start do
+- project_name 'tool'
+- minimum_coverage 100
+- coverage_dir '.coverage'
+-
+- add_filter '/spec/'
+- add_group 'Library', 'lib'
+-end
+--- a/.rspec
++++ b/.rspec
+@@ -1,3 +1,2 @@
+ --color
+ --tty
+--r support/coverage
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..60986ec
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-simplecov
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-tool.git
More information about the Pkg-ruby-extras-commits
mailing list