Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Avoid Fixnum deprecation warning for Ruby 2.4 #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stomar
Copy link

@stomar stomar commented Dec 28, 2016

Ruby 2.4 unifies Fixnum and Bignum into Integer.

For older versions this change would also accept Bignums instead of only Fixnums, but probably it wasn't intended to explicitly disallow Bignum values for max_size (number ranges for Fixnum/Bignum are platform dependent anyway).

@stomar
Copy link
Author

stomar commented Dec 28, 2016

The test failure doesn't seem to be related to the change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant