lib/honeybadger/plugins/sidekiq.rb in honeybadger-5.15.2 vs lib/honeybadger/plugins/sidekiq.rb in honeybadger-5.15.3
- old
+ new
@@ -126,10 +126,10 @@
if config.load_plugin_insights?(:sidekiq)
require "sidekiq"
require "sidekiq/api"
- if Gem::Version.new(Sidekiq::VERSION) >= Gem::Version.new('6.5')
+ if Gem::Version.new(::Sidekiq::VERSION) >= Gem::Version.new('6.5')
require "sidekiq/component"
class SidekiqClusterCollectionChecker
include ::Sidekiq::Component
def initialize(config)