|
|
|
[
Permlink
| « Hide
]
Dudley Flanders - 25/Oct/07 02:09 PM
Here's a patch that works for the specific case where you're passing in a File object (or anything that responds_to "path"). MRI calls to_io and then fstat on the IO object's file descriptor, so this isn't 100% compatible, but it is slightly closer than just accepting strings.
Confirmed, this is still broken. I think the approach we need is to add specs for where to_io is supposed to be called to the rubyspecs and fix from there. No one-shot hacks, sorry
Marking as broken in 1.1.1 to keep it fresh. |
|||||||||||||||||||||||||||||||||||||||||||||||||||