A very basic wrapper for the HipChat HTTP API.
client = HipChat::Client.new(api_token)
notify_users = false
client['my room'].send('username', 'A message!', notify_users)
require 'hipchat/capistrano'
set :hipchat_token, "<your token>" set :hipchat_room_name, "Your room" set :hipchat_announce, false # notify users
To determine the user that is currently running the deploy, the capistrano tasks will look for the following:
- The $HIPCHAT_USER environment variable
- The hipchat_human capistrano var.
- The git user.name var.
- The $USER environment variable.
Copyright © 2010 Mojo Tech. See LICENSE for details.