-
-
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
Global function definitions pollute Grape::API scope on Ruby 2.3.0 #1348
Labels
Comments
I opened https://bugs.ruby-lang.org/issues/12251, lets at least work-around this. |
cc: @namusyaka, should we just replace this with a Hashie::Mash or something else...? |
dblock
added a commit
to dblock/grape
that referenced
this issue
Apr 6, 2016
dblock
added a commit
to dblock/grape
that referenced
this issue
Apr 6, 2016
dblock
added a commit
to dblock/grape
that referenced
this issue
Apr 7, 2016
dblock
added a commit
that referenced
this issue
Apr 7, 2016
Fix #1348: global functions called during mount.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Global function definitions pollute Grape::API scope on Ruby 2.3.0
This fails on Ruby 2.3.0 with
Thanks to @dylanfareed for the repro, took a while to narrow this down.
The
namespace
function is also defined by Rake, so the most common way of seeing this is withinclude Rake::DSL
which is something that fabricator does, for example.The text was updated successfully, but these errors were encountered: