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

Support ruby 2.4 #1543

Merged
merged 2 commits into from
Dec 28, 2016
Merged

Support ruby 2.4 #1543

merged 2 commits into from
Dec 28, 2016

Conversation

namusyaka
Copy link
Contributor

Fixnum is deprecated now, so I guess we should drop Fixnum and use Integer instead.
@dblock @dm1try Thoughts?

@dblock
Copy link
Member

dblock commented Dec 27, 2016

Support for Ruby 2.4 will have to be called out in README and CHANGELOG since it doesn't work out of the box.

@@ -7,6 +7,16 @@ matrix:
- rvm: 2.3.3
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right. Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@LeFnord
Copy link
Member

LeFnord commented Dec 27, 2016

👍 … thanks

#=> Integer in ruby 2.4
#=> Fixnum in earlier ruby versions
```

Copy link
Contributor Author

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).
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added @LeFnord .

@LeFnord
Copy link
Member

LeFnord commented Dec 28, 2016

… it seems, it could be mörged …

Copy link
Member

@dm1try dm1try left a 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
Copy link
Member

Choose a reason for hiding this comment

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

How clever!

@dblock dblock merged commit a29fa63 into master Dec 28, 2016
@dblock
Copy link
Member

dblock commented Dec 28, 2016

Merged.

@namusyaka namusyaka deleted the support-ruby-2.4 branch December 28, 2016 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants