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

Explicitly require ActiveSupport's Hash#except #1088

Merged
merged 1 commit into from Aug 4, 2015

Conversation

wagenet
Copy link
Contributor

@wagenet wagenet commented Aug 4, 2015

This allows Grape to be run with ActiveSupport 3, without Rails.
In ActiveSupport 4, this file ended up being required as a
dependency of active_support/core_ext/object/conversions. Also,
Rails itself includes this file.

@wagenet
Copy link
Contributor Author

wagenet commented Aug 4, 2015

Fixes #1087

@wagenet wagenet mentioned this pull request Aug 4, 2015
@dblock
Copy link
Member

dblock commented Aug 4, 2015

I think there should be a CHANGELOG entry for this, please, via --amend.

@wagenet
Copy link
Contributor Author

wagenet commented Aug 4, 2015

@dblock done

@dblock
Copy link
Member

dblock commented Aug 4, 2015

I am going to be pedantic about this CHANGELOG, apologies :) This fixes running grape with ActiveSupport 3.x, right? Lets write this in the CHANGELOG as that fix?

@wagenet
Copy link
Contributor Author

wagenet commented Aug 4, 2015

@dblock no need to apologize for pedantry :)

This allows Grape to be run with ActiveSupport 3, without Rails.
In ActiveSupport 4, this file ended up being required as a
dependency of `active_support/core_ext/object/conversions`. Also,
Rails itself includes this file.
@wagenet
Copy link
Contributor Author

wagenet commented Aug 4, 2015

@dblock updated again. Fingers crossed :)

@dblock
Copy link
Member

dblock commented Aug 4, 2015

I like it, merging.

dblock added a commit that referenced this pull request Aug 4, 2015
Explicitly require ActiveSupport's Hash#except
@dblock dblock merged commit 52fadb7 into ruby-grape:master Aug 4, 2015
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.

None yet

2 participants