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
metadata CHANGED
@@ -1,57 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nihad Abbasov
8
+ - Sean Edge
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2017-07-13 00:00:00.000000000 Z
12
+ date: 2021-12-26 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: httparty
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - ">="
18
+ - - "~>"
18
19
  - !ruby/object:Gem::Version
19
- version: '0'
20
+ version: '0.18'
20
21
  type: :runtime
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
- - - ">="
25
+ - - "~>"
25
26
  - !ruby/object:Gem::Version
26
- version: '0'
27
+ version: '0.18'
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: terminal-table
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - ">="
32
33
  - !ruby/object:Gem::Version
33
- version: '0'
34
+ version: 1.5.1
34
35
  type: :runtime
35
36
  prerelease: false
36
37
  version_requirements: !ruby/object:Gem::Requirement
37
38
  requirements:
38
39
  - - ">="
39
40
  - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: pry
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
41
+ version: 1.5.1
55
42
  - !ruby/object:Gem::Dependency
56
43
  name: rake
57
44
  requirement: !ruby/object:Gem::Requirement
@@ -96,57 +83,84 @@ dependencies:
96
83
  version: '0'
97
84
  description: Ruby client and CLI for GitLab API
98
85
  email:
99
- - mail@narkoz.me
86
+ - nihad@42na.in
87
+ - asedge@gmail.com
100
88
  executables:
101
89
  - gitlab
102
90
  extensions: []
103
91
  extra_rdoc_files: []
104
92
  files:
105
- - ".gitignore"
106
- - ".travis.yml"
107
93
  - CHANGELOG.md
108
- - CONTRIBUTING.md
109
- - Gemfile
110
94
  - LICENSE.txt
111
95
  - README.md
112
- - Rakefile
113
- - bin/console
114
- - bin/setup
115
96
  - exe/gitlab
116
- - gitlab.gemspec
117
97
  - lib/gitlab.rb
118
98
  - lib/gitlab/api.rb
119
99
  - lib/gitlab/cli.rb
120
100
  - lib/gitlab/cli_helpers.rb
121
101
  - lib/gitlab/client.rb
102
+ - lib/gitlab/client/access_requests.rb
103
+ - lib/gitlab/client/application_settings.rb
104
+ - lib/gitlab/client/avatar.rb
122
105
  - lib/gitlab/client/award_emojis.rb
123
106
  - lib/gitlab/client/boards.rb
124
107
  - lib/gitlab/client/branches.rb
108
+ - lib/gitlab/client/broadcast_messages.rb
125
109
  - lib/gitlab/client/build_variables.rb
126
110
  - lib/gitlab/client/builds.rb
127
111
  - lib/gitlab/client/commits.rb
112
+ - lib/gitlab/client/container_registry.rb
113
+ - lib/gitlab/client/deployments.rb
128
114
  - lib/gitlab/client/environments.rb
115
+ - lib/gitlab/client/epic_issues.rb
116
+ - lib/gitlab/client/epics.rb
117
+ - lib/gitlab/client/events.rb
118
+ - lib/gitlab/client/features.rb
119
+ - lib/gitlab/client/group_badges.rb
120
+ - lib/gitlab/client/group_boards.rb
121
+ - lib/gitlab/client/group_labels.rb
122
+ - lib/gitlab/client/group_milestones.rb
129
123
  - lib/gitlab/client/groups.rb
124
+ - lib/gitlab/client/issue_links.rb
130
125
  - lib/gitlab/client/issues.rb
131
126
  - lib/gitlab/client/jobs.rb
132
127
  - lib/gitlab/client/keys.rb
133
128
  - lib/gitlab/client/labels.rb
129
+ - lib/gitlab/client/lint.rb
130
+ - lib/gitlab/client/markdown.rb
131
+ - lib/gitlab/client/merge_request_approvals.rb
134
132
  - lib/gitlab/client/merge_requests.rb
135
133
  - lib/gitlab/client/milestones.rb
136
134
  - lib/gitlab/client/namespaces.rb
137
135
  - lib/gitlab/client/notes.rb
136
+ - lib/gitlab/client/pipeline_schedules.rb
138
137
  - lib/gitlab/client/pipeline_triggers.rb
139
138
  - lib/gitlab/client/pipelines.rb
139
+ - lib/gitlab/client/project_badges.rb
140
+ - lib/gitlab/client/project_clusters.rb
141
+ - lib/gitlab/client/project_release_links.rb
142
+ - lib/gitlab/client/project_releases.rb
140
143
  - lib/gitlab/client/projects.rb
144
+ - lib/gitlab/client/protected_tags.rb
145
+ - lib/gitlab/client/remote_mirrors.rb
141
146
  - lib/gitlab/client/repositories.rb
142
147
  - lib/gitlab/client/repository_files.rb
148
+ - lib/gitlab/client/repository_submodules.rb
149
+ - lib/gitlab/client/resource_label_events.rb
150
+ - lib/gitlab/client/resource_state_events.rb
143
151
  - lib/gitlab/client/runners.rb
152
+ - lib/gitlab/client/search.rb
144
153
  - lib/gitlab/client/services.rb
154
+ - lib/gitlab/client/sidekiq.rb
145
155
  - lib/gitlab/client/snippets.rb
146
156
  - lib/gitlab/client/system_hooks.rb
147
157
  - lib/gitlab/client/tags.rb
158
+ - lib/gitlab/client/templates.rb
148
159
  - lib/gitlab/client/todos.rb
160
+ - lib/gitlab/client/user_snippets.rb
149
161
  - lib/gitlab/client/users.rb
162
+ - lib/gitlab/client/versions.rb
163
+ - lib/gitlab/client/wikis.rb
150
164
  - lib/gitlab/configuration.rb
151
165
  - lib/gitlab/error.rb
152
166
  - lib/gitlab/file_response.rb
@@ -158,188 +172,9 @@ files:
158
172
  - lib/gitlab/shell.rb
159
173
  - lib/gitlab/shell_history.rb
160
174
  - lib/gitlab/version.rb
161
- - spec/fixtures/board_list.json
162
- - spec/fixtures/board_lists.json
163
- - spec/fixtures/boards.json
164
- - spec/fixtures/branch.json
165
- - spec/fixtures/branch_delete.json
166
- - spec/fixtures/branches.json
167
- - spec/fixtures/build.json
168
- - spec/fixtures/build_artifacts.json
169
- - spec/fixtures/build_cancel.json
170
- - spec/fixtures/build_erase.json
171
- - spec/fixtures/build_retry.json
172
- - spec/fixtures/builds.json
173
- - spec/fixtures/builds_commits.json
174
- - spec/fixtures/compare_merge_request_diff.json
175
- - spec/fixtures/empty.json
176
- - spec/fixtures/environment.json
177
- - spec/fixtures/environments.json
178
- - spec/fixtures/error_already_exists.json
179
- - spec/fixtures/error_project_not_found.json
180
- - spec/fixtures/get_repository_file.json
181
- - spec/fixtures/group.json
182
- - spec/fixtures/group_create.json
183
- - spec/fixtures/group_create_with_description.json
184
- - spec/fixtures/group_delete.json
185
- - spec/fixtures/group_member.json
186
- - spec/fixtures/group_member_delete.json
187
- - spec/fixtures/group_member_edit.json
188
- - spec/fixtures/group_members.json
189
- - spec/fixtures/group_projects.json
190
- - spec/fixtures/group_search.json
191
- - spec/fixtures/groups.json
192
- - spec/fixtures/issue.json
193
- - spec/fixtures/issue_award_emoji.json
194
- - spec/fixtures/issue_award_emojis.json
195
- - spec/fixtures/issues.json
196
- - spec/fixtures/job.json
197
- - spec/fixtures/job_trace.json
198
- - spec/fixtures/jobs.json
199
- - spec/fixtures/key.json
200
- - spec/fixtures/keys.json
201
- - spec/fixtures/label.json
202
- - spec/fixtures/label_unsubscribe.json
203
- - spec/fixtures/labels.json
204
- - spec/fixtures/merge_request.json
205
- - spec/fixtures/merge_request_award_emoji.json
206
- - spec/fixtures/merge_request_award_emojis.json
207
- - spec/fixtures/merge_request_changes.json
208
- - spec/fixtures/merge_request_closes_issues.json
209
- - spec/fixtures/merge_request_comment.json
210
- - spec/fixtures/merge_request_comments.json
211
- - spec/fixtures/merge_request_commits.json
212
- - spec/fixtures/merge_requests.json
213
- - spec/fixtures/milestone.json
214
- - spec/fixtures/milestone_issues.json
215
- - spec/fixtures/milestone_merge_requests.json
216
- - spec/fixtures/milestones.json
217
- - spec/fixtures/namespaces.json
218
- - spec/fixtures/note.json
219
- - spec/fixtures/note_award_emoji.json
220
- - spec/fixtures/note_award_emojis.json
221
- - spec/fixtures/notes.json
222
- - spec/fixtures/pipeline.json
223
- - spec/fixtures/pipeline_cancel.json
224
- - spec/fixtures/pipeline_create.json
225
- - spec/fixtures/pipeline_jobs.json
226
- - spec/fixtures/pipeline_retry.json
227
- - spec/fixtures/pipelines.json
228
- - spec/fixtures/project.json
229
- - spec/fixtures/project_commit.json
230
- - spec/fixtures/project_commit_comment.json
231
- - spec/fixtures/project_commit_comments.json
232
- - spec/fixtures/project_commit_create.json
233
- - spec/fixtures/project_commit_diff.json
234
- - spec/fixtures/project_commit_status.json
235
- - spec/fixtures/project_commits.json
236
- - spec/fixtures/project_edit.json
237
- - spec/fixtures/project_events.json
238
- - spec/fixtures/project_for_user.json
239
- - spec/fixtures/project_fork.json
240
- - spec/fixtures/project_fork_link.json
241
- - spec/fixtures/project_forked_for_user.json
242
- - spec/fixtures/project_hook.json
243
- - spec/fixtures/project_hooks.json
244
- - spec/fixtures/project_issues.json
245
- - spec/fixtures/project_key.json
246
- - spec/fixtures/project_keys.json
247
- - spec/fixtures/project_runner_enable.json
248
- - spec/fixtures/project_runners.json
249
- - spec/fixtures/project_search.json
250
- - spec/fixtures/project_star.json
251
- - spec/fixtures/project_tag_annotated.json
252
- - spec/fixtures/project_tag_lightweight.json
253
- - spec/fixtures/project_tags.json
254
- - spec/fixtures/project_unstar.json
255
- - spec/fixtures/project_update_commit_status.json
256
- - spec/fixtures/projects.json
257
- - spec/fixtures/push_rule.json
258
- - spec/fixtures/raw_file.json
259
- - spec/fixtures/release_create.json
260
- - spec/fixtures/release_update.json
261
- - spec/fixtures/repository_file.json
262
- - spec/fixtures/run_trigger.json
263
- - spec/fixtures/runner.json
264
- - spec/fixtures/runner_delete.json
265
- - spec/fixtures/runner_edit.json
266
- - spec/fixtures/runners.json
267
- - spec/fixtures/runners_all.json
268
- - spec/fixtures/service.json
269
- - spec/fixtures/session.json
270
- - spec/fixtures/shell_history.json
271
- - spec/fixtures/snippet.json
272
- - spec/fixtures/snippet_award_emoji.json
273
- - spec/fixtures/snippet_award_emojis.json
274
- - spec/fixtures/snippet_content.json
275
- - spec/fixtures/snippets.json
276
- - spec/fixtures/system_hook.json
277
- - spec/fixtures/system_hooks.json
278
- - spec/fixtures/tag.json
279
- - spec/fixtures/tag_create.json
280
- - spec/fixtures/tag_create_with_description.json
281
- - spec/fixtures/tag_delete.json
282
- - spec/fixtures/tags.json
283
- - spec/fixtures/team_member.json
284
- - spec/fixtures/team_members.json
285
- - spec/fixtures/todo.json
286
- - spec/fixtures/todos.json
287
- - spec/fixtures/tree.json
288
- - spec/fixtures/trigger.json
289
- - spec/fixtures/triggers.json
290
- - spec/fixtures/user.json
291
- - spec/fixtures/user_block_unblock.json
292
- - spec/fixtures/user_email.json
293
- - spec/fixtures/user_emails.json
294
- - spec/fixtures/user_search.json
295
- - spec/fixtures/users.json
296
- - spec/fixtures/variable.json
297
- - spec/fixtures/variables.json
298
- - spec/gitlab/cli_helpers_spec.rb
299
- - spec/gitlab/cli_spec.rb
300
- - spec/gitlab/client/award_emojis_spec.rb
301
- - spec/gitlab/client/boards_spec.rb
302
- - spec/gitlab/client/branches_spec.rb
303
- - spec/gitlab/client/build_variables_spec.rb
304
- - spec/gitlab/client/builds_spec.rb
305
- - spec/gitlab/client/client_spec.rb
306
- - spec/gitlab/client/commits_spec.rb
307
- - spec/gitlab/client/environments_spec.rb
308
- - spec/gitlab/client/groups_spec.rb
309
- - spec/gitlab/client/issues_spec.rb
310
- - spec/gitlab/client/jobs_spec.rb
311
- - spec/gitlab/client/keys_spec.rb
312
- - spec/gitlab/client/labels_spec.rb
313
- - spec/gitlab/client/merge_requests_spec.rb
314
- - spec/gitlab/client/milestones_spec.rb
315
- - spec/gitlab/client/namespaces_spec.rb
316
- - spec/gitlab/client/notes_spec.rb
317
- - spec/gitlab/client/pipeline_triggers_spec.rb
318
- - spec/gitlab/client/pipelines_spec.rb
319
- - spec/gitlab/client/projects_spec.rb
320
- - spec/gitlab/client/repositories_spec.rb
321
- - spec/gitlab/client/repository_files_spec.rb
322
- - spec/gitlab/client/runners_spec.rb
323
- - spec/gitlab/client/services_spec.rb
324
- - spec/gitlab/client/snippets_spec.rb
325
- - spec/gitlab/client/system_hooks_spec.rb
326
- - spec/gitlab/client/tags_spec.rb
327
- - spec/gitlab/client/todos_spec.rb
328
- - spec/gitlab/client/users_spec.rb
329
- - spec/gitlab/error_spec.rb
330
- - spec/gitlab/file_response_spec.rb
331
- - spec/gitlab/help_spec.rb
332
- - spec/gitlab/objectified_hash_spec.rb
333
- - spec/gitlab/page_links_spec.rb
334
- - spec/gitlab/paginated_response_spec.rb
335
- - spec/gitlab/request_spec.rb
336
- - spec/gitlab/shell_history_spec.rb
337
- - spec/gitlab/shell_spec.rb
338
- - spec/gitlab_spec.rb
339
- - spec/spec_helper.rb
340
- homepage: https://github.com/narkoz/gitlab
175
+ homepage: https://github.com/NARKOZ/gitlab
341
176
  licenses:
342
- - BSD
177
+ - BSD-2-Clause
343
178
  metadata: {}
344
179
  post_install_message:
345
180
  rdoc_options: []
@@ -349,195 +184,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
349
184
  requirements:
350
185
  - - ">="
351
186
  - !ruby/object:Gem::Version
352
- version: 2.0.0
187
+ version: '2.5'
353
188
  required_rubygems_version: !ruby/object:Gem::Requirement
354
189
  requirements:
355
190
  - - ">="
356
191
  - !ruby/object:Gem::Version
357
192
  version: '0'
358
193
  requirements: []
359
- rubyforge_project:
360
- rubygems_version: 2.5.2
194
+ rubygems_version: 3.1.6
361
195
  signing_key:
362
196
  specification_version: 4
363
197
  summary: A Ruby wrapper and CLI for the GitLab API
364
- test_files:
365
- - spec/fixtures/board_list.json
366
- - spec/fixtures/board_lists.json
367
- - spec/fixtures/boards.json
368
- - spec/fixtures/branch.json
369
- - spec/fixtures/branch_delete.json
370
- - spec/fixtures/branches.json
371
- - spec/fixtures/build.json
372
- - spec/fixtures/build_artifacts.json
373
- - spec/fixtures/build_cancel.json
374
- - spec/fixtures/build_erase.json
375
- - spec/fixtures/build_retry.json
376
- - spec/fixtures/builds.json
377
- - spec/fixtures/builds_commits.json
378
- - spec/fixtures/compare_merge_request_diff.json
379
- - spec/fixtures/empty.json
380
- - spec/fixtures/environment.json
381
- - spec/fixtures/environments.json
382
- - spec/fixtures/error_already_exists.json
383
- - spec/fixtures/error_project_not_found.json
384
- - spec/fixtures/get_repository_file.json
385
- - spec/fixtures/group.json
386
- - spec/fixtures/group_create.json
387
- - spec/fixtures/group_create_with_description.json
388
- - spec/fixtures/group_delete.json
389
- - spec/fixtures/group_member.json
390
- - spec/fixtures/group_member_delete.json
391
- - spec/fixtures/group_member_edit.json
392
- - spec/fixtures/group_members.json
393
- - spec/fixtures/group_projects.json
394
- - spec/fixtures/group_search.json
395
- - spec/fixtures/groups.json
396
- - spec/fixtures/issue.json
397
- - spec/fixtures/issue_award_emoji.json
398
- - spec/fixtures/issue_award_emojis.json
399
- - spec/fixtures/issues.json
400
- - spec/fixtures/job.json
401
- - spec/fixtures/job_trace.json
402
- - spec/fixtures/jobs.json
403
- - spec/fixtures/key.json
404
- - spec/fixtures/keys.json
405
- - spec/fixtures/label.json
406
- - spec/fixtures/label_unsubscribe.json
407
- - spec/fixtures/labels.json
408
- - spec/fixtures/merge_request.json
409
- - spec/fixtures/merge_request_award_emoji.json
410
- - spec/fixtures/merge_request_award_emojis.json
411
- - spec/fixtures/merge_request_changes.json
412
- - spec/fixtures/merge_request_closes_issues.json
413
- - spec/fixtures/merge_request_comment.json
414
- - spec/fixtures/merge_request_comments.json
415
- - spec/fixtures/merge_request_commits.json
416
- - spec/fixtures/merge_requests.json
417
- - spec/fixtures/milestone.json
418
- - spec/fixtures/milestone_issues.json
419
- - spec/fixtures/milestone_merge_requests.json
420
- - spec/fixtures/milestones.json
421
- - spec/fixtures/namespaces.json
422
- - spec/fixtures/note.json
423
- - spec/fixtures/note_award_emoji.json
424
- - spec/fixtures/note_award_emojis.json
425
- - spec/fixtures/notes.json
426
- - spec/fixtures/pipeline.json
427
- - spec/fixtures/pipeline_cancel.json
428
- - spec/fixtures/pipeline_create.json
429
- - spec/fixtures/pipeline_jobs.json
430
- - spec/fixtures/pipeline_retry.json
431
- - spec/fixtures/pipelines.json
432
- - spec/fixtures/project.json
433
- - spec/fixtures/project_commit.json
434
- - spec/fixtures/project_commit_comment.json
435
- - spec/fixtures/project_commit_comments.json
436
- - spec/fixtures/project_commit_create.json
437
- - spec/fixtures/project_commit_diff.json
438
- - spec/fixtures/project_commit_status.json
439
- - spec/fixtures/project_commits.json
440
- - spec/fixtures/project_edit.json
441
- - spec/fixtures/project_events.json
442
- - spec/fixtures/project_for_user.json
443
- - spec/fixtures/project_fork.json
444
- - spec/fixtures/project_fork_link.json
445
- - spec/fixtures/project_forked_for_user.json
446
- - spec/fixtures/project_hook.json
447
- - spec/fixtures/project_hooks.json
448
- - spec/fixtures/project_issues.json
449
- - spec/fixtures/project_key.json
450
- - spec/fixtures/project_keys.json
451
- - spec/fixtures/project_runner_enable.json
452
- - spec/fixtures/project_runners.json
453
- - spec/fixtures/project_search.json
454
- - spec/fixtures/project_star.json
455
- - spec/fixtures/project_tag_annotated.json
456
- - spec/fixtures/project_tag_lightweight.json
457
- - spec/fixtures/project_tags.json
458
- - spec/fixtures/project_unstar.json
459
- - spec/fixtures/project_update_commit_status.json
460
- - spec/fixtures/projects.json
461
- - spec/fixtures/push_rule.json
462
- - spec/fixtures/raw_file.json
463
- - spec/fixtures/release_create.json
464
- - spec/fixtures/release_update.json
465
- - spec/fixtures/repository_file.json
466
- - spec/fixtures/run_trigger.json
467
- - spec/fixtures/runner.json
468
- - spec/fixtures/runner_delete.json
469
- - spec/fixtures/runner_edit.json
470
- - spec/fixtures/runners.json
471
- - spec/fixtures/runners_all.json
472
- - spec/fixtures/service.json
473
- - spec/fixtures/session.json
474
- - spec/fixtures/shell_history.json
475
- - spec/fixtures/snippet.json
476
- - spec/fixtures/snippet_award_emoji.json
477
- - spec/fixtures/snippet_award_emojis.json
478
- - spec/fixtures/snippet_content.json
479
- - spec/fixtures/snippets.json
480
- - spec/fixtures/system_hook.json
481
- - spec/fixtures/system_hooks.json
482
- - spec/fixtures/tag.json
483
- - spec/fixtures/tag_create.json
484
- - spec/fixtures/tag_create_with_description.json
485
- - spec/fixtures/tag_delete.json
486
- - spec/fixtures/tags.json
487
- - spec/fixtures/team_member.json
488
- - spec/fixtures/team_members.json
489
- - spec/fixtures/todo.json
490
- - spec/fixtures/todos.json
491
- - spec/fixtures/tree.json
492
- - spec/fixtures/trigger.json
493
- - spec/fixtures/triggers.json
494
- - spec/fixtures/user.json
495
- - spec/fixtures/user_block_unblock.json
496
- - spec/fixtures/user_email.json
497
- - spec/fixtures/user_emails.json
498
- - spec/fixtures/user_search.json
499
- - spec/fixtures/users.json
500
- - spec/fixtures/variable.json
501
- - spec/fixtures/variables.json
502
- - spec/gitlab/cli_helpers_spec.rb
503
- - spec/gitlab/cli_spec.rb
504
- - spec/gitlab/client/award_emojis_spec.rb
505
- - spec/gitlab/client/boards_spec.rb
506
- - spec/gitlab/client/branches_spec.rb
507
- - spec/gitlab/client/build_variables_spec.rb
508
- - spec/gitlab/client/builds_spec.rb
509
- - spec/gitlab/client/client_spec.rb
510
- - spec/gitlab/client/commits_spec.rb
511
- - spec/gitlab/client/environments_spec.rb
512
- - spec/gitlab/client/groups_spec.rb
513
- - spec/gitlab/client/issues_spec.rb
514
- - spec/gitlab/client/jobs_spec.rb
515
- - spec/gitlab/client/keys_spec.rb
516
- - spec/gitlab/client/labels_spec.rb
517
- - spec/gitlab/client/merge_requests_spec.rb
518
- - spec/gitlab/client/milestones_spec.rb
519
- - spec/gitlab/client/namespaces_spec.rb
520
- - spec/gitlab/client/notes_spec.rb
521
- - spec/gitlab/client/pipeline_triggers_spec.rb
522
- - spec/gitlab/client/pipelines_spec.rb
523
- - spec/gitlab/client/projects_spec.rb
524
- - spec/gitlab/client/repositories_spec.rb
525
- - spec/gitlab/client/repository_files_spec.rb
526
- - spec/gitlab/client/runners_spec.rb
527
- - spec/gitlab/client/services_spec.rb
528
- - spec/gitlab/client/snippets_spec.rb
529
- - spec/gitlab/client/system_hooks_spec.rb
530
- - spec/gitlab/client/tags_spec.rb
531
- - spec/gitlab/client/todos_spec.rb
532
- - spec/gitlab/client/users_spec.rb
533
- - spec/gitlab/error_spec.rb
534
- - spec/gitlab/file_response_spec.rb
535
- - spec/gitlab/help_spec.rb
536
- - spec/gitlab/objectified_hash_spec.rb
537
- - spec/gitlab/page_links_spec.rb
538
- - spec/gitlab/paginated_response_spec.rb
539
- - spec/gitlab/request_spec.rb
540
- - spec/gitlab/shell_history_spec.rb
541
- - spec/gitlab/shell_spec.rb
542
- - spec/gitlab_spec.rb
543
- - spec/spec_helper.rb
198
+ test_files: []
data/.gitignore DELETED
@@ -1,22 +0,0 @@
1
- *.gem
2
- *.rbc
3
- *.swp
4
- .bundle
5
- .config
6
- .yardoc
7
- Gemfile.lock
8
- InstalledFiles
9
- _yardoc
10
- coverage
11
- doc/
12
- lib/bundler/man
13
- pkg
14
- rdoc
15
- spec/reports
16
- test/tmp
17
- test/version_tmp
18
- tmp
19
- vendor/bundle
20
- .idea
21
- .ruby-version
22
- .ruby-gemset
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.0
4
- - 2.1
5
- - 2.2
6
- - 2.3
7
- - 2.4.0
8
- before_install: gem update bundler