Refactoring of hook functionality & bootsrap system hooks

This commit is contained in:
Valeriy Sizov 2012-07-12 15:36:33 +03:00
parent 72a571724d
commit 65dc68b35c
9 changed files with 24 additions and 14 deletions

View file

@ -35,7 +35,7 @@ module GitPush
data = post_receive_data(oldrev, newrev, ref, user)
web_hooks.each { |web_hook| web_hook.execute(data) }
hooks.each { |web_hook| web_hook.execute(data) }
end
def post_receive_data(oldrev, newrev, ref, user)