This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
webster /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Oct 26 11:03:24 -0700 2008 | |
| |
LICENSE | ||
| |
README.textile | ||
| |
Rakefile | ||
| |
init.rb | Fri Nov 28 16:03:14 -0800 2008 | |
| |
lib/ | ||
| |
shoulda_macros/ | ||
| |
test/ | ||
| |
webster.gemspec |
README.textile
Webster
Generate random short words. Good for human-readable confirmation codes.
Install
sudo gem install dancroak-webster —source=http://gems.github.comUsage
require ‘rubygems’ require ‘webster’ webster = Webster.new webster.random_word => “spoonless”Shoulda macro
context “Subscription#activation_code” do setup do subscription = Factory :subscription @word = subscription.set_activation_code end should_be_webster_word “@word” endAuthors
Webster was written for Umbrella Today? by thoughtbot. It was extracted into a stand-alone Ruby gem by Dan Croak & Jared Carroll.
License
MIT License, same terms as Ruby








