Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Fixnum reference warning #1172

Merged
merged 2 commits into from
May 12, 2018
Merged

Fix Fixnum reference warning #1172

merged 2 commits into from
May 12, 2018

Conversation

vbrazo
Copy link
Member

@vbrazo vbrazo commented Mar 27, 2018

Since the Ruby-2.4.0 release, Fixnum and Bignum are combined into Integer class. This PR is to fix all Fixnum warnings. Are you interested in learning more? https://bugs.ruby-lang.org/issues/12005

Notice that I added a few RUBY_VERSION if statements, because Travis is testing a few versions of Ruby: 2.1.10, 2.2.7, 2.3.4 and 2.4.1. Otherwise Travis would fail and I wouldn't have gotten the green flag.

I opened an issue #1171 for this PR - take a look at the first bullet point.

@vbrazo vbrazo changed the title Removed Fixnum reference Fix Fixnum reference warning Mar 27, 2018
@vbrazo vbrazo merged commit 991339b into faker-ruby:master May 12, 2018
@vbrazo vbrazo deleted the chores/removed-fixnum-reference branch May 12, 2018 16:45
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant