smailer 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/smailer/tasks/process_bounces.rb +2 -2
- data/lib/smailer/version.rb +1 -1
- metadata +3 -3
@@ -68,7 +68,7 @@ module Smailer
|
|
68
68
|
|
69
69
|
if !unsubscribed?(recipient) && options[:subscribed_checker].call(recipient)
|
70
70
|
processed = true
|
71
|
-
register_bounce bounce, m
|
71
|
+
register_bounce recipient, bounce, m
|
72
72
|
|
73
73
|
bounce_count_per_type = bounce_count_for recipient, bounce.code
|
74
74
|
total_bounce_count = bounce_count_for recipient
|
@@ -128,7 +128,7 @@ module Smailer
|
|
128
128
|
@@emails_bounces[recipient] = nil
|
129
129
|
end
|
130
130
|
|
131
|
-
def register_bounce(bounce, pop_mail)
|
131
|
+
def register_bounce(recipient, bounce, pop_mail)
|
132
132
|
increment_bounce_count_for recipient, bounce.code
|
133
133
|
bounces_for(recipient) << pop_mail
|
134
134
|
end
|
data/lib/smailer/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 1
|
10
|
+
version: 0.5.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dimitar Dimitrov
|