Web Hook sends email of pusher

This commit is contained in:
Valery Sizov 2015-03-04 20:24:34 +02:00
parent 8be36a2c0f
commit 3d9a766d9f
3 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ v 7.9.0 (unreleased)
- Add a service to send updates to an Irker gateway (Romain Coltel)
- Add brakeman (security scanner for Ruby on Rails)
- Slack username and channel options
- Web hook sends pusher email as well as commiter
v 7.8.1
- Fix run of custom post receive hooks

View File

@ -21,6 +21,7 @@ Triggered when you push to the repository except when pushing tags.
"ref": "refs/heads/master",
"user_id": 4,
"user_name": "John Smith",
"user_email": "john@example.com",
"project_id": 15,
"repository": {
"name": "Diaspora",

View File

@ -9,6 +9,7 @@ module Gitlab
# ref: String,
# user_id: String,
# user_name: String,
# user_email: String
# project_id: String,
# repository: {
# name: String,
@ -35,6 +36,7 @@ module Gitlab
checkout_sha: checkout_sha(project.repository, newrev, ref),
user_id: user.id,
user_name: user.name,
user_email: user.email,
project_id: project.id,
repository: {
name: project.name,