0.0
No commit activity in last 3 years
No release in over 3 years
Adds tasks to aid in the hipchat notifications
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

mina_hipchat

mina_hipchat is a gem that adds tasks for sending notifications to [HipChat] (http://hipchat.com/) using [Mina] (http://nadarei.co/mina).

Installation

gem install mina_hipchat

Usage example

require 'mina_hipchat/tasks'
...
# Required mina_hipchat options
set :hipchat_auth_token, 'xxxyyyzzz'
set :hipchat_rooms, ['Company']

task :deploy do
  deploy do
    invoke :'hipchat:notify_deploy_started'
    ...

    to :launch do
      ...
      invoke :'hipchat:notify_deploy_finished'
    end
  end
end

Available Tasks

  • hipchat:notify_deploy_started
  • hipchat:notify_deploy_finished

Available Options

Option Description
hipchat_auth_token* Sets the hipchat api auth token.
hipchat_rooms* Sets the rooms where notifications will be sent to.
hipchat_from Sets the notification 'from' user label.
hipchat_author Sets the deployment author name,
hipchat_colors Sets the notification colors.

* required options

Todo

  • Write some tests
  • Make code more DRY

Copyright

Copyright (c) 2014 Mike Bajur http://github.com/mbajur

See LICENSE for further details.