effective_messaging 0.9.1 → 0.10.0
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: ff5773a733b37822d06ddfb3665e1fa98f17050e31bae37f0a8eb9a5dad08421
|
4
|
+
data.tar.gz: ab21c0e35da078b4fa9774d68daf628901f0f8bfd5a8813a8b35373c2eecfbf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a333c9f9f0b06628d3db45c5dab6238ddd53ef89fc3bc8f6bd680b290614e745d8022d995e25563b4c3268a349d98ec0b0966eae250b434146d0908e37bbdf2
|
7
|
+
data.tar.gz: 04da0ceeb655b600b463809647c512598db314ca05928b539d72d88911b15bc1786b9fb031b1e654d004006935b874dfc2fc8746bf14bf867273e542eeee642e
|
@@ -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
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
= f.hidden_field :user_type, value: current_user.class.name
|
11
11
|
|
12
|
-
- ajax_url = (
|
12
|
+
- ajax_url = (effective_resources.users_effective_ajax_index_path unless Rails.env.test?)
|
13
13
|
|
14
14
|
= f.select :user_ids, current_user.class.all, required: true, label: ets(chat.chat_users),
|
15
15
|
ajax_url: ajax_url, hint: "The users that can participate in this #{etd(f.object)}"
|
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.0
|
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: 2024-
|
11
|
+
date: 2024-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|