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
8 9 10 11 12 13 |
# File 'lib/dependabot/metadata_finders.rb', line 8 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
15 16 17 |
# File 'lib/dependabot/metadata_finders.rb', line 15 def self.register(package_manager, ) @metadata_finders[package_manager] = end |