-
Notifications
You must be signed in to change notification settings - Fork 13
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
Celluloid actors #24
Comments
This is definitely an issue with Celluloid, because they overwrite Ruby's standard reflection, without preserving the old interface. The fix is rather trivial (Celluloid::Method just needs to respond to name and parameters). Would you like to create the pull request to Celluloid, or should I? |
But when you or library will modify Hey developer! Bogus depends on original Method object and probably this object has been modified which can cause problems Or something like that :)
Yes I will create pull request to |
I created pull request for Celluloid celluloid/celluloid#300 |
Thanks for the workaround LTe. First day yesterday using both celluloid and bogus I got hit by this. |
I have problem with
Bogus
andCelluloid
. Bogus expects thatMethod
object will be respond toname
method. ButCelluloid::Method
does not respond for this method.How to reproduce:
And we can execute spec for that
I created workaround for that: https://github.com/LTe/dht/blob/master/spec/support/celluloid_method.rb
Solutions:
The text was updated successfully, but these errors were encountered: