<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,6 +19,7 @@ data
   - password
   - room
   - ssl
+  - play_sound
 
 payload
   - refer to docs/github_payload</diff>
      <filename>docs/campfire</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,7 @@ service :campfire do |data, payload|
   branch     = payload['ref'].split('/').last
   commits    = payload['commits']
   campfire   = Tinder::Campfire.new(data['subdomain'], :ssl =&gt; data['ssl'].to_i == 1)
+  play_sound = data['play_sound'].to_i == 1
 
   throw(:halt, 400) unless campfire &amp;&amp; campfire.login(data['email'], data['password'])
   throw(:halt, 400) unless room = campfire.find_room_by_name(data['room'])
@@ -16,6 +17,7 @@ service :campfire do |data, payload|
       room.speak &quot;[#{repository}/#{branch}] #{commit['message']} - #{commit['author']['name']} (#{commit['url']})&quot;
     end
   end
+  room.speak &quot;/play rimshot&quot; if play_sound
 
   room.leave
   campfire.logout</diff>
      <filename>services/campfire.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9d724f4acbddc44954a26114130f84a4eafac946</id>
    </parent>
  </parents>
  <author>
    <name>Yaroslav Markin</name>
    <email>yaroslav@markin.net</email>
  </author>
  <url>http://github.com/yaroslav/github-services/commit/e02c49660a46aca3d32f2f14b3298de85276059b</url>
  <id>e02c49660a46aca3d32f2f14b3298de85276059b</id>
  <committed-date>2009-10-27T15:22:51-07:00</committed-date>
  <authored-date>2009-10-27T15:22:51-07:00</authored-date>
  <message>Campfire integration: add play_sound option that orders bot to play a rimshot after listing all commits</message>
  <tree>97e4688580c9977fe718d42576d0c659115ec429</tree>
  <committer>
    <name>Yaroslav Markin</name>
    <email>yaroslav@markin.net</email>
  </committer>
</commit>
