[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-talk] Tilde expansion in signature path



Is there a specific reason why a tilde in the :signature: path is not
expanded? If not, this patch will enable it:

diff --git a/lib/sup/account.rb b/lib/sup/account.rb
index 1718d94..6e078cf 100644
--- a/lib/sup/account.rb
+++ b/lib/sup/account.rb
@@ -8,7 +8,7 @@ class Account < Person
     raise ArgumentError, "no email for account" unless h[:email]
     super h[:name], h[:email]
     @sendmail = h[:sendmail]
-    @signature = h[:signature]
+    @signature = File.expand_path h[:signature]
     @gpgkey = h[:gpgkey]
   end

    Matthias
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk