lib/mail_safe/config.rb in mail_safe-0.3.1 vs lib/mail_safe/config.rb in mail_safe-0.3.2

- old
+ new

@@ -27,15 +27,16 @@ end def self.developer_email_address unless defined?(@@developer_email_address) @@developer_email_address = begin - `git config user.email`.chomp + `git config user.email`.strip rescue nil end + @@developer_email_address = nil if @@developer_email_address.blank? end @@developer_email_address end end -end \ No newline at end of file +end