github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

dancroak / webster

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 33
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (4)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (4)
    • v0.4.7
    • v0.4.3
    • v0.4.2
    • v0.4.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Generate random short, non-offensive words. Good for human-readable confirmation codes. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

bumping the gemspec to 0.4.9 
dancroak (author)
Fri Jan 09 11:10:59 -0800 2009
commit  09087e5d10ee950513018794f81f36ccd875eba9
tree    405d66c091332d291c61df3d2f51caae168839ab
parent  dbc49e62357affa1076bbccc08ae4ebf7d3b0152
webster /
name age
history
message
file .gitignore Sun Oct 26 11:03:24 -0700 2008 creating short README [dancroak]
file LICENSE Fri Dec 12 06:56:32 -0800 2008 adding jared to contributors, README, and License [dancroak]
file README.textile Fri Jan 09 07:00:18 -0800 2009 updating README to reflect return to Webster as... [dancroak]
file Rakefile Fri Jan 09 11:10:59 -0800 2009 bumping the gemspec to 0.4.9 [dancroak]
file init.rb Fri Nov 28 16:03:14 -0800 2008 adding should_be_webster_word shoulda macro [dancroak]
directory lib/ Thu Jan 08 14:55:36 -0800 2009 converted Webster from a module into a class, r... [jareCare]
directory shoulda_macros/ Fri Jan 09 10:55:02 -0800 2009 refactored test to use shoulda macro [jareCare]
directory test/ Fri Jan 09 10:55:02 -0800 2009 refactored test to use shoulda macro [jareCare]
file webster.gemspec Fri Jan 09 11:10:59 -0800 2009 bumping the gemspec to 0.4.9 [dancroak]
README.textile

Webster

Generate random short words. Good for human-readable confirmation codes.

Install

sudo gem install dancroak-webster —source=http://gems.github.com

Usage

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” end

Authors

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

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server