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

Ruby 2.4 - Replace all Fixnum|Bignum #15987

Merged
merged 1 commit into from
Sep 20, 2017

Conversation

chrisarcand
Copy link
Member

Both are deprecated in favor of Integer

https://bugs.ruby-lang.org/issues/12005

@chrisarcand
Copy link
Member Author

I don't know if this should be backported to Fine or not. Maybe?

@miq-bot
Copy link
Member

miq-bot commented Sep 18, 2017

Checked commit chrisarcand@0c21d70 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
12 files checked, 0 offenses detected
Everything looks fine. 🍪

@Fryguy
Copy link
Member

Fryguy commented Sep 19, 2017

So, @jrafanie had started a top-level issue that brought these kinds of things together. As such, let's use that to coordinate merges of these kinds of changes because we need to ensure that we support 2.2 and 2.3 until some designated switchover date, when we plan to drop support of 2.2 and only support 2.3 and 2.4.

@Fryguy
Copy link
Member

Fryguy commented Sep 19, 2017

I don't know if this should be backported to Fine or not. Maybe?

I don't expect we would go back to an old release to and bump the Ruby version there, so no.

@chrisarcand
Copy link
Member Author

So, @jrafanie had started a top-level issue that brought these kinds of things together. As such, let's use that to coordinate merges of these kinds of changes because we need to ensure that we support 2.2 and 2.3 until some designated switchover date, when we plan to drop support of 2.2 and only support 2.3 and 2.4.

#14446

Yup. Just laying the groundwork; this PR is 100% compatible with Ruby 2.3

@Fryguy
Copy link
Member

Fryguy commented Sep 20, 2017

Is it compatible with Ruby 2.2? If so, I can just merge now

@chrisarcand
Copy link
Member Author

@Fryguy Yup, totally compatible with 2.2.

@Fryguy Fryguy merged commit 0bddb46 into ManageIQ:master Sep 20, 2017
@Fryguy Fryguy added this to the Sprint 70 Ending Oct 2, 2017 milestone Sep 20, 2017
@Fryguy Fryguy assigned Fryguy and unassigned jrafanie Sep 20, 2017
@@ -912,7 +912,7 @@
:mem_minimum: 32.megabytes
:reporting:
:format_by_class:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WAT. I smell a deletion... It's mine!

jrafanie added a commit to jrafanie/manageiq that referenced this pull request Sep 20, 2017
Many years ago their usage was removed from the generic server settings and migrated in a way to each report's settings...

commit 73ac8da10e3bc0eed2abc471ca89adce222f0700
Author: <REDACTED>
Date:   Wed Dec 16 21:20:47 2009 +0000

    -Changed args in format method to take an options hash instead of format as the last arg to allow passing additional options such as time zone.
    -Updated callers of format method.
    -Support for passing in :_default_ as format value to force default lookup of format and not look in report object.
    -Added support for date, time and datetime formats.
    BugzID: 7453

    git-svn-id: http://miq-ubuntusub.manageiq.com/svn/svnrepos/Manageiq/trunk@17795 3c68ef56-dcc3-11dc-9475-a42b84ecc76f

Seen when reviewing: ManageIQ#15987
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.

4 participants