-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add ruby 2.4 support #101
Add ruby 2.4 support #101
Conversation
@jerryk55 Please take a look at the second bullet in the description. We don't need to fix it right away, I can't tell how hard it is to get 2.3 and 2.4 compatibility. |
That's because I think to maintain compatibility you're going to have to do something like this:
|
@jrafanie Where are we with Ruby 2.4 support. I have heard a lot about GC improvements in 2.4 and I would like for this to be the default for gaprindashvili. The sooner we can get it on appliances, the better, IMO. |
c9a9869
to
050a3e6
Compare
ok, this should be good to go when tests pass. Note smartstate code was extracted and the problematic conditional was removed in ManageIQ/manageiq-smartstate#10 |
Checked commit jrafanie@050a3e6 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
👍 |
@chessbyte Please be sure to mark future extractions with Ruby 2.4.1 in the .travis.yml |
* Copied the webmock patch from ManageIQ/manageiq#13104* This code is looking for Bignum and fails on ruby 2.4. Bignum and Fixnum were merged to Integer in ruby 2.4. It doesn't look like can just replace Bignum with Integer. I tried.EDIT: see ManageIQ/manageiq-smartstate#10