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/.dockerignore
DELETED
data/.rubocop.yml
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
2
|
-
Enabled: false
|
3
|
-
|
4
|
-
Style/Alias:
|
5
|
-
Enabled: false
|
6
|
-
|
7
|
-
Style/PercentLiteralDelimiters:
|
8
|
-
Enabled: false
|
9
|
-
|
10
|
-
Layout/DotPosition:
|
11
|
-
Enabled: false
|
12
|
-
|
13
|
-
Metrics/LineLength:
|
14
|
-
Max: 100
|
15
|
-
Exclude:
|
16
|
-
- 'lib/gitlab/client/*'
|
17
|
-
- 'spec/**/*'
|
18
|
-
|
19
|
-
Style/ClassAndModuleChildren:
|
20
|
-
Exclude:
|
21
|
-
- 'lib/gitlab/client/*'
|
22
|
-
|
23
|
-
Layout/SpaceInsideHashLiteralBraces:
|
24
|
-
Exclude:
|
25
|
-
- 'lib/gitlab/client/*'
|
26
|
-
|
27
|
-
Style/StringLiterals:
|
28
|
-
Exclude:
|
29
|
-
- 'spec/**/*'
|
30
|
-
|
31
|
-
Metrics/BlockLength:
|
32
|
-
Exclude:
|
33
|
-
- 'spec/**/*'
|
data/.travis.yml
DELETED
data/Dockerfile
DELETED
data/docker-compose.yml
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# For more information, see https://docs.gitlab.com/omnibus/docker/README.html#install-gitlab-using-docker-compose
|
2
|
-
version: '3'
|
3
|
-
services:
|
4
|
-
app:
|
5
|
-
build: .
|
6
|
-
volumes:
|
7
|
-
- ./:/app
|
8
|
-
env_file: docker.env
|
9
|
-
|
10
|
-
gitlab:
|
11
|
-
image: 'gitlab/gitlab-ce:latest'
|
12
|
-
restart: always
|
13
|
-
hostname: 'gitlab.example.com'
|
14
|
-
environment:
|
15
|
-
GITLAB_OMNIBUS_CONFIG: |
|
16
|
-
external_url 'http://gitlab.example.com:3000'
|
17
|
-
# Add any other gitlab.rb configuration here, each on its own line
|
18
|
-
ports:
|
19
|
-
- 3000:3000
|
data/docker.env
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 1,
|
4
|
-
"username": "raymond_smith",
|
5
|
-
"name": "Raymond Smith",
|
6
|
-
"state": "active",
|
7
|
-
"created_at": "2012-10-22T14:13:35Z",
|
8
|
-
"requested_at": "2012-10-22T14:13:35Z"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": 2,
|
12
|
-
"username": "john_doe",
|
13
|
-
"name": "John Doe",
|
14
|
-
"state": "active",
|
15
|
-
"created_at": "2012-10-22T14:13:35Z",
|
16
|
-
"requested_at": "2012-10-22T14:13:35Z"
|
17
|
-
}
|
18
|
-
]
|
@@ -1 +0,0 @@
|
|
1
|
-
{ "id" : 1, "label" : { "name" : "Testing", "color" : "#F0AD4E", "description" : null }, "position" : 1 }
|
@@ -1 +0,0 @@
|
|
1
|
-
[ { "id" : 1, "label" : { "name" : "Testing", "color" : "#F0AD4E", "description" : null }, "position" : 1 }, { "id" : 2, "label" : { "name" : "Ready", "color" : "#FF0000", "description" : null }, "position" : 2 }, { "id" : 3, "label" : { "name" : "Production", "color" : "#FF5F00", "description" : null }, "position" : 3 } ]
|
data/spec/fixtures/boards.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
[ { "id" : 1, "lists" : [ { "id" : 1, "label" : { "name" : "Testing", "color" : "#F0AD4E", "description" : null }, "position" : 1 }, { "id" : 2, "label" : { "name" : "Ready", "color" : "#FF0000", "description" : null }, "position" : 2 }, { "id" : 3, "label" : { "name" : "Production", "color" : "#FF5F00", "description" : null }, "position" : 3 } ] } ]
|
data/spec/fixtures/branch.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"api","commit":{"id":"f7dd067490fe57505f7226c3b54d3127d2f7fd46","parents":[{"id":"949b1df930bedace1dbd755aaa4a82e8c451a616"}],"tree":"f8c4b21c036339f92fcc5482aa28a41250553b27","message":"API: expose issues project id","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-07-25T04:22:21-07:00","committed_date":"2012-07-25T04:22:21-07:00"},"protected": true}
|
data/spec/fixtures/branches.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
[{"name":"api","commit":{"id":"f7dd067490fe57505f7226c3b54d3127d2f7fd46","parents":[{"id":"949b1df930bedace1dbd755aaa4a82e8c451a616"}],"tree":"f8c4b21c036339f92fcc5482aa28a41250553b27","message":"API: expose issues project id","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-07-25T04:22:21-07:00","committed_date":"2012-07-25T04:22:21-07:00"}},{"name":"dashboard-feed","commit":{"id":"f8f6ff065eccc6ede4d35ed87a09bb962b84ca25","parents":[{"id":"2cf8010792c3075824ee27d0f037aeb178cbbf7e"}],"tree":"e17f2157143d550891d4669c10b7446e4739bc6d","message":"add projects atom feed","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-05-31T23:42:02-07:00","committed_date":"2012-05-31T23:42:02-07:00"}},{"name":"master","commit":{"id":"2cf8010792c3075824ee27d0f037aeb178cbbf7e","parents":[{"id":"af226ae9c9af406c8a0e0bbdf364563495c2f432"},{"id":"e851cb07762aa464aae10e8b4b28de87c1a6f925"}],"tree":"6c6845838039f01723d91f395a1d2fa1dcc82522","message":"Merge pull request #868 from SaitoWu/bugfix/encoding\n\nBugfix/encoding","author":{"name":"Dmitriy Zaporozhets","email":"dmitriy.zaporozhets@gmail.com"},"committer":{"name":"Dmitriy Zaporozhets","email":"dmitriy.zaporozhets@gmail.com"},"authored_date":"2012-05-30T00:24:43-07:00","committed_date":"2012-05-30T00:24:43-07:00"}},{"name":"preview_notes","commit":{"id":"3749e0d99ac6bfbc65889b1b7a5310e14e7fe89a","parents":[{"id":"2483181f2c3d4ea7d2c68147b19bc07fc3937b0c"}],"tree":"f8c56161b0d6561568f088df9961362eb1ece88b","message":"pass project_id to notes preview path","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-08-09T23:46:27-07:00","committed_date":"2012-08-09T23:46:27-07:00"}},{"name":"refactoring","commit":{"id":"7c7761099cae83f59fe5780340e100be890847b2","parents":[{"id":"058d80b3363dd4fc4417ca4f60f76119188a2470"}],"tree":"d7d4a94c700dc0e84ee943019213d2358a49c413","message":"fix deprecation warnings","author":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"committer":{"name":"Nihad Abbasov","email":"narkoz.2008@gmail.com"},"authored_date":"2012-05-29T07:16:28-07:00","committed_date":"2012-05-29T07:16:28-07:00"}}]
|
data/spec/fixtures/build.json
DELETED
@@ -1,38 +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
|
-
"download_url": null,
|
14
|
-
"finished_at": "2015-12-24T17:54:31.198Z",
|
15
|
-
"id": 8,
|
16
|
-
"name": "rubocop",
|
17
|
-
"ref": "master",
|
18
|
-
"runner": null,
|
19
|
-
"stage": "test",
|
20
|
-
"started_at": "2015-12-24T17:54:30.733Z",
|
21
|
-
"status": "failed",
|
22
|
-
"tag": false,
|
23
|
-
"user": {
|
24
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
25
|
-
"bio": null,
|
26
|
-
"created_at": "2015-12-21T13:14:24.077Z",
|
27
|
-
"id": 1,
|
28
|
-
"is_admin": true,
|
29
|
-
"linkedin": "",
|
30
|
-
"name": "John Smith",
|
31
|
-
"skype": "",
|
32
|
-
"state": "active",
|
33
|
-
"twitter": "",
|
34
|
-
"username": "root",
|
35
|
-
"web_url": "http://gitlab.dev/u/root",
|
36
|
-
"website_url": ""
|
37
|
-
}
|
38
|
-
}
|
Binary file
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"commit": {
|
3
|
-
"author_email": "admin@example.com",
|
4
|
-
"author_name": "John Smith",
|
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": "2016-01-11T10:13:33.506Z",
|
13
|
-
"download_url": null,
|
14
|
-
"finished_at": "2016-01-11T10:14:09.526Z",
|
15
|
-
"id": 69,
|
16
|
-
"name": "rubocop",
|
17
|
-
"ref": "master",
|
18
|
-
"runner": null,
|
19
|
-
"stage": "test",
|
20
|
-
"started_at": null,
|
21
|
-
"status": "canceled",
|
22
|
-
"tag": false,
|
23
|
-
"user": null
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"commit": {
|
3
|
-
"author_email": "admin@example.com",
|
4
|
-
"author_name": "John Smith",
|
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
|
-
"download_url": null,
|
13
|
-
"id": 69,
|
14
|
-
"name": "rubocop",
|
15
|
-
"ref": "master",
|
16
|
-
"runner": null,
|
17
|
-
"stage": "test",
|
18
|
-
"created_at": "2016-01-11T10:13:33.506Z",
|
19
|
-
"started_at": "2016-01-11T10:13:33.506Z",
|
20
|
-
"finished_at": "2016-01-11T10:15:10.506Z",
|
21
|
-
"status": "failed",
|
22
|
-
"tag": false,
|
23
|
-
"user": null
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"commit": {
|
3
|
-
"author_email": "admin@example.com",
|
4
|
-
"author_name": "John Smith",
|
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": "2016-01-11T10:13:33.506Z",
|
13
|
-
"download_url": null,
|
14
|
-
"finished_at": null,
|
15
|
-
"id": 69,
|
16
|
-
"name": "rubocop",
|
17
|
-
"ref": "master",
|
18
|
-
"runner": null,
|
19
|
-
"stage": "test",
|
20
|
-
"started_at": null,
|
21
|
-
"status": "pending",
|
22
|
-
"tag": false,
|
23
|
-
"user": null
|
24
|
-
}
|
data/spec/fixtures/builds.json
DELETED
@@ -1,78 +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
|
-
"download_url": null,
|
15
|
-
"finished_at": "2015-12-24T17:54:27.895Z",
|
16
|
-
"id": 7,
|
17
|
-
"name": "teaspoon",
|
18
|
-
"ref": "master",
|
19
|
-
"runner": null,
|
20
|
-
"stage": "test",
|
21
|
-
"started_at": "2015-12-24T17:54:27.722Z",
|
22
|
-
"status": "failed",
|
23
|
-
"tag": false,
|
24
|
-
"user": {
|
25
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
26
|
-
"bio": null,
|
27
|
-
"created_at": "2015-12-21T13:14:24.077Z",
|
28
|
-
"id": 1,
|
29
|
-
"is_admin": true,
|
30
|
-
"linkedin": "",
|
31
|
-
"name": "Administrator",
|
32
|
-
"skype": "",
|
33
|
-
"state": "active",
|
34
|
-
"twitter": "",
|
35
|
-
"username": "root",
|
36
|
-
"web_url": "http://gitlab.dev/u/root",
|
37
|
-
"website_url": ""
|
38
|
-
}
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"commit": {
|
42
|
-
"author_email": "admin@example.com",
|
43
|
-
"author_name": "Administrator",
|
44
|
-
"created_at": "2015-12-24T16:51:14.000+01:00",
|
45
|
-
"id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
|
46
|
-
"message": "Test the CI integration.",
|
47
|
-
"short_id": "0ff3ae19",
|
48
|
-
"title": "Test the CI integration."
|
49
|
-
},
|
50
|
-
"coverage": null,
|
51
|
-
"created_at": "2015-12-24T15:51:21.727Z",
|
52
|
-
"download_url": null,
|
53
|
-
"finished_at": "2015-12-24T17:54:24.921Z",
|
54
|
-
"id": 6,
|
55
|
-
"name": "spinach:other",
|
56
|
-
"ref": "master",
|
57
|
-
"runner": null,
|
58
|
-
"stage": "test",
|
59
|
-
"started_at": "2015-12-24T17:54:24.729Z",
|
60
|
-
"status": "failed",
|
61
|
-
"tag": false,
|
62
|
-
"user": {
|
63
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
64
|
-
"bio": null,
|
65
|
-
"created_at": "2015-12-21T13:14:24.077Z",
|
66
|
-
"id": 1,
|
67
|
-
"is_admin": true,
|
68
|
-
"linkedin": "",
|
69
|
-
"name": "Administrator",
|
70
|
-
"skype": "",
|
71
|
-
"state": "active",
|
72
|
-
"twitter": "",
|
73
|
-
"username": "root",
|
74
|
-
"web_url": "http://gitlab.dev/u/root",
|
75
|
-
"website_url": ""
|
76
|
-
}
|
77
|
-
}
|
78
|
-
]
|
@@ -1,64 +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": "2016-01-11T10:13:33.506Z",
|
14
|
-
"download_url": null,
|
15
|
-
"finished_at": "2016-01-11T10:14:09.526Z",
|
16
|
-
"id": 69,
|
17
|
-
"name": "rubocop",
|
18
|
-
"ref": "master",
|
19
|
-
"runner": null,
|
20
|
-
"stage": "test",
|
21
|
-
"started_at": null,
|
22
|
-
"status": "canceled",
|
23
|
-
"tag": false,
|
24
|
-
"user": null
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"commit": {
|
28
|
-
"author_email": "admin@example.com",
|
29
|
-
"author_name": "Administrator",
|
30
|
-
"created_at": "2015-12-24T16:51:14.000+01:00",
|
31
|
-
"id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
|
32
|
-
"message": "Test the CI integration.",
|
33
|
-
"short_id": "0ff3ae19",
|
34
|
-
"title": "Test the CI integration."
|
35
|
-
},
|
36
|
-
"coverage": null,
|
37
|
-
"created_at": "2015-12-24T15:51:21.957Z",
|
38
|
-
"download_url": null,
|
39
|
-
"finished_at": "2015-12-24T17:54:33.913Z",
|
40
|
-
"id": 9,
|
41
|
-
"name": "brakeman",
|
42
|
-
"ref": "master",
|
43
|
-
"runner": null,
|
44
|
-
"stage": "test",
|
45
|
-
"started_at": "2015-12-24T17:54:33.727Z",
|
46
|
-
"status": "failed",
|
47
|
-
"tag": false,
|
48
|
-
"user": {
|
49
|
-
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
|
50
|
-
"bio": null,
|
51
|
-
"created_at": "2015-12-21T13:14:24.077Z",
|
52
|
-
"id": 1,
|
53
|
-
"is_admin": true,
|
54
|
-
"linkedin": "",
|
55
|
-
"name": "Administrator",
|
56
|
-
"skype": "",
|
57
|
-
"state": "active",
|
58
|
-
"twitter": "",
|
59
|
-
"username": "root",
|
60
|
-
"web_url": "http://gitlab.dev/u/root",
|
61
|
-
"website_url": ""
|
62
|
-
}
|
63
|
-
}
|
64
|
-
]
|
@@ -1,31 +0,0 @@
|
|
1
|
-
|
2
|
-
{
|
3
|
-
"commit": {
|
4
|
-
"id": "12d65c8dd2b2676fa3ac47d955accc085a37a9c1",
|
5
|
-
"short_id": "12d65c8dd2b",
|
6
|
-
"title": "JS fix",
|
7
|
-
"author_name": "Dmitriy Zaporozhets",
|
8
|
-
"author_email": "dmitriy.zaporozhets@gmail.com",
|
9
|
-
"created_at": "2014-02-27T10:27:00+02:00"
|
10
|
-
},
|
11
|
-
"commits": [{
|
12
|
-
"id": "12d65c8dd2b2676fa3ac47d955accc085a37a9c1",
|
13
|
-
"short_id": "12d65c8dd2b",
|
14
|
-
"title": "JS fix",
|
15
|
-
"author_name": "Dmitriy Zaporozhets",
|
16
|
-
"author_email": "dmitriy.zaporozhets@gmail.com",
|
17
|
-
"created_at": "2014-02-27T10:27:00+02:00"
|
18
|
-
}],
|
19
|
-
"diffs": [{
|
20
|
-
"old_path": "files/js/application.js",
|
21
|
-
"new_path": "files/js/application.js",
|
22
|
-
"a_mode": null,
|
23
|
-
"b_mode": "100644",
|
24
|
-
"diff": "--- a/files/js/application.js\n+++ b/files/js/application.js\n@@ -24,8 +24,10 @@\n //= require g.raphael-min\n //= require g.bar-min\n //= require branch-graph\n-//= require highlightjs.min\n-//= require ace/ace\n //= require_tree .\n //= require d3\n //= require underscore\n+\n+function fix() { \n+ alert(\"Fixed\")\n+}",
|
25
|
-
"new_file": false,
|
26
|
-
"renamed_file": false,
|
27
|
-
"deleted_file": false
|
28
|
-
}],
|
29
|
-
"compare_timeout": false,
|
30
|
-
"compare_same_ref": false
|
31
|
-
}
|