[DRE-commits] [ruby-devise-two-factor] 02/03: Make tests run

Balasankar C balasankarc-guest at moszumanska.debian.org
Wed Jul 22 11:54:33 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-devise-two-factor.

commit 0bc559b5d8bcbb2c0d511749dcbf037eb2ed046c
Author: Balasankar C <balasankarc at autistici.org>
Date:   Wed Jul 22 17:22:17 2015 +0530

    Make tests run
---
 debian/patches/series    |  1 +
 debian/patches/simplecov | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 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..19473aa
--- /dev/null
+++ b/debian/patches/simplecov
@@ -0,0 +1,28 @@
+Description: Disable simplecov
+ Disable simplecov while running tests
+Author: Balasankar C <balasankarc at autistici.org>
+Last-Update: 2015-07-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,19 +1,3 @@
+-require 'simplecov'
+-
+-module SimpleCov::Configuration
+-  def clean_filters
+-    @filters = []
+-  end
+-end
+-
+-SimpleCov.configure do
+-  clean_filters
+-  load_profile 'test_frameworks'
+-end
+-
+-ENV["COVERAGE"] && SimpleCov.start do
+-  add_filter "/.rvm/"
+-end
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-devise-two-factor.git



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