Module: Dependabot::UpdateCheckers
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/update_checkers.rb,
lib/dependabot/update_checkers/base.rb,
lib/dependabot/update_checkers/version_filters.rb
Defined Under Namespace
Modules: VersionFilters
Classes: Base
Class Method Summary
collapse
Class Method Details
.for_package_manager(package_manager) ⇒ Object
14
15
16
17
18
19
|
# File 'lib/dependabot/update_checkers.rb', line 14
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
22
23
24
|
# File 'lib/dependabot/update_checkers.rb', line 22
def self.register(package_manager, update_checker)
@update_checkers[package_manager] = update_checker
end
|