Class: Dependabot::Swift::UpdateChecker::VersionResolver
- Inherits:
-
Object
- Object
- Dependabot::Swift::UpdateChecker::VersionResolver
- Defined in:
- lib/dependabot/swift/update_checker/version_resolver.rb
Instance Method Summary collapse
-
#initialize(dependency:, manifest:, lockfile:, repo_contents_path:, credentials:) ⇒ VersionResolver
constructor
A new instance of VersionResolver.
- #latest_resolvable_version ⇒ Object
Constructor Details
#initialize(dependency:, manifest:, lockfile:, repo_contents_path:, credentials:) ⇒ VersionResolver
Returns a new instance of VersionResolver.
12 13 14 15 16 17 18 |
# File 'lib/dependabot/swift/update_checker/version_resolver.rb', line 12 def initialize(dependency:, manifest:, lockfile:, repo_contents_path:, credentials:) @dependency = dependency @manifest = manifest @lockfile = lockfile @credentials = credentials @repo_contents_path = repo_contents_path end |
Instance Method Details
#latest_resolvable_version ⇒ Object
20 21 22 |
# File 'lib/dependabot/swift/update_checker/version_resolver.rb', line 20 def latest_resolvable_version @latest_resolvable_version ||= fetch_latest_resolvable_version end |