compatible with newer versions of cache_digets_gem
adds a rakefile
Merged in upstream changes.