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: 6457919a96ceccb6228d758d0a5786bb56798c3bf60745f0118be7f993876297
4
- data.tar.gz: 339ddd59f8f22c9e521678615420d70d17874cab7a669c0925b104a059e8dc1a
3
+ metadata.gz: ff5773a733b37822d06ddfb3665e1fa98f17050e31bae37f0a8eb9a5dad08421
4
+ data.tar.gz: ab21c0e35da078b4fa9774d68daf628901f0f8bfd5a8813a8b35373c2eecfbf8
5
5
  SHA512:
6
- metadata.gz: de5ebfc591aebaf5159b722b0ae3538ec7b046ac12e215ee66723df79cc5dd0e0f151877ae4c8080a97e72a8c57607ff71ff0bd4622fdfa1aa9beb62f05ea3e4
7
- data.tar.gz: 7ef1a88629643a82e09914ac53bdaac8affb17f1e7a0b820d6740eef1af19058b21502c7051d96c224fece46c0f9c175cd76087c7a20a35bad6a225f36919f40
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
- if notification.email_notification_html?
64
- opts.merge!(body: "#{opts[:body]}\r\n<br/><p>#{unsubscribe}</p>")
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 = (@select2_ajax_path || effective_resources.users_admin_select2_ajax_index_path) unless Rails.env.test?
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)}"
@@ -1,3 +1,3 @@
1
1
  module EffectiveMessaging
2
- VERSION = '0.9.1'.freeze
2
+ VERSION = '0.10.0'.freeze
3
3
  end
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.9.1
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-09-26 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails