Make push event notifications (email) display display the correct number of commits...
authorMarius Mathiesen <marius@shortcut.no>
Fri, 15 Jan 2010 12:01:39 +0000 (13:01 +0100)
committerMarius Mathiesen <marius@shortcut.no>
Fri, 15 Jan 2010 12:01:39 +0000 (13:01 +0100)
commitcab933cecfb9daf0f79251403ff79e6110c93a03
treedf1a61886f6346acfab1fa18c8723920acbe609e
parent5aecdb43df34f8c0d05d50faf565847acaf2ead2
Make push event notifications (email) display display the correct number of commits in push.

Since the commit events are created after the push, we need to save the commit events first, then send notifications.
Event#disable_notifications handles this, the processor uses and explicitly sends notifications afterwards.
app/models/event.rb
app/processors/push_event_processor.rb
test/unit/event_test.rb