dancroak / webster
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (4)
- Wiki (1)
- Graphs
-
Branch:
master
webster /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Oct 26 11:03:24 -0700 2008 | |
| |
LICENSE | Fri Dec 12 06:56:32 -0800 2008 | |
| |
README.textile | Fri Jan 09 07:00:18 -0800 2009 | |
| |
Rakefile | Fri Jan 09 11:10:59 -0800 2009 | |
| |
init.rb | Fri Nov 28 16:03:14 -0800 2008 | |
| |
lib/ | Thu Jan 08 14:55:36 -0800 2009 | |
| |
shoulda_macros/ | Fri Jan 09 10:55:02 -0800 2009 | |
| |
test/ | Fri Jan 09 10:55:02 -0800 2009 | |
| |
webster.gemspec | Fri Jan 09 11:10:59 -0800 2009 |
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
