Module: Dependabot::UpdateCheckers
- Defined in:
- lib/dependabot/update_checkers.rb,
lib/dependabot/update_checkers/base.rb,
lib/dependabot/update_checkers/go/dep.rb,
lib/dependabot/update_checkers/elixir/hex.rb,
lib/dependabot/update_checkers/go/modules.rb,
lib/dependabot/update_checkers/java/maven.rb,
lib/dependabot/update_checkers/python/pip.rb,
lib/dependabot/update_checkers/rust/cargo.rb,
lib/dependabot/update_checkers/java/gradle.rb,
lib/dependabot/update_checkers/dotnet/nuget.rb,
lib/dependabot/update_checkers/php/composer.rb,
lib/dependabot/update_checkers/ruby/bundler.rb,
lib/dependabot/update_checkers/git/submodules.rb,
lib/dependabot/update_checkers/elm/elm_package.rb,
lib/dependabot/update_checkers/go/dep/file_preparer.rb,
lib/dependabot/update_checkers/go/dep/version_resolver.rb,
lib/dependabot/update_checkers/elixir/hex/file_preparer.rb,
lib/dependabot/update_checkers/java_script/npm_and_yarn.rb,
lib/dependabot/update_checkers/rust/cargo/file_preparer.rb,
lib/dependabot/update_checkers/java/maven/version_finder.rb,
lib/dependabot/update_checkers/elm/elm_package/cli_parser.rb,
lib/dependabot/update_checkers/java/gradle/version_finder.rb,
lib/dependabot/update_checkers/ruby/bundler/file_preparer.rb,
lib/dependabot/update_checkers/ruby/bundler/force_updater.rb,
lib/dependabot/update_checkers/dotnet/nuget/version_finder.rb,
lib/dependabot/update_checkers/elixir/hex/version_resolver.rb,
lib/dependabot/update_checkers/go/dep/requirements_updater.rb,
lib/dependabot/update_checkers/java/maven/property_updater.rb,
lib/dependabot/update_checkers/rust/cargo/version_resolver.rb,
lib/dependabot/update_checkers/go/dep/latest_version_finder.rb,
lib/dependabot/update_checkers/dotnet/nuget/property_updater.rb,
lib/dependabot/update_checkers/php/composer/version_resolver.rb,
lib/dependabot/update_checkers/ruby/bundler/version_resolver.rb,
lib/dependabot/update_checkers/dotnet/nuget/repository_finder.rb,
lib/dependabot/update_checkers/elixir/hex/requirements_updater.rb,
lib/dependabot/update_checkers/java/maven/requirements_updater.rb,
lib/dependabot/update_checkers/python/pip/requirements_updater.rb,
lib/dependabot/update_checkers/rust/cargo/requirements_updater.rb,
lib/dependabot/update_checkers/python/pip/latest_version_finder.rb,
lib/dependabot/update_checkers/dotnet/nuget/requirements_updater.rb,
lib/dependabot/update_checkers/php/composer/requirements_updater.rb,
lib/dependabot/update_checkers/ruby/bundler/requirements_updater.rb,
lib/dependabot/update_checkers/python/pip/poetry_version_resolver.rb,
lib/dependabot/update_checkers/ruby/bundler/latest_version_finder.rb,
lib/dependabot/update_checkers/python/pip/pipfile_version_resolver.rb,
lib/dependabot/update_checkers/ruby/bundler/shared_bundler_helpers.rb,
lib/dependabot/update_checkers/elm/elm_package/requirements_updater.rb,
lib/dependabot/update_checkers/java/gradle/multi_dependency_updater.rb,
lib/dependabot/update_checkers/ruby/bundler/ruby_requirement_setter.rb,
lib/dependabot/update_checkers/elm/elm_package/elm_18_version_resolver.rb,
lib/dependabot/update_checkers/elm/elm_package/elm_19_version_resolver.rb,
lib/dependabot/update_checkers/python/pip/pip_compile_version_resolver.rb,
lib/dependabot/update_checkers/java_script/npm_and_yarn/registry_finder.rb,
lib/dependabot/update_checkers/java_script/npm_and_yarn/library_detector.rb,
lib/dependabot/update_checkers/java_script/npm_and_yarn/version_resolver.rb,
lib/dependabot/update_checkers/java_script/npm_and_yarn/requirements_updater.rb,
lib/dependabot/update_checkers/java_script/npm_and_yarn/latest_version_finder.rb,
lib/dependabot/update_checkers/java_script/npm_and_yarn/subdependency_version_resolver.rb
Defined Under Namespace
Modules: Dotnet, Elixir, Elm, Git, Go, Java, JavaScript, Php, Python, Ruby, Rust
Classes: Base
Class Method Summary
collapse
Class Method Details
.for_package_manager(package_manager) ⇒ Object
35
36
37
38
39
40
|
# File 'lib/dependabot/update_checkers.rb', line 35
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
42
43
44
|
# File 'lib/dependabot/update_checkers.rb', line 42
def self.register(package_manager, update_checker)
@update_checkers[package_manager] = update_checker
end
|