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
data/spec/fixtures/runners.json
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"active": true,
|
4
|
-
"description": "shared-runner-1",
|
5
|
-
"id": 1,
|
6
|
-
"is_shared": true,
|
7
|
-
"name": null
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"active": true,
|
11
|
-
"description": "shared-runner-2",
|
12
|
-
"id": 3,
|
13
|
-
"is_shared": true,
|
14
|
-
"name": null
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"active": true,
|
18
|
-
"description": "test-1-20150125",
|
19
|
-
"id": 6,
|
20
|
-
"is_shared": false,
|
21
|
-
"name": null
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"active": true,
|
25
|
-
"description": "test-2-20150125",
|
26
|
-
"id": 8,
|
27
|
-
"is_shared": false,
|
28
|
-
"name": null
|
29
|
-
}
|
30
|
-
]
|
data/spec/fixtures/service.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"id":38,"title":"Redmine","created_at":"2015-12-18T14:17:17.592+03:00","updated_at":"2015-12-18T17:55:09.594+03:00","active":true,"push_events":true,"issues_events":true,"merge_requests_events":true,"tag_push_events":true,"note_events":true,"build_events":false,"properties":{"description":"Redmine","project_url":"https://example.com/projects/test_project/issue","issues_url":"https://example.com/issues/:id","new_issue_url":"'https://example.com/projects/test_project/issues/new"}}
|
data/spec/fixtures/session.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z","private_token":"qEsq1pt6HJPaNciie3MG"}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"queues": {
|
3
|
-
"default": {
|
4
|
-
"backlog": 0,
|
5
|
-
"latency": 0
|
6
|
-
}
|
7
|
-
},
|
8
|
-
"processes": [
|
9
|
-
{
|
10
|
-
"hostname": "gitlab.example.com",
|
11
|
-
"pid": 5649,
|
12
|
-
"tag": "gitlab",
|
13
|
-
"started_at": "2016-06-14T10:45:07.159-05:00",
|
14
|
-
"queues": [
|
15
|
-
"post_receive",
|
16
|
-
"mailers",
|
17
|
-
"archive_repo",
|
18
|
-
"system_hook",
|
19
|
-
"project_web_hook",
|
20
|
-
"gitlab_shell",
|
21
|
-
"incoming_email",
|
22
|
-
"runner",
|
23
|
-
"common",
|
24
|
-
"default"
|
25
|
-
],
|
26
|
-
"labels": [],
|
27
|
-
"concurrency": 25,
|
28
|
-
"busy": 0
|
29
|
-
}
|
30
|
-
],
|
31
|
-
"jobs": {
|
32
|
-
"processed": 2,
|
33
|
-
"failed": 0,
|
34
|
-
"enqueued": 0
|
35
|
-
}
|
36
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"processes": [
|
3
|
-
{
|
4
|
-
"hostname": "gitlab.example.com",
|
5
|
-
"pid": 5649,
|
6
|
-
"tag": "gitlab",
|
7
|
-
"started_at": "2016-06-14T10:45:07.159-05:00",
|
8
|
-
"queues": [
|
9
|
-
"post_receive",
|
10
|
-
"mailers",
|
11
|
-
"archive_repo",
|
12
|
-
"system_hook",
|
13
|
-
"project_web_hook",
|
14
|
-
"gitlab_shell",
|
15
|
-
"incoming_email",
|
16
|
-
"runner",
|
17
|
-
"common",
|
18
|
-
"default"
|
19
|
-
],
|
20
|
-
"labels": [],
|
21
|
-
"concurrency": 25,
|
22
|
-
"busy": 0
|
23
|
-
}
|
24
|
-
]
|
25
|
-
}
|
data/spec/fixtures/snippet.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"id":1,"title":"Rails Console ActionMailer","file_name":"mailer_test.rb","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"expires_at":"2012-09-24T00:00:00Z","updated_at":"2012-09-17T09:51:42Z","created_at":"2012-09-17T09:51:42Z"}
|
@@ -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": "Snippet"
|
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": "Snippet"
|
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": "Snippet"
|
33
|
-
}
|
34
|
-
]
|
data/spec/fixtures/snippets.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"title":"Rails Console ActionMailer","file_name":"mailer_test.rb","author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"expires_at":"2012-09-24T00:00:00Z","updated_at":"2012-09-17T09:51:42Z","created_at":"2012-09-17T09:51:42Z"}]
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id": 3, "url": "http://example.com/hook", "created_at": "2013-10-02T10:15:31Z"}
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id": 3, "url": "http://example.com/hook", "created_at": "2013-10-02T10:15:31Z"}]
|
data/spec/fixtures/tag.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"0.0.1","message":null,"commit":{"id":"c260c39f4d73d9087482d29b4d7a88bec834a3d1","message":"rubocop 100%","parent_ids":["b55be4dc5c052fb0058ef1ea96acd5e4e37f1bed"],"authored_date":"2016-04-29T16:11:32.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-04-29T16:11:32.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"0.0.1","message":"this tag is annotated","commit":{"id":"3d3f9288d70f75aa55ea495a3ed5948a628fce11","message":"Added README.md\n","parent_ids":[],"authored_date":"2016-05-25T11:23:07.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-05-25T11:23:07.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":{"tag_name":"0.0.1","description":"and it has release notes"}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"0.0.1","message":"this tag is annotated","commit":{"id":"7225ddbe28add8d168e3175266830ab8e6aabdcc","message":"Readme updated","parent_ids":["c3f101968138aa9b09a92c8b6399b3269d17865e"],"authored_date":"2016-03-07T13:38:07.000+00:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-03-07T13:38:07.000+00:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"tag_name":"0.0.1"}
|
data/spec/fixtures/tags.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
[{"name":"0.0.2","message":null,"commit":{"id":"c260c39f4d73d9087482d29b4d7a88bec834a3d1","message":"rubocop 100%","parent_ids":["b55be4dc5c052fb0058ef1ea96acd5e4e37f1bed"],"authored_date":"2016-04-29T16:11:32.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-04-29T16:11:32.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null},{"name":"0.0.1","message":null,"commit":{"id":"c260c39f4d73d9087482d29b4d7a88bec834a3d1","message":"rubocop 100%","parent_ids":["b55be4dc5c052fb0058ef1ea96acd5e4e37f1bed"],"authored_date":"2016-04-29T16:11:32.000+01:00","author_name":"Bob Bloggs","author_email":"bob.bloggs@nowhere","committed_date":"2016-04-29T16:11:32.000+01:00","committer_name":"Bob Bloggs","committer_email":"bob.bloggs@nowhere"},"release":null}]
|
@@ -1 +0,0 @@
|
|
1
|
-
{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z","access_level":40}
|
@@ -1 +0,0 @@
|
|
1
|
-
[{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z","access_level":40},{"id":2,"email":"jack@example.com","name":"Jack Smith","blocked":false,"created_at":"2012-09-17T09:42:03Z","access_level":20},{"id":3,"email":"wilma@mayerblanda.ca","name":"Beatrice Jewess","blocked":false,"created_at":"2012-09-17T09:42:03Z","access_level":40},{"id":5,"email":"aliza_stark@schmeler.info","name":"Michale Von","blocked":false,"created_at":"2012-09-17T09:42:03Z","access_level":40},{"id":6,"email":"faye.watsica@rohanwalter.com","name":"Ambrose Hansen","blocked":false,"created_at":"2012-09-17T09:42:03Z","access_level":40},{"id":7,"email":"maida@walshtorp.name","name":"Alana Hahn","blocked":false,"created_at":"2012-09-17T09:42:03Z","access_level":20}]
|
data/spec/fixtures/todo.json
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": 102,
|
3
|
-
"project": {
|
4
|
-
"id": 2,
|
5
|
-
"name": "Gitlab Ce",
|
6
|
-
"name_with_namespace": "Gitlab Org / Gitlab Ce",
|
7
|
-
"path": "gitlab-ce",
|
8
|
-
"path_with_namespace": "gitlab-org/gitlab-ce"
|
9
|
-
},
|
10
|
-
"author": {
|
11
|
-
"name": "Administrator",
|
12
|
-
"username": "root",
|
13
|
-
"id": 1,
|
14
|
-
"state": "active",
|
15
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
16
|
-
"web_url": "https://gitlab.example.com/root"
|
17
|
-
},
|
18
|
-
"action_name": "marked",
|
19
|
-
"target_type": "MergeRequest",
|
20
|
-
"target": {
|
21
|
-
"id": 34,
|
22
|
-
"iid": 7,
|
23
|
-
"project_id": 2,
|
24
|
-
"title": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
|
25
|
-
"description": "Et ea et omnis illum cupiditate. Dolor aspernatur tenetur ducimus facilis est nihil. Quo esse cupiditate molestiae illo corrupti qui quidem dolor.",
|
26
|
-
"state": "opened",
|
27
|
-
"created_at": "2016-06-17T07:49:24.419Z",
|
28
|
-
"updated_at": "2016-06-17T07:52:43.484Z",
|
29
|
-
"target_branch": "tutorials_git_tricks",
|
30
|
-
"source_branch": "DNSBL_docs",
|
31
|
-
"upvotes": 0,
|
32
|
-
"downvotes": 0,
|
33
|
-
"author": {
|
34
|
-
"name": "Maxie Medhurst",
|
35
|
-
"username": "craig_rutherford",
|
36
|
-
"id": 12,
|
37
|
-
"state": "active",
|
38
|
-
"avatar_url": "http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon",
|
39
|
-
"web_url": "https://gitlab.example.com/craig_rutherford"
|
40
|
-
},
|
41
|
-
"assignee": {
|
42
|
-
"name": "Administrator",
|
43
|
-
"username": "root",
|
44
|
-
"id": 1,
|
45
|
-
"state": "active",
|
46
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
47
|
-
"web_url": "https://gitlab.example.com/root"
|
48
|
-
},
|
49
|
-
"source_project_id": 2,
|
50
|
-
"target_project_id": 2,
|
51
|
-
"labels": [],
|
52
|
-
"work_in_progress": false,
|
53
|
-
"milestone": {
|
54
|
-
"id": 32,
|
55
|
-
"iid": 2,
|
56
|
-
"project_id": 2,
|
57
|
-
"title": "v1.0",
|
58
|
-
"description": "Assumenda placeat ea voluptatem voluptate qui.",
|
59
|
-
"state": "active",
|
60
|
-
"created_at": "2016-06-17T07:47:34.163Z",
|
61
|
-
"updated_at": "2016-06-17T07:47:34.163Z",
|
62
|
-
"due_date": null
|
63
|
-
},
|
64
|
-
"merge_when_pipeline_succeeds": false,
|
65
|
-
"merge_status": "cannot_be_merged",
|
66
|
-
"subscribed": true,
|
67
|
-
"user_notes_count": 7
|
68
|
-
},
|
69
|
-
"target_url": "https://gitlab.example.com/gitlab-org/gitlab-ce/merge_requests/7",
|
70
|
-
"body": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
|
71
|
-
"state": "done",
|
72
|
-
"created_at": "2016-06-17T07:52:35.225Z"
|
73
|
-
}
|
data/spec/fixtures/todos.json
DELETED
@@ -1,148 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 102,
|
4
|
-
"project": {
|
5
|
-
"id": 2,
|
6
|
-
"name": "Gitlab Ce",
|
7
|
-
"name_with_namespace": "Gitlab Org / Gitlab Ce",
|
8
|
-
"path": "gitlab-ce",
|
9
|
-
"path_with_namespace": "gitlab-org/gitlab-ce"
|
10
|
-
},
|
11
|
-
"author": {
|
12
|
-
"name": "Administrator",
|
13
|
-
"username": "root",
|
14
|
-
"id": 1,
|
15
|
-
"state": "active",
|
16
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
17
|
-
"web_url": "https://gitlab.example.com/root"
|
18
|
-
},
|
19
|
-
"action_name": "marked",
|
20
|
-
"target_type": "MergeRequest",
|
21
|
-
"target": {
|
22
|
-
"id": 34,
|
23
|
-
"iid": 7,
|
24
|
-
"project_id": 2,
|
25
|
-
"title": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
|
26
|
-
"description": "Et ea et omnis illum cupiditate. Dolor aspernatur tenetur ducimus facilis est nihil. Quo esse cupiditate molestiae illo corrupti qui quidem dolor.",
|
27
|
-
"state": "opened",
|
28
|
-
"created_at": "2016-06-17T07:49:24.419Z",
|
29
|
-
"updated_at": "2016-06-17T07:52:43.484Z",
|
30
|
-
"target_branch": "tutorials_git_tricks",
|
31
|
-
"source_branch": "DNSBL_docs",
|
32
|
-
"upvotes": 0,
|
33
|
-
"downvotes": 0,
|
34
|
-
"author": {
|
35
|
-
"name": "Maxie Medhurst",
|
36
|
-
"username": "craig_rutherford",
|
37
|
-
"id": 12,
|
38
|
-
"state": "active",
|
39
|
-
"avatar_url": "http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon",
|
40
|
-
"web_url": "https://gitlab.example.com/craig_rutherford"
|
41
|
-
},
|
42
|
-
"assignee": {
|
43
|
-
"name": "Administrator",
|
44
|
-
"username": "root",
|
45
|
-
"id": 1,
|
46
|
-
"state": "active",
|
47
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
48
|
-
"web_url": "https://gitlab.example.com/root"
|
49
|
-
},
|
50
|
-
"source_project_id": 2,
|
51
|
-
"target_project_id": 2,
|
52
|
-
"labels": [],
|
53
|
-
"work_in_progress": false,
|
54
|
-
"milestone": {
|
55
|
-
"id": 32,
|
56
|
-
"iid": 2,
|
57
|
-
"project_id": 2,
|
58
|
-
"title": "v1.0",
|
59
|
-
"description": "Assumenda placeat ea voluptatem voluptate qui.",
|
60
|
-
"state": "active",
|
61
|
-
"created_at": "2016-06-17T07:47:34.163Z",
|
62
|
-
"updated_at": "2016-06-17T07:47:34.163Z",
|
63
|
-
"due_date": null
|
64
|
-
},
|
65
|
-
"merge_when_pipeline_succeeds": false,
|
66
|
-
"merge_status": "cannot_be_merged",
|
67
|
-
"subscribed": true,
|
68
|
-
"user_notes_count": 7
|
69
|
-
},
|
70
|
-
"target_url": "https://gitlab.example.com/gitlab-org/gitlab-ce/merge_requests/7",
|
71
|
-
"body": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
|
72
|
-
"state": "pending",
|
73
|
-
"created_at": "2016-06-17T07:52:35.225Z"
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"id": 98,
|
77
|
-
"project": {
|
78
|
-
"id": 2,
|
79
|
-
"name": "Gitlab Ce",
|
80
|
-
"name_with_namespace": "Gitlab Org / Gitlab Ce",
|
81
|
-
"path": "gitlab-ce",
|
82
|
-
"path_with_namespace": "gitlab-org/gitlab-ce"
|
83
|
-
},
|
84
|
-
"author": {
|
85
|
-
"name": "Maxie Medhurst",
|
86
|
-
"username": "craig_rutherford",
|
87
|
-
"id": 12,
|
88
|
-
"state": "active",
|
89
|
-
"avatar_url": "http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon",
|
90
|
-
"web_url": "https://gitlab.example.com/craig_rutherford"
|
91
|
-
},
|
92
|
-
"action_name": "assigned",
|
93
|
-
"target_type": "MergeRequest",
|
94
|
-
"target": {
|
95
|
-
"id": 34,
|
96
|
-
"iid": 7,
|
97
|
-
"project_id": 2,
|
98
|
-
"title": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
|
99
|
-
"description": "Et ea et omnis illum cupiditate. Dolor aspernatur tenetur ducimus facilis est nihil. Quo esse cupiditate molestiae illo corrupti qui quidem dolor.",
|
100
|
-
"state": "opened",
|
101
|
-
"created_at": "2016-06-17T07:49:24.419Z",
|
102
|
-
"updated_at": "2016-06-17T07:52:43.484Z",
|
103
|
-
"target_branch": "tutorials_git_tricks",
|
104
|
-
"source_branch": "DNSBL_docs",
|
105
|
-
"upvotes": 0,
|
106
|
-
"downvotes": 0,
|
107
|
-
"author": {
|
108
|
-
"name": "Maxie Medhurst",
|
109
|
-
"username": "craig_rutherford",
|
110
|
-
"id": 12,
|
111
|
-
"state": "active",
|
112
|
-
"avatar_url": "http://www.gravatar.com/avatar/a0d477b3ea21970ce6ffcbb817b0b435?s=80&d=identicon",
|
113
|
-
"web_url": "https://gitlab.example.com/craig_rutherford"
|
114
|
-
},
|
115
|
-
"assignee": {
|
116
|
-
"name": "Administrator",
|
117
|
-
"username": "root",
|
118
|
-
"id": 1,
|
119
|
-
"state": "active",
|
120
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
121
|
-
"web_url": "https://gitlab.example.com/root"
|
122
|
-
},
|
123
|
-
"source_project_id": 2,
|
124
|
-
"target_project_id": 2,
|
125
|
-
"labels": [],
|
126
|
-
"work_in_progress": false,
|
127
|
-
"milestone": {
|
128
|
-
"id": 32,
|
129
|
-
"iid": 2,
|
130
|
-
"project_id": 2,
|
131
|
-
"title": "v1.0",
|
132
|
-
"description": "Assumenda placeat ea voluptatem voluptate qui.",
|
133
|
-
"state": "active",
|
134
|
-
"created_at": "2016-06-17T07:47:34.163Z",
|
135
|
-
"updated_at": "2016-06-17T07:47:34.163Z",
|
136
|
-
"due_date": null
|
137
|
-
},
|
138
|
-
"merge_when_pipeline_succeeds": false,
|
139
|
-
"merge_status": "cannot_be_merged",
|
140
|
-
"subscribed": true,
|
141
|
-
"user_notes_count": 7
|
142
|
-
},
|
143
|
-
"target_url": "https://gitlab.example.com/gitlab-org/gitlab-ce/merge_requests/7",
|
144
|
-
"body": "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat.",
|
145
|
-
"state": "pending",
|
146
|
-
"created_at": "2016-06-17T07:49:24.624Z"
|
147
|
-
}
|
148
|
-
]
|