mail_spy 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mail_spy/manager.rb +1 -1
- data/lib/mail_spy/version.rb +1 -1
- metadata +2 -2
data/lib/mail_spy/manager.rb
CHANGED
@@ -86,7 +86,7 @@ module MailSpy
|
|
86
86
|
emails = MailSpy::Email.
|
87
87
|
limit(step).offset(offset).
|
88
88
|
where(:schedule_at.lte => DateTime.now, :sent => false, :failed => false).all
|
89
|
-
break if
|
89
|
+
break if emails.blank?
|
90
90
|
emails.each do |email|
|
91
91
|
begin
|
92
92
|
mail = MailSpy::CoreMailer.template(email)
|
data/lib/mail_spy/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: mail_spy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Timothy Cardenas
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-02-
|
13
|
+
date: 2012-02-02 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|