-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support ruby 2.4 #1543
Support ruby 2.4 #1543
Conversation
Support for Ruby 2.4 will have to be called out in README and CHANGELOG since it doesn't work out of the box. |
3b41eeb
to
8eaf3af
Compare
8eaf3af
to
5d0aeb9
Compare
@@ -7,6 +7,16 @@ matrix: | |||
- rvm: 2.3.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please can you change it to 2.4.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
👍 … thanks |
5d0aeb9
to
1828fde
Compare
1828fde
to
96fd175
Compare
#=> Integer in ruby 2.4 | ||
#=> Fixnum in earlier ruby versions | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added Integer/Fixnum and Corcions section. Could you review this ?
|
||
* [#1536](https://github.com/ruby-grape/grape/pull/1536): Updates `invalid_versioner_option` translation - [@Lavode](https://github.com/Lavode). | ||
* [#1543](https://github.com/ruby-grape/grape/pull/1543): Support ruby 2.4 - [@LeFnord](https://github.com/LeFnord), [@namusyaka](https://github.com/namusyaka). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added @LeFnord .
… it seems, it could be mörged … |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me :)
module Spec | ||
module Support | ||
module Helpers | ||
INTEGER_CLASS_NAME = 0.to_i.class.to_s.freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How clever!
Merged. |
Fixnum is deprecated now, so I guess we should drop Fixnum and use Integer instead.
@dblock @dm1try Thoughts?