jruby/jruby — pull request #928 by dmarcotte (2013-07-30 03:02:21+00:00)
Title: More arg-handling improvements for Enumerables

Here's the first follow-up (of probably a few) to #898, getting things even closer to full compatibility for `Enumerable`.

This makes `Enumerable#all`, `#none`, `#one`, and `#find_index` behave to
spec in the case of `#each` yielding multiple values (also untags `#zip_tags` since it's passing).

Note that this fix smells a touch too localized at the moment (what's so special about `CallBlock`'s `yield` that we prep the args there? Isn't it likely that there's other places that need the same treatment?), but as I fix the rest of the Enumerable arg issues, I'm hoping that a good, holistic approach will reveal itself.

(Side note: I see Travis is red at the moment, but you can see a clean run on this branch [here](https://travis-ci.org/dmarcotte/jruby/builds/9630886))