wco_email 0.1.1.29 → 0.1.1.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/wco_email_tasks.rake +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c83b5f9a1dc10c64c3380a412a416b461da87903f1f75f5dd8a85b993e1c4caf
|
4
|
+
data.tar.gz: d65e9f59f5b253764946bf930428da5bdffabe8d8423042d21b86dea70b118dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b21bee2aeb5dc5389e8dceb6b98480c37c899ef4d7e70bc17ddb100eb64e7c486a8e98d0bcf141267b79bb08056399aaa30b3d03b32bd46a2780a5e50378585
|
7
|
+
data.tar.gz: 473f7d507eb022e7c2308d0adaf550b5d4b7f65591bbc091632a384fd32e11a557b7f70f8ffee826fe390534a3d34771f893ef69a89bdf95b4171e32d9807578
|
@@ -181,12 +181,15 @@ namespace :wco_email do
|
|
181
181
|
unsubscribed_at: Time.now.to_s,
|
182
182
|
})
|
183
183
|
else
|
184
|
+
ctx.update({
|
185
|
+
sent_at: Time.now.to_s,
|
186
|
+
})
|
184
187
|
out = WcoEmail::ApplicationMailer.send_context_email( ctx[:id].to_s )
|
185
188
|
Rails.env.production? ? out.deliver_later : out.deliver_now
|
186
189
|
end
|
187
190
|
|
188
|
-
print
|
189
|
-
sleep
|
191
|
+
print "#{ctx.id}^"
|
192
|
+
sleep 10
|
190
193
|
end
|
191
194
|
|
192
195
|
print '.'
|