module Dependabot
rubocop:disable Metrics/ClassLength
rubocop:disable Metrics/ClassLength
TODO: in due course, these “registries” should live in a wrapper gem, not
dependabot-core.
Constants
- VERSION
Public Class Methods
instrument(name, payload = {})
click to toggle source
# File lib/dependabot/notifications.rb, line 10 def self.instrument(name, payload = {}) ActiveSupport::Notifications.instrument(name, payload) end
logger()
click to toggle source
# File lib/dependabot/logger.rb, line 6 def self.logger @logger ||= Logger.new(nil) end
logger=(logger)
click to toggle source
# File lib/dependabot/logger.rb, line 10 def self.logger=(logger) @logger = logger end
subscribe(pattern = nil, callback = nil, &block)
click to toggle source
# File lib/dependabot/notifications.rb, line 14 def self.subscribe(pattern = nil, callback = nil, &block) ActiveSupport::Notifications.subscribe(pattern, callback, &block) end