effective_messaging 0.11.1 → 0.12.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01a4c40b0cc5c4ac33c20f345440fb093b8d3598cd6bbdc27da9ff9da72ed078
|
|
4
|
+
data.tar.gz: e1106c0b69bc4646ecdf16a7301011c4fbcbdce7bd6c7452ac0771121ea78e9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3546283d0bf15ce803da277db5adef382b05ca214564b9576063999096dc50825da9cd7101fd0a184fcb0caf8f5f19d65cbb693d72a52c562dfdca8b4cbefc90
|
|
7
|
+
data.tar.gz: 842ed89d86b47308667078f4e86717f77b91f771f3484ca4012a43dba0f1a4d7ba9aa1a3fc1f075f665dc9715d8666cb6d57ac21b8f0a6d3a9e53b2646512745
|
|
@@ -291,7 +291,7 @@ module Effective
|
|
|
291
291
|
notified += 1
|
|
292
292
|
rescue => e
|
|
293
293
|
EffectiveLogger.error(e.message, associated: self) if defined?(EffectiveLogger)
|
|
294
|
-
|
|
294
|
+
EffectiveResources.send_error(e, notification_id: id, resource_id: resource.id, resource_type: resource.class.name)
|
|
295
295
|
raise(e) if Rails.env.test? || Rails.env.development?
|
|
296
296
|
end
|
|
297
297
|
|
|
@@ -315,7 +315,7 @@ module Effective
|
|
|
315
315
|
notified += 1
|
|
316
316
|
rescue => e
|
|
317
317
|
EffectiveLogger.error(e.message, associated: self) if defined?(EffectiveLogger)
|
|
318
|
-
|
|
318
|
+
EffectiveResources.send_error(e, notification_id: id)
|
|
319
319
|
raise(e) if Rails.env.test? || Rails.env.development?
|
|
320
320
|
end
|
|
321
321
|
|
|
@@ -15,8 +15,7 @@ namespace :effective_messaging do
|
|
|
15
15
|
notification.notify!
|
|
16
16
|
Rails.logger.info "Sent notifications for #{notification} and #{notification.report}"
|
|
17
17
|
rescue StandardError => e
|
|
18
|
-
|
|
19
|
-
ExceptionNotifier.notify_exception(e, data: data) if defined?(ExceptionNotifier)
|
|
18
|
+
EffectiveResources.send_error(e, notification_id: notification.id, report_id: notification.report_id, resource_id: notification.current_resource&.id)
|
|
20
19
|
puts "Error with effective_messaging #{notification.id} resource #{notification.current_resource&.id}: #{notification.errors.inspect}"
|
|
21
20
|
end
|
|
22
21
|
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.
|
|
4
|
+
version: 0.12.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: 2026-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -123,7 +123,7 @@ dependencies:
|
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '0'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name: haml
|
|
126
|
+
name: haml-rails
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
129
|
- - ">="
|
|
@@ -150,6 +150,20 @@ dependencies:
|
|
|
150
150
|
- - ">="
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
152
|
version: '0'
|
|
153
|
+
- !ruby/object:Gem::Dependency
|
|
154
|
+
name: wicked
|
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
|
156
|
+
requirements:
|
|
157
|
+
- - ">="
|
|
158
|
+
- !ruby/object:Gem::Version
|
|
159
|
+
version: '0'
|
|
160
|
+
type: :development
|
|
161
|
+
prerelease: false
|
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
163
|
+
requirements:
|
|
164
|
+
- - ">="
|
|
165
|
+
- !ruby/object:Gem::Version
|
|
166
|
+
version: '0'
|
|
153
167
|
- !ruby/object:Gem::Dependency
|
|
154
168
|
name: timecop
|
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -277,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
277
291
|
- !ruby/object:Gem::Version
|
|
278
292
|
version: '0'
|
|
279
293
|
requirements: []
|
|
280
|
-
rubygems_version: 3.
|
|
294
|
+
rubygems_version: 3.5.9
|
|
281
295
|
signing_key:
|
|
282
296
|
specification_version: 4
|
|
283
297
|
summary: Centralize the communication between one or more users.
|