ynw-ar_mailer 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,12 @@
1
+ = 1.0.0 (ynw-ar_sendmail)
2
+
3
+ * ARMailer messages don't get send until they are combined into digests
4
+ * all messages to same addressee are combined into one digest email
5
+ * it only supports text/plain messages
6
+ * if the digest mail is too big it gets truncated, and full digest is dumped to a file on server; truncated digest will tell about it
7
+ * the sending itself can be triggered by method call, so now you have options to use ar_sendmail process or smth else, e.g. BackgrounDRB job
8
+ * you can specify :smtp_settings to be used when sending digests: we needed it to be other than default ActionMailer::Base.smtp_settings
9
+
1
10
  = 2.1.5
2
11
 
3
12
  * Bugs fixed
data/README.rdoc CHANGED
@@ -8,7 +8,7 @@ http://rubyforge.org/projects/seattlerb
8
8
 
9
9
  Documentation:
10
10
 
11
- http://seattlerb.rubyforge.org/ar_mailer/
11
+ http://seattlerb.rubyforge.org/ar_mailer
12
12
 
13
13
  == About ar_mailer
14
14
 
@@ -553,6 +553,8 @@ class ActionMailer::ARSendmail
553
553
  body = ("WARNING: not all the messages made it into this digest - some are lost in truncation. " +
554
554
  "Original number of messages - #{mails.size} (here only #{new_num}); original size - #{old_size} " +
555
555
  "(here only #{body.size}). Full dump of original emails is placed in #{email_dump_path} @#{`hostname`.strip}.\n\n") + body
556
+ else
557
+ body = "This digest has #{mails.size} messages for you:\n\n" + body
556
558
  end
557
559
  new.body = body
558
560
  email = email_class.create!(:from => email.from, :to => to, :mail => new.to_s, :ready => true)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ynw-ar_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel