mojotech/hipchat — pull request #7 by colszowka (2011-10-18 19:53:10+00:00)
Title: Allow to set color for messages

I've added support to set text color according to the HipChat API docs at https://www.hipchat.com/docs/api/method/rooms/message

To achieve this, I had to switch the third argument of the send method to be an options hash that accepts the :notify and :color keys, defaulting to false and 'yellow' respectively.

The old-style API is still working by explicitly working around the API change inside the method. I've added a deprecation warning but commented it so you guys can figure out if you want it or not.

Specs for various option variations added, too. The first commit is actually the one where the meat is, the other two just are some README reformatting since I didn't want to bother compiling the textile format locally, sorry for being lazy :)