Introducing quoth: a random wikiquote gem

I just released quoth: a ruby gem that displays pseudo random wikiquotes on demand.

I really like the wikiquote gem, but it only retrieves the wikiquote of the day, so you’ll only ever run it once a day (or else see the same thing over and over again). Quoth displays a random quote from the entire wikiquote archive.


$ gem install quoth
$ quoth

The time is always right to do what is right ~ Martin Luther King, Jr.


$ irb
>> require 'quoth'
=> true
>> Quoth.get
=> "I like a huge range of comedy — from broad and farcical, the most sensitive, the most understated — but I always wanted my comedy to be more embracing of the species rather than debasing of it. ~ Lily Tomlin"
>> Quoth.refresh_quotes
=> "Successfully refreshed quotes from"

I’ll write soon about how you can use this gem in your automated testing. You can check out the source code on github. Enjoy!

Author: Alister Scott

Alister is an Excellence Wrangler for Automattic.