= pyre
by Christopher Shea ([email protected])
http://pyre.rubyforge.org/

== DESCRIPTION:

Pyre is a library for interacting with Campfire, the web-based group chat site from 37signals.

Pyre owes a great deal of debt to Tinder (http://tinder.rubyforge.org)

== FEATURES/PROBLEMS:

Features:
* Speak in a Campfire room!
* Paste in a Campfire room!
* More reliable determination of whether your login was successful than Tinder!

Problems:
* No public tests (I have them on my box, but you can't see them (passwords!))
* No listening (yet)

Patches awfully welcome.

== SYNOPSIS:

require 'rubygems'
require 'pyre'

Pyre::Campfire.new('pyre') do |campfire|
campfire.login('[email protected]', 'anactualpassword')
campfire.room('Pyre Test') do |room|
room.speak("Nested blocks. Is there nothing you CAN'T do?")
room.paste('svn commit message!') # For example.
end
end

== REQUIREMENTS:

* mechanize (WWW::Mechanize)

== INSTALL:

sudo gem install pyre

You can also grab the current trunk from http://pyre.rubyforge.org/svn/pyre/trunk

== MORE:

Check out the contrib directory for example scripts you can use, like a stylish
Subversion post-commit hook that shoots a nice-looking message to a Campfire room.

== LICENSE:

(The MIT License)

Copyright (c) 2008

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.