class Bundler::SelfManager
def find_latest_matching_spec(requirement)
def find_latest_matching_spec(requirement) local_result = find_latest_matching_spec_from_collection(local_specs, requirement) return local_result if local_result && requirement.specific? remote_result = find_latest_matching_spec_from_collection(remote_specs, requirement) return remote_result if local_result.nil? [local_result, remote_result].max end