Class: Dependabot::GitSubmodules::UpdateChecker
- Inherits:
-
UpdateCheckers::Base
- Object
- UpdateCheckers::Base
- Dependabot::GitSubmodules::UpdateChecker
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/git_submodules/update_checker.rb
Instance Method Summary collapse
- #latest_resolvable_version ⇒ Object
- #latest_resolvable_version_with_no_unlock ⇒ Object
- #latest_version ⇒ Object
- #updated_requirements ⇒ Object
Instance Method Details
#latest_resolvable_version ⇒ Object
27 28 29 30 |
# File 'lib/dependabot/git_submodules/update_checker.rb', line 27 def latest_resolvable_version # Resolvability isn't an issue for submodules. latest_version end |
#latest_resolvable_version_with_no_unlock ⇒ Object
33 34 35 36 |
# File 'lib/dependabot/git_submodules/update_checker.rb', line 33 def latest_resolvable_version_with_no_unlock # No concept of "unlocking" for submodules latest_version end |
#latest_version ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/dependabot/git_submodules/update_checker.rb', line 18 def latest_version @latest_version ||= T.let( fetch_latest_version, T.nilable(T.any(String, Dependabot::Version)) ) end |
#updated_requirements ⇒ Object
39 40 41 42 43 |
# File 'lib/dependabot/git_submodules/update_checker.rb', line 39 def updated_requirements # Submodule requirements are the URL and branch to use for the # submodule. We never want to update either. dependency.requirements end |