[DRE-commits] [ruby-shoulda-context] 05/08: deactivate check for BUNDLE_GEMFILE in tests

Cédric Boutillier boutil at moszumanska.debian.org
Tue Apr 1 19:57:42 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-shoulda-context.

commit a89ed3e2a02d37fb2661e6fbdd3667ed6148dec7
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Apr 1 13:13:05 2014 +0200

    deactivate check for BUNDLE_GEMFILE in tests
---
 debian/patches/deactivate_appraisal.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/deactivate_appraisal.patch b/debian/patches/deactivate_appraisal.patch
new file mode 100644
index 0000000..6df56e9
--- /dev/null
+++ b/debian/patches/deactivate_appraisal.patch
@@ -0,0 +1,25 @@
+Description: deactivate the check for BUNDLE_GEMFILE
+ it is used in test_framework_detection_test.rb, which is deactivated
+ See debian/ruby-tests.rake
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2014-04-01
+
+--- a/test/test_helper.rb
++++ b/test/test_helper.rb
+@@ -2,12 +2,12 @@
+ require 'test/unit'
+ require 'mocha/setup'
+ 
+-if ENV['BUNDLE_GEMFILE'].to_s.empty?
+-  raise "No Appraisal is specified. Please re-run your tests with BUNDLE_GEMFILE set."
+-end
++#if ENV['BUNDLE_GEMFILE'].to_s.empty?
++#  raise "No Appraisal is specified. Please re-run your tests with BUNDLE_GEMFILE set."
++#end
+ 
+ PROJECT_DIR = File.expand_path('../..', __FILE__)
+-CURRENT_APPRAISAL_NAME = File.basename(ENV['BUNDLE_GEMFILE'], '.gemfile')
++#CURRENT_APPRAISAL_NAME = File.basename(ENV['BUNDLE_GEMFILE'], '.gemfile')
+ 
+ $LOAD_PATH << File.join(PROJECT_DIR, 'lib')
+ require 'shoulda/context'
diff --git a/debian/patches/series b/debian/patches/series
index b380ec4..5ac76a4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 require_mocha_setup.patch
+deactivate_appraisal.patch

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



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