smailer 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -154,7 +154,7 @@ module Smailer
154
154
 
155
155
  key = to.strip.split('@').first[Smailer::BOUNCES_PREFIX.size..-1]
156
156
 
157
- @@keys_messages[key] ||= Smailer::Compatibility.rails_3?
157
+ @@keys_messages[key] ||= if Smailer::Compatibility.rails_3?
158
158
  Smailer::Models::FinishedMail.where(:key => key).first
159
159
  else
160
160
  Smailer::Models::FinishedMail.first(:conditions => {:key => key})
@@ -1,7 +1,7 @@
1
1
  module Smailer
2
2
  MAJOR = 0
3
3
  MINOR = 5
4
- PATCH = 2
4
+ PATCH = 3
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 2
10
- version: 0.5.2
9
+ - 3
10
+ version: 0.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dimitar Dimitrov