[DRE-commits] [SCM] ruby-aruba.git branch, master, updated. upstream/0.5.1-15-gd167360
Praveen Arimbrathodiyil
praveen at debian.org
Thu May 9 18:50:38 UTC 2013
The following commit has been merged in the master branch:
commit 5b79bb5349737d8761776bedf44ae737b53f5736
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri May 10 00:18:07 2013 +0530
patch reporting.rb to use templates in /usr/share
diff --git a/debian/patches/path-manipulation-for-templates.patch b/debian/patches/path-manipulation-for-templates.patch
new file mode 100644
index 0000000..2b8f404
--- /dev/null
+++ b/debian/patches/path-manipulation-for-templates.patch
@@ -0,0 +1,16 @@
+Description: update path for templates directory
+ templates are installed in /usr/share/ruby-aruba.
+ reporting.rb needs to use this path.
+Author: Praveen Arimbrathodiyil <praveen at debian.org>
+Last-Update: 2013-05-10
+Forwarded: no
+
+--- a/lib/aruba/reporting.rb
++++ b/lib/aruba/reporting.rb
+@@ -1,5 +1,5 @@
+ if(ENV['ARUBA_REPORT_DIR'])
+- ENV['ARUBA_REPORT_TEMPLATES'] ||= File.dirname(__FILE__) + '/../../templates'
++ ENV['ARUBA_REPORT_TEMPLATES'] ||= File.dirname(__FILE__) + '/../../../../share/ruby-aruba/templates'
+
+ require 'fileutils'
+ require 'erb'
diff --git a/debian/patches/series b/debian/patches/series
index 1b5e135..ad92dab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
remove_require_rubygems
specify_spec_helper.rb
+path-manipulation-for-templates.patch
--
ruby-aruba.git
More information about the Pkg-ruby-extras-commits
mailing list