lib/rubygems/resolver.rb in rubygems-update-3.2.0.rc.2 vs lib/rubygems/resolver.rb in rubygems-update-3.2.0
- old
+ new
@@ -279,10 +279,10 @@
[
activated.vertex_named(name).payload ? 0 : 1,
amount_constrained(dependency),
conflicts[name] ? 0 : 1,
activated.vertex_named(name).payload ? 0 : search_for(dependency).count,
- i # for stable sort
+ i, # for stable sort
]
end
end
SINGLE_POSSIBILITY_CONSTRAINT_PENALTY = 1_000_000