travis-ci/travis-core — pull request #125 by svenfuchs (2012-10-27 00:28:44+00:00)
Title: Skinny events refactoring

171b3af8 does:

* create the default event payload for `build:*` events (currently creates it once per handler if applicable)
* move logic that can run on travis-tasks from the event handler to the task handler (such as checking for valid email addresses etc)
* removes the handler specific `event/handler/config/*.rb` classes and dries them up in `event/handler/config.rb` (thereby also removing inconsistencies)
* moves the event payload generation to `api/v0` since that's supposed to be the place where we generate internal payloads
* removes unused event handler, task and notification/instrument classes (such as `archive`, `github`, `worker`)
* starts changing to 1.9 hash syntax along the way
* adds and fixes various specs for task handlers