[DRE-commits] [ruby-prawn] 02/05: do not call git from the manual

Cédric Boutillier boutil at moszumanska.debian.org
Fri Mar 7 12:45:02 UTC 2014


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

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

commit 75e6094ed8c6dc476b034edf6921e70d108676ea
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Mar 7 13:17:38 2014 +0100

    do not call git from the manual
---
 debian/patches/0700_dont_call_git_from_manual.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0700_dont_call_git_from_manual.patch b/debian/patches/0700_dont_call_git_from_manual.patch
new file mode 100644
index 0000000..bb7e5b4
--- /dev/null
+++ b/debian/patches/0700_dont_call_git_from_manual.patch
@@ -0,0 +1,21 @@
+Description: do not call Git from the manual
+ There is no reason to have gotten prawn from a Git repository
+Bug: https://github.com/prawnpdf/prawn/issues/545#issuecomment-37019036
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2014-03-07
+
+--- a/manual/manual/cover.rb
++++ b/manual/manual/cover.rb
+@@ -26,10 +26,9 @@
+   #long git commit hash
+   #commit = `git show --pretty=%H`
+   #short git commit hash
+-  commit = `git show --pretty=%h`
++  #commit = `git show --pretty=%h`
+   formatted_text_box([  {:text => "Last Update: #{Time.now.strftime("%Y-%m-%d")}\n"+
+-                                  "Prawn Version: #{Prawn::VERSION}\n"+
+-                                  "git commit: #{commit}",
++                                  "Prawn Version: #{Prawn::VERSION}\n",
+                          :size => 12}
+                     ],   :at => [390, cursor - 620])
+   
diff --git a/debian/patches/series b/debian/patches/series
index b263fe8..3bed314 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
 #0600_add_require_date_table_cell.rb
 #1001_fix_encoding_in_font_spec.patch
 #1002_define_external_encoding_for_manual.patch
+0700_dont_call_git_from_manual.patch

-- 
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