effective_messaging 0.5.2 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01f5ac59c4096a5dd17f123d06f245f322f2228e751134bf8cfe4af9a9ce93c4
|
4
|
+
data.tar.gz: 1567e1aa7014a9cefbacbdcfbdeeedf1f1b5ff5ac095dbe4914140f7409cbe3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68477aa579f572943d4417ce063fca69dd7969246637e21eaff3a8cb5d78f967038ec8cdf0bddbb58cf507c41a7a1c35ecb3d384cec0cc7392a59a62474323ca
|
7
|
+
data.tar.gz: d119507d7f5b8512c08af5ebd1fbe3faf52d320af022a098a42fa3c47588e61a7e3a68715313bda02d3271cd4dab9174327929b1b53314caa70dacdeba7541d6
|
@@ -80,13 +80,13 @@ module Effective
|
|
80
80
|
url = view_context.root_url
|
81
81
|
|
82
82
|
unsubscribe = [
|
83
|
-
"You received this message because of your affiliation with the #{name} at #{url}
|
84
|
-
"If you do not want to receive this messages any more, you may
|
83
|
+
"You received this message because of your affiliation with the #{name} at #{url}",
|
84
|
+
"If you do not want to receive this messages any more, you may unsubscribe from this list.",
|
85
85
|
"Please understand that unsubscribing means you will no longer receive mandatory messages and announcements."
|
86
86
|
].join(" ")
|
87
87
|
|
88
88
|
# Attach unsubscribe link
|
89
|
-
rendered[:body] = "#{rendered[:body]}\r\n\r\n
|
89
|
+
rendered[:body] = "#{rendered[:body]}\r\n\r\n#{unsubscribe}\r\n\r\n"
|
90
90
|
|
91
91
|
rendered
|
92
92
|
end
|