Module: Dependabot::MetadataFinders
- Extended by:
- T::Sig
- 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
14 15 16 17 18 19 |
# File 'lib/dependabot/metadata_finders.rb', line 14 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
22 23 24 |
# File 'lib/dependabot/metadata_finders.rb', line 22 def self.register(package_manager, ) @metadata_finders[package_manager] = end |