smailer 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,7 +1,7 @@
1
1
  module Smailer
2
2
  MAJOR = 0
3
3
  MINOR = 5
4
- PATCH = 0
4
+ PATCH = 1
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].join('.')
7
7
  end
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: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dimitar Dimitrov