Module: Dependabot::MetadataFinders

Defined in:
lib/dependabot/metadata_finders.rb,
lib/dependabot/metadata_finders/base.rb,
lib/dependabot/metadata_finders/base/commits_finder.rb,
lib/dependabot/metadata_finders/base/release_finder.rb,
lib/dependabot/metadata_finders/base/changelog_finder.rb,
lib/dependabot/metadata_finders/base/changelog_pruner.rb

Defined Under Namespace

Classes: Base

Class Method Summary collapse

Class Method Details

.for_package_manager(package_manager) ⇒ Object



7
8
9
10
11
12
# File 'lib/dependabot/metadata_finders.rb', line 7

def self.for_package_manager(package_manager)
   = @metadata_finders[package_manager]
  return  if 

  raise "Unsupported package_manager #{package_manager}"
end

.register(package_manager, metadata_finder) ⇒ Object



14
15
16
# File 'lib/dependabot/metadata_finders.rb', line 14

def self.register(package_manager, )
  @metadata_finders[package_manager] = 
end