Commit b346be6d by tady

encode hip chat room for travis

parent f8f7823e
module HipchatIntegration
# Call Hipchat API
def notify_hipchat!
require 'uri'
return if is_draft
client = HipChat::Client.new(Settings.hipchat.token)
client[Settings.hipchat.room].send('Rendezvous', notify_hipchat_body, message_format: 'text', notify: 1)
room = URI.unescape(Settings.hipchat.room)
client[room].send('Rendezvous', notify_hipchat_body, message_format: 'text', notify: 1)
end
# @return [String] notification body
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment