effective_messaging 0.9.2 → 0.10.1
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: 19db404aed321956644e50e5997409d23e21b4dd086f41057cf6c254a96bffc6
|
4
|
+
data.tar.gz: 5a5379c2ce0f24e310f768c9959a1853e2a351714a0d9b8068530a306ad7ac46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 925c83d215d7201a2cf4389ab6e7d853873346266e5c2d66d409907c953200f6831b280287489ebc7c49f52653dcc33b5d997b1e58975f89231fc2e253966a6f
|
7
|
+
data.tar.gz: b6eb40d50b5c1d1e0406f43c71985d3a11dce7a7dc3762399b536f65b8dd8a50dcf201ce9e92f47283e5d23d5850ae87ceab27facba1b6fc6e14b72cab537f53
|
@@ -18,7 +18,7 @@ module Effective
|
|
18
18
|
|
19
19
|
# Use postmark broadcast-stream
|
20
20
|
if defined?(Postmark)
|
21
|
-
opts.merge!(message_stream: 'broadcast-stream')
|
21
|
+
opts.merge!(message_stream: 'broadcast-stream')
|
22
22
|
append_unsubscribe_link!(notification, opts)
|
23
23
|
end
|
24
24
|
|
@@ -60,9 +60,8 @@ module Effective
|
|
60
60
|
"Please understand that unsubscribing means you will no longer receive mandatory messages and announcements."
|
61
61
|
].join(" ")
|
62
62
|
|
63
|
-
|
64
|
-
|
65
|
-
else
|
63
|
+
# Email templates have the unsubscribe link in the footer already
|
64
|
+
unless notification.email_notification_html?
|
66
65
|
opts.merge!(body: "#{opts[:body]}\r\n\r\n#{unsubscribe}")
|
67
66
|
end
|
68
67
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|