Socket
Book a DemoInstallSign in
Socket

avataree

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avataree

0.6.4
bundlerRubygems
Version published
Maintainers
1
Created
Source

Avataree

Build Status Gem Version

Ruby DSL for Gravatar profile and images.

What is it?

Again I'll repeat that it's a "Ruby DSL for "Gravatar":http://en.gravatar.com 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)

here are options and there possible values:

OptionsWhat value do they take
:extensionextension of image to be fetched(default => jpg)
:secureboolean to/not to use https scheme (default => false)
:s or :sizesize of image (e.g 100x100) (default => 80x80)
:d or :defaultdefault image to be used(e.g. 404, mm, identicon ..)
:f or :forcedefaulttakes 'y' or 'n' as argument. always force to load default image
:r or :ratingimage rating (e.g. g, pg, r, x)

for fetching gravatar profile

gravatar_profile(email)
OptionsWhat value do they take
:secureboolean to/not to use https scheme (default => false)

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":http://bagwanpankaj.com

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

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

Contributing to avataree

Fork, Implement and then send across a pull request.

Copyright (c) 2010 [Bagwan Pankaj]. See LICENSE.txt for further details.

FAQs

Package last updated on 26 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.