Specify what kind of events should be generated for different kind of push actions SPEC
authorMarius Mathiesen <marius@gitorious.org>
Wed, 2 Feb 2011 12:19:13 +0000 (13:19 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Wed, 2 Feb 2011 12:22:14 +0000 (13:22 +0100)
commitc9ce8324bc9656037f0677a9c4aeedb013d23365
treee2b2f36d19b2cd3eff23a7fa05eba32c4885c8c2
parent9ee923666fa420bda4ddb750314af3ac2b341a08
Specify what kind of events should be generated for different kind of push actions

The specification says:

Should we generate a push event?
|      | CREATE | UPDATE | DELETE |
| tag  | no     | no     | no     |
| head | no     | yes    | no     |

Should we generate a "meta" event?
|      | CREATE | UPDATE | DELETE |
| tag  | yes    | no     | yes    |
| head | yes    | no     | yes    |
app/processors/push_event_processor.rb
test/unit/processors/push_event_processor_test.rb