Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-22 12:06:14 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-22 12:06:14 +0300
commit76923eae4bc63d796c7a956a2931bd58f70fd324 (patch)
tree3adf726a7bd37a3bb29d8d17b8e421ae8cb31aff /lib/gitlab/data_builder
parentfbeeb1478c77a36c8e1f4e1e157539136e4ac4e2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/data_builder')
-rw-r--r--lib/gitlab/data_builder/push.rb30
1 files changed, 28 insertions, 2 deletions
diff --git a/lib/gitlab/data_builder/push.rb b/lib/gitlab/data_builder/push.rb
index a83b03f540c..65cfd47e1e8 100644
--- a/lib/gitlab/data_builder/push.rb
+++ b/lib/gitlab/data_builder/push.rb
@@ -19,12 +19,25 @@ module Gitlab
user_email: "john@example.com",
user_avatar: "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
project_id: 15,
+ project: {
+ id: 15,
+ name: "gitlab",
+ description: "",
+ web_url: "http://test.example.com/gitlab/gitlab",
+ avatar_url: "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
+ git_ssh_url: "git@test.example.com:gitlab/gitlab.git",
+ git_http_url: "http://test.example.com/gitlab/gitlab.git",
+ namespace: "gitlab",
+ visibility_level: 0,
+ path_with_namespace: "gitlab/gitlab",
+ default_branch: "master"
+ },
commits: [
{
id: "c5feabde2d8cd023215af4d2ceeb7a64839fc428",
message: "Add simple search to projects in public area",
timestamp: "2013-05-13T18:18:08+00:00",
- url: "https://test.example.com/gitlab/gitlabhq/commit/c5feabde2d8cd023215af4d2ceeb7a64839fc428",
+ url: "https://test.example.com/gitlab/gitlab/commit/c5feabde2d8cd023215af4d2ceeb7a64839fc428",
author: {
name: "Test User",
email: "test@example.com"
@@ -45,7 +58,20 @@ module Gitlab
# user_name: String,
# user_username: String,
# user_email: String
- # project_id: String,
+ # project_id: Fixnum,
+ # project: {
+ # id: Fixnum,
+ # name: String,
+ # description: String,
+ # web_url: String,
+ # avatar_url: String,
+ # git_ssh_url: String,
+ # git_http_url: String,
+ # namespace: String,
+ # visibility_level: Fixnum,
+ # path_with_namespace: String,
+ # default_branch: String
+ # }
# repository: {
# name: String,
# url: String,