geet 0.27.7 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +0 -1
  3. data/README.md +8 -17
  4. data/geet.gemspec +1 -1
  5. data/lib/geet/commandline/configuration.rb +1 -1
  6. data/lib/geet/git/repository.rb +36 -70
  7. data/lib/geet/helpers/services_workflow_helper.rb +1 -1
  8. data/lib/geet/services/add_upstream_repo.rb +1 -1
  9. data/lib/geet/services/close_milestones.rb +1 -1
  10. data/lib/geet/services/comment_pr.rb +1 -1
  11. data/lib/geet/services/create_issue.rb +27 -28
  12. data/lib/geet/services/create_label.rb +2 -2
  13. data/lib/geet/services/create_milestone.rb +2 -2
  14. data/lib/geet/services/create_pr.rb +20 -27
  15. data/lib/geet/services/list_issues.rb +3 -3
  16. data/lib/geet/services/list_labels.rb +1 -1
  17. data/lib/geet/services/list_milestones.rb +7 -7
  18. data/lib/geet/services/list_prs.rb +1 -1
  19. data/lib/geet/services/merge_pr.rb +4 -3
  20. data/lib/geet/services/open_pr.rb +1 -1
  21. data/lib/geet/utils/git_client.rb +0 -11
  22. data/lib/geet/version.rb +1 -1
  23. data/spec/integration/create_label_spec.rb +0 -21
  24. data/spec/integration/create_pr_spec.rb +0 -1
  25. data/spec/integration/list_issues_spec.rb +0 -46
  26. data/spec/integration/list_labels_spec.rb +0 -27
  27. data/spec/integration/list_milestones_spec.rb +0 -27
  28. data/spec/integration/merge_pr_spec.rb +1 -31
  29. data/spec/spec_helper.rb +0 -3
  30. metadata +3 -17
  31. data/lib/geet/github/remote_repository.rb +0 -53
  32. data/lib/geet/gitlab/api_interface.rb +0 -212
  33. data/lib/geet/gitlab/issue.rb +0 -62
  34. data/lib/geet/gitlab/label.rb +0 -66
  35. data/lib/geet/gitlab/milestone.rb +0 -78
  36. data/lib/geet/gitlab/pr.rb +0 -114
  37. data/lib/geet/gitlab/user.rb +0 -52
  38. data/lib/geet/services/abstract_create_issue.rb +0 -21
  39. data/spec/vcr_cassettes/gitlab_com/create_label.yml +0 -64
  40. data/spec/vcr_cassettes/gitlab_com/list_issues.yml +0 -84
  41. data/spec/vcr_cassettes/gitlab_com/list_issues_with_assignee.yml +0 -162
  42. data/spec/vcr_cassettes/gitlab_com/list_labels.yml +0 -80
  43. data/spec/vcr_cassettes/gitlab_com/list_milestones.yml +0 -397
  44. data/spec/vcr_cassettes/gitlab_com/merge_pr.yml +0 -144
@@ -1,162 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/members
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - gitlab.com
18
- Private-Token:
19
- - "<GITLAB_CREDENTIALS>"
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Server:
26
- - nginx
27
- Date:
28
- - Sun, 01 Jul 2018 14:59:20 GMT
29
- Content-Type:
30
- - application/json
31
- Content-Length:
32
- - '532'
33
- Cache-Control:
34
- - max-age=0, private, must-revalidate
35
- Etag:
36
- - W/"49da9037811592984beee2ce5d52e536"
37
- Link:
38
- - <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/members?id=donaldduck%2Ftestproject&page=1&per_page=20>;
39
- rel="first", <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/members?id=donaldduck%2Ftestproject&page=1&per_page=20>;
40
- rel="last"
41
- Vary:
42
- - Origin
43
- X-Content-Type-Options:
44
- - nosniff
45
- X-Frame-Options:
46
- - SAMEORIGIN
47
- X-Next-Page:
48
- - ''
49
- X-Page:
50
- - '1'
51
- X-Per-Page:
52
- - '20'
53
- X-Prev-Page:
54
- - ''
55
- X-Request-Id:
56
- - c08e58bd-0c7d-4224-8a43-702db1687f72
57
- X-Runtime:
58
- - '0.051731'
59
- X-Total:
60
- - '2'
61
- X-Total-Pages:
62
- - '1'
63
- Strict-Transport-Security:
64
- - max-age=31536000
65
- Ratelimit-Limit:
66
- - '600'
67
- Ratelimit-Observed:
68
- - '1'
69
- Ratelimit-Remaining:
70
- - '599'
71
- Ratelimit-Reset:
72
- - '1530457220'
73
- Ratelimit-Resettime:
74
- - Mon, 01 Jul 2018 15:00:20 GMT
75
- body:
76
- encoding: UTF-8
77
- string: '[{"id":123456,"name":"Donald Duck","username":"donaldduck","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef05ea2797cb94a5b0?s=80\u0026d=identicon","web_url":"https://gitlab.com/donaldduck","access_level":40,"expires_at":null},{"id":123456,"name":"Donald
78
- M.","username":"donald-fr","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef5f9bcb5c53fa82d2?s=80\u0026d=identicon","web_url":"https://gitlab.com/donald-fr","access_level":30,"expires_at":null}]'
79
- http_version:
80
- recorded_at: Sun, 01 Jul 2018 14:59:20 GMT
81
- - request:
82
- method: get
83
- uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/issues?assignee_id=123456
84
- body:
85
- encoding: US-ASCII
86
- string: ''
87
- headers:
88
- Accept-Encoding:
89
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
90
- Accept:
91
- - "*/*"
92
- User-Agent:
93
- - Ruby
94
- Host:
95
- - gitlab.com
96
- Private-Token:
97
- - "<GITLAB_CREDENTIALS>"
98
- response:
99
- status:
100
- code: 200
101
- message: OK
102
- headers:
103
- Server:
104
- - nginx
105
- Date:
106
- - Sun, 01 Jul 2018 14:59:21 GMT
107
- Content-Type:
108
- - application/json
109
- Content-Length:
110
- - '1296'
111
- Cache-Control:
112
- - max-age=0, private, must-revalidate
113
- Etag:
114
- - W/"3686f432615d8dc0a03b33872b11100e"
115
- Link:
116
- - <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/issues?assignee_id=123456&id=donaldduck%2Ftestproject&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
117
- rel="first", <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/issues?assignee_id=123456&id=donaldduck%2Ftestproject&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
118
- rel="last"
119
- Vary:
120
- - Origin
121
- X-Content-Type-Options:
122
- - nosniff
123
- X-Frame-Options:
124
- - SAMEORIGIN
125
- X-Next-Page:
126
- - ''
127
- X-Page:
128
- - '1'
129
- X-Per-Page:
130
- - '20'
131
- X-Prev-Page:
132
- - ''
133
- X-Request-Id:
134
- - 2dd40630-6c8b-48f6-81f0-00e93ef0a9d7
135
- X-Runtime:
136
- - '0.109420'
137
- X-Total:
138
- - '1'
139
- X-Total-Pages:
140
- - '1'
141
- Strict-Transport-Security:
142
- - max-age=31536000
143
- Ratelimit-Limit:
144
- - '600'
145
- Ratelimit-Observed:
146
- - '1'
147
- Ratelimit-Remaining:
148
- - '599'
149
- Ratelimit-Reset:
150
- - '1530457221'
151
- Ratelimit-Resettime:
152
- - Mon, 01 Jul 2018 15:00:21 GMT
153
- body:
154
- encoding: UTF-8
155
- string: '[{"id":123456,"iid":3,"project_id":123456,"title":"This is a test
156
- issue","description":"A description.\n\nNow with more lines!","state":"opened","created_at":"2018-07-01T14:23:55.801Z","updated_at":"2018-07-01T14:23:55.801Z","closed_at":null,"closed_by":null,"labels":[],"milestone":null,"assignees":[{"id":123456,"name":"Donald
157
- M.","username":"donald-fr","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef5f9bcb5c53fa82d2?s=80\u0026d=identicon","web_url":"https://gitlab.com/donald-fr"}],"author":{"id":123456,"name":"Donald
158
- M.","username":"donald-fr","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef5f9bcb5c53fa82d2?s=80\u0026d=identicon","web_url":"https://gitlab.com/donald-fr"},"assignee":{"id":123456,"name":"Donald
159
- M.","username":"donald-fr","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef5f9bcb5c53fa82d2?s=80\u0026d=identicon","web_url":"https://gitlab.com/donald-fr"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"discussion_locked":null,"web_url":"https://gitlab.com/donaldduck/testproject/issues/3","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"weight":null}]'
160
- http_version:
161
- recorded_at: Sun, 01 Jul 2018 14:59:21 GMT
162
- recorded_with: VCR 3.0.3
@@ -1,80 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/labels
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - gitlab.com
18
- Private-Token:
19
- - <GITLAB_CREDENTIALS>
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Server:
26
- - nginx
27
- Date:
28
- - Mon, 27 Nov 2017 19:57:22 GMT
29
- Content-Type:
30
- - application/json
31
- Content-Length:
32
- - '1456'
33
- Cache-Control:
34
- - max-age=0, private, must-revalidate
35
- Etag:
36
- - W/"f1657db8486bd268ddde16fe1c342d0a"
37
- Link:
38
- - <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/labels?id=donaldduck%2Ftestproject&page=1&per_page=20>;
39
- rel="first", <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/labels?id=donaldduck%2Ftestproject&page=1&per_page=20>;
40
- rel="last"
41
- Vary:
42
- - Origin
43
- X-Content-Type-Options:
44
- - nosniff
45
- X-Frame-Options:
46
- - SAMEORIGIN
47
- X-Next-Page:
48
- - ''
49
- X-Page:
50
- - '1'
51
- X-Per-Page:
52
- - '20'
53
- X-Prev-Page:
54
- - ''
55
- X-Request-Id:
56
- - 0ea3d7c7-7fdf-4042-a4e8-67f7a48b4987
57
- X-Runtime:
58
- - '0.930769'
59
- X-Total:
60
- - '8'
61
- X-Total-Pages:
62
- - '1'
63
- Strict-Transport-Security:
64
- - max-age=31536000
65
- Ratelimit-Limit:
66
- - '600'
67
- Ratelimit-Observed:
68
- - '1'
69
- Ratelimit-Remaining:
70
- - '599'
71
- Ratelimit-Reset:
72
- - '1511812702'
73
- Ratelimit-Resettime:
74
- - Tue, 27 Nov 2017 19:58:22 GMT
75
- body:
76
- encoding: UTF-8
77
- string: '[{"id":123456,"name":"bug","color":"#d9534f","description":null,"open_issues_count":0,"closed_issues_count":0,"open_merge_requests_count":0,"priority":null,"subscribed":false},{"id":123456,"name":"confirmed","color":"#d9534f","description":null,"open_issues_count":0,"closed_issues_count":0,"open_merge_requests_count":0,"priority":null,"subscribed":false},{"id":123456,"name":"critical","color":"#d9534f","description":null,"open_issues_count":0,"closed_issues_count":0,"open_merge_requests_count":0,"priority":null,"subscribed":false},{"id":123456,"name":"discussion","color":"#428bca","description":null,"open_issues_count":0,"closed_issues_count":0,"open_merge_requests_count":0,"priority":null,"subscribed":false},{"id":123456,"name":"documentation","color":"#f0ad4e","description":null,"open_issues_count":0,"closed_issues_count":0,"open_merge_requests_count":0,"priority":null,"subscribed":false},{"id":123456,"name":"enhancement","color":"#5cb85c","description":null,"open_issues_count":0,"closed_issues_count":0,"open_merge_requests_count":0,"priority":null,"subscribed":false},{"id":123456,"name":"suggestion","color":"#428bca","description":null,"open_issues_count":0,"closed_issues_count":0,"open_merge_requests_count":0,"priority":null,"subscribed":false},{"id":123456,"name":"support","color":"#f0ad4e","description":null,"open_issues_count":0,"closed_issues_count":0,"open_merge_requests_count":0,"priority":null,"subscribed":false}]'
78
- http_version:
79
- recorded_at: Mon, 27 Nov 2017 19:57:22 GMT
80
- recorded_with: VCR 3.0.3
@@ -1,397 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/milestones
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - gitlab.com
18
- Private-Token:
19
- - "<GITLAB_CREDENTIALS>"
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Server:
26
- - nginx
27
- Date:
28
- - Sun, 01 Jul 2018 21:09:24 GMT
29
- Content-Type:
30
- - application/json
31
- Content-Length:
32
- - '569'
33
- Cache-Control:
34
- - max-age=0, private, must-revalidate
35
- Etag:
36
- - W/"13d6cb11278de7e357cd82b2402c4593"
37
- Link:
38
- - <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/milestones?id=donaldduck%2Ftestproject&page=1&per_page=20&state=all>;
39
- rel="first", <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/milestones?id=donaldduck%2Ftestproject&page=1&per_page=20&state=all>;
40
- rel="last"
41
- Vary:
42
- - Origin
43
- X-Content-Type-Options:
44
- - nosniff
45
- X-Frame-Options:
46
- - SAMEORIGIN
47
- X-Next-Page:
48
- - ''
49
- X-Page:
50
- - '1'
51
- X-Per-Page:
52
- - '20'
53
- X-Prev-Page:
54
- - ''
55
- X-Request-Id:
56
- - 5a660685-ce2a-4239-a73f-4acf26e44fbf
57
- X-Runtime:
58
- - '0.087923'
59
- X-Total:
60
- - '2'
61
- X-Total-Pages:
62
- - '1'
63
- Strict-Transport-Security:
64
- - max-age=31536000
65
- Ratelimit-Limit:
66
- - '600'
67
- Ratelimit-Observed:
68
- - '5'
69
- Ratelimit-Remaining:
70
- - '595'
71
- Ratelimit-Reset:
72
- - '1530479424'
73
- Ratelimit-Resettime:
74
- - Mon, 01 Jul 2018 21:10:24 GMT
75
- body:
76
- encoding: UTF-8
77
- string: '[{"id":123456,"iid":2,"project_id":123456,"title":"Milestone 2","description":"","state":"active","created_at":"2018-07-01T15:26:16.248Z","updated_at":"2018-07-01T15:26:16.248Z","due_date":null,"start_date":null,"web_url":"https://gitlab.com/donaldduck/testproject/milestones/2"},{"id":123456,"iid":1,"project_id":123456,"title":"Milestone
78
- 1","description":"","state":"active","created_at":"2018-07-01T15:26:06.933Z","updated_at":"2018-07-01T15:26:06.933Z","due_date":null,"start_date":null,"web_url":"https://gitlab.com/donaldduck/testproject/milestones/1"}]'
79
- http_version:
80
- recorded_at: Sun, 01 Jul 2018 21:09:24 GMT
81
- - request:
82
- method: get
83
- uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/merge_requests?milestone=Milestone%202
84
- body:
85
- encoding: US-ASCII
86
- string: ''
87
- headers:
88
- Accept-Encoding:
89
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
90
- Accept:
91
- - "*/*"
92
- User-Agent:
93
- - Ruby
94
- Host:
95
- - gitlab.com
96
- Private-Token:
97
- - "<GITLAB_CREDENTIALS>"
98
- response:
99
- status:
100
- code: 200
101
- message: OK
102
- headers:
103
- Server:
104
- - nginx
105
- Date:
106
- - Sun, 01 Jul 2018 21:09:24 GMT
107
- Content-Type:
108
- - application/json
109
- Content-Length:
110
- - '2'
111
- Cache-Control:
112
- - max-age=0, private, must-revalidate
113
- Etag:
114
- - W/"d751713988987e9331980363e24189ce"
115
- Link:
116
- - <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/merge_requests?id=donaldduck%2Ftestproject&milestone=Milestone+2&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
117
- rel="first", <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/merge_requests?id=donaldduck%2Ftestproject&milestone=Milestone+2&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
118
- rel="last"
119
- Vary:
120
- - Origin
121
- X-Content-Type-Options:
122
- - nosniff
123
- X-Frame-Options:
124
- - SAMEORIGIN
125
- X-Next-Page:
126
- - ''
127
- X-Page:
128
- - '1'
129
- X-Per-Page:
130
- - '20'
131
- X-Prev-Page:
132
- - ''
133
- X-Request-Id:
134
- - a99ec7a6-ed27-4154-9ab8-2b254775de2d
135
- X-Runtime:
136
- - '0.054151'
137
- X-Total:
138
- - '0'
139
- X-Total-Pages:
140
- - '1'
141
- Strict-Transport-Security:
142
- - max-age=31536000
143
- Ratelimit-Limit:
144
- - '600'
145
- Ratelimit-Observed:
146
- - '2'
147
- Ratelimit-Remaining:
148
- - '598'
149
- Ratelimit-Reset:
150
- - '1530479424'
151
- Ratelimit-Resettime:
152
- - Mon, 01 Jul 2018 21:10:24 GMT
153
- body:
154
- encoding: UTF-8
155
- string: "[]"
156
- http_version:
157
- recorded_at: Sun, 01 Jul 2018 21:09:24 GMT
158
- - request:
159
- method: get
160
- uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/issues?milestone=Milestone%202
161
- body:
162
- encoding: US-ASCII
163
- string: ''
164
- headers:
165
- Accept-Encoding:
166
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
167
- Accept:
168
- - "*/*"
169
- User-Agent:
170
- - Ruby
171
- Host:
172
- - gitlab.com
173
- Private-Token:
174
- - "<GITLAB_CREDENTIALS>"
175
- response:
176
- status:
177
- code: 200
178
- message: OK
179
- headers:
180
- Server:
181
- - nginx
182
- Date:
183
- - Sun, 01 Jul 2018 21:09:24 GMT
184
- Content-Type:
185
- - application/json
186
- Content-Length:
187
- - '2'
188
- Cache-Control:
189
- - max-age=0, private, must-revalidate
190
- Etag:
191
- - W/"d751713988987e9331980363e24189ce"
192
- Link:
193
- - <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/issues?id=donaldduck%2Ftestproject&milestone=Milestone+2&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
194
- rel="first", <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/issues?id=donaldduck%2Ftestproject&milestone=Milestone+2&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
195
- rel="last"
196
- Vary:
197
- - Origin
198
- X-Content-Type-Options:
199
- - nosniff
200
- X-Frame-Options:
201
- - SAMEORIGIN
202
- X-Next-Page:
203
- - ''
204
- X-Page:
205
- - '1'
206
- X-Per-Page:
207
- - '20'
208
- X-Prev-Page:
209
- - ''
210
- X-Request-Id:
211
- - b3108142-da4f-452d-a0a4-7539d5dd4a20
212
- X-Runtime:
213
- - '0.058546'
214
- X-Total:
215
- - '0'
216
- X-Total-Pages:
217
- - '1'
218
- Strict-Transport-Security:
219
- - max-age=31536000
220
- Ratelimit-Limit:
221
- - '600'
222
- Ratelimit-Observed:
223
- - '2'
224
- Ratelimit-Remaining:
225
- - '598'
226
- Ratelimit-Reset:
227
- - '1530479424'
228
- Ratelimit-Resettime:
229
- - Mon, 01 Jul 2018 21:10:24 GMT
230
- body:
231
- encoding: UTF-8
232
- string: "[]"
233
- http_version:
234
- recorded_at: Sun, 01 Jul 2018 21:09:24 GMT
235
- - request:
236
- method: get
237
- uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/merge_requests?milestone=Milestone%201
238
- body:
239
- encoding: US-ASCII
240
- string: ''
241
- headers:
242
- Accept-Encoding:
243
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
244
- Accept:
245
- - "*/*"
246
- User-Agent:
247
- - Ruby
248
- Host:
249
- - gitlab.com
250
- Private-Token:
251
- - "<GITLAB_CREDENTIALS>"
252
- response:
253
- status:
254
- code: 200
255
- message: OK
256
- headers:
257
- Server:
258
- - nginx
259
- Date:
260
- - Sun, 01 Jul 2018 21:09:24 GMT
261
- Content-Type:
262
- - application/json
263
- Content-Length:
264
- - '1398'
265
- Cache-Control:
266
- - max-age=0, private, must-revalidate
267
- Etag:
268
- - W/"1fcaee5a21d87cafb1bfc7c178b266f3"
269
- Link:
270
- - <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/merge_requests?id=donaldduck%2Ftestproject&milestone=Milestone+1&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
271
- rel="first", <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/merge_requests?id=donaldduck%2Ftestproject&milestone=Milestone+1&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
272
- rel="last"
273
- Vary:
274
- - Origin
275
- X-Content-Type-Options:
276
- - nosniff
277
- X-Frame-Options:
278
- - SAMEORIGIN
279
- X-Next-Page:
280
- - ''
281
- X-Page:
282
- - '1'
283
- X-Per-Page:
284
- - '20'
285
- X-Prev-Page:
286
- - ''
287
- X-Request-Id:
288
- - fbbd7a95-e0da-4d13-9709-55aa31070e64
289
- X-Runtime:
290
- - '0.123152'
291
- X-Total:
292
- - '1'
293
- X-Total-Pages:
294
- - '1'
295
- Strict-Transport-Security:
296
- - max-age=31536000
297
- Ratelimit-Limit:
298
- - '600'
299
- Ratelimit-Observed:
300
- - '2'
301
- Ratelimit-Remaining:
302
- - '599'
303
- Ratelimit-Reset:
304
- - '1530479424'
305
- Ratelimit-Resettime:
306
- - Mon, 01 Jul 2018 21:10:24 GMT
307
- body:
308
- encoding: UTF-8
309
- string: '[{"id":123456,"iid":1,"project_id":123456,"title":"Merge request
310
- 1","description":"","state":"opened","created_at":"2018-07-01T15:54:28.717Z","updated_at":"2018-07-01T21:08:40.165Z","target_branch":"master","source_branch":"test","upvotes":0,"downvotes":0,"author":{"id":123456,"name":"Donald
311
- Duck","username":"donaldduck","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef05ea2797cb94a5b0?s=80\u0026d=identicon","web_url":"https://gitlab.com/donaldduck"},"assignee":null,"source_project_id":123456,"target_project_id":123456,"labels":[],"work_in_progress":false,"milestone":{"id":123456,"iid":1,"project_id":123456,"title":"Milestone
312
- 1","description":"","state":"active","created_at":"2018-07-01T15:26:06.933Z","updated_at":"2018-07-01T15:26:06.933Z","due_date":null,"start_date":null,"web_url":"https://gitlab.com/donaldduck/testproject/milestones/1"},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"b4a0b46d1c6881bc793d7a00637d4910a914d879","merge_commit_sha":null,"user_notes_count":0,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":false,"web_url":"https://gitlab.com/donaldduck/testproject/merge_requests/1","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"squash":false,"approvals_before_merge":null}]'
313
- http_version:
314
- recorded_at: Sun, 01 Jul 2018 21:09:24 GMT
315
- - request:
316
- method: get
317
- uri: https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/issues?milestone=Milestone%201
318
- body:
319
- encoding: US-ASCII
320
- string: ''
321
- headers:
322
- Accept-Encoding:
323
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
324
- Accept:
325
- - "*/*"
326
- User-Agent:
327
- - Ruby
328
- Host:
329
- - gitlab.com
330
- Private-Token:
331
- - "<GITLAB_CREDENTIALS>"
332
- response:
333
- status:
334
- code: 200
335
- message: OK
336
- headers:
337
- Server:
338
- - nginx
339
- Date:
340
- - Sun, 01 Jul 2018 21:09:24 GMT
341
- Content-Type:
342
- - application/json
343
- Content-Length:
344
- - '1575'
345
- Cache-Control:
346
- - max-age=0, private, must-revalidate
347
- Etag:
348
- - W/"bdc4979cdf9bb4a04355b49e64a32fe4"
349
- Link:
350
- - <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/issues?id=donaldduck%2Ftestproject&milestone=Milestone+1&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
351
- rel="first", <https://gitlab.com/api/v4/projects/donaldduck%2Ftestproject/issues?id=donaldduck%2Ftestproject&milestone=Milestone+1&order_by=created_at&page=1&per_page=20&sort=desc&state=all>;
352
- rel="last"
353
- Vary:
354
- - Origin
355
- X-Content-Type-Options:
356
- - nosniff
357
- X-Frame-Options:
358
- - SAMEORIGIN
359
- X-Next-Page:
360
- - ''
361
- X-Page:
362
- - '1'
363
- X-Per-Page:
364
- - '20'
365
- X-Prev-Page:
366
- - ''
367
- X-Request-Id:
368
- - de98f900-e07c-4c10-8101-7a629567fc45
369
- X-Runtime:
370
- - '0.143037'
371
- X-Total:
372
- - '1'
373
- X-Total-Pages:
374
- - '1'
375
- Strict-Transport-Security:
376
- - max-age=31536000
377
- Ratelimit-Limit:
378
- - '600'
379
- Ratelimit-Observed:
380
- - '2'
381
- Ratelimit-Remaining:
382
- - '599'
383
- Ratelimit-Reset:
384
- - '1530479424'
385
- Ratelimit-Resettime:
386
- - Mon, 01 Jul 2018 21:10:24 GMT
387
- body:
388
- encoding: UTF-8
389
- string: '[{"id":123456,"iid":3,"project_id":123456,"title":"This is a test
390
- issue","description":"A description.\n\nNow with more lines!","state":"opened","created_at":"2018-07-01T14:23:55.801Z","updated_at":"2018-07-01T15:55:10.544Z","closed_at":null,"closed_by":null,"labels":[],"milestone":{"id":123456,"iid":1,"project_id":123456,"title":"Milestone
391
- 1","description":"","state":"active","created_at":"2018-07-01T15:26:06.933Z","updated_at":"2018-07-01T15:26:06.933Z","due_date":null,"start_date":null,"web_url":"https://gitlab.com/donaldduck/testproject/milestones/1"},"assignees":[{"id":123456,"name":"Donald
392
- M.","username":"donald-fr","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef5f9bcb5c53fa82d2?s=80\u0026d=identicon","web_url":"https://gitlab.com/donald-fr"}],"author":{"id":123456,"name":"Donald
393
- M.","username":"donald-fr","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef5f9bcb5c53fa82d2?s=80\u0026d=identicon","web_url":"https://gitlab.com/donald-fr"},"assignee":{"id":123456,"name":"Donald
394
- M.","username":"donald-fr","state":"active","avatar_url":"https://secure.gravatar.com/avatar/0123456789abcdef5f9bcb5c53fa82d2?s=80\u0026d=identicon","web_url":"https://gitlab.com/donald-fr"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"discussion_locked":null,"web_url":"https://gitlab.com/donaldduck/testproject/issues/3","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"weight":null}]'
395
- http_version:
396
- recorded_at: Sun, 01 Jul 2018 21:09:24 GMT
397
- recorded_with: VCR 3.0.3