Package: ruby-rgen / 0.7.0-1

Metadata

Package Version Patches format
ruby-rgen 0.7.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Use a value larger than Fixnum max to test Bignum su.patch | (download)

test/metamodel_builder_test.rb | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use a value larger than fixnum max to test bignum support.

On 64 bit system the previous test value 1234567890 still fits in a Fixnum
so the tests will fail. Use a dynamically calculated value instead to ensure
that the value will force a Bignum in all cases.

Fixnum maximum calculation from
http://stackoverflow.com/questions/535721/ruby-max-integer