gitlab 4.2.0 → 4.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +4 -2
- data/LICENSE.txt +1 -1
- data/README.md +96 -25
- data/exe/gitlab +5 -1
- data/lib/gitlab/api.rb +8 -3
- data/lib/gitlab/cli.rb +15 -15
- data/lib/gitlab/cli_helpers.rb +63 -61
- data/lib/gitlab/client/access_requests.rb +103 -0
- data/lib/gitlab/client/application_settings.rb +172 -0
- data/lib/gitlab/client/avatar.rb +21 -0
- data/lib/gitlab/client/award_emojis.rb +5 -3
- data/lib/gitlab/client/boards.rb +62 -4
- data/lib/gitlab/client/branches.rb +53 -14
- data/lib/gitlab/client/broadcast_messages.rb +75 -0
- data/lib/gitlab/client/build_variables.rb +78 -9
- data/lib/gitlab/client/builds.rb +13 -11
- data/lib/gitlab/client/commits.rb +89 -19
- data/lib/gitlab/client/container_registry.rb +85 -0
- data/lib/gitlab/client/deployments.rb +34 -0
- data/lib/gitlab/client/environments.rb +5 -3
- data/lib/gitlab/client/epic_issues.rb +23 -0
- data/lib/gitlab/client/epics.rb +73 -0
- data/lib/gitlab/client/events.rb +60 -0
- data/lib/gitlab/client/features.rb +48 -0
- data/lib/gitlab/client/group_badges.rb +88 -0
- data/lib/gitlab/client/group_boards.rb +141 -0
- data/lib/gitlab/client/group_labels.rb +88 -0
- data/lib/gitlab/client/group_milestones.rb +94 -0
- data/lib/gitlab/client/groups.rb +197 -17
- data/lib/gitlab/client/issue_links.rb +48 -0
- data/lib/gitlab/client/issues.rb +98 -4
- data/lib/gitlab/client/jobs.rb +96 -8
- data/lib/gitlab/client/keys.rb +13 -0
- data/lib/gitlab/client/labels.rb +7 -5
- data/lib/gitlab/client/lint.rb +19 -0
- data/lib/gitlab/client/markdown.rb +23 -0
- data/lib/gitlab/client/merge_request_approvals.rb +265 -0
- data/lib/gitlab/client/merge_requests.rb +237 -9
- data/lib/gitlab/client/milestones.rb +19 -5
- data/lib/gitlab/client/namespaces.rb +4 -2
- data/lib/gitlab/client/notes.rb +58 -12
- data/lib/gitlab/client/pipeline_schedules.rb +147 -0
- data/lib/gitlab/client/pipeline_triggers.rb +12 -10
- data/lib/gitlab/client/pipelines.rb +40 -3
- data/lib/gitlab/client/project_badges.rb +85 -0
- data/lib/gitlab/client/project_clusters.rb +83 -0
- data/lib/gitlab/client/project_release_links.rb +76 -0
- data/lib/gitlab/client/project_releases.rb +79 -0
- data/lib/gitlab/client/projects.rb +280 -47
- data/lib/gitlab/client/protected_tags.rb +59 -0
- data/lib/gitlab/client/remote_mirrors.rb +51 -0
- data/lib/gitlab/client/repositories.rb +60 -6
- data/lib/gitlab/client/repository_files.rb +23 -5
- data/lib/gitlab/client/repository_submodules.rb +27 -0
- data/lib/gitlab/client/resource_label_events.rb +82 -0
- data/lib/gitlab/client/resource_state_events.rb +57 -0
- data/lib/gitlab/client/runners.rb +111 -15
- data/lib/gitlab/client/search.rb +66 -0
- data/lib/gitlab/client/services.rb +4 -1
- data/lib/gitlab/client/sidekiq.rb +39 -0
- data/lib/gitlab/client/snippets.rb +8 -4
- data/lib/gitlab/client/system_hooks.rb +9 -7
- data/lib/gitlab/client/tags.rb +15 -14
- data/lib/gitlab/client/templates.rb +100 -0
- data/lib/gitlab/client/todos.rb +7 -5
- data/lib/gitlab/client/user_snippets.rb +114 -0
- data/lib/gitlab/client/users.rb +166 -30
- data/lib/gitlab/client/versions.rb +18 -0
- data/lib/gitlab/client/wikis.rb +79 -0
- data/lib/gitlab/client.rb +49 -12
- data/lib/gitlab/configuration.rb +8 -6
- data/lib/gitlab/error.rb +74 -5
- data/lib/gitlab/file_response.rb +5 -3
- data/lib/gitlab/help.rb +19 -20
- data/lib/gitlab/objectified_hash.rb +27 -10
- data/lib/gitlab/page_links.rb +11 -9
- data/lib/gitlab/paginated_response.rb +37 -24
- data/lib/gitlab/request.rb +42 -53
- data/lib/gitlab/shell.rb +11 -12
- data/lib/gitlab/shell_history.rb +11 -13
- data/lib/gitlab/version.rb +3 -1
- data/lib/gitlab.rb +19 -8
- metadata +50 -395
- data/.gitignore +0 -22
- data/.travis.yml +0 -8
- data/CONTRIBUTING.md +0 -195
- data/Gemfile +0 -4
- data/Rakefile +0 -9
- data/bin/console +0 -10
- data/bin/setup +0 -6
- data/gitlab.gemspec +0 -31
- 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/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_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_projects.json +0 -44
- data/spec/fixtures/group_search.json +0 -2
- 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_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/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_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 -1
- 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_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/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/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_email.json +0 -1
- data/spec/fixtures/user_emails.json +0 -1
- 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/cli_helpers_spec.rb +0 -57
- data/spec/gitlab/cli_spec.rb +0 -119
- 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 -116
- data/spec/gitlab/client/build_variables_spec.rb +0 -86
- 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 -168
- data/spec/gitlab/client/environments_spec.rb +0 -132
- data/spec/gitlab/client/groups_spec.rb +0 -195
- data/spec/gitlab/client/issues_spec.rb +0 -186
- 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 -224
- 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_triggers_spec.rb +0 -157
- data/spec/gitlab/client/pipelines_spec.rb +0 -95
- data/spec/gitlab/client/projects_spec.rb +0 -613
- 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 -185
- data/spec/gitlab/client/services_spec.rb +0 -55
- 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 -109
- 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 -45
- 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 -97
- data/spec/spec_helper.rb +0 -74
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 +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,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
|
-
]
|
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
|
-
]
|
data/spec/fixtures/issues.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"project_id":1,"title":"Culpa eius recusandae suscipit autem distinctio dolorum.","description":null,"labels":[],"milestone":null,"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":2,"title":"Ut in dolorum omnis sed sit aliquam.","description":null,"labels":[],"milestone":null,"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":null,"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":1,"title":"Vitae ea aliquam et quo eligendi sapiente voluptatum labore hic nihil culpa.","description":null,"labels":[],"milestone":null,"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":2,"title":"Quo enim est nihil atque placeat voluptas neque eos voluptas.","description":null,"labels":[],"milestone":null,"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":null,"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"}]
|
data/spec/fixtures/job.json
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"commit": {
|
3
|
-
"author_email": "admin@example.com",
|
4
|
-
"author_name": "Administrator",
|
5
|
-
"created_at": "2015-12-24T16:51:14.000+01:00",
|
6
|
-
"id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
|
7
|
-
"message": "Test the CI integration.",
|
8
|
-
"short_id": "0ff3ae19",
|
9
|
-
"title": "Test the CI integration."
|
10
|
-
},
|
11
|
-
"coverage": null,
|
12
|
-
"created_at": "2015-12-24T15:51:21.880Z",
|
13
|
-
"artifacts_file": null,
|
14
|
-
"finished_at": "2015-12-24T17:54:31.198Z",
|
15
|
-
"id": 8,
|
16
|
-
"name": "rubocop",
|
17
|
-
"pipeline": {
|
18
|
-
"id": 6,
|
19
|
-
"ref": "master",
|
20
|
-
"sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
|
21
|
-
"status": "pending"
|
22
|
-
},
|
23
|
-
"ref": "master",
|
24
|
-
"runner": null,
|
25
|
-
"stage": "test",
|
26
|
-
"started_at": "2015-12-24T17:54:30.733Z",
|
27
|
-
"status": "failed",
|
28
|
-
"tag": false,
|
29
|
-
"user": {
|
30
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
31
|
-
"bio": null,
|
32
|
-
"created_at": "2015-12-21T13:14:24.077Z",
|
33
|
-
"id": 1,
|
34
|
-
"linkedin": "",
|
35
|
-
"name": "Administrator",
|
36
|
-
"skype": "",
|
37
|
-
"state": "active",
|
38
|
-
"twitter": "",
|
39
|
-
"username": "root",
|
40
|
-
"web_url": "http://gitlab.dev/root",
|
41
|
-
"website_url": ""
|
42
|
-
}
|
43
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
asdasd
|
data/spec/fixtures/jobs.json
DELETED
@@ -1,91 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"commit": {
|
4
|
-
"author_email": "admin@example.com",
|
5
|
-
"author_name": "Administrator",
|
6
|
-
"created_at": "2015-12-24T16:51:14.000+01:00",
|
7
|
-
"id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
|
8
|
-
"message": "Test the CI integration.",
|
9
|
-
"short_id": "0ff3ae19",
|
10
|
-
"title": "Test the CI integration."
|
11
|
-
},
|
12
|
-
"coverage": null,
|
13
|
-
"created_at": "2015-12-24T15:51:21.802Z",
|
14
|
-
"artifacts_file": {
|
15
|
-
"filename": "artifacts.zip",
|
16
|
-
"size": 1000
|
17
|
-
},
|
18
|
-
"finished_at": "2015-12-24T17:54:27.895Z",
|
19
|
-
"id": 7,
|
20
|
-
"name": "teaspoon",
|
21
|
-
"pipeline": {
|
22
|
-
"id": 6,
|
23
|
-
"ref": "master",
|
24
|
-
"sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
|
25
|
-
"status": "pending"
|
26
|
-
},
|
27
|
-
"ref": "master",
|
28
|
-
"runner": null,
|
29
|
-
"stage": "test",
|
30
|
-
"started_at": "2015-12-24T17:54:27.722Z",
|
31
|
-
"status": "failed",
|
32
|
-
"tag": false,
|
33
|
-
"user": {
|
34
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
35
|
-
"bio": null,
|
36
|
-
"created_at": "2015-12-21T13:14:24.077Z",
|
37
|
-
"id": 1,
|
38
|
-
"linkedin": "",
|
39
|
-
"name": "Administrator",
|
40
|
-
"skype": "",
|
41
|
-
"state": "active",
|
42
|
-
"twitter": "",
|
43
|
-
"username": "root",
|
44
|
-
"web_url": "http://gitlab.dev/root",
|
45
|
-
"website_url": ""
|
46
|
-
}
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"commit": {
|
50
|
-
"author_email": "admin@example.com",
|
51
|
-
"author_name": "Administrator",
|
52
|
-
"created_at": "2015-12-24T16:51:14.000+01:00",
|
53
|
-
"id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
|
54
|
-
"message": "Test the CI integration.",
|
55
|
-
"short_id": "0ff3ae19",
|
56
|
-
"title": "Test the CI integration."
|
57
|
-
},
|
58
|
-
"coverage": null,
|
59
|
-
"created_at": "2015-12-24T15:51:21.727Z",
|
60
|
-
"artifacts_file": null,
|
61
|
-
"finished_at": "2015-12-24T17:54:24.921Z",
|
62
|
-
"id": 6,
|
63
|
-
"name": "spinach:other",
|
64
|
-
"pipeline": {
|
65
|
-
"id": 6,
|
66
|
-
"ref": "master",
|
67
|
-
"sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
|
68
|
-
"status": "pending"
|
69
|
-
},
|
70
|
-
"ref": "master",
|
71
|
-
"runner": null,
|
72
|
-
"stage": "test",
|
73
|
-
"started_at": "2015-12-24T17:54:24.729Z",
|
74
|
-
"status": "failed",
|
75
|
-
"tag": false,
|
76
|
-
"user": {
|
77
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
78
|
-
"bio": null,
|
79
|
-
"created_at": "2015-12-21T13:14:24.077Z",
|
80
|
-
"id": 1,
|
81
|
-
"linkedin": "",
|
82
|
-
"name": "Administrator",
|
83
|
-
"skype": "",
|
84
|
-
"state": "active",
|
85
|
-
"twitter": "",
|
86
|
-
"username": "root",
|
87
|
-
"web_url": "http://gitlab.dev/root",
|
88
|
-
"website_url": ""
|
89
|
-
}
|
90
|
-
}
|
91
|
-
]
|
data/spec/fixtures/key.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"id":1,"title":"narkoz@helium","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkUsh42Nh1yefGd1jbSELn5XsY8p5Oxmau0/1HqHnjuYOaj5X+kHccFDwtmtg9Ox8ua/+WptNsiE8IUwsD3zKgEjajgwq3gMeeFdxfXwM+tEvHOOMV9meRrgRWGYCToPbT6sR7/YMAYa7cPqWSpx/oZhYfz4XtoMv3ZZT1fZMmx3MY3HwXwW8j+obJyN2K4LN0TFi9RPgWWYn0DCyb9OccmABimt3i74WoJ/OT8r6/7swce8+OSe0Q2wBhyTtvxg2vtUcoek8Af+EZaUMBwSEzEsocOCzwQvjF5XUk5o7dJ8nP8W3RE60JWX57t16eQm7lBmumLYfszpn2isd6W7a1 narkoz@helium"}
|
data/spec/fixtures/keys.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"title":"narkoz@helium","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkUsh42Nh1yefGd1jbSELn5XsY8p5Oxmau0/1HqHnjuYOaj5X+kHccFDwtmtg9Ox8ua/+WptNsiE8IUwsD3zKgEjajgwq3gMeeFdxfXwM+tEvHOOMV9meRrgRWGYCToPbT6sR7/YMAYa7cPqWSpx/oZhYfz4XtoMv3ZZT1fZMmx3MY3HwXwW8j+obJyN2K4LN0TFi9RPgWWYn0DCyb9OccmABimt3i74WoJ/OT8r6/7swce8+OSe0Q2wBhyTtvxg2vtUcoek8Af+EZaUMBwSEzEsocOCzwQvjF5XUk5o7dJ8nP8W3RE60JWX57t16eQm7lBmumLYfszpn2isd6W7a1 narkoz@helium"}]
|
data/spec/fixtures/label.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"name": "Backlog", "color": "#DD10AA", "subscribed": true}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name": "Backlog", "color": "#DD10AA", "subscribed": false}
|
data/spec/fixtures/labels.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
[{"name": "Backlog", "color": "#DD10AA"},{"name": "Documentation", "color": "#1E80DD"}]
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":1,"target_branch":"master","source_branch":"api","project_id":3,"title":"New feature","closed":false,"merged":false,"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":2,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-10-19T05:56:14Z"}}
|
@@ -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": "MergeRequest"
|
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": "MergeRequest"
|
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": "MergeRequest"
|
33
|
-
}
|
34
|
-
]
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":2,"iid":5,"project_id":3,"title":"Uncovered","description":"","state":"opened","created_at":"2015-03-15T23:15:13.292+01:00","updated_at":"2015-03-15T23:15:14.132+01:00","target_branch":"master","source_branch":"uncovered","upvotes":0,"downvotes":0,"author":{"name":"Dominik Sander","username":"dsander","id":1,"state":"active","avatar_url":"https://secure.gravatar.com/avatar/7f01734389dd6730d076ddee04838bd3?s=40\u0026d=identicon"},"assignee":null,"source_project_id":6,"target_project_id":6,"labels":[],"milestone":null,"changes":[{"old_path":"lib/omniauth/builder.rb","new_path":"lib/omniauth/builder.rb","a_mode":"100644","b_mode":"100644","diff":"--- a/lib/omniauth/builder.rb\n+++ b/lib/omniauth/builder.rb\n@@ -7,11 +7,13 @@ module OmniAuth\n else\n @app = app\n super(\u0026block)\n+ two = 1 # woah! uncovered\n @ins \u003c\u003c @app\n end\n end\n \n def rack14?\n+ one = 2 # thats oke!\n Rack.release.split('.')[1].to_i \u003e= 4\n end\n ","new_file":false,"renamed_file":false,"deleted_file":false}]}
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"iid":1,"project_id":5,"title":"Merge request 1 issue 1","description":"","state":"opened","created_at":"2017-04-06T08:03:36.163Z","updated_at":"2017-04-06T08:03:57.087Z","labels":[],"milestone":null,"assignee":null,"author":{"name":"John","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoe"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"weight":null,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/issues/1"},{"id":2,"iid":2,"project_id":5,"title":"Merge request 1 issue 2","description":"","state":"opened","created_at":"2017-04-06T08:03:44.023Z","updated_at":"2017-04-06T08:03:44.023Z","labels":[],"milestone":null,"assignee":null,"author":{"name":"John","username":"jdoe","id":426047,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoe"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"weight":null,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/issues/2"}]
|
@@ -1 +0,0 @@
|
|
1
|
-
{"note":"Cool Merge Request!","author":{"id":1,"username":"jsmith","email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-07-11T01:32:18Z"}}
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"note":"this is the 1st comment on the 2merge merge request","author":{"id":11,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}},{"note":"another discussion point on the 2merge request","author":{"id":12,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":"a2da7552f26d5b46a6a09bb8b7b066e3a102be7d","short_id":"a2da7552","title": "piyo","author_name":"example","author_email":"example@example.com","created_at":"2015-12-19T18:02:31.000+09:00","message":"fuga"},{"id":"3ce509590f37dbce5b877c3e1c78bd3903493170","short_id":"3ce50959","title":"hoge","author_name":"example","author_email":"example@example.com","created_at":"2015-12-19T17:53:46.000+09:00","message":"Hoge"}]
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"target_branch":"master","source_branch":"api","project_id":3,"title":"New feature","closed":false,"merged":false,"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-10-19T05:56:05Z"},"assignee":{"id":2,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-10-19T05:56:14Z"}}]
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":1,"project_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,"project_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, "path": "john", "kind": "user"}]
|
data/spec/fixtures/note.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"id":1201,"body":"The solution is rather tricky","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"created_at":"2012-11-27T19:16:44Z"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": 4,
|
3
|
-
"name": "mood_bubble_lightning",
|
4
|
-
"user": {
|
5
|
-
"name": "User 4",
|
6
|
-
"username": "user4",
|
7
|
-
"id": 26,
|
8
|
-
"state": "active",
|
9
|
-
"avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
|
10
|
-
"web_url": "http://gitlab.example.com/user4"
|
11
|
-
},
|
12
|
-
"created_at": "2016-06-15T10:09:34.197Z",
|
13
|
-
"updated_at": "2016-06-15T10:09:34.197Z",
|
14
|
-
"awardable_id": 1,
|
15
|
-
"awardable_type": "Note"
|
16
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 2,
|
4
|
-
"name": "mood_bubble_lightning",
|
5
|
-
"user": {
|
6
|
-
"name": "User 4",
|
7
|
-
"username": "user4",
|
8
|
-
"id": 26,
|
9
|
-
"state": "active",
|
10
|
-
"avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
|
11
|
-
"web_url": "http://gitlab.example.com/user4"
|
12
|
-
},
|
13
|
-
"created_at": "2016-06-15T10:09:34.197Z",
|
14
|
-
"updated_at": "2016-06-15T10:09:34.197Z",
|
15
|
-
"awardable_id": 1,
|
16
|
-
"awardable_type": "Note"
|
17
|
-
}
|
18
|
-
]
|
data/spec/fixtures/notes.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1201,"body":"The solution is rather tricky","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"created_at":"2012-11-27T19:16:44Z"},{"id":1207,"body":"I know, right?","author":{"id":1,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-09-17T09:42:03Z"},"created_at":"2012-11-27T19:58:21Z"}]
|
data/spec/fixtures/pipeline.json
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": 46,
|
3
|
-
"status": "success",
|
4
|
-
"ref": "master",
|
5
|
-
"sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
|
6
|
-
"before_sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
|
7
|
-
"tag": false,
|
8
|
-
"yaml_errors": null,
|
9
|
-
"user": {
|
10
|
-
"name": "Administrator",
|
11
|
-
"username": "root",
|
12
|
-
"id": 1,
|
13
|
-
"state": "active",
|
14
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
15
|
-
"web_url": "http://localhost:3000/root"
|
16
|
-
},
|
17
|
-
"created_at": "2016-08-11T11:28:34.085Z",
|
18
|
-
"updated_at": "2016-08-11T11:32:35.169Z",
|
19
|
-
"started_at": null,
|
20
|
-
"finished_at": "2016-08-11T11:32:35.145Z",
|
21
|
-
"committed_at": null,
|
22
|
-
"duration": null
|
23
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": 46,
|
3
|
-
"status": "canceled",
|
4
|
-
"ref": "master",
|
5
|
-
"sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
|
6
|
-
"before_sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
|
7
|
-
"tag": false,
|
8
|
-
"yaml_errors": null,
|
9
|
-
"user": {
|
10
|
-
"name": "Administrator",
|
11
|
-
"username": "root",
|
12
|
-
"id": 1,
|
13
|
-
"state": "active",
|
14
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
15
|
-
"web_url": "http://localhost:3000/root"
|
16
|
-
},
|
17
|
-
"created_at": "2016-08-11T11:28:34.085Z",
|
18
|
-
"updated_at": "2016-08-11T11:32:35.169Z",
|
19
|
-
"started_at": null,
|
20
|
-
"finished_at": "2016-08-11T11:32:35.145Z",
|
21
|
-
"committed_at": null,
|
22
|
-
"duration": null
|
23
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": 61,
|
3
|
-
"sha": "384c444e840a515b23f21915ee5766b87068a70d",
|
4
|
-
"ref": "master",
|
5
|
-
"status": "pending",
|
6
|
-
"before_sha": "0000000000000000000000000000000000000000",
|
7
|
-
"tag": false,
|
8
|
-
"yaml_errors": null,
|
9
|
-
"user": {
|
10
|
-
"name": "Administrator",
|
11
|
-
"username": "root",
|
12
|
-
"id": 1,
|
13
|
-
"state": "active",
|
14
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
15
|
-
"web_url": "http://localhost:3000/root"
|
16
|
-
},
|
17
|
-
"created_at": "2016-11-04T09:36:13.747Z",
|
18
|
-
"updated_at": "2016-11-04T09:36:13.977Z",
|
19
|
-
"started_at": null,
|
20
|
-
"finished_at": null,
|
21
|
-
"committed_at": null,
|
22
|
-
"duration": null
|
23
|
-
}
|