From: wmorgan Date: Thu, 4 Jan 2007 15:56:42 +0000 (+0000) Subject: changed sig_file back to signature X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=192265ccdd67ba0f441f0351dcbf3db8d6ba0fd4;p=sup changed sig_file back to signature git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@174 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup.rb b/lib/sup.rb index 82d27b6..452da68 100644 --- a/lib/sup.rb +++ b/lib/sup.rb @@ -105,7 +105,7 @@ else :email => "your.email.here@domain.tld", :alternates => [], :sendmail => "/usr/sbin/sendmail -oem -ti", - :sig_file => File.join(ENV["HOME"], ".signature") + :signature => File.join(ENV["HOME"], ".signature") } }, :editor => ENV["EDITOR"] || "/usr/bin/vi", diff --git a/lib/sup/account.rb b/lib/sup/account.rb index c486e87..adb7649 100644 --- a/lib/sup/account.rb +++ b/lib/sup/account.rb @@ -6,7 +6,7 @@ class Account < Person def initialize h super h[:name], h[:email] @sendmail = h[:sendmail] - @sig_file = h[:sig_file] or raise h.inspect + @sig_file = h[:signature] end end