HomePhorge

(#22363) Fix problem with integer string to Integer on Ruby 1.8.7
f99fc7d9af19Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#22363) Fix problem with integer string to Integer on Ruby 1.8.7

The problem was caused by the logic using the Kernel method
Integer(string, radix) which was introduced in Ruby 1.9.2. We do
not need to pass radix, since the string converted starts with 0, 0x,
or 0X in all cases.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU63ea50e2173a: (#22363) Add relationship test
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUf99fc7d9af19: (#22363) Fix problem with integer string to Integer on Ruby 1.8.7 (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Dec 5 2013, 1:24 AM