jimweirich/rake — pull request #95 by sgronblo (2011-12-11 11:05:17+00:00)
Title: Add default for deprecate call site

I made a simpler fix for this using the github editor just a few minutes ago in the branch patch-1. But then I figured it would be better to solve the problem by making caller[1] the default value. This won't always work, but it should avoid mistakes like using __FILE__ for the most common cases where caller.first is the right parameter.