<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>mack-facets/lib/extensions/nil_class.rb</filename>
    </added>
    <added>
      <filename>mack-facets/spec/lib/extensions/nil_class_spec.rb</filename>
    </added>
    <added>
      <filename>mack-mailer/lib/configs/sendmail_settings.yml</filename>
    </added>
    <added>
      <filename>mack-mailer/lib/configs/smtp_settings.yml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -5,4 +5,16 @@ FileUtils.mkdir_p(Mack::Paths.mailers)
 Dir.glob(Mack::Paths.mailers(&quot;**/*.rb&quot;)).each do |mailer|
   puts mailer
   require mailer
+end
+
+if app_config.mailer.nil? || app_config.mailer.smtp_settings.nil?
+  app_config.load_file(File.join(File.dirname(__FILE__), &quot;configs&quot;, &quot;smtp_settings.yml&quot;))
+end
+
+if app_config.mailer.nil? || app_config.mailer.sendmail_settings.nil?
+  app_config.load_file(File.join(File.dirname(__FILE__), &quot;configs&quot;, &quot;sendmail_settings.yml&quot;))
+end
+
+if app_config.mailer.nil? || app_config.mailer.deliver_with.nil?
+  app_config.load_hash({&quot;mailer::deliver_with&quot; =&gt; (Mack.env == &quot;test&quot; ? &quot;test&quot; : &quot;smtp&quot;)}, String.randomize)
 end
\ No newline at end of file</diff>
      <filename>mack-mailer/lib/loader.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,16 +2,26 @@ require File.join(File.dirname(__FILE__), &quot;..&quot;, &quot;spec_helper&quot;)
 
 describe Mack::Mailer do
   
+  describe &quot;reply_to&quot; do
+    
+    it &quot;should use 'from' if no reply_to is specified&quot;
+    
+  end
+  
   describe &quot;text_body&quot; do
     
     it &quot;should set the text body of the email&quot;
     
+    it &quot;if no text_body it should load a *.text.erb file, if available&quot;
+    
   end
   
   describe &quot;html_body&quot; do
     
     it &quot;should set the html body of the email&quot;
     
+    it &quot;if no html_body it should load a *.text.erb file, if available&quot;
+    
   end
   
   describe &quot;attach&quot; do
@@ -42,7 +52,11 @@ describe Mack::Mailer do
     
     it &quot;should deliver the email via sendmail if configured&quot;
     
-    it &quot;should deliver &quot;
+    it &quot;should deliver the email via 'test' if configured&quot;
+    
+    it &quot;should deliver the email as multipart if both text and html are specified&quot;
+    
+    it &quot;should deliver the email as multipart if there is an attachment&quot;
     
   end
   </diff>
      <filename>mack-mailer/spec/lib/mack_mailer_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c57d39708255344b20581915525e8bd47a897a64</id>
    </parent>
  </parents>
  <author>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </author>
  <url>http://github.com/markbates/mack-more/commit/145e4827f42b138f8d389d8ff9ca609f3fd54c43</url>
  <id>145e4827f42b138f8d389d8ff9ca609f3fd54c43</id>
  <committed-date>2008-07-22T10:41:48-07:00</committed-date>
  <authored-date>2008-07-22T10:41:48-07:00</authored-date>
  <message>More specs for mack-mailer.</message>
  <tree>728b371576bb9d1558f6384319da8b0d5a9c2399</tree>
  <committer>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </committer>
</commit>
