You need to sign in or sign up before continuing.
Fix for disjunctions of equalities
What does this MR do?
Fix version_sat?
to support disjunctions of equalities, like =1.0.0 || =2.0.0
(gem syntax).
join_if_possible
is forced to false
when initializing a VersionRange
similar to what we do in specs for disjunctions.
Example: https://gitlab.com/gitlab-org/ruby/gems/semver_dialects/-/blob/ab31ee1b3b090285e2e14511d55c20b717371969/spec/unit/version_range_spec.rb#L33
What are the relevant issue numbers?
gitlab-org/gitlab#386070 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for this project, if necessary -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Security reports checked/validated by reviewer
Edited by Fabien Catteau