Avataree

Ruby DSL for Gravatar profile and images.

Can be used in Sinatra, Rails or Standalone.

What is it?

Again I’ll repeat that it’s a “Ruby DSL for Gravatar profile and images.”

Getting Started

create a dependency in your Gemfile

gem 'avataree'

then run

bundle install

and you avataree will be up and running.

How to use It

yeah that sound’s a good question.

in your controller

for fetching gravatar image

gravatar(email)

for fetching gravatar profile

gravatar_profile(email)

Credits

Credit for this gem goes to Gravatar team for making such a awesome application.

More Info

For detailed info visit my blog http://BagwanPankaj.com

For more info write me at bagwanpankaj[at]gmail.com or me[at]bagwanpankaj.com

Copyright © 2010 Bagwan Pankaj: http://bagwanpankaj.com, released under the MIT license

Contributing to avataree

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet
  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright

Copyright © 2010 [Bagwan Pankaj]. See LICENSE.txt for further details.