Module: Dependabot::UpdateCheckers
- Defined in:
- lib/dependabot/update_checkers.rb,
lib/dependabot/update_checkers/base.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/update_checkers.rb', line 7 def self.for_package_manager(package_manager) update_checker = @update_checkers[package_manager] return update_checker if update_checker raise "Unsupported package_manager #{package_manager}" end |
.register(package_manager, update_checker) ⇒ Object
14 15 16 |
# File 'lib/dependabot/update_checkers.rb', line 14 def self.register(package_manager, update_checker) @update_checkers[package_manager] = update_checker end |