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

Replace deprecated Fixnum with Integer #1051

Merged
merged 1 commit into from
Jan 19, 2019
Merged

Conversation

treydock
Copy link
Collaborator

Pull Request Checklist

Description

Replace Fixnum with Integer.

Motivation and Context

Ruby 2.4 deprecated Fixnum in favor of Integer. All versions of Puppet supported use versions of Ruby that produce deprecation warnings with Fixnum:

/etc/puppetlabs/code/environments/production/modules/sensu/lib/puppet/parser/functions/sensu_sorted_json.rb:74: warning: constant ::Fixnum is deprecated

https://blog.bigbinary.com/2016/11/18/ruby-2-4-unifies-fixnum-and-bignum-into-integer.html

@ghoneycutt ghoneycutt merged commit e3c1de1 into sensu:master Jan 19, 2019
@ghoneycutt
Copy link
Collaborator

Thank you!

Released in v2.62.2

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.

2 participants