HomePhorge

(PUP-1619) Fix problems with Ruby 1.8.7 Range min/max & Infinity
e1d378dd341fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1619) Fix problems with Ruby 1.8.7 Range min/max & Infinity

Billions of blue blistering boiled and barbecued barnacles, the
Ruby 1.8.7 implementation of Range min/max is based on Enumeration.
This does not work well when the range has +/- Infinity at one of
the ends. There is probably a "break" when it reaches Infinity...

*sign*

This commit changes the implementation from using a Range to using
an Array instead of a Range.

Details

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUe1d378dd341f: (PUP-1619) Fix problems with Ruby 1.8.7 Range min/max & Infinity (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Feb 11 2014, 3:39 AM