class Dependabot::Requirement
def min_version
def min_version # Select constraints with minimum operators min_constraints = requirements.select { |op, _| MINIMUM_OPERATORS.include?(op) } # Process each minimum constraint using the respective handler effective_min_versions = min_constraints.filter_map do |op, version| handle_min_operator(op, version.is_a?(Dependabot::Version) ? version : Dependabot::Version.new(version)) end # Return the maximum among the effective minimum constraints Dependabot::Version.new(effective_min_versions.max) if effective_min_versions.any? end