Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
components
doc
lib
spec
.gitignore
.rspec
.rvmrc
Gemfile
Guardfile
LICENSE
README.md
Rakefile
cheers.gemspec

README.md

Cheers

Cheers randomly generates user avatars from a set of colors and image components.

Example Avatar #1Example Avatar #2Example Avatar #3Example Avatar #4Example Avatar #5

Example Avatar #6Example Avatar #7Example Avatar #8Example Avatar #9Example Avatar #10

Example Avatar #11Example Avatar #12Example Avatar #13Example Avatar #14Example Avatar #15

Example Avatar #16Example Avatar #17Example Avatar #18Example Avatar #19Example Avatar #20

Installation

Add this line to your application's Gemfile:

gem 'cheers'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cheers

Usage

require 'cheers'

avatar = Cheers::Avatar.new("martins@eet.nu")
avatar.avatar_file("avatar.png")

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.