[DRE-commits] [nanoc] 03/05: add no_vcr.patch
Cédric Boutillier
boutil at moszumanska.debian.org
Fri May 9 15:58:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository nanoc.
commit eca4a058cded128947216e9ff32ab83db5398d20
Author: Cédric Boutillier <boutil at debian.org>
Date: Fri May 9 15:13:37 2014 +0200
add no_vcr.patch
---
debian/patches/no_vcr.patch | 30 ++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 31 insertions(+)
diff --git a/debian/patches/no_vcr.patch b/debian/patches/no_vcr.patch
new file mode 100644
index 0000000..faf684e
--- /dev/null
+++ b/debian/patches/no_vcr.patch
@@ -0,0 +1,30 @@
+Description: ruby-vcr is not yet available in Debian archive
+ - a package is in preparation
+ - it is anyway used only in test/extra which are not run atm
+Author: Cédric Boutillier <boutil at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695195
+Forwarded: not-needed
+Last-Update: 2014-05-09
+
+--- a/test/helper.rb
++++ b/test/helper.rb
+@@ -8,7 +8,6 @@
+ require 'minitest/spec'
+ require 'minitest/mock'
+ require 'mocha/setup'
+-require 'vcr'
+
+ # Load nanoc
+ $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib'))
+@@ -20,11 +19,6 @@
+ require 'tmpdir'
+ require 'stringio'
+
+-VCR.configure do |c|
+- c.cassette_library_dir = 'test/fixtures/vcr_cassettes'
+- c.hook_into :webmock
+-end
+-
+ module Nanoc::TestHelpers
+
+ LIB_DIR = File.expand_path(File.dirname(__FILE__) + '/../lib')
diff --git a/debian/patches/series b/debian/patches/series
index 5c94310..c3fb585 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ no_rdoc4.patch
deactivate_uglify_test.patch
no_bundler_no_loadpath_modif.patch
no_privacy_breach.patch
+no_vcr.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/nanoc.git
More information about the Pkg-ruby-extras-commits
mailing list