wco_email 0.1.1.29 → 0.1.1.30
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 +3 -0
- 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: 62b0318c756bf4aa50ab3207887c4fda388b1f47de32c67c2f1b6c4a83f2b33d
|
4
|
+
data.tar.gz: f8723916403b221303a5968046f096968cfbc514a60f59552ec5927d564afbc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 481257e2abb540fd144e0ef67917b94b379e28d205c5709990941b86fbf445e359b4b23cc19d66722871766686d6cc713b02ebd4f89b90ce16b5a3928bcc0e7a
|
7
|
+
data.tar.gz: c08aabe04fef0f5acd1cc4f11ea2e31fcf43ffecb4a98976d9bab015a1f41ecb0b03e6c3132af18cabc5c4c3a9028d2f84fd37242d5746d10891139dabbf0206
|
@@ -181,6 +181,9 @@ 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
|