Refactor #5

merged 10 commits into from Apr 6, 2012
Commits on Sep 21, 2011
  1. Refactor application into testable classes.

    dreverri committed Sep 21, 2011
    * Rename module to GithubPostReceive
    * Create Payload, Project, Deployment, and App classes
    * Add RSpec testing
    * Change project deployment behavior
    * Change project config format
    * Update README with new behavior and format
Commits on Oct 6, 2011
  1. Rewrite private repo URLs

    dreverri committed Oct 6, 2011
  2. Add logging

    dreverri committed Oct 6, 2011
Commits on Oct 7, 2011
  1. Remove STDOUT from sample logger.yml since it does not work.

    dreverri committed Oct 7, 2011
    For some reason I thought the value pulled from the config file was a Constant rather than a String. To output to STDOUT users can exclude the `device` property from the config file.
  2. Allow project level timeouts for git commands.

    dreverri committed Oct 7, 2011
    Specified via the `timeout` option per project. Any failure (raised exception) that occurs during the deployment (clone, checkout, run) is caught, logged, and the deployment directory is cleaned up.
Commits on Oct 8, 2011