web hooks scaffold started

This commit is contained in:
Dmitriy Zaporozhets 2012-01-04 00:42:14 +02:00
parent 8d7aaf0e55
commit 2dae0e18e0
10 changed files with 85 additions and 4 deletions

View file

@ -1,4 +1,6 @@
class PostReceive
@queue = :post_receive
def self.perform(reponame, oldrev, newrev, ref)
project = Project.find_by_path(reponame)
return false if project.nil?