honeybadger 5.10.1 → 5.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: 5d92796ef219fa08cca3dd80f0dc88513446b61f080e94fb797109ff464b584f
4
- data.tar.gz: 2783c0eb5bb0024566c71f2c755c4d1ce0536251cfc7d7e55e3796c29b9b7d0c
3
+ metadata.gz: 731b775f529f5438fd4062d5bebb966c9725ecc6cbbd8a1f1f62a92ae55ca9dd
4
+ data.tar.gz: 1ce0d3753f7d9b8500cba7453a282ae30f2017331bb03af8c604a19a3376f3e4
5
5
  SHA512:
6
- metadata.gz: 6250e3b938a9a04fd6a0694c850b1e8c0a976dca9f64b7c6592c570f36960e20c7ef8634c954ad0d4a93044dbd9d732647e2be6a4ccc37f7bf3ec37291677a31
7
- data.tar.gz: 39c8b79ef25606375084d58a577cdc7cd6589db2db99ad628d49a3382bf31d033e2aa4265397081fe9017170ee4eb4595c565931ca193af3e16c79f703a58221
6
+ metadata.gz: 6c59f15225ef73eb3dc066a88eb442a2f3cc64e475ab6c32b8997298d084318d56e994a81f38263ff6bf813a569dcb11d2850374dba0d4bbc86f8ff6c4b87895
7
+ data.tar.gz: 21e79a0a3483a5cbf6a1fbe70508d9d550b38a392c716fe9a23500050c01e42642b2ca1a73cc29708931d92b52375b801c1cf5c8141a6d8395c3536e4c1116f6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Change Log
2
2
 
3
3
 
4
+ ## [5.10.2](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.10.1...v5.10.2) (2024-05-24)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * don't duplicate the error handling done by GoodJob ([#551](https://github.com/honeybadger-io/honeybadger-ruby/issues/551)) ([a0bab0d](https://github.com/honeybadger-io/honeybadger-ruby/commit/a0bab0de01c9782948ff6dd38c88434e71bdfa3d)), closes [#537](https://github.com/honeybadger-io/honeybadger-ruby/issues/537)
10
+
4
11
  ## [5.10.1](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.10.0...v5.10.1) (2024-05-23)
5
12
 
6
13
 
@@ -2,7 +2,7 @@ module Honeybadger
2
2
  module Plugins
3
3
  module ActiveJob
4
4
  # Ignore inline and test adapters, as well as the adapters that we support with their own plugins
5
- EXCLUDED_ADAPTERS = %i[inline test delayed_job faktory karafka resque shoryuken sidekiq sucker_punch].freeze
5
+ EXCLUDED_ADAPTERS = %i[inline test delayed_job faktory karafka resque shoryuken sidekiq sucker_punch]
6
6
 
7
7
  class << self
8
8
  def perform_around(job, block)
@@ -37,7 +37,9 @@ module Honeybadger
37
37
  requirement do
38
38
  defined?(::Rails.application) &&
39
39
  ::Rails.application.config.respond_to?(:active_job) &&
40
- !EXCLUDED_ADAPTERS.include?(::Rails.application.config.active_job[:queue_adapter])
40
+ (queue_adapter = ::Rails.application.config.active_job[:queue_adapter]) &&
41
+ !EXCLUDED_ADAPTERS.include?(queue_adapter.to_sym) &&
42
+ !(defined?(::GoodJob) && ::GoodJob.on_thread_error.nil? && queue_adapter.to_sym == :good_job) # Don't report errors if GoodJob is reporting them
41
43
  end
42
44
 
43
45
  execution do
@@ -1,4 +1,4 @@
1
1
  module Honeybadger
2
2
  # The current String Honeybadger version.
3
- VERSION = '5.10.1'.freeze
3
+ VERSION = '5.10.2'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.10.1
4
+ version: 5.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Honeybadger Industries LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-23 00:00:00.000000000 Z
11
+ date: 2024-05-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Make managing application errors a more pleasant experience.
14
14
  email: