From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.228.134 with SMTP id je6cs210324icb; Mon, 3 Jan 2011 04:09:28 -0800 (PST) Received: by 10.229.83.198 with SMTP id g6mr18179941qcl.157.1294056568282; Mon, 03 Jan 2011 04:09:28 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id f10si35470502qcq.4.2011.01.03.04.09.27; Mon, 03 Jan 2011 04:09:28 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 6A99B1678323; Mon, 3 Jan 2011 07:09:27 -0500 (EST) Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.87]) by rubyforge.org (Postfix) with ESMTP id DCABF1858381 for ; Mon, 3 Jan 2011 07:09:13 -0500 (EST) Received: from samurai.icir.org (samurai.ICIR.org [192.150.187.48]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.14.4/8.13.5) with ESMTP id p03C9BKN027193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 3 Jan 2011 04:09:12 -0800 (PST) From: Matthias Vallentin To: Sup Talk Date: Mon, 03 Jan 2011 04:09:10 -0800 Message-Id: <1294053615-sup-2448@samurai.icir.org> User-Agent: Sup/git Subject: [sup-talk] Tilde expansion in signature path X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org 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