effective_polls 0.10.0 → 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: c493fe02d5c8715209e48ef88dca33d86d225b5a253452e9764dfcbad686ca04
4
- data.tar.gz: '090f3acac80276ec9adf47b0f15eba0df47a014fedd8a0f9017a50668bdf0cca'
3
+ metadata.gz: c10b029c3b3e9a6c67290af28b66284a499b846085137e84543f66ee2241cb12
4
+ data.tar.gz: '087775afe9a92ecfaa5b12555f28da4aac0801d5a00ead8195696966e88dd27a'
5
5
  SHA512:
6
- metadata.gz: f982c9c7e83d8589e8be74b6fac7b1551de0d687ca6f15f72e76af860a39603484989e529c1b57e9abc28c54854c3a884233f3190896260048e307c9807ca182
7
- data.tar.gz: ec7493147b9e745a8f47d3e6a34e184785028366346b7be9b639c7db66d04ca79b6eaf68522ed6d378a47254c7ded4ebc82b96f3ad57e2742eb91fac78e23d7b
6
+ metadata.gz: 303eada171fac842a5762708f128cc034a7d6c6834d07bee93481ff4a7bc6fb123ac2e1b22af5950a5ee858a68119d4ca6e8db7b37686943f902b607e9a286a2
7
+ data.tar.gz: 051eb0523667b20c13499fc9f266cfd4833918ffa7c51b62c54b90976731da6acbfd1cbb82e1fda389c2b546589c841b8e773098e0e875805d4a2757b93f1aed
@@ -151,7 +151,7 @@ module Effective
151
151
  Effective::PollsMailer.public_send(email_template, self, user).deliver_now
152
152
  rescue => e
153
153
  EffectiveLogger.error(e.message, associated: self) if defined?(EffectiveLogger)
154
- ExceptionNotifier.notify_exception(e, data: { user_id: user.id, poll_notification_id: id }) if defined?(ExceptionNotifier)
154
+ EffectiveResources.send_error(e, user_id: user.id, poll_notification_id: id)
155
155
  raise(e) if Rails.env.test? || Rails.env.development?
156
156
  end
157
157
 
@@ -1,3 +1,3 @@
1
1
  module EffectivePolls
2
- VERSION = '0.10.0'
2
+ VERSION = '0.10.2'
3
3
  end
@@ -16,8 +16,7 @@ namespace :effective_polls do
16
16
  notified = notification.notify!
17
17
  puts "Sent #{notification.category} for #{notification.poll}" if notified
18
18
  rescue StandardError => e
19
- data = { poll_notification_id: notification.id, poll_id: notification.poll_id }
20
- ExceptionNotifier.notify_exception(e, data: data) if defined?(ExceptionNotifier)
19
+ EffectiveResources.send_error(e, poll_notification_id: notification.id, poll_id: notification.poll_id)
21
20
  puts "Error with effective poll_notification #{notification.id}: #{e.errors.inspect}"
22
21
  end
23
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_polls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
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: 2026-02-27 00:00:00.000000000 Z
11
+ date: 2026-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -151,7 +151,7 @@ dependencies:
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: haml
154
+ name: haml-rails
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
@@ -206,20 +206,6 @@ dependencies:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
- - !ruby/object:Gem::Dependency
210
- name: psych
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - "<"
214
- - !ruby/object:Gem::Version
215
- version: '4'
216
- type: :development
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - "<"
221
- - !ruby/object:Gem::Version
222
- version: '4'
223
209
  description: Online polls and user voting.
224
210
  email:
225
211
  - info@codeandeffect.com
@@ -299,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
285
  - !ruby/object:Gem::Version
300
286
  version: '0'
301
287
  requirements: []
302
- rubygems_version: 3.3.7
288
+ rubygems_version: 3.5.9
303
289
  signing_key:
304
290
  specification_version: 4
305
291
  summary: Online polls and user voting.