BOSSMan: Yahoo BOSS gem

Yahoo BOSS is an API that allows for use of search results from
Yahoo's search index with very little restrictions. I've put together
a quick gem for handling interaction with it.

There's sample code included in the gem and full output details in the
README. Feedback on this would be great, thanks!

http://github.com/jpignata/bossman-gem

To install:

$ gem sources -a http://gems.github.com
$ gem install jpignata-bossman

Sample code:

require 'rubygems'
require 'bossman'

include BOSSMan

BOSSMan.application_id = [Your Application ID]

news = BOSSMan::Search.news("Barack Obama", 0, 3)

news.results.each do |result|
puts "#{result.title} [from #{result.source}]"
puts "-" * 80
puts "#{result.abstract}"
puts
end

Output:

$ ruby obama.rb
Barack Obama hails 'patriot' John McCain, blasts GOP energy plan [from
Boston Herald]