SimpleGravatar Build Status Code Climate

Add gravatars to your ruby project as simple as possible.

Installation

Add it to your Gemfile and run the bundle command:

gem 'simple_gravatar'

Getting started

In rails, you can add gravatars just using the gravatar_url helper method:

<%= image_tag gravatar_url('[email protected]') %>

Available options

All available options are the specified by Gravatar API documentation.

Contributing

  1. Fork it
  2. Create a branch (git checkout -b my_awesome_branch)
  3. Commit your changes (git commit -am "Added some magic")
  4. Push to the branch (git push origin my_awesome_branch)
  5. Send pull request