gitlab 4.2.0 → 4.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (271) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +4 -2
  3. data/LICENSE.txt +1 -1
  4. data/README.md +96 -25
  5. data/exe/gitlab +5 -1
  6. data/lib/gitlab/api.rb +8 -3
  7. data/lib/gitlab/cli.rb +15 -15
  8. data/lib/gitlab/cli_helpers.rb +63 -61
  9. data/lib/gitlab/client/access_requests.rb +103 -0
  10. data/lib/gitlab/client/application_settings.rb +172 -0
  11. data/lib/gitlab/client/avatar.rb +21 -0
  12. data/lib/gitlab/client/award_emojis.rb +5 -3
  13. data/lib/gitlab/client/boards.rb +62 -4
  14. data/lib/gitlab/client/branches.rb +53 -14
  15. data/lib/gitlab/client/broadcast_messages.rb +75 -0
  16. data/lib/gitlab/client/build_variables.rb +78 -9
  17. data/lib/gitlab/client/builds.rb +13 -11
  18. data/lib/gitlab/client/commits.rb +89 -19
  19. data/lib/gitlab/client/container_registry.rb +85 -0
  20. data/lib/gitlab/client/deployments.rb +34 -0
  21. data/lib/gitlab/client/environments.rb +5 -3
  22. data/lib/gitlab/client/epic_issues.rb +23 -0
  23. data/lib/gitlab/client/epics.rb +73 -0
  24. data/lib/gitlab/client/events.rb +60 -0
  25. data/lib/gitlab/client/features.rb +48 -0
  26. data/lib/gitlab/client/group_badges.rb +88 -0
  27. data/lib/gitlab/client/group_boards.rb +141 -0
  28. data/lib/gitlab/client/group_labels.rb +88 -0
  29. data/lib/gitlab/client/group_milestones.rb +94 -0
  30. data/lib/gitlab/client/groups.rb +197 -17
  31. data/lib/gitlab/client/issue_links.rb +48 -0
  32. data/lib/gitlab/client/issues.rb +98 -4
  33. data/lib/gitlab/client/jobs.rb +96 -8
  34. data/lib/gitlab/client/keys.rb +13 -0
  35. data/lib/gitlab/client/labels.rb +7 -5
  36. data/lib/gitlab/client/lint.rb +19 -0
  37. data/lib/gitlab/client/markdown.rb +23 -0
  38. data/lib/gitlab/client/merge_request_approvals.rb +265 -0
  39. data/lib/gitlab/client/merge_requests.rb +237 -9
  40. data/lib/gitlab/client/milestones.rb +19 -5
  41. data/lib/gitlab/client/namespaces.rb +4 -2
  42. data/lib/gitlab/client/notes.rb +58 -12
  43. data/lib/gitlab/client/pipeline_schedules.rb +147 -0
  44. data/lib/gitlab/client/pipeline_triggers.rb +12 -10
  45. data/lib/gitlab/client/pipelines.rb +40 -3
  46. data/lib/gitlab/client/project_badges.rb +85 -0
  47. data/lib/gitlab/client/project_clusters.rb +83 -0
  48. data/lib/gitlab/client/project_release_links.rb +76 -0
  49. data/lib/gitlab/client/project_releases.rb +79 -0
  50. data/lib/gitlab/client/projects.rb +280 -47
  51. data/lib/gitlab/client/protected_tags.rb +59 -0
  52. data/lib/gitlab/client/remote_mirrors.rb +51 -0
  53. data/lib/gitlab/client/repositories.rb +60 -6
  54. data/lib/gitlab/client/repository_files.rb +23 -5
  55. data/lib/gitlab/client/repository_submodules.rb +27 -0
  56. data/lib/gitlab/client/resource_label_events.rb +82 -0
  57. data/lib/gitlab/client/resource_state_events.rb +57 -0
  58. data/lib/gitlab/client/runners.rb +111 -15
  59. data/lib/gitlab/client/search.rb +66 -0
  60. data/lib/gitlab/client/services.rb +4 -1
  61. data/lib/gitlab/client/sidekiq.rb +39 -0
  62. data/lib/gitlab/client/snippets.rb +8 -4
  63. data/lib/gitlab/client/system_hooks.rb +9 -7
  64. data/lib/gitlab/client/tags.rb +15 -14
  65. data/lib/gitlab/client/templates.rb +100 -0
  66. data/lib/gitlab/client/todos.rb +7 -5
  67. data/lib/gitlab/client/user_snippets.rb +114 -0
  68. data/lib/gitlab/client/users.rb +166 -30
  69. data/lib/gitlab/client/versions.rb +18 -0
  70. data/lib/gitlab/client/wikis.rb +79 -0
  71. data/lib/gitlab/client.rb +49 -12
  72. data/lib/gitlab/configuration.rb +8 -6
  73. data/lib/gitlab/error.rb +74 -5
  74. data/lib/gitlab/file_response.rb +5 -3
  75. data/lib/gitlab/help.rb +19 -20
  76. data/lib/gitlab/objectified_hash.rb +27 -10
  77. data/lib/gitlab/page_links.rb +11 -9
  78. data/lib/gitlab/paginated_response.rb +37 -24
  79. data/lib/gitlab/request.rb +42 -53
  80. data/lib/gitlab/shell.rb +11 -12
  81. data/lib/gitlab/shell_history.rb +11 -13
  82. data/lib/gitlab/version.rb +3 -1
  83. data/lib/gitlab.rb +19 -8
  84. metadata +50 -395
  85. data/.gitignore +0 -22
  86. data/.travis.yml +0 -8
  87. data/CONTRIBUTING.md +0 -195
  88. data/Gemfile +0 -4
  89. data/Rakefile +0 -9
  90. data/bin/console +0 -10
  91. data/bin/setup +0 -6
  92. data/gitlab.gemspec +0 -31
  93. data/spec/fixtures/board_list.json +0 -1
  94. data/spec/fixtures/board_lists.json +0 -1
  95. data/spec/fixtures/boards.json +0 -1
  96. data/spec/fixtures/branch.json +0 -1
  97. data/spec/fixtures/branch_delete.json +0 -3
  98. data/spec/fixtures/branches.json +0 -1
  99. data/spec/fixtures/build.json +0 -38
  100. data/spec/fixtures/build_artifacts.json +0 -0
  101. data/spec/fixtures/build_cancel.json +0 -24
  102. data/spec/fixtures/build_erase.json +0 -24
  103. data/spec/fixtures/build_retry.json +0 -24
  104. data/spec/fixtures/builds.json +0 -78
  105. data/spec/fixtures/builds_commits.json +0 -64
  106. data/spec/fixtures/compare_merge_request_diff.json +0 -31
  107. data/spec/fixtures/empty.json +0 -0
  108. data/spec/fixtures/environment.json +0 -6
  109. data/spec/fixtures/environments.json +0 -14
  110. data/spec/fixtures/error_already_exists.json +0 -1
  111. data/spec/fixtures/error_project_not_found.json +0 -1
  112. data/spec/fixtures/get_repository_file.json +0 -1
  113. data/spec/fixtures/group.json +0 -60
  114. data/spec/fixtures/group_create.json +0 -1
  115. data/spec/fixtures/group_create_with_description.json +0 -1
  116. data/spec/fixtures/group_delete.json +0 -1
  117. data/spec/fixtures/group_member.json +0 -1
  118. data/spec/fixtures/group_member_delete.json +0 -1
  119. data/spec/fixtures/group_member_edit.json +0 -1
  120. data/spec/fixtures/group_members.json +0 -1
  121. data/spec/fixtures/group_projects.json +0 -44
  122. data/spec/fixtures/group_search.json +0 -2
  123. data/spec/fixtures/groups.json +0 -2
  124. data/spec/fixtures/issue.json +0 -1
  125. data/spec/fixtures/issue_award_emoji.json +0 -16
  126. data/spec/fixtures/issue_award_emojis.json +0 -34
  127. data/spec/fixtures/issues.json +0 -1
  128. data/spec/fixtures/job.json +0 -43
  129. data/spec/fixtures/job_trace.json +0 -1
  130. data/spec/fixtures/jobs.json +0 -91
  131. data/spec/fixtures/key.json +0 -1
  132. data/spec/fixtures/keys.json +0 -1
  133. data/spec/fixtures/label.json +0 -1
  134. data/spec/fixtures/label_unsubscribe.json +0 -1
  135. data/spec/fixtures/labels.json +0 -1
  136. data/spec/fixtures/merge_request.json +0 -1
  137. data/spec/fixtures/merge_request_award_emoji.json +0 -16
  138. data/spec/fixtures/merge_request_award_emojis.json +0 -34
  139. data/spec/fixtures/merge_request_changes.json +0 -1
  140. data/spec/fixtures/merge_request_closes_issues.json +0 -1
  141. data/spec/fixtures/merge_request_comment.json +0 -1
  142. data/spec/fixtures/merge_request_comments.json +0 -1
  143. data/spec/fixtures/merge_request_commits.json +0 -1
  144. data/spec/fixtures/merge_requests.json +0 -1
  145. data/spec/fixtures/milestone.json +0 -1
  146. data/spec/fixtures/milestone_issues.json +0 -1
  147. data/spec/fixtures/milestone_merge_requests.json +0 -1
  148. data/spec/fixtures/milestones.json +0 -1
  149. data/spec/fixtures/namespaces.json +0 -1
  150. data/spec/fixtures/note.json +0 -1
  151. data/spec/fixtures/note_award_emoji.json +0 -16
  152. data/spec/fixtures/note_award_emojis.json +0 -18
  153. data/spec/fixtures/notes.json +0 -1
  154. data/spec/fixtures/pipeline.json +0 -23
  155. data/spec/fixtures/pipeline_cancel.json +0 -23
  156. data/spec/fixtures/pipeline_create.json +0 -23
  157. data/spec/fixtures/pipeline_jobs.json +0 -91
  158. data/spec/fixtures/pipeline_retry.json +0 -23
  159. data/spec/fixtures/pipelines.json +0 -48
  160. data/spec/fixtures/project.json +0 -1
  161. data/spec/fixtures/project_commit.json +0 -13
  162. data/spec/fixtures/project_commit_comment.json +0 -1
  163. data/spec/fixtures/project_commit_comments.json +0 -1
  164. data/spec/fixtures/project_commit_create.json +0 -22
  165. data/spec/fixtures/project_commit_diff.json +0 -10
  166. data/spec/fixtures/project_commit_status.json +0 -42
  167. data/spec/fixtures/project_commits.json +0 -1
  168. data/spec/fixtures/project_edit.json +0 -21
  169. data/spec/fixtures/project_events.json +0 -1
  170. data/spec/fixtures/project_for_user.json +0 -1
  171. data/spec/fixtures/project_fork.json +0 -50
  172. data/spec/fixtures/project_fork_link.json +0 -1
  173. data/spec/fixtures/project_forked_for_user.json +0 -50
  174. data/spec/fixtures/project_hook.json +0 -1
  175. data/spec/fixtures/project_hooks.json +0 -1
  176. data/spec/fixtures/project_issues.json +0 -1
  177. data/spec/fixtures/project_key.json +0 -6
  178. data/spec/fixtures/project_keys.json +0 -6
  179. data/spec/fixtures/project_runner_enable.json +0 -7
  180. data/spec/fixtures/project_runners.json +0 -16
  181. data/spec/fixtures/project_search.json +0 -1
  182. data/spec/fixtures/project_star.json +0 -44
  183. data/spec/fixtures/project_tag_annotated.json +0 -1
  184. data/spec/fixtures/project_tag_lightweight.json +0 -1
  185. data/spec/fixtures/project_tags.json +0 -1
  186. data/spec/fixtures/project_unstar.json +0 -44
  187. data/spec/fixtures/project_update_commit_status.json +0 -20
  188. data/spec/fixtures/projects.json +0 -1
  189. data/spec/fixtures/push_rule.json +0 -1
  190. data/spec/fixtures/raw_file.json +0 -2
  191. data/spec/fixtures/release_create.json +0 -1
  192. data/spec/fixtures/release_update.json +0 -1
  193. data/spec/fixtures/repository_file.json +0 -1
  194. data/spec/fixtures/run_trigger.json +0 -1
  195. data/spec/fixtures/runner.json +0 -26
  196. data/spec/fixtures/runner_delete.json +0 -7
  197. data/spec/fixtures/runner_edit.json +0 -26
  198. data/spec/fixtures/runners.json +0 -16
  199. data/spec/fixtures/runners_all.json +0 -30
  200. data/spec/fixtures/service.json +0 -1
  201. data/spec/fixtures/session.json +0 -1
  202. data/spec/fixtures/shell_history.json +0 -2
  203. data/spec/fixtures/snippet.json +0 -1
  204. data/spec/fixtures/snippet_award_emoji.json +0 -16
  205. data/spec/fixtures/snippet_award_emojis.json +0 -34
  206. data/spec/fixtures/snippet_content.json +0 -3
  207. data/spec/fixtures/snippets.json +0 -1
  208. data/spec/fixtures/system_hook.json +0 -1
  209. data/spec/fixtures/system_hooks.json +0 -1
  210. data/spec/fixtures/tag.json +0 -1
  211. data/spec/fixtures/tag_create.json +0 -1
  212. data/spec/fixtures/tag_create_with_description.json +0 -1
  213. data/spec/fixtures/tag_delete.json +0 -1
  214. data/spec/fixtures/tags.json +0 -1
  215. data/spec/fixtures/team_member.json +0 -1
  216. data/spec/fixtures/team_members.json +0 -1
  217. data/spec/fixtures/todo.json +0 -73
  218. data/spec/fixtures/todos.json +0 -148
  219. data/spec/fixtures/tree.json +0 -1
  220. data/spec/fixtures/trigger.json +0 -10
  221. data/spec/fixtures/triggers.json +0 -12
  222. data/spec/fixtures/user.json +0 -1
  223. data/spec/fixtures/user_block_unblock.json +0 -1
  224. data/spec/fixtures/user_email.json +0 -1
  225. data/spec/fixtures/user_emails.json +0 -1
  226. data/spec/fixtures/user_search.json +0 -1
  227. data/spec/fixtures/users.json +0 -1
  228. data/spec/fixtures/variable.json +0 -4
  229. data/spec/fixtures/variables.json +0 -10
  230. data/spec/gitlab/cli_helpers_spec.rb +0 -57
  231. data/spec/gitlab/cli_spec.rb +0 -119
  232. data/spec/gitlab/client/award_emojis_spec.rb +0 -391
  233. data/spec/gitlab/client/boards_spec.rb +0 -94
  234. data/spec/gitlab/client/branches_spec.rb +0 -116
  235. data/spec/gitlab/client/build_variables_spec.rb +0 -86
  236. data/spec/gitlab/client/builds_spec.rb +0 -148
  237. data/spec/gitlab/client/client_spec.rb +0 -11
  238. data/spec/gitlab/client/commits_spec.rb +0 -168
  239. data/spec/gitlab/client/environments_spec.rb +0 -132
  240. data/spec/gitlab/client/groups_spec.rb +0 -195
  241. data/spec/gitlab/client/issues_spec.rb +0 -186
  242. data/spec/gitlab/client/jobs_spec.rb +0 -135
  243. data/spec/gitlab/client/keys_spec.rb +0 -19
  244. data/spec/gitlab/client/labels_spec.rb +0 -100
  245. data/spec/gitlab/client/merge_requests_spec.rb +0 -224
  246. data/spec/gitlab/client/milestones_spec.rb +0 -98
  247. data/spec/gitlab/client/namespaces_spec.rb +0 -22
  248. data/spec/gitlab/client/notes_spec.rb +0 -333
  249. data/spec/gitlab/client/pipeline_triggers_spec.rb +0 -157
  250. data/spec/gitlab/client/pipelines_spec.rb +0 -95
  251. data/spec/gitlab/client/projects_spec.rb +0 -613
  252. data/spec/gitlab/client/repositories_spec.rb +0 -94
  253. data/spec/gitlab/client/repository_files_spec.rb +0 -95
  254. data/spec/gitlab/client/runners_spec.rb +0 -185
  255. data/spec/gitlab/client/services_spec.rb +0 -55
  256. data/spec/gitlab/client/snippets_spec.rb +0 -100
  257. data/spec/gitlab/client/system_hooks_spec.rb +0 -69
  258. data/spec/gitlab/client/tags_spec.rb +0 -109
  259. data/spec/gitlab/client/todos_spec.rb +0 -45
  260. data/spec/gitlab/client/users_spec.rb +0 -418
  261. data/spec/gitlab/error_spec.rb +0 -45
  262. data/spec/gitlab/file_response_spec.rb +0 -33
  263. data/spec/gitlab/help_spec.rb +0 -46
  264. data/spec/gitlab/objectified_hash_spec.rb +0 -48
  265. data/spec/gitlab/page_links_spec.rb +0 -16
  266. data/spec/gitlab/paginated_response_spec.rb +0 -60
  267. data/spec/gitlab/request_spec.rb +0 -73
  268. data/spec/gitlab/shell_history_spec.rb +0 -53
  269. data/spec/gitlab/shell_spec.rb +0 -80
  270. data/spec/gitlab_spec.rb +0 -97
  271. data/spec/spec_helper.rb +0 -74
@@ -1,44 +0,0 @@
1
- {
2
- "id": 3,
3
- "description": null,
4
- "default_branch": "master",
5
- "public": false,
6
- "visibility_level": 10,
7
- "ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
8
- "http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
9
- "web_url":"http://git.gitlab.com/root/gitlab",
10
- "tag_list": [
11
-
12
- ],
13
- "name": "GitLab Community Edition",
14
- "name_with_namespace": "GitLab / GitLab Community Edition",
15
- "path": "gitlab-ce",
16
- "path_with_namespace": "gitlab/gitlab-ce",
17
- "issues_enabled": true,
18
- "open_issues_count": 1,
19
- "merge_requests_enabled": true,
20
- "builds_enabled": true,
21
- "wiki_enabled": true,
22
- "snippets_enabled": false,
23
- "container_registry_enabled": false,
24
- "created_at": "2013-09-30T13:46:02Z",
25
- "last_activity_at": "2013-09-30T13:46:02Z",
26
- "creator_id": 3,
27
- "namespace": {
28
- "created_at": "2013-09-30T13:46:02Z",
29
- "description": "",
30
- "id": 3,
31
- "name": "GitLab",
32
- "owner_id": 1,
33
- "path": "gitlab",
34
- "updated_at": "2013-09-30T13:46:02Z"
35
- },
36
- "archived": true,
37
- "avatar_url": "http://example.com/uploads/project/avatar/3/uploads/avatar.png",
38
- "shared_runners_enabled": true,
39
- "forks_count": 0,
40
- "star_count": 0,
41
- "public_builds": true,
42
- "shared_with_groups": [],
43
- "only_allow_merge_if_build_succeeds": false
44
- }
@@ -1,20 +0,0 @@
1
- {
2
- "id": 498,
3
- "sha": "7d938cb8ac15788d71f4b67c035515a160ea76d8",
4
- "ref": "decreased-spec",
5
- "status": "failed",
6
- "name": "test",
7
- "target_url": null,
8
- "description": null,
9
- "created_at": "2015-10-23T23:56:49.499+02:00",
10
- "started_at": null,
11
- "finished_at": "2015-10-23T23:56:49.534+02:00",
12
- "author": {
13
- "name": "Dominik Sander",
14
- "username": "dsander",
15
- "id": 1,
16
- "state": "active",
17
- "avatar_url": "https://secure.gravatar.com/avatar/xxx?s=40&d=identicon",
18
- "web_url": "https://github.com/u/dsander"
19
- }
20
- }
@@ -1 +0,0 @@
1
- [{"id":1,"code":"brute","name":"Brute","description":null,"path":"brute","default_branch":null,"owner":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"private":true,"issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2012-09-17T09:41:56Z"},{"id":2,"code":"mozart","name":"Mozart","description":null,"path":"mozart","default_branch":null,"owner":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"private":true,"issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2012-09-17T09:41:57Z"},{"id":3,"code":"gitlab","name":"Gitlab","description":null,"path":"gitlab","default_branch":null,"owner":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"private":true,"issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2012-09-17T09:41:58Z"}]
@@ -1 +0,0 @@
1
- {"id": 1, "project_id": 1, "created_at": "2016-05-25T20:27:15.545Z", "commit_message_regex": "\\b[A-Z]{3}-[0-9]+\\b", "deny_delete_tag": false}
@@ -1,2 +0,0 @@
1
- source 'https://rubygems.org'
2
- gem 'rails', '4.1.2'
@@ -1 +0,0 @@
1
- {"tag_name":"0.0.1","description":"Amazing release. Wow"}
@@ -1 +0,0 @@
1
- {"tag_name":"0.0.1","description":"Amazing release. Wow"}
@@ -1 +0,0 @@
1
- {"file_path":"path","branch_name":"branch","encoding":"base64","content":"Y29udGVudA==","commit_message":"commit message"}
@@ -1 +0,0 @@
1
- {"id":8,"variables":{"a":"10"}}
@@ -1,26 +0,0 @@
1
- {
2
- "active": true,
3
- "architecture": null,
4
- "description": "test-1-20150125",
5
- "id": 6,
6
- "is_shared": false,
7
- "contacted_at": "2016-01-25T16:39:48.066Z",
8
- "name": null,
9
- "platform": null,
10
- "projects": [
11
- {
12
- "id": 1,
13
- "name": "GitLab Community Edition",
14
- "name_with_namespace": "GitLab.org / GitLab Community Edition",
15
- "path": "gitlab-ce",
16
- "path_with_namespace": "gitlab-org/gitlab-ce"
17
- }
18
- ],
19
- "token": "205086a8e3b9a2b818ffac9b89d102",
20
- "revision": null,
21
- "tag_list": [
22
- "ruby",
23
- "mysql"
24
- ],
25
- "version": null
26
- }
@@ -1,7 +0,0 @@
1
- {
2
- "active": true,
3
- "description": "test-1-20150125-test",
4
- "id": 6,
5
- "is_shared": false,
6
- "name": null
7
- }
@@ -1,26 +0,0 @@
1
- {
2
- "active": true,
3
- "architecture": null,
4
- "description": "abcefg",
5
- "id": 6,
6
- "is_shared": false,
7
- "contacted_at": "2016-01-25T16:39:48.066Z",
8
- "name": null,
9
- "platform": null,
10
- "projects": [
11
- {
12
- "id": 1,
13
- "name": "GitLab Community Edition",
14
- "name_with_namespace": "GitLab.org / GitLab Community Edition",
15
- "path": "gitlab-ce",
16
- "path_with_namespace": "gitlab-org/gitlab-ce"
17
- }
18
- ],
19
- "token": "205086a8e3b9a2b818ffac9b89d102",
20
- "revision": null,
21
- "tag_list": [
22
- "ruby",
23
- "mysql"
24
- ],
25
- "version": null
26
- }
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "active": true,
4
- "description": "test-1-20150125",
5
- "id": 6,
6
- "is_shared": false,
7
- "name": null
8
- },
9
- {
10
- "active": true,
11
- "description": "test-2-20150125",
12
- "id": 8,
13
- "is_shared": false,
14
- "name": null
15
- }
16
- ]
@@ -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
- ]
@@ -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"}}
@@ -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,2 +0,0 @@
1
- party on, dudes
2
- be excellent to each other
@@ -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
- ]
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- puts "Cool snippet!"
@@ -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"}]
@@ -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"}
@@ -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}]
@@ -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
- }
@@ -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
- ]
@@ -1 +0,0 @@
1
- [{"id":"a2cc3b0ffc1c7d06fab5642eb99ea387b57f22f8","name":"app","type":"tree","mode":"040000"},{"id":"63164bdfbc11b69f1032fbe35da0f1e9c18af2fd","name":"bin","type":"tree","mode":"040000"},{"id":"2cf682191722f20f00a371d7da58f6a35701c11d","name":"config","type":"tree","mode":"040000"},{"id":"2e76c8c1bbc46bcc762788a432d802d65a534a28","name":"db","type":"tree","mode":"040000"},{"id":"767cfc8360b50c50bb5bdde288b96a84e3efa66e","name":"doc","type":"tree","mode":"040000"},{"id":"3fa0d1024f5e372bf9e43d1dac47bd1e95ab0858","name":"lib","type":"tree","mode":"040000"},{"id":"4e79d0ac6225844602a1b9273b26d8996f777bf2","name":"log","type":"tree","mode":"040000"},{"id":"7cb7f593c6914d20fa6cc4ab5a7c34337a50e97c","name":"public","type":"tree","mode":"040000"},{"id":"d97169eef778f3cd1d4d94cbe3415b3166d15c71","name":"spec","type":"tree","mode":"040000"},{"id":"97c97da29fa97e2158cfdcdcb042af9da0bc3de4","name":"vendor","type":"tree","mode":"040000"},{"id":"d316760e4746059c117007507594a1d75b47df38","name":".gitignore","type":"blob","mode":"100644"},{"id":"f2e7cd477536f18d8e939faf452930b59a27063d","name":".travis.yml","type":"blob","mode":"100644"},{"id":"d5c68bda5f0fe703a80906f66cfe537ca807a5a6","name":"Capfile","type":"blob","mode":"100644"},{"id":"8f46eac03c6cd7ce03cda7ec3d78afdc6971e4c0","name":"Gemfile","type":"blob","mode":"100644"},{"id":"5e260573173b51eaa073661d7914fb0e935ee27f","name":"Gemfile.lock","type":"blob","mode":"100644"},{"id":"e57032f682b69f14243c09d66a0892a03b4c6045","name":"Procfile","type":"blob","mode":"100644"},{"id":"905e96da839dad683dfcf4e202bf1e030390b964","name":"README.md","type":"blob","mode":"100644"},{"id":"24a16769fd94926350a59f7b1cbd78e9e2674c57","name":"Rakefile","type":"blob","mode":"100644"},{"id":"b384d6d57c6a775a9b6bc35d79ad7f03e673a233","name":"config.ru","type":"blob","mode":"100644"}]
@@ -1,10 +0,0 @@
1
- {
2
- "id": 10,
3
- "description": "my trigger",
4
- "created_at": "2016-01-07T09:53:58.235Z",
5
- "deleted_at": null,
6
- "last_used": null,
7
- "token": "6d056f63e50fe6f8c5f8f4aa10edb7",
8
- "updated_at": "2016-01-07T09:53:58.235Z",
9
- "owner": null
10
- }
@@ -1,12 +0,0 @@
1
- [
2
- {
3
- "id": 10,
4
- "description": "my trigger",
5
- "created_at": "2016-01-07T09:53:58.235Z",
6
- "deleted_at": null,
7
- "last_used": null,
8
- "token": "6d056f63e50fe6f8c5f8f4aa10edb7",
9
- "updated_at": "2016-01-07T09:53:58.235Z",
10
- "owner": null
11
- }
12
- ]
@@ -1 +0,0 @@
1
- {"id":1,"email":"john@example.com","name":"John Smith","username":"john.smith","bio":null,"skype":"","linkedin":"","twitter":"john","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:41:56Z"}
@@ -1 +0,0 @@
1
- true
@@ -1 +0,0 @@
1
- {"id":1,"email":"email@example.com"}
@@ -1 +0,0 @@
1
- [{"id":1,"email":"email@example.com"},{"id":3,"email":"email2@example.com"}]
@@ -1 +0,0 @@
1
- [{"id":1,"email":"john1@example.com","name":"John Smith 1","username":"john.smith1","bio":null,"skype":"","linkedin":"","twitter":"john1","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:41:56Z"},{"id":2,"email":"john2@example.com","name":"John Smith 2","username":"john.smith2","bio":null,"skype":"","linkedin":"","twitter":"john2","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:42:56Z"}]
@@ -1 +0,0 @@
1
- [{"id":1,"email":"john@example.com","name":"John Smith","username":"john.smith","bio":null,"skype":"","linkedin":"","twitter":"john","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:41:56Z"},{"id":2,"email":"jack@example.com","name":"Jack Smith","username":"jack.smith","bio":null,"skype":"","linkedin":"","twitter":"","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:42:03Z"},{"id":3,"email":"wilma@mayerblanda.ca","name":"Beatrice Jewess","username":"beatrice.jewess","bio":null,"skype":"","linkedin":"","twitter":"","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:42:03Z"},{"id":4,"email":"nicole@mertz.com","name":"Felipe Davis","username":"felipe.davis","bio":null,"skype":"","linkedin":"","twitter":"","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:42:03Z"},{"id":5,"email":"aliza_stark@schmeler.info","name":"Michale Von","username":"michale.von","bio":null,"skype":"","linkedin":"","twitter":"","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:42:03Z"},{"id":6,"email":"faye.watsica@rohanwalter.com","name":"Ambrose Hansen","username":"ambrose.hansen","bio":null,"skype":"","linkedin":"","twitter":"","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:42:03Z"},{"id":7,"email":"maida@walshtorp.name","name":"Alana Hahn","username":"alana.hahn","bio":null,"skype":"","linkedin":"","twitter":"","dark_scheme":false,"theme_id":1,"blocked":false,"created_at":"2012-09-17T09:42:03Z"}]
@@ -1,4 +0,0 @@
1
- {
2
- "key": "VARIABLE",
3
- "value": "the value"
4
- }
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "key": "TEST_VARIABLE_1",
4
- "value": "TEST_1"
5
- },
6
- {
7
- "key": "TEST_VARIABLE_2",
8
- "value": "TEST_2"
9
- }
10
- ]