A ruby interface for the Libravatar service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Anton Smirnov 165315e78e Update home link in gemspec 3 months ago
bin * add console 3 years ago
docs links -> badges 6 months ago
lib * add console 3 years ago
spec change code coverage check to new scheme 2 years ago
.gitignore Ignore ide configs, cleanup gitignore 6 months ago
.hound.yml hound & rubocop configs 3 years ago
.jrubyrc enable debug mode in jruby 3 years ago
.rspec moar badges 3 years ago
.rubocop.yml * add console 3 years ago
.ruby-version hound & rubocop configs 3 years ago
.travis.yml * Do not test in jruby 1 year ago
CHANGELOG.md Add changelog from Github releases 1 year ago
Gemfile prepare updated version and spec 3 years ago
LICENSE.txt fork cleanup: 3 years ago
README.md Update doc link 3 months ago
Rakefile prepare updated version and spec 3 years ago
vishnu.gemspec Update home link in gemspec 3 months ago

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:  '[email protected]').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/ruby/vishnu.html

License

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