Skip to content
A ruby interface for the Libravatar service
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
docs
lib
spec
.gitignore
.hound.yml
.jrubyrc
.rspec
.rubocop.yml
.ruby-version
.travis.yml
CHANGELOG.md
Gemfile
LICENSE.txt
README.md
Rakefile
vishnu.gemspec

README.md

Vishnu

Gem license Travis

Vishnu is a simple library to use Libravatar avatars in your ruby app.

Libravatar is an avatar service to let their users associate avatar images with their emails or openids. This rubygem generates their avatar URL.

Installation

Add the following line to your Gemfile:

gem 'vishnu'

Or if you want to register Libravatar alias, then:

gem 'vishnu', require: 'libravatar'

Simple Usage

Vishnu.new(email:  'someone@example.com').url   # get avatar for email
Vishnu.new(openid: 'https://example.com').url   # get avatar for OpenID URL

Documentation

Read full documentation here: https://sandfox.dev/vishnu.html

License

Licensed under the MIT License. See LICENSE.txt for further details.

You can’t perform that action at this time.