]> git.cworth.org Git - sup/commitdiff
changed sig_file back to signature
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 4 Jan 2007 15:56:42 +0000 (15:56 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 4 Jan 2007 15:56:42 +0000 (15:56 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@174 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup.rb
lib/sup/account.rb

index 82d27b60b53444c71083d4f27a25cc1806ea89ed..452da6894ee509d9c96036ef549f8ec4c4d5a60c 100644 (file)
@@ -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",
index c486e87fffa8a85c906d0da152c88c2274fccdca..adb7649d922f901ca3d3e9d78006826e67af2d6f 100644 (file)
@@ -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