jd-erreape/time-bank — pull request #4 by jd-erreape (2013-06-15 15:26:00+00:00)
Title: [WIP] Added Avatar model (also included mocha gem)

I've added a model to retrieve an avatar for a user.

The model check if the object passed as user has an 'avatar_url' field, if so, it returns this avatar_url.

Otherwise, it try to load the gravatar image from gravatar.com.

If nothing above is successful it returns a default avatar image.