[DRE-commits] [ruby-prawn] 04/10: refresh 0210_change_spec_data_to_datadir_pdfs.patch

Cédric Boutillier boutil at alioth.debian.org
Thu Aug 8 22:46:10 UTC 2013


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

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

commit c10dd55c59a83b0f9dcfe16b4529480824607e20
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Aug 9 00:11:31 2013 +0200

    refresh 0210_change_spec_data_to_datadir_pdfs.patch
---
 debian/patches/0210_change_spec_data_to_datadir_pdfs.patch |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/patches/0210_change_spec_data_to_datadir_pdfs.patch b/debian/patches/0210_change_spec_data_to_datadir_pdfs.patch
index 786e80e..ffeace5 100644
--- a/debian/patches/0210_change_spec_data_to_datadir_pdfs.patch
+++ b/debian/patches/0210_change_spec_data_to_datadir_pdfs.patch
@@ -4,7 +4,7 @@ Description: reflect the fact that spec/data moved to data/spec
  that they can be installed too (see debian/ruby-prawn.install).
  The code of the specs has to be modified to find correctly the files which moved away.
 Author: Cédric Boutillier <boutil at debian.org>
-Last-Update: 2013-06-22
+Last-Update: 2013-08-08
 
 --- a/spec/object_store_spec.rb
 +++ b/spec/object_store_spec.rb
@@ -69,3 +69,12 @@ Last-Update: 2013-06-22
  
      @pdf = Prawn::Document.new(:template => filename)
      output = StringIO.new(@pdf.render)
+@@ -195,7 +195,7 @@
+ end
+ 
+ describe "Document#start_new_page with :template option" do
+-  filename = "#{Prawn::BASEDIR}/spec/data/curves.pdf"
++  filename = "#{Prawn::DATADIR}/spec/curves.pdf"
+ 
+   it "should set the imported page's parent to the document pages catalog" do
+     @pdf = Prawn::Document.new()

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



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