
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Ruby DSL for Gravatar profile and images.
Again I'll repeat that it's a "Ruby DSL for "Gravatar":http://en.gravatar.com profile and images."
create a dependency in your Gemfile
gem 'avataree'
then run
bundle install
and you avataree will be up and running.
yeah that sound's a good question.
in your controller
for fetching gravatar image
gravatar(email)
here are options and there possible values:
Options | What value do they take |
---|---|
:extension | extension of image to be fetched(default => jpg) |
:secure | boolean to/not to use https scheme (default => false) |
:s or :size | size of image (e.g 100x100) (default => 80x80) |
:d or :default | default image to be used(e.g. 404, mm, identicon ..) |
:f or :forcedefault | takes 'y' or 'n' as argument. always force to load default image |
:r or :rating | image rating (e.g. g, pg, r, x) |
for fetching gravatar profile
gravatar_profile(email)
Options | What value do they take |
---|---|
:secure | boolean to/not to use https scheme (default => false) |
Credit for this gem goes to Gravatar team for making such a awesome application.
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
Fork, Implement and then send across a pull request.
Copyright (c) 2010 [Bagwan Pankaj]. See LICENSE.txt for further details.
FAQs
Unknown package
We found that avataree demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.