1. 02 Oct, 2012 1 commit
  2. 26 Sep, 2012 2 commits
  3. 05 Sep, 2012 1 commit
  4. 02 Sep, 2012 1 commit
  5. 30 Aug, 2012 1 commit
  6. 29 Aug, 2012 3 commits
  7. 21 Aug, 2012 1 commit
  8. 10 Aug, 2012 1 commit
  9. 31 Jul, 2012 1 commit
  10. 18 Jul, 2012 1 commit
  11. 02 Jul, 2012 2 commits
  12. 26 Jun, 2012 1 commit
  13. 20 Jun, 2012 1 commit
    • Robb Kidd's avatar
      Disable observers in specs. Enable only when observer is under test. · a18e4e43dce1
      Robb Kidd authored
      Used the built-in observer enable/disable feature in ActiveModel[1].
      ActiveRecord::Base includes ActiveModel::Observing which provides this
      behavior.
      
      Simple wraps to enable the observer under test were added to the specs
      for: ActivityObserver, IssueObserver, Admin::Users and Issues.
      
      The spec for Project.last_activity was refactored to separate the tests
      for #last_activity and #last_activity_date. Each had doubles added to
      isolate the spec from the hidden dependency on the ActivityObserver
      action to create an Event for the project when an Issue is created. This
      ActivityObserver behavior is already tested by its spec.
      
      [1] http://api.rubyonrails.org/classes/ActiveModel/ObserverArray.html
      a18e4e43dce1
  14. 04 Apr, 2012 1 commit
  15. 15 Mar, 2012 1 commit
  16. 13 Mar, 2012 1 commit
  17. 12 Mar, 2012 2 commits
  18. 07 Mar, 2012 1 commit
  19. 05 Mar, 2012 1 commit
  20. 04 Mar, 2012 1 commit
  21. 01 Mar, 2012 1 commit
  22. 29 Feb, 2012 1 commit
  23. 28 Feb, 2012 3 commits
  24. 15 Feb, 2012 1 commit
  25. 26 Dec, 2011 1 commit
  26. 18 Dec, 2011 1 commit
  27. 15 Dec, 2011 1 commit
    • Ariejan de Vroom's avatar
      Added specs for special cases · 730330045488
      Ariejan de Vroom authored
      We don't execute web hooks when:
       * You create a new branch. Make sure you first create the branch, and then push any commits. This is the way Github works, so its expected behavior.
       * When tags are pushed.
      730330045488
  28. 14 Dec, 2011 1 commit
    • Ariejan de Vroom's avatar
      Added web hooks functionality · 87276ad3ea51
      Ariejan de Vroom authored
      This commit includes:
      
       * Projects can have zero or more WebHooks.
       * The PostReceive job will ask a project to execute any web hooks defined for that project.
       * WebHook has a URL, we post Github-compatible JSON to that URL.
       * Failure to execute a WebHook will be silently ignored.
      87276ad3ea51
  29. 05 Dec, 2011 1 commit
  30. 15 Nov, 2011 1 commit
  31. 02 Nov, 2011 1 commit
  32. 26 Oct, 2011 1 commit
    • Nihad Abbasov's avatar
      clean-up code · 201eda520bc5
      Nihad Abbasov authored
        * Remove trailing whitespace
        * Converts hard-tabs into two-space soft-tabs
        * Remove consecutive blank lines
      201eda520bc5
  33. 22 Oct, 2011 1 commit