summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2012-07-10 20:14:06 +0000
committerEtienne Massip <etienne.massip@gmail.com>2012-07-10 20:14:06 +0000
commite2851a8b2a66957b76998b7d9f16e411a4a167fe (patch)
tree4c1ee2dfab24d0c1bdf35e88661c782c69b6cf26 /lib/plugins
parentc929ab5c1663374d683b784c92b8cde731f57ae8 (diff)
downloadredmine-e2851a8b2a66957b76998b7d9f16e411a4a167fe.tar.gz
redmine-e2851a8b2a66957b76998b7d9f16e411a4a167fe.zip
Use 1.8.7 compatible @Pathname#to_s@ alias for @Pathname#to_path@.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9969 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/plugins')
-rwxr-xr-xlib/plugins/rfpdf/lib/tcpdf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/rfpdf/lib/tcpdf.rb b/lib/plugins/rfpdf/lib/tcpdf.rb
index 7c4d0df81..287e81bb7 100755
--- a/lib/plugins/rfpdf/lib/tcpdf.rb
+++ b/lib/plugins/rfpdf/lib/tcpdf.rb
@@ -86,10 +86,10 @@ class TCPDF
@@k_small_ratio = 2/3.0
cattr_accessor :k_path_cache
- @@k_path_cache = Rails.root.join('tmp').to_path
+ @@k_path_cache = Rails.root.join('tmp').to_s
cattr_accessor :k_path_url_cache
- @@k_path_url_cache = Rails.root.join('tmp').to_path
+ @@k_path_url_cache = Rails.root.join('tmp').to_s
cattr_accessor :decoder