effective_messaging 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19db404aed321956644e50e5997409d23e21b4dd086f41057cf6c254a96bffc6
4
- data.tar.gz: 5a5379c2ce0f24e310f768c9959a1853e2a351714a0d9b8068530a306ad7ac46
3
+ metadata.gz: 89ab9d94b48072ed7367e0cac20539946a5e744d48e0bb2a947332c8a092b012
4
+ data.tar.gz: 0f8d2953c3c7aca70ae27fe326258676348f6ba4efee12bf7c67b7fa8e641b0f
5
5
  SHA512:
6
- metadata.gz: 925c83d215d7201a2cf4389ab6e7d853873346266e5c2d66d409907c953200f6831b280287489ebc7c49f52653dcc33b5d997b1e58975f89231fc2e253966a6f
7
- data.tar.gz: b6eb40d50b5c1d1e0406f43c71985d3a11dce7a7dc3762399b536f65b8dd8a50dcf201ce9e92f47283e5d23d5850ae87ceab27facba1b6fc6e14b72cab537f53
6
+ metadata.gz: 3b1b431e8e3881932523dcec78eb5d2d6778d4bd076eddd8a5936059ed73f2f5f5888300bf7fa4603629655a4a8683e00a37e21913a3eda5dee30837c2956b89
7
+ data.tar.gz: 666e014a57a908e37c6e65dccd0dfd31a3a4458e8467ec38f37354c5a4d970b29405394ffab5709fd4215dab9649bf0cda3128dd695e5b63ab9c2977adc78ce4
@@ -166,7 +166,6 @@ module Effective
166
166
  end
167
167
 
168
168
  # Only scheduled emails can have attached reports.
169
- # Only scheduled emails can do Send Now
170
169
  def scheduled_email?
171
170
  scheduled? && audience_emails?
172
171
  end
@@ -359,7 +358,7 @@ module Effective
359
358
  raise('expected an immediate? notification') unless immediate?
360
359
 
361
360
  email = resource_emails_to_s(resource)
362
- raise("expected an email for #{report} #{report&.id} and #{resource} #{resource&.id}") unless email.present?
361
+ return false if email.blank?
363
362
 
364
363
  logs = notification_logs.select { |log| log.email == email }
365
364
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveMessaging
2
- VERSION = '0.10.1'.freeze
2
+ VERSION = '0.10.2'.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.10.1
4
+ version: 0.10.2
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: 2025-01-29 00:00:00.000000000 Z
11
+ date: 2025-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails