Skip to content

Commit

Permalink
introduce sriedel's awesome job
Browse files Browse the repository at this point in the history
  • Loading branch information
flyerhzm committed Jun 26, 2010
1 parent 347e339 commit 997a017
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ h2. Links

h2. Contributors

sriedel did a lot of awesome refactors, added xmpp notification support, and added Hacking.textile about how to extend to bullet plugin.
flipsasser added Growl, console.log and Rails.log support, very awesome. And he also improved README.
rainux added group style console.log.
2collegebums added some great specs to generate red bar.
Expand Down
17 changes: 17 additions & 0 deletions README_for_rails2.textile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ There is a large refactor from gem 1.4 to 1.5, so if you upgrade to 1.5 gem, ple

h2. Contributors

sriedel did a lot of awesome refactors, added xmpp notification support, and added Hacking.textile about how to extend to bullet plugin.
flipsasser added Growl, console.log and Rails.log support, very awesome. And he also improved README.
rainux added group style console.log.
2collegebums added some great specs to generate red bar.
Expand Down Expand Up @@ -52,6 +53,10 @@ config.after_initialize do
Bullet.growl = true
Bullet.rails_logger = true
Bullet.disable_browser_cache = true
Bullet.xmpp = { :account => 'bullets_account@jabber.org',
:password => 'bullets_password_for_jabber',
:receiver => 'your_account@jabber.org',
:show_online_status => true }
end
</code></pre>

Expand All @@ -64,6 +69,18 @@ It is recommended to config growl notification as follows if your collaborators
end
</code></pre>

and similarly for XMPP:
<pre><code>
begin
require 'xmpp4r'
Bullet.xmpp = { :account => 'bullets_account@jabber.org',
:password => 'bullets_password_for_jabber',
:receiver => 'your_account@jabber.org',
:show_online_status => true }
rescue MissingSourceFile
end
</code></pre>

The code above will enable all five of the Bullet notification systems:
* <code>Bullet.enable</code>: enable Bullet plugin/gem, otherwise do nothing
* <code>Bullet.alert</code>: pop up a JavaScript alert in the browser
Expand Down

0 comments on commit 997a017

Please sign in to comment.