Adding proxy methods in lazy_array.rb doesn't account for assignment methods
-
Brian Ford
Here's one possible patch.
5c5,7 < ((Array.instance_methods(false) | Enumerable.instance_methods(false)).map { |m| m.to_s } - %w[ taguri= ]).each do |method| --- > proxy_methods = Array.instance_methods(false) | Enumerable.instance_methods(false) > proxy_methods.map! { |name| name.to_s } > proxy_methods.select { |name| name !~ /=$/ }.each do |method| -
Dan Kubb (dkubb)
Brian, I just pushed a fix to extlib a moment ago:
http://github.com/datamapper/ext...
Would you mind giving it a spin and let me know if it resolves this issue for you?
-
Brian Ford
Hi Dan,
Yes, the change loads on Rubinius. Sorry about taking so long to get back to you.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.