Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Matthias Vallentin <vallentin@icsi.berkeley.edu>
To: Sup Talk <sup-talk@rubyforge.org>
Subject: [sup-talk] Tilde expansion in signature path
Date: Mon, 03 Jan 2011 04:09:10 -0800	[thread overview]
Message-ID: <1294053615-sup-2448@samurai.icir.org> (raw)

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


             reply	other threads:[~2011-01-03 12:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-03 12:09 Matthias Vallentin [this message]
2011-01-03 20:15 ` Matthias Vallentin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294053615-sup-2448@samurai.icir.org \
    --to=vallentin@icsi.berkeley.edu \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox