[DRE-commits] [ruby-attr-required] 04/04: Make tests run - patches

Balasankar C balasankarc-guest at moszumanska.debian.org
Sun May 17 18:43:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

balasankarc-guest pushed a commit to branch master
in repository ruby-attr-required.

commit 288a9f407d7cd5995a25e6afef9a148580958655
Author: Balasankar C <balasankarc at autistici.org>
Date:   Sun May 17 23:50:46 2015 +0530

    Make tests run - patches
---
 debian/patches/series    |  1 +
 debian/patches/simplecov | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f958273
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+simplecov
diff --git a/debian/patches/simplecov b/debian/patches/simplecov
new file mode 100644
index 0000000..a6ab860
--- /dev/null
+++ b/debian/patches/simplecov
@@ -0,0 +1,26 @@
+Description: Disable simplecov
+ Disable simplecov while running tests
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,8 +1,8 @@
+-require 'simplecov'
++#require 'simplecov'
+ 
+-SimpleCov.start do
+-  add_filter 'spec'
+-end
++#SimpleCov.start do
++  #add_filter 'spec'
++#end
+ 
+ require 'attr_required'
+ require 'attr_optional'
+@@ -34,4 +34,4 @@
+ class OnlyOptional
+   include AttrOptional
+   attr_optional :only_optional
+-end
+\ No newline at end of file
++end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-attr-required.git



More information about the Pkg-ruby-extras-commits mailing list