gitlab 4.4.0 → 4.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -2
- data/gitlab.gemspec +3 -1
- data/lib/gitlab/client.rb +1 -0
- data/lib/gitlab/client/merge_request_approvals.rb +110 -0
- data/lib/gitlab/client/projects.rb +19 -9
- data/lib/gitlab/error.rb +10 -3
- data/lib/gitlab/version.rb +1 -1
- metadata +5 -444
- data/.dockerignore +0 -6
- data/.rubocop.yml +0 -33
- data/.travis.yml +0 -13
- data/Dockerfile +0 -8
- data/docker-compose.yml +0 -19
- data/docker.env +0 -2
- data/spec/fixtures/access_request.json +0 -8
- data/spec/fixtures/access_requests.json +0 -18
- data/spec/fixtures/approved_access_request.json +0 -8
- data/spec/fixtures/board_list.json +0 -1
- data/spec/fixtures/board_lists.json +0 -1
- data/spec/fixtures/boards.json +0 -1
- data/spec/fixtures/branch.json +0 -1
- data/spec/fixtures/branch_delete.json +0 -3
- data/spec/fixtures/branches.json +0 -1
- data/spec/fixtures/build.json +0 -38
- data/spec/fixtures/build_artifacts.json +0 -0
- data/spec/fixtures/build_cancel.json +0 -24
- data/spec/fixtures/build_erase.json +0 -24
- data/spec/fixtures/build_retry.json +0 -24
- data/spec/fixtures/builds.json +0 -78
- data/spec/fixtures/builds_commits.json +0 -64
- data/spec/fixtures/compare_merge_request_diff.json +0 -31
- data/spec/fixtures/default_approved_access_request.json +0 -8
- data/spec/fixtures/deployment.json +0 -57
- data/spec/fixtures/deployments.json +0 -116
- data/spec/fixtures/empty.json +0 -0
- data/spec/fixtures/environment.json +0 -6
- data/spec/fixtures/environments.json +0 -14
- data/spec/fixtures/error_already_exists.json +0 -1
- data/spec/fixtures/error_project_not_found.json +0 -1
- data/spec/fixtures/get_repository_file.json +0 -1
- data/spec/fixtures/group.json +0 -60
- data/spec/fixtures/group_create.json +0 -1
- data/spec/fixtures/group_create_with_description.json +0 -1
- data/spec/fixtures/group_delete.json +0 -1
- data/spec/fixtures/group_edit.json +0 -14
- data/spec/fixtures/group_member.json +0 -1
- data/spec/fixtures/group_member_delete.json +0 -1
- data/spec/fixtures/group_member_edit.json +0 -1
- data/spec/fixtures/group_members.json +0 -1
- data/spec/fixtures/group_milestone.json +0 -1
- data/spec/fixtures/group_milestone_issues.json +0 -1
- data/spec/fixtures/group_milestone_merge_requests.json +0 -1
- data/spec/fixtures/group_milestones.json +0 -1
- data/spec/fixtures/group_projects.json +0 -44
- data/spec/fixtures/group_search.json +0 -2
- data/spec/fixtures/group_subgroups.json +0 -16
- data/spec/fixtures/groups.json +0 -2
- data/spec/fixtures/issue.json +0 -1
- data/spec/fixtures/issue_award_emoji.json +0 -16
- data/spec/fixtures/issue_award_emojis.json +0 -34
- data/spec/fixtures/issues.json +0 -1
- data/spec/fixtures/job.json +0 -43
- data/spec/fixtures/job_trace.json +0 -1
- data/spec/fixtures/jobs.json +0 -91
- data/spec/fixtures/key.json +0 -1
- data/spec/fixtures/keys.json +0 -1
- data/spec/fixtures/label.json +0 -1
- data/spec/fixtures/label_unsubscribe.json +0 -1
- data/spec/fixtures/labels.json +0 -1
- data/spec/fixtures/merge_request.json +0 -1
- data/spec/fixtures/merge_request_award_emoji.json +0 -16
- data/spec/fixtures/merge_request_award_emojis.json +0 -34
- data/spec/fixtures/merge_request_changes.json +0 -1
- data/spec/fixtures/merge_request_closes_issues.json +0 -1
- data/spec/fixtures/merge_request_comment.json +0 -1
- data/spec/fixtures/merge_request_comments.json +0 -1
- data/spec/fixtures/merge_request_commits.json +0 -1
- data/spec/fixtures/merge_request_discussion.json +0 -39
- data/spec/fixtures/merge_request_discussion_note.json +0 -33
- data/spec/fixtures/merge_request_discussions.json +0 -41
- data/spec/fixtures/merge_requests.json +0 -1
- data/spec/fixtures/milestone.json +0 -1
- data/spec/fixtures/milestone_issues.json +0 -1
- data/spec/fixtures/milestone_merge_requests.json +0 -1
- data/spec/fixtures/milestones.json +0 -1
- data/spec/fixtures/namespaces.json +0 -1
- data/spec/fixtures/note.json +0 -1
- data/spec/fixtures/note_award_emoji.json +0 -16
- data/spec/fixtures/note_award_emojis.json +0 -18
- data/spec/fixtures/notes.json +0 -1
- data/spec/fixtures/pipeline.json +0 -23
- data/spec/fixtures/pipeline_cancel.json +0 -23
- data/spec/fixtures/pipeline_create.json +0 -23
- data/spec/fixtures/pipeline_jobs.json +0 -91
- data/spec/fixtures/pipeline_retry.json +0 -23
- data/spec/fixtures/pipeline_schedule.json +0 -32
- data/spec/fixtures/pipeline_schedule_create.json +0 -21
- data/spec/fixtures/pipeline_schedule_update.json +0 -26
- data/spec/fixtures/pipeline_schedule_variable.json +0 -5
- data/spec/fixtures/pipeline_schedule_variable_update.json +0 -5
- data/spec/fixtures/pipeline_schedules.json +0 -22
- data/spec/fixtures/pipelines.json +0 -48
- data/spec/fixtures/project.json +0 -1
- data/spec/fixtures/project_commit.json +0 -13
- data/spec/fixtures/project_commit_comment.json +0 -1
- data/spec/fixtures/project_commit_comments.json +0 -1
- data/spec/fixtures/project_commit_create.json +0 -22
- data/spec/fixtures/project_commit_diff.json +0 -10
- data/spec/fixtures/project_commit_merge_requests.json +0 -1
- data/spec/fixtures/project_commit_status.json +0 -42
- data/spec/fixtures/project_commits.json +0 -1
- data/spec/fixtures/project_edit.json +0 -21
- data/spec/fixtures/project_events.json +0 -81
- data/spec/fixtures/project_for_user.json +0 -1
- data/spec/fixtures/project_fork.json +0 -50
- data/spec/fixtures/project_fork_link.json +0 -1
- data/spec/fixtures/project_forked_for_user.json +0 -50
- data/spec/fixtures/project_forks.json +0 -50
- data/spec/fixtures/project_hook.json +0 -1
- data/spec/fixtures/project_hooks.json +0 -1
- data/spec/fixtures/project_issues.json +0 -1
- data/spec/fixtures/project_key.json +0 -6
- data/spec/fixtures/project_keys.json +0 -6
- data/spec/fixtures/project_runner_enable.json +0 -7
- data/spec/fixtures/project_runners.json +0 -16
- data/spec/fixtures/project_search.json +0 -1
- data/spec/fixtures/project_star.json +0 -44
- data/spec/fixtures/project_tag_annotated.json +0 -1
- data/spec/fixtures/project_tag_lightweight.json +0 -1
- data/spec/fixtures/project_tags.json +0 -1
- data/spec/fixtures/project_unstar.json +0 -44
- data/spec/fixtures/project_update_commit_status.json +0 -20
- data/spec/fixtures/projects.json +0 -1
- data/spec/fixtures/push_rule.json +0 -1
- data/spec/fixtures/raw_file.json +0 -2
- data/spec/fixtures/release_create.json +0 -1
- data/spec/fixtures/release_update.json +0 -1
- data/spec/fixtures/repository_file.json +0 -1
- data/spec/fixtures/run_trigger.json +0 -1
- data/spec/fixtures/runner.json +0 -26
- data/spec/fixtures/runner_delete.json +0 -7
- data/spec/fixtures/runner_edit.json +0 -26
- data/spec/fixtures/runner_jobs.json +0 -63
- data/spec/fixtures/runners.json +0 -16
- data/spec/fixtures/runners_all.json +0 -30
- data/spec/fixtures/service.json +0 -1
- data/spec/fixtures/session.json +0 -1
- data/spec/fixtures/shell_history.json +0 -2
- data/spec/fixtures/sidekiq_compound_metrics.json +0 -36
- data/spec/fixtures/sidekiq_job_stats.json +0 -7
- data/spec/fixtures/sidekiq_process_metrics.json +0 -25
- data/spec/fixtures/sidekiq_queue_metrics.json +0 -8
- data/spec/fixtures/snippet.json +0 -1
- data/spec/fixtures/snippet_award_emoji.json +0 -16
- data/spec/fixtures/snippet_award_emojis.json +0 -34
- data/spec/fixtures/snippet_content.json +0 -3
- data/spec/fixtures/snippets.json +0 -1
- data/spec/fixtures/system_hook.json +0 -1
- data/spec/fixtures/system_hooks.json +0 -1
- data/spec/fixtures/tag.json +0 -1
- data/spec/fixtures/tag_create.json +0 -1
- data/spec/fixtures/tag_create_with_description.json +0 -1
- data/spec/fixtures/tag_delete.json +0 -1
- data/spec/fixtures/tags.json +0 -1
- data/spec/fixtures/team_member.json +0 -1
- data/spec/fixtures/team_members.json +0 -1
- data/spec/fixtures/todo.json +0 -73
- data/spec/fixtures/todos.json +0 -148
- data/spec/fixtures/tree.json +0 -1
- data/spec/fixtures/trigger.json +0 -10
- data/spec/fixtures/triggers.json +0 -12
- data/spec/fixtures/user.json +0 -1
- data/spec/fixtures/user_block_unblock.json +0 -1
- data/spec/fixtures/user_contribution_events.json +0 -101
- data/spec/fixtures/user_email.json +0 -1
- data/spec/fixtures/user_emails.json +0 -1
- data/spec/fixtures/user_events.json +0 -40
- data/spec/fixtures/user_projects.json +0 -153
- data/spec/fixtures/user_search.json +0 -1
- data/spec/fixtures/users.json +0 -1
- data/spec/fixtures/variable.json +0 -4
- data/spec/fixtures/variables.json +0 -10
- data/spec/gitlab/api_spec.rb +0 -11
- data/spec/gitlab/cli_helpers_spec.rb +0 -56
- data/spec/gitlab/cli_spec.rb +0 -119
- data/spec/gitlab/client/access_requests_spec.rb +0 -141
- data/spec/gitlab/client/award_emojis_spec.rb +0 -391
- data/spec/gitlab/client/boards_spec.rb +0 -94
- data/spec/gitlab/client/branches_spec.rb +0 -118
- data/spec/gitlab/client/build_variables_spec.rb +0 -169
- data/spec/gitlab/client/builds_spec.rb +0 -148
- data/spec/gitlab/client/client_spec.rb +0 -11
- data/spec/gitlab/client/commits_spec.rb +0 -190
- data/spec/gitlab/client/deployments_spec.rb +0 -38
- data/spec/gitlab/client/environments_spec.rb +0 -132
- data/spec/gitlab/client/events_spec.rb +0 -48
- data/spec/gitlab/client/group_milestones_spec.rb +0 -98
- data/spec/gitlab/client/groups_spec.rb +0 -246
- data/spec/gitlab/client/issues_spec.rb +0 -285
- data/spec/gitlab/client/jobs_spec.rb +0 -135
- data/spec/gitlab/client/keys_spec.rb +0 -19
- data/spec/gitlab/client/labels_spec.rb +0 -100
- data/spec/gitlab/client/merge_requests_spec.rb +0 -351
- data/spec/gitlab/client/milestones_spec.rb +0 -98
- data/spec/gitlab/client/namespaces_spec.rb +0 -22
- data/spec/gitlab/client/notes_spec.rb +0 -333
- data/spec/gitlab/client/pipeline_schedules_spec.rb +0 -158
- data/spec/gitlab/client/pipeline_triggers_spec.rb +0 -157
- data/spec/gitlab/client/pipelines_spec.rb +0 -95
- data/spec/gitlab/client/projects_spec.rb +0 -630
- data/spec/gitlab/client/repositories_spec.rb +0 -94
- data/spec/gitlab/client/repository_files_spec.rb +0 -95
- data/spec/gitlab/client/runners_spec.rb +0 -193
- data/spec/gitlab/client/services_spec.rb +0 -55
- data/spec/gitlab/client/sidekiq_spec.rb +0 -64
- data/spec/gitlab/client/snippets_spec.rb +0 -100
- data/spec/gitlab/client/system_hooks_spec.rb +0 -69
- data/spec/gitlab/client/tags_spec.rb +0 -152
- data/spec/gitlab/client/todos_spec.rb +0 -45
- data/spec/gitlab/client/users_spec.rb +0 -418
- data/spec/gitlab/error_spec.rb +0 -72
- data/spec/gitlab/file_response_spec.rb +0 -33
- data/spec/gitlab/help_spec.rb +0 -46
- data/spec/gitlab/objectified_hash_spec.rb +0 -48
- data/spec/gitlab/page_links_spec.rb +0 -16
- data/spec/gitlab/paginated_response_spec.rb +0 -60
- data/spec/gitlab/request_spec.rb +0 -73
- data/spec/gitlab/shell_history_spec.rb +0 -53
- data/spec/gitlab/shell_spec.rb +0 -80
- data/spec/gitlab_spec.rb +0 -96
- data/spec/spec_helper.rb +0 -39
@@ -1,57 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": 42,
|
3
|
-
"iid": 2,
|
4
|
-
"ref": "master",
|
5
|
-
"sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
|
6
|
-
"created_at": "2016-08-11T11:32:35.444Z",
|
7
|
-
"user": {
|
8
|
-
"name": "Administrator",
|
9
|
-
"username": "root",
|
10
|
-
"id": 1,
|
11
|
-
"state": "active",
|
12
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
13
|
-
"web_url": "http://localhost:3000/root"
|
14
|
-
},
|
15
|
-
"environment": {
|
16
|
-
"id": 9,
|
17
|
-
"name": "production",
|
18
|
-
"external_url": "https://about.gitlab.com"
|
19
|
-
},
|
20
|
-
"deployable": {
|
21
|
-
"id": 664,
|
22
|
-
"status": "success",
|
23
|
-
"stage": "deploy",
|
24
|
-
"name": "deploy",
|
25
|
-
"ref": "master",
|
26
|
-
"tag": false,
|
27
|
-
"coverage": null,
|
28
|
-
"created_at": "2016-08-11T11:32:24.456Z",
|
29
|
-
"started_at": null,
|
30
|
-
"finished_at": "2016-08-11T11:32:35.145Z",
|
31
|
-
"user": {
|
32
|
-
"name": "Administrator",
|
33
|
-
"username": "root",
|
34
|
-
"id": 1,
|
35
|
-
"state": "active",
|
36
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
37
|
-
"web_url": "http://localhost:3000/root",
|
38
|
-
"created_at": "2016-08-11T07:09:20.351Z",
|
39
|
-
"bio": null,
|
40
|
-
"location": null,
|
41
|
-
"skype": "",
|
42
|
-
"linkedin": "",
|
43
|
-
"twitter": "",
|
44
|
-
"website_url": ""
|
45
|
-
},
|
46
|
-
"commit": {
|
47
|
-
"id": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
|
48
|
-
"short_id": "a91957a8",
|
49
|
-
"title": "Merge branch 'rename-readme' into 'master'\r",
|
50
|
-
"author_name": "Administrator",
|
51
|
-
"author_email": "admin@example.com",
|
52
|
-
"created_at": "2016-08-11T13:28:26.000+02:00",
|
53
|
-
"message": "Merge branch 'rename-readme' into 'master'\r\n\r\nRename README\r\n\r\n\r\n\r\nSee merge request !2"
|
54
|
-
},
|
55
|
-
"runner": null
|
56
|
-
}
|
57
|
-
}
|
@@ -1,116 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"created_at": "2016-08-11T07:36:40.222Z",
|
4
|
-
"deployable": {
|
5
|
-
"commit": {
|
6
|
-
"author_email": "admin@example.com",
|
7
|
-
"author_name": "Administrator",
|
8
|
-
"created_at": "2016-08-11T09:36:01.000+02:00",
|
9
|
-
"id": "99d03678b90d914dbb1b109132516d71a4a03ea8",
|
10
|
-
"message": "Merge branch 'new-title' into 'master'\r\n\r\nUpdate README\r\n\r\n\r\n\r\nSee merge request !1",
|
11
|
-
"short_id": "99d03678",
|
12
|
-
"title": "Merge branch 'new-title' into 'master'\r"
|
13
|
-
},
|
14
|
-
"coverage": null,
|
15
|
-
"created_at": "2016-08-11T07:36:27.357Z",
|
16
|
-
"finished_at": "2016-08-11T07:36:39.851Z",
|
17
|
-
"id": 657,
|
18
|
-
"name": "deploy",
|
19
|
-
"ref": "master",
|
20
|
-
"runner": null,
|
21
|
-
"stage": "deploy",
|
22
|
-
"started_at": null,
|
23
|
-
"status": "success",
|
24
|
-
"tag": false,
|
25
|
-
"user": {
|
26
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
27
|
-
"bio": null,
|
28
|
-
"created_at": "2016-08-11T07:09:20.351Z",
|
29
|
-
"id": 1,
|
30
|
-
"linkedin": "",
|
31
|
-
"location": null,
|
32
|
-
"name": "Administrator",
|
33
|
-
"skype": "",
|
34
|
-
"state": "active",
|
35
|
-
"twitter": "",
|
36
|
-
"username": "root",
|
37
|
-
"web_url": "http://localhost:3000/root",
|
38
|
-
"website_url": ""
|
39
|
-
}
|
40
|
-
},
|
41
|
-
"environment": {
|
42
|
-
"external_url": "https://about.gitlab.com",
|
43
|
-
"id": 9,
|
44
|
-
"name": "production"
|
45
|
-
},
|
46
|
-
"id": 41,
|
47
|
-
"iid": 1,
|
48
|
-
"ref": "master",
|
49
|
-
"sha": "99d03678b90d914dbb1b109132516d71a4a03ea8",
|
50
|
-
"user": {
|
51
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
52
|
-
"id": 1,
|
53
|
-
"name": "Administrator",
|
54
|
-
"state": "active",
|
55
|
-
"username": "root",
|
56
|
-
"web_url": "http://localhost:3000/root"
|
57
|
-
}
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"created_at": "2016-08-11T11:32:35.444Z",
|
61
|
-
"deployable": {
|
62
|
-
"commit": {
|
63
|
-
"author_email": "admin@example.com",
|
64
|
-
"author_name": "Administrator",
|
65
|
-
"created_at": "2016-08-11T13:28:26.000+02:00",
|
66
|
-
"id": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
|
67
|
-
"message": "Merge branch 'rename-readme' into 'master'\r\n\r\nRename README\r\n\r\n\r\n\r\nSee merge request !2",
|
68
|
-
"short_id": "a91957a8",
|
69
|
-
"title": "Merge branch 'rename-readme' into 'master'\r"
|
70
|
-
},
|
71
|
-
"coverage": null,
|
72
|
-
"created_at": "2016-08-11T11:32:24.456Z",
|
73
|
-
"finished_at": "2016-08-11T11:32:35.145Z",
|
74
|
-
"id": 664,
|
75
|
-
"name": "deploy",
|
76
|
-
"ref": "master",
|
77
|
-
"runner": null,
|
78
|
-
"stage": "deploy",
|
79
|
-
"started_at": null,
|
80
|
-
"status": "success",
|
81
|
-
"tag": false,
|
82
|
-
"user": {
|
83
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
84
|
-
"bio": null,
|
85
|
-
"created_at": "2016-08-11T07:09:20.351Z",
|
86
|
-
"id": 1,
|
87
|
-
"linkedin": "",
|
88
|
-
"location": null,
|
89
|
-
"name": "Administrator",
|
90
|
-
"skype": "",
|
91
|
-
"state": "active",
|
92
|
-
"twitter": "",
|
93
|
-
"username": "root",
|
94
|
-
"web_url": "http://localhost:3000/root",
|
95
|
-
"website_url": ""
|
96
|
-
}
|
97
|
-
},
|
98
|
-
"environment": {
|
99
|
-
"external_url": "https://about.gitlab.com",
|
100
|
-
"id": 9,
|
101
|
-
"name": "production"
|
102
|
-
},
|
103
|
-
"id": 42,
|
104
|
-
"iid": 2,
|
105
|
-
"ref": "master",
|
106
|
-
"sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
|
107
|
-
"user": {
|
108
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
109
|
-
"id": 1,
|
110
|
-
"name": "Administrator",
|
111
|
-
"state": "active",
|
112
|
-
"username": "root",
|
113
|
-
"web_url": "http://localhost:3000/root"
|
114
|
-
}
|
115
|
-
}
|
116
|
-
]
|
data/spec/fixtures/empty.json
DELETED
File without changes
|
@@ -1,14 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 1,
|
4
|
-
"name": "review/fix-foo",
|
5
|
-
"slug": "review-fix-foo-dfjre3",
|
6
|
-
"external_url": "https://review-fix-foo-dfjre3.example.gitlab.com"
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"id": 12,
|
10
|
-
"name": "review/fix-bar",
|
11
|
-
"slug": "review-fix-bar-dbwr18",
|
12
|
-
"external_url": "https://review-fix-bar-dbwr18.example.gitlab.com"
|
13
|
-
}
|
14
|
-
]
|
@@ -1 +0,0 @@
|
|
1
|
-
{"message": "409 Already exists"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"message": "404 Project Not Found"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file_name":"README.md", "file_path":"README.md", "size":"19", "encoding":"base64", "content":"VGhpcyBpcyBhICpSRUFETUUqIQ==\n", "ref":"master", "blob_id":"0eba9dff767611060181e0423a1de2941d27efc8", "commit_id":"eb38397cb6ae669219e6bc18ad19981fff18ea29"}
|
data/spec/fixtures/group.json
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
{"id": 10, "name": "GitLab-Group", "path": "gitlab-group", "owner_id": 6, "projects": [
|
2
|
-
{
|
3
|
-
"id": 9,
|
4
|
-
"name": "mojito",
|
5
|
-
"description": null,
|
6
|
-
"default_branch": "master",
|
7
|
-
"owner": {
|
8
|
-
"id": 6,
|
9
|
-
"username": "jose",
|
10
|
-
"email": "jose@abc.com",
|
11
|
-
"name": "Jose Jose",
|
12
|
-
"blocked": false,
|
13
|
-
"created_at": "2013-02-06T06:54:06Z"
|
14
|
-
},
|
15
|
-
"path": "mojito",
|
16
|
-
"path_with_namespace": "gitlab-group/mojito",
|
17
|
-
"issues_enabled": true,
|
18
|
-
"merge_requests_enabled": true,
|
19
|
-
"wall_enabled": true,
|
20
|
-
"wiki_enabled": true,
|
21
|
-
"created_at": "2013-02-06T16:59:15Z",
|
22
|
-
"namespace": {
|
23
|
-
"created_at": "2013-02-06T16:58:22Z",
|
24
|
-
"id": 10,
|
25
|
-
"name": "GitLab-Group",
|
26
|
-
"owner_id": 6,
|
27
|
-
"path": "gitlab-group",
|
28
|
-
"updated_at": "2013-02-06T16:58:22Z"
|
29
|
-
}
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"id": 10,
|
33
|
-
"name": "gitlabhq",
|
34
|
-
"description": null,
|
35
|
-
"default_branch": null,
|
36
|
-
"owner": {
|
37
|
-
"id": 6,
|
38
|
-
"username": "randx",
|
39
|
-
"email": "randx@github.com",
|
40
|
-
"name": "Dmitry Z",
|
41
|
-
"blocked": false,
|
42
|
-
"created_at": "2013-02-06T06:54:06Z"
|
43
|
-
},
|
44
|
-
"path": "gitlabhq",
|
45
|
-
"path_with_namespace": "gitlab-group/gitlabhq",
|
46
|
-
"issues_enabled": true,
|
47
|
-
"merge_requests_enabled": true,
|
48
|
-
"wall_enabled": true,
|
49
|
-
"wiki_enabled": true,
|
50
|
-
"created_at": "2013-02-06T17:02:31Z",
|
51
|
-
"namespace": {
|
52
|
-
"created_at": "2013-02-06T16:58:22Z",
|
53
|
-
"id": 10,
|
54
|
-
"name": "GitLab-Group",
|
55
|
-
"owner_id": 6,
|
56
|
-
"path": "gitlab-group",
|
57
|
-
"updated_at": "2013-02-06T16:58:22Z"
|
58
|
-
}
|
59
|
-
}
|
60
|
-
]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":3,"name":"Gitlab-Group","path":"gitlab-group","owner_id":1}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":3,"name":"Gitlab-Group","path":"gitlab-group","owner_id":1,"description":"gitlab group description"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":42,"name":"Gitlab-Group","path":"gitlab-group","created_at":"2016-02-24T20:16:42.906Z","updated_at":"2016-02-24T20:16:42.906Z"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": 1,
|
3
|
-
"name": "Foobar Group",
|
4
|
-
"path": "foo-bar",
|
5
|
-
"description": "An interesting group",
|
6
|
-
"visibility": "public",
|
7
|
-
"lfs_enabled": true,
|
8
|
-
"avatar_url": "http://gitlab.example.com/uploads/group/avatar/1/foo.jpg",
|
9
|
-
"web_url": "http://gitlab.example.com/groups/foo-bar",
|
10
|
-
"request_access_enabled": false,
|
11
|
-
"full_name": "Foobar Group",
|
12
|
-
"full_path": "foo-bar",
|
13
|
-
"parent_id": 123
|
14
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":2,"username":"jsmith","email":"jsmith@local.host","name":"John Smith","state":"active","created_at":"2013-09-04T18:15:30Z","access_level":10}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"created_at":"2013-09-04T18:18:15Z","group_access":10,"group_id":3,"id":2,"notification_level":3,"updated_at":"2013-09-04T18:18:15Z","user_id":2}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":2,"username":"jsmith","email":"jsmith@local.host","name":"John Smith","state":"active","created_at":"2013-09-04T18:15:30Z","access_level":50}
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"username":"eraymond","email":"eraymond@local.host","name":"Edward Raymond","state":"active","created_at":"2013-08-30T16:16:22Z","access_level":50},{"id":1,"username":"jsmith","email":"jsmith@local.host","name":"John Smith","state":"active","created_at":"2013-08-30T16:16:22Z","access_level":50}]
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":1,"group_id":3,"title":"3.0","description":"","due_date":"2012-10-22","closed":false,"updated_at":"2012-09-17T10:15:31Z","created_at":"2012-09-17T10:15:31Z"}
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"project_id":3,"title":"Culpa eius recusandae suscipit autem distinctio dolorum.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":6,"project_id":3,"title":"Ut in dolorum omnis sed sit aliquam.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":12,"project_id":3,"title":"Veniam et tempore quidem eum reprehenderit cupiditate non aut velit eaque.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":21,"project_id":3,"title":"Vitae ea aliquam et quo eligendi sapiente voluptatum labore hic nihil culpa.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":26,"project_id":3,"title":"Quo enim est nihil atque placeat voluptas neque eos voluptas.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":32,"project_id":3,"title":"Deserunt tenetur impedit est beatae voluptas voluptas quaerat quisquam.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"iid":1,"project_id":1,"title":"lorem ipsum","description":"","state":"opened","created_at":"2017-03-24T12:23:53.918Z","updated_at":"2017-03-24T12:23:53.918Z","target_branch":"master","source_branch":"def","upvotes":0,"downvotes":0,"author":{"name":"John Doe","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoen"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"aec123d1775790b2347fdd684b5ba613fdeb994b","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":false,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/2"},{"id":2,"iid":2,"project_id":1,"title":"ipsum lorem","description":"","state":"opened","created_at":"2017-03-24T12:23:24.662Z","updated_at":"2017-03-24T12:23:33.522Z","target_branch":"master","source_branch":"test1","upvotes":0,"downvotes":0,"author":{"name":"Joren","username":"jdoe","id":1,"state":"active","":"","web_url":"https://gitlab.com/jdoe"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"3ee44c9b40deddae596f838b97523c6f010fd80d","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/1"}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"group_id":3,"title":"3.0","description":"","due_date":"2012-10-22","closed":false,"updated_at":"2012-09-17T10:15:31Z","created_at":"2012-09-17T10:15:31Z"}]
|
@@ -1,44 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 4,
|
4
|
-
"description": null,
|
5
|
-
"default_branch": "master",
|
6
|
-
"public": false,
|
7
|
-
"visibility_level": 0,
|
8
|
-
"ssh_url_to_repo": "git@example.com:diaspora/diaspora-client.git",
|
9
|
-
"http_url_to_repo": "http://example.com/diaspora/diaspora-client.git",
|
10
|
-
"web_url": "http://example.com/diaspora/diaspora-client",
|
11
|
-
"tag_list": [
|
12
|
-
"example",
|
13
|
-
"disapora client"
|
14
|
-
],
|
15
|
-
"owner": {
|
16
|
-
"id": 3,
|
17
|
-
"name": "Diaspora",
|
18
|
-
"created_at": "2013-09-30T13: 46: 02Z"
|
19
|
-
},
|
20
|
-
"name": "Diaspora Client",
|
21
|
-
"name_with_namespace": "Diaspora / Diaspora Client",
|
22
|
-
"path": "diaspora-client",
|
23
|
-
"path_with_namespace": "diaspora/diaspora-client",
|
24
|
-
"issues_enabled": true,
|
25
|
-
"merge_requests_enabled": true,
|
26
|
-
"builds_enabled": true,
|
27
|
-
"wiki_enabled": true,
|
28
|
-
"snippets_enabled": false,
|
29
|
-
"created_at": "2013-09-30T13: 46: 02Z",
|
30
|
-
"last_activity_at": "2013-09-30T13: 46: 02Z",
|
31
|
-
"creator_id": 3,
|
32
|
-
"namespace": {
|
33
|
-
"created_at": "2013-09-30T13: 46: 02Z",
|
34
|
-
"description": "",
|
35
|
-
"id": 3,
|
36
|
-
"name": "Diaspora",
|
37
|
-
"owner_id": 1,
|
38
|
-
"path": "diaspora",
|
39
|
-
"updated_at": "2013-09-30T13: 46: 02Z"
|
40
|
-
},
|
41
|
-
"archived": false,
|
42
|
-
"avatar_url": "http://example.com/uploads/project/avatar/4/uploads/avatar.png"
|
43
|
-
}
|
44
|
-
]
|
@@ -1,16 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 1,
|
4
|
-
"name": "Foobar Group",
|
5
|
-
"path": "foo-bar",
|
6
|
-
"description": "An interesting group",
|
7
|
-
"visibility": "public",
|
8
|
-
"lfs_enabled": true,
|
9
|
-
"avatar_url": "http://gitlab.example.com/uploads/group/avatar/1/foo.jpg",
|
10
|
-
"web_url": "http://gitlab.example.com/groups/foo-bar",
|
11
|
-
"request_access_enabled": false,
|
12
|
-
"full_name": "Foobar Group",
|
13
|
-
"full_path": "foo-bar",
|
14
|
-
"parent_id": 123
|
15
|
-
}
|
16
|
-
]
|
data/spec/fixtures/groups.json
DELETED
data/spec/fixtures/issue.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"id":33,"project_id":3,"title":"Beatae possimus nostrum nihil reiciendis laboriosam nihil delectus alias accusantium dolor unde.","description":null,"labels":[],"milestone":null,"assignee":{"id":2,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-09-17T09:42:03Z"},"author":{"id":2,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-09-17T09:42:03Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": 4,
|
3
|
-
"name": "blowfish",
|
4
|
-
"user": {
|
5
|
-
"name": "Administrator",
|
6
|
-
"username": "root",
|
7
|
-
"id": 1,
|
8
|
-
"state": "active",
|
9
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
10
|
-
"web_url": "http://gitlab.example.com/root"
|
11
|
-
},
|
12
|
-
"created_at": "2016-06-15T10:09:34.206Z",
|
13
|
-
"updated_at": "2016-06-15T10:09:34.206Z",
|
14
|
-
"awardable_id": 80,
|
15
|
-
"awardable_type": "Issue"
|
16
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 4,
|
4
|
-
"name": "1234",
|
5
|
-
"user": {
|
6
|
-
"name": "Administrator",
|
7
|
-
"username": "root",
|
8
|
-
"id": 1,
|
9
|
-
"state": "active",
|
10
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
11
|
-
"web_url": "http://gitlab.example.com/root"
|
12
|
-
},
|
13
|
-
"created_at": "2016-06-15T10:09:34.206Z",
|
14
|
-
"updated_at": "2016-06-15T10:09:34.206Z",
|
15
|
-
"awardable_id": 80,
|
16
|
-
"awardable_type": "Issue"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"id": 1,
|
20
|
-
"name": "microphone",
|
21
|
-
"user": {
|
22
|
-
"name": "User 4",
|
23
|
-
"username": "user4",
|
24
|
-
"id": 26,
|
25
|
-
"state": "active",
|
26
|
-
"avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
|
27
|
-
"web_url": "http://gitlab.example.com/user4"
|
28
|
-
},
|
29
|
-
"created_at": "2016-06-15T10:09:34.177Z",
|
30
|
-
"updated_at": "2016-06-15T10:09:34.177Z",
|
31
|
-
"awardable_id": 80,
|
32
|
-
"awardable_type": "Issue"
|
33
|
-
}
|
34
|
-
]
|