geet 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/geet +8 -8
- data/geet.gemspec +1 -1
- data/lib/geet/commandline/editor.rb +1 -1
- data/lib/geet/github/api_interface.rb +3 -2
- data/lib/geet/github/user.rb +62 -3
- data/lib/geet/services/create_gist.rb +3 -3
- data/lib/geet/services/create_issue.rb +17 -2
- data/lib/geet/services/create_pr.rb +13 -2
- data/lib/geet/services/list_milestones.rb +1 -1
- data/lib/geet/shared/http_error.rb +13 -0
- data/lib/geet/shared/repo_permissions.rb +25 -0
- data/lib/geet/shared/{constants.rb → selection.rb} +1 -1
- data/lib/geet/utils/attributes_selection_manager.rb +2 -2
- data/lib/geet/utils/git_client.rb +2 -2
- data/lib/geet/version.rb +1 -1
- data/spec/integration/create_issue_spec.rb +28 -24
- data/spec/integration/create_pr_spec.rb +67 -30
- data/spec/vcr_cassettes/create_issue.yml +446 -70
- data/spec/vcr_cassettes/create_issue_upstream.yml +158 -11
- data/spec/vcr_cassettes/create_pr.yml +474 -103
- data/spec/vcr_cassettes/create_pr_in_auto_mode_create_upstream.yml +407 -31
- data/spec/vcr_cassettes/create_pr_in_auto_mode_with_push.yml +408 -32
- data/spec/vcr_cassettes/create_pr_upstream.yml +415 -39
- data/spec/vcr_cassettes/create_pr_upstream_without_write_permissions.yml +305 -0
- metadata +6 -3
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Server:
|
26
26
|
- GitHub.com
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 05 Feb 2018 21:10:32 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -35,17 +35,17 @@ http_interactions:
|
|
35
35
|
X-Ratelimit-Limit:
|
36
36
|
- '5000'
|
37
37
|
X-Ratelimit-Remaining:
|
38
|
-
- '
|
38
|
+
- '4975'
|
39
39
|
X-Ratelimit-Reset:
|
40
|
-
- '
|
40
|
+
- '1517867477'
|
41
41
|
Cache-Control:
|
42
42
|
- private, max-age=60, s-maxage=60
|
43
43
|
Vary:
|
44
44
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
45
45
|
Etag:
|
46
|
-
- W/"
|
46
|
+
- W/"867a7455cae6fa03110405ae3f4f8ffe"
|
47
47
|
Last-Modified:
|
48
|
-
-
|
48
|
+
- Tue, 30 Jan 2018 20:56:34 GMT
|
49
49
|
X-Oauth-Scopes:
|
50
50
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
51
51
|
delete_repo, gist, notifications, repo, user
|
@@ -69,15 +69,391 @@ http_interactions:
|
|
69
69
|
X-Xss-Protection:
|
70
70
|
- 1; mode=block
|
71
71
|
X-Runtime-Rack:
|
72
|
-
- '0.
|
72
|
+
- '0.050954'
|
73
73
|
X-Github-Request-Id:
|
74
|
-
-
|
74
|
+
- AF56:14EB:256491C:52561AE:5A78C847
|
75
75
|
body:
|
76
76
|
encoding: ASCII-8BIT
|
77
77
|
string: '{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false,"name":"Donald
|
78
|
-
Duck","company":"@
|
78
|
+
Duck","company":"@momcorp","blog":"","location":"Berlin","email":"donald.pub2@gmail.com","hireable":true,"bio":null,"public_repos":19,"public_gists":0,"followers":9,"following":0,"created_at":"2012-04-01T11:52:16Z","updated_at":"2018-01-30T20:56:34Z","private_gists":0,"total_private_repos":0,"owned_private_repos":0,"disk_usage":32597,"collaborators":0,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":0}}'
|
79
79
|
http_version:
|
80
|
-
recorded_at:
|
80
|
+
recorded_at: Mon, 05 Feb 2018 21:10:32 GMT
|
81
|
+
- request:
|
82
|
+
method: get
|
83
|
+
uri: https://api.github.com/repos/donald-fr/testrepo_u/collaborators/donaldduck
|
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
|
+
- application/vnd.github.v3+json
|
92
|
+
User-Agent:
|
93
|
+
- Ruby
|
94
|
+
Host:
|
95
|
+
- api.github.com
|
96
|
+
Authorization:
|
97
|
+
- Basic <GITHUB_CREDENTIALS>
|
98
|
+
response:
|
99
|
+
status:
|
100
|
+
code: 204
|
101
|
+
message: No Content
|
102
|
+
headers:
|
103
|
+
Server:
|
104
|
+
- GitHub.com
|
105
|
+
Date:
|
106
|
+
- Mon, 05 Feb 2018 21:10:33 GMT
|
107
|
+
Content-Type:
|
108
|
+
- application/octet-stream
|
109
|
+
Status:
|
110
|
+
- 204 No Content
|
111
|
+
X-Ratelimit-Limit:
|
112
|
+
- '5000'
|
113
|
+
X-Ratelimit-Remaining:
|
114
|
+
- '4974'
|
115
|
+
X-Ratelimit-Reset:
|
116
|
+
- '1517867477'
|
117
|
+
X-Oauth-Scopes:
|
118
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
119
|
+
delete_repo, gist, notifications, repo, user
|
120
|
+
X-Accepted-Oauth-Scopes:
|
121
|
+
- ''
|
122
|
+
X-Github-Media-Type:
|
123
|
+
- github.v3; format=json
|
124
|
+
Access-Control-Expose-Headers:
|
125
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
126
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
127
|
+
Access-Control-Allow-Origin:
|
128
|
+
- "*"
|
129
|
+
Content-Security-Policy:
|
130
|
+
- default-src 'none'
|
131
|
+
Strict-Transport-Security:
|
132
|
+
- max-age=31536000; includeSubdomains; preload
|
133
|
+
X-Content-Type-Options:
|
134
|
+
- nosniff
|
135
|
+
X-Frame-Options:
|
136
|
+
- deny
|
137
|
+
X-Xss-Protection:
|
138
|
+
- 1; mode=block
|
139
|
+
X-Runtime-Rack:
|
140
|
+
- '0.041486'
|
141
|
+
X-Github-Request-Id:
|
142
|
+
- AF5A:14EC:2F985BC:65E531B:5A78C848
|
143
|
+
body:
|
144
|
+
encoding: UTF-8
|
145
|
+
string: ''
|
146
|
+
http_version:
|
147
|
+
recorded_at: Mon, 05 Feb 2018 21:10:33 GMT
|
148
|
+
- request:
|
149
|
+
method: get
|
150
|
+
uri: https://api.github.com/user
|
151
|
+
body:
|
152
|
+
encoding: US-ASCII
|
153
|
+
string: ''
|
154
|
+
headers:
|
155
|
+
Accept-Encoding:
|
156
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
157
|
+
Accept:
|
158
|
+
- application/vnd.github.v3+json
|
159
|
+
User-Agent:
|
160
|
+
- Ruby
|
161
|
+
Host:
|
162
|
+
- api.github.com
|
163
|
+
Authorization:
|
164
|
+
- Basic <GITHUB_CREDENTIALS>
|
165
|
+
response:
|
166
|
+
status:
|
167
|
+
code: 200
|
168
|
+
message: OK
|
169
|
+
headers:
|
170
|
+
Server:
|
171
|
+
- GitHub.com
|
172
|
+
Date:
|
173
|
+
- Mon, 05 Feb 2018 21:10:35 GMT
|
174
|
+
Content-Type:
|
175
|
+
- application/json; charset=utf-8
|
176
|
+
Transfer-Encoding:
|
177
|
+
- chunked
|
178
|
+
Status:
|
179
|
+
- 200 OK
|
180
|
+
X-Ratelimit-Limit:
|
181
|
+
- '5000'
|
182
|
+
X-Ratelimit-Remaining:
|
183
|
+
- '4973'
|
184
|
+
X-Ratelimit-Reset:
|
185
|
+
- '1517867477'
|
186
|
+
Cache-Control:
|
187
|
+
- private, max-age=60, s-maxage=60
|
188
|
+
Vary:
|
189
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
190
|
+
Etag:
|
191
|
+
- W/"867a7455cae6fa03110405ae3f4f8ffe"
|
192
|
+
Last-Modified:
|
193
|
+
- Tue, 30 Jan 2018 20:56:34 GMT
|
194
|
+
X-Oauth-Scopes:
|
195
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
196
|
+
delete_repo, gist, notifications, repo, user
|
197
|
+
X-Accepted-Oauth-Scopes:
|
198
|
+
- ''
|
199
|
+
X-Github-Media-Type:
|
200
|
+
- github.v3; format=json
|
201
|
+
Access-Control-Expose-Headers:
|
202
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
203
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
204
|
+
Access-Control-Allow-Origin:
|
205
|
+
- "*"
|
206
|
+
Content-Security-Policy:
|
207
|
+
- default-src 'none'
|
208
|
+
Strict-Transport-Security:
|
209
|
+
- max-age=31536000; includeSubdomains; preload
|
210
|
+
X-Content-Type-Options:
|
211
|
+
- nosniff
|
212
|
+
X-Frame-Options:
|
213
|
+
- deny
|
214
|
+
X-Xss-Protection:
|
215
|
+
- 1; mode=block
|
216
|
+
X-Runtime-Rack:
|
217
|
+
- '0.055897'
|
218
|
+
X-Github-Request-Id:
|
219
|
+
- E51A:14EE:371ECBC:852BFA3:5A78C84A
|
220
|
+
body:
|
221
|
+
encoding: ASCII-8BIT
|
222
|
+
string: '{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false,"name":"Donald
|
223
|
+
Duck","company":"@momcorp","blog":"","location":"Berlin","email":"donald.pub2@gmail.com","hireable":true,"bio":null,"public_repos":19,"public_gists":0,"followers":9,"following":0,"created_at":"2012-04-01T11:52:16Z","updated_at":"2018-01-30T20:56:34Z","private_gists":0,"total_private_repos":0,"owned_private_repos":0,"disk_usage":32597,"collaborators":0,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":0}}'
|
224
|
+
http_version:
|
225
|
+
recorded_at: Mon, 05 Feb 2018 21:10:35 GMT
|
226
|
+
- request:
|
227
|
+
method: get
|
228
|
+
uri: https://api.github.com/user
|
229
|
+
body:
|
230
|
+
encoding: US-ASCII
|
231
|
+
string: ''
|
232
|
+
headers:
|
233
|
+
Accept-Encoding:
|
234
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
235
|
+
Accept:
|
236
|
+
- application/vnd.github.v3+json
|
237
|
+
User-Agent:
|
238
|
+
- Ruby
|
239
|
+
Host:
|
240
|
+
- api.github.com
|
241
|
+
Authorization:
|
242
|
+
- Basic <GITHUB_CREDENTIALS>
|
243
|
+
response:
|
244
|
+
status:
|
245
|
+
code: 200
|
246
|
+
message: OK
|
247
|
+
headers:
|
248
|
+
Server:
|
249
|
+
- GitHub.com
|
250
|
+
Date:
|
251
|
+
- Mon, 05 Feb 2018 21:10:36 GMT
|
252
|
+
Content-Type:
|
253
|
+
- application/json; charset=utf-8
|
254
|
+
Transfer-Encoding:
|
255
|
+
- chunked
|
256
|
+
Status:
|
257
|
+
- 200 OK
|
258
|
+
X-Ratelimit-Limit:
|
259
|
+
- '5000'
|
260
|
+
X-Ratelimit-Remaining:
|
261
|
+
- '4972'
|
262
|
+
X-Ratelimit-Reset:
|
263
|
+
- '1517867477'
|
264
|
+
Cache-Control:
|
265
|
+
- private, max-age=60, s-maxage=60
|
266
|
+
Vary:
|
267
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
268
|
+
Etag:
|
269
|
+
- W/"867a7455cae6fa03110405ae3f4f8ffe"
|
270
|
+
Last-Modified:
|
271
|
+
- Tue, 30 Jan 2018 20:56:34 GMT
|
272
|
+
X-Oauth-Scopes:
|
273
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
274
|
+
delete_repo, gist, notifications, repo, user
|
275
|
+
X-Accepted-Oauth-Scopes:
|
276
|
+
- ''
|
277
|
+
X-Github-Media-Type:
|
278
|
+
- github.v3; format=json
|
279
|
+
Access-Control-Expose-Headers:
|
280
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
281
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
282
|
+
Access-Control-Allow-Origin:
|
283
|
+
- "*"
|
284
|
+
Content-Security-Policy:
|
285
|
+
- default-src 'none'
|
286
|
+
Strict-Transport-Security:
|
287
|
+
- max-age=31536000; includeSubdomains; preload
|
288
|
+
X-Content-Type-Options:
|
289
|
+
- nosniff
|
290
|
+
X-Frame-Options:
|
291
|
+
- deny
|
292
|
+
X-Xss-Protection:
|
293
|
+
- 1; mode=block
|
294
|
+
X-Runtime-Rack:
|
295
|
+
- '0.045702'
|
296
|
+
X-Github-Request-Id:
|
297
|
+
- AF5E:14EE:371ED64:852C133:5A78C84C
|
298
|
+
body:
|
299
|
+
encoding: ASCII-8BIT
|
300
|
+
string: '{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false,"name":"Donald
|
301
|
+
Duck","company":"@momcorp","blog":"","location":"Berlin","email":"donald.pub2@gmail.com","hireable":true,"bio":null,"public_repos":19,"public_gists":0,"followers":9,"following":0,"created_at":"2012-04-01T11:52:16Z","updated_at":"2018-01-30T20:56:34Z","private_gists":0,"total_private_repos":0,"owned_private_repos":0,"disk_usage":32597,"collaborators":0,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":0}}'
|
302
|
+
http_version:
|
303
|
+
recorded_at: Mon, 05 Feb 2018 21:10:36 GMT
|
304
|
+
- request:
|
305
|
+
method: get
|
306
|
+
uri: https://api.github.com/repos/donald-fr/testrepo_u/collaborators/donaldduck/permission
|
307
|
+
body:
|
308
|
+
encoding: US-ASCII
|
309
|
+
string: ''
|
310
|
+
headers:
|
311
|
+
Accept-Encoding:
|
312
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
313
|
+
Accept:
|
314
|
+
- application/vnd.github.v3+json
|
315
|
+
User-Agent:
|
316
|
+
- Ruby
|
317
|
+
Host:
|
318
|
+
- api.github.com
|
319
|
+
Authorization:
|
320
|
+
- Basic <GITHUB_CREDENTIALS>
|
321
|
+
response:
|
322
|
+
status:
|
323
|
+
code: 200
|
324
|
+
message: OK
|
325
|
+
headers:
|
326
|
+
Server:
|
327
|
+
- GitHub.com
|
328
|
+
Date:
|
329
|
+
- Mon, 05 Feb 2018 21:10:37 GMT
|
330
|
+
Content-Type:
|
331
|
+
- application/json; charset=utf-8
|
332
|
+
Transfer-Encoding:
|
333
|
+
- chunked
|
334
|
+
Status:
|
335
|
+
- 200 OK
|
336
|
+
X-Ratelimit-Limit:
|
337
|
+
- '5000'
|
338
|
+
X-Ratelimit-Remaining:
|
339
|
+
- '4971'
|
340
|
+
X-Ratelimit-Reset:
|
341
|
+
- '1517867477'
|
342
|
+
Cache-Control:
|
343
|
+
- private, max-age=60, s-maxage=60
|
344
|
+
Vary:
|
345
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
346
|
+
Etag:
|
347
|
+
- W/"e4fff88fc0fa32cbe968faae12f06df9"
|
348
|
+
X-Oauth-Scopes:
|
349
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
350
|
+
delete_repo, gist, notifications, repo, user
|
351
|
+
X-Accepted-Oauth-Scopes:
|
352
|
+
- ''
|
353
|
+
X-Github-Media-Type:
|
354
|
+
- github.v3; format=json
|
355
|
+
Access-Control-Expose-Headers:
|
356
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
357
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
358
|
+
Access-Control-Allow-Origin:
|
359
|
+
- "*"
|
360
|
+
Content-Security-Policy:
|
361
|
+
- default-src 'none'
|
362
|
+
Strict-Transport-Security:
|
363
|
+
- max-age=31536000; includeSubdomains; preload
|
364
|
+
X-Content-Type-Options:
|
365
|
+
- nosniff
|
366
|
+
X-Frame-Options:
|
367
|
+
- deny
|
368
|
+
X-Xss-Protection:
|
369
|
+
- 1; mode=block
|
370
|
+
X-Runtime-Rack:
|
371
|
+
- '0.066955'
|
372
|
+
X-Github-Request-Id:
|
373
|
+
- AF60:14EE:371EDB2:852C1E4:5A78C84D
|
374
|
+
body:
|
375
|
+
encoding: ASCII-8BIT
|
376
|
+
string: '{"permission":"write","user":{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false}}'
|
377
|
+
http_version:
|
378
|
+
recorded_at: Mon, 05 Feb 2018 21:10:37 GMT
|
379
|
+
- request:
|
380
|
+
method: get
|
381
|
+
uri: https://api.github.com/user
|
382
|
+
body:
|
383
|
+
encoding: US-ASCII
|
384
|
+
string: ''
|
385
|
+
headers:
|
386
|
+
Accept-Encoding:
|
387
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
388
|
+
Accept:
|
389
|
+
- application/vnd.github.v3+json
|
390
|
+
User-Agent:
|
391
|
+
- Ruby
|
392
|
+
Host:
|
393
|
+
- api.github.com
|
394
|
+
Authorization:
|
395
|
+
- Basic <GITHUB_CREDENTIALS>
|
396
|
+
response:
|
397
|
+
status:
|
398
|
+
code: 200
|
399
|
+
message: OK
|
400
|
+
headers:
|
401
|
+
Server:
|
402
|
+
- GitHub.com
|
403
|
+
Date:
|
404
|
+
- Mon, 05 Feb 2018 21:10:38 GMT
|
405
|
+
Content-Type:
|
406
|
+
- application/json; charset=utf-8
|
407
|
+
Transfer-Encoding:
|
408
|
+
- chunked
|
409
|
+
Status:
|
410
|
+
- 200 OK
|
411
|
+
X-Ratelimit-Limit:
|
412
|
+
- '5000'
|
413
|
+
X-Ratelimit-Remaining:
|
414
|
+
- '4970'
|
415
|
+
X-Ratelimit-Reset:
|
416
|
+
- '1517867477'
|
417
|
+
Cache-Control:
|
418
|
+
- private, max-age=60, s-maxage=60
|
419
|
+
Vary:
|
420
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
421
|
+
Etag:
|
422
|
+
- W/"867a7455cae6fa03110405ae3f4f8ffe"
|
423
|
+
Last-Modified:
|
424
|
+
- Tue, 30 Jan 2018 20:56:34 GMT
|
425
|
+
X-Oauth-Scopes:
|
426
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
427
|
+
delete_repo, gist, notifications, repo, user
|
428
|
+
X-Accepted-Oauth-Scopes:
|
429
|
+
- ''
|
430
|
+
X-Github-Media-Type:
|
431
|
+
- github.v3; format=json
|
432
|
+
Access-Control-Expose-Headers:
|
433
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
434
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
435
|
+
Access-Control-Allow-Origin:
|
436
|
+
- "*"
|
437
|
+
Content-Security-Policy:
|
438
|
+
- default-src 'none'
|
439
|
+
Strict-Transport-Security:
|
440
|
+
- max-age=31536000; includeSubdomains; preload
|
441
|
+
X-Content-Type-Options:
|
442
|
+
- nosniff
|
443
|
+
X-Frame-Options:
|
444
|
+
- deny
|
445
|
+
X-Xss-Protection:
|
446
|
+
- 1; mode=block
|
447
|
+
X-Runtime-Rack:
|
448
|
+
- '0.043691'
|
449
|
+
X-Github-Request-Id:
|
450
|
+
- E522:14ED:3F83C6B:8003A48:5A78C84E
|
451
|
+
body:
|
452
|
+
encoding: ASCII-8BIT
|
453
|
+
string: '{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false,"name":"Donald
|
454
|
+
Duck","company":"@momcorp","blog":"","location":"Berlin","email":"donald.pub2@gmail.com","hireable":true,"bio":null,"public_repos":19,"public_gists":0,"followers":9,"following":0,"created_at":"2012-04-01T11:52:16Z","updated_at":"2018-01-30T20:56:34Z","private_gists":0,"total_private_repos":0,"owned_private_repos":0,"disk_usage":32597,"collaborators":0,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":0}}'
|
455
|
+
http_version:
|
456
|
+
recorded_at: Mon, 05 Feb 2018 21:10:38 GMT
|
81
457
|
- request:
|
82
458
|
method: post
|
83
459
|
uri: https://api.github.com/repos/donald-fr/testrepo_u/pulls
|
@@ -103,32 +479,32 @@ http_interactions:
|
|
103
479
|
Server:
|
104
480
|
- GitHub.com
|
105
481
|
Date:
|
106
|
-
-
|
482
|
+
- Mon, 05 Feb 2018 21:10:40 GMT
|
107
483
|
Content-Type:
|
108
484
|
- application/json; charset=utf-8
|
109
485
|
Content-Length:
|
110
|
-
- '
|
486
|
+
- '14982'
|
111
487
|
Status:
|
112
488
|
- 201 Created
|
113
489
|
X-Ratelimit-Limit:
|
114
490
|
- '5000'
|
115
491
|
X-Ratelimit-Remaining:
|
116
|
-
- '
|
492
|
+
- '4969'
|
117
493
|
X-Ratelimit-Reset:
|
118
|
-
- '
|
494
|
+
- '1517867477'
|
119
495
|
Cache-Control:
|
120
496
|
- private, max-age=60, s-maxage=60
|
121
497
|
Vary:
|
122
498
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
123
499
|
Etag:
|
124
|
-
- '"
|
500
|
+
- '"16eee01131c02de43ebb3382d7a1a4eb"'
|
125
501
|
X-Oauth-Scopes:
|
126
502
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
127
503
|
delete_repo, gist, notifications, repo, user
|
128
504
|
X-Accepted-Oauth-Scopes:
|
129
505
|
- ''
|
130
506
|
Location:
|
131
|
-
- https://api.github.com/repos/donald-fr/testrepo_u/pulls/
|
507
|
+
- https://api.github.com/repos/donald-fr/testrepo_u/pulls/8
|
132
508
|
X-Github-Media-Type:
|
133
509
|
- github.v3; format=json
|
134
510
|
Access-Control-Expose-Headers:
|
@@ -147,14 +523,14 @@ http_interactions:
|
|
147
523
|
X-Xss-Protection:
|
148
524
|
- 1; mode=block
|
149
525
|
X-Runtime-Rack:
|
150
|
-
- '0.
|
526
|
+
- '0.535674'
|
151
527
|
X-Github-Request-Id:
|
152
|
-
-
|
528
|
+
- E524:14ED:3F83CCE:8003B2D:5A78C84F
|
153
529
|
body:
|
154
530
|
encoding: UTF-8
|
155
|
-
string: '{"url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4","id":123456017,"html_url":"https://github.com/donald-fr/testrepo_u/pull/4","diff_url":"https://github.com/donald-fr/testrepo_u/pull/4.diff","patch_url":"https://github.com/donald-fr/testrepo_u/pull/4.patch","issue_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4","number":4,"state":"open","locked":false,"title":"Title","user":{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"body":"Description","created_at":"2017-11-21T09:42:48Z","updated_at":"2017-11-21T09:42:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4/commits","review_comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4/comments","review_comment_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/comments{/number}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/comments","statuses_url":"https://api.github.com/repos/donald-fr/testrepo_u/statuses/d64cdf61ac74cb104d5b423a9c6c7a2ef5678b27","head":{"label":"donaldduck:mybranch","ref":"mybranch","sha":"d64cdf61ac74cb104d5b423a9c6c7a2ef5678b27","user":{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"repo":{"id":123456177,"name":"testrepo_2f","full_name":"donaldduck/testrepo_2f","owner":{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/donaldduck/testrepo_2f","description":null,"fork":true,"url":"https://api.github.com/repos/donaldduck/testrepo_2f","forks_url":"https://api.github.com/repos/donaldduck/testrepo_2f/forks","keys_url":"https://api.github.com/repos/donaldduck/testrepo_2f/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donaldduck/testrepo_2f/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donaldduck/testrepo_2f/teams","hooks_url":"https://api.github.com/repos/donaldduck/testrepo_2f/hooks","issue_events_url":"https://api.github.com/repos/donaldduck/testrepo_2f/issues/events{/number}","events_url":"https://api.github.com/repos/donaldduck/testrepo_2f/events","assignees_url":"https://api.github.com/repos/donaldduck/testrepo_2f/assignees{/user}","branches_url":"https://api.github.com/repos/donaldduck/testrepo_2f/branches{/branch}","tags_url":"https://api.github.com/repos/donaldduck/testrepo_2f/tags","blobs_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/refs{/sha}","trees_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donaldduck/testrepo_2f/statuses/{sha}","languages_url":"https://api.github.com/repos/donaldduck/testrepo_2f/languages","stargazers_url":"https://api.github.com/repos/donaldduck/testrepo_2f/stargazers","contributors_url":"https://api.github.com/repos/donaldduck/testrepo_2f/contributors","subscribers_url":"https://api.github.com/repos/donaldduck/testrepo_2f/subscribers","subscription_url":"https://api.github.com/repos/donaldduck/testrepo_2f/subscription","commits_url":"https://api.github.com/repos/donaldduck/testrepo_2f/commits{/sha}","git_commits_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/commits{/sha}","comments_url":"https://api.github.com/repos/donaldduck/testrepo_2f/comments{/number}","issue_comment_url":"https://api.github.com/repos/donaldduck/testrepo_2f/issues/comments{/number}","contents_url":"https://api.github.com/repos/donaldduck/testrepo_2f/contents/{+path}","compare_url":"https://api.github.com/repos/donaldduck/testrepo_2f/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donaldduck/testrepo_2f/merges","archive_url":"https://api.github.com/repos/donaldduck/testrepo_2f/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donaldduck/testrepo_2f/downloads","issues_url":"https://api.github.com/repos/donaldduck/testrepo_2f/issues{/number}","pulls_url":"https://api.github.com/repos/donaldduck/testrepo_2f/pulls{/number}","milestones_url":"https://api.github.com/repos/donaldduck/testrepo_2f/milestones{/number}","notifications_url":"https://api.github.com/repos/donaldduck/testrepo_2f/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donaldduck/testrepo_2f/labels{/name}","releases_url":"https://api.github.com/repos/donaldduck/testrepo_2f/releases{/id}","deployments_url":"https://api.github.com/repos/donaldduck/testrepo_2f/deployments","created_at":"2017-11-21T09:26:50Z","updated_at":"2017-11-21T09:27:23Z","pushed_at":"2017-11-21T09:40:19Z","git_url":"git://github.com/donaldduck/testrepo_2f.git","ssh_url":"git@github.com:donaldduck/testrepo_2f.git","clone_url":"https://github.com/donaldduck/testrepo_2f.git","svn_url":"https://github.com/donaldduck/testrepo_2f","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"donald-fr:master","ref":"master","sha":"6ec60827e3f235b44126b87c099054b060249b99","user":{"login":"donald-fr","id":12345612,"avatar_url":"https://avatars2.githubusercontent.com/u/33847412?v=4","gravatar_id":"","url":"https://api.github.com/users/donald-fr","html_url":"https://github.com/donald-fr","followers_url":"https://api.github.com/users/donald-fr/followers","following_url":"https://api.github.com/users/donald-fr/following{/other_user}","gists_url":"https://api.github.com/users/donald-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/donald-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donald-fr/subscriptions","organizations_url":"https://api.github.com/users/donald-fr/orgs","repos_url":"https://api.github.com/users/donald-fr/repos","events_url":"https://api.github.com/users/donald-fr/events{/privacy}","received_events_url":"https://api.github.com/users/donald-fr/received_events","type":"User","site_admin":false},"repo":{"id":123456004,"name":"testrepo_u","full_name":"donald-fr/testrepo_u","owner":{"login":"donald-fr","id":12345612,"avatar_url":"https://avatars2.githubusercontent.com/u/33847412?v=4","gravatar_id":"","url":"https://api.github.com/users/donald-fr","html_url":"https://github.com/donald-fr","followers_url":"https://api.github.com/users/donald-fr/followers","following_url":"https://api.github.com/users/donald-fr/following{/other_user}","gists_url":"https://api.github.com/users/donald-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/donald-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donald-fr/subscriptions","organizations_url":"https://api.github.com/users/donald-fr/orgs","repos_url":"https://api.github.com/users/donald-fr/repos","events_url":"https://api.github.com/users/donald-fr/events{/privacy}","received_events_url":"https://api.github.com/users/donald-fr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/donald-fr/testrepo_u","description":null,"fork":false,"url":"https://api.github.com/repos/donald-fr/testrepo_u","forks_url":"https://api.github.com/repos/donald-fr/testrepo_u/forks","keys_url":"https://api.github.com/repos/donald-fr/testrepo_u/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donald-fr/testrepo_u/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donald-fr/testrepo_u/teams","hooks_url":"https://api.github.com/repos/donald-fr/testrepo_u/hooks","issue_events_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/events{/number}","events_url":"https://api.github.com/repos/donald-fr/testrepo_u/events","assignees_url":"https://api.github.com/repos/donald-fr/testrepo_u/assignees{/user}","branches_url":"https://api.github.com/repos/donald-fr/testrepo_u/branches{/branch}","tags_url":"https://api.github.com/repos/donald-fr/testrepo_u/tags","blobs_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/refs{/sha}","trees_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donald-fr/testrepo_u/statuses/{sha}","languages_url":"https://api.github.com/repos/donald-fr/testrepo_u/languages","stargazers_url":"https://api.github.com/repos/donald-fr/testrepo_u/stargazers","contributors_url":"https://api.github.com/repos/donald-fr/testrepo_u/contributors","subscribers_url":"https://api.github.com/repos/donald-fr/testrepo_u/subscribers","subscription_url":"https://api.github.com/repos/donald-fr/testrepo_u/subscription","commits_url":"https://api.github.com/repos/donald-fr/testrepo_u/commits{/sha}","git_commits_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/commits{/sha}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/comments{/number}","issue_comment_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/comments{/number}","contents_url":"https://api.github.com/repos/donald-fr/testrepo_u/contents/{+path}","compare_url":"https://api.github.com/repos/donald-fr/testrepo_u/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donald-fr/testrepo_u/merges","archive_url":"https://api.github.com/repos/donald-fr/testrepo_u/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donald-fr/testrepo_u/downloads","issues_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues{/number}","pulls_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls{/number}","milestones_url":"https://api.github.com/repos/donald-fr/testrepo_u/milestones{/number}","notifications_url":"https://api.github.com/repos/donald-fr/testrepo_u/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donald-fr/testrepo_u/labels{/name}","releases_url":"https://api.github.com/repos/donald-fr/testrepo_u/releases{/id}","deployments_url":"https://api.github.com/repos/donald-fr/testrepo_u/deployments","created_at":"2017-11-21T09:16:55Z","updated_at":"2017-11-21T09:16:55Z","pushed_at":"2017-11-21T09:41:15Z","git_url":"git://github.com/donald-fr/testrepo_u.git","ssh_url":"git@github.com:donald-fr/testrepo_u.git","clone_url":"https://github.com/donald-fr/testrepo_u.git","svn_url":"https://github.com/donald-fr/testrepo_u","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4"},"html":{"href":"https://github.com/donald-fr/testrepo_u/pull/4"},"issue":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4"},"comments":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/statuses/d64cdf61ac74cb104d5b423a9c6c7a2ef5678b27"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":0,"deletions":0,"changed_files":0}'
|
531
|
+
string: '{"url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/8","id":123456388,"html_url":"https://github.com/donald-fr/testrepo_u/pull/8","diff_url":"https://github.com/donald-fr/testrepo_u/pull/8.diff","patch_url":"https://github.com/donald-fr/testrepo_u/pull/8.patch","issue_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/8","number":8,"state":"open","locked":false,"title":"Title","user":{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"body":"Description","created_at":"2018-02-05T21:10:39Z","updated_at":"2018-02-05T21:10:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/8/commits","review_comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/8/comments","review_comment_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/comments{/number}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/8/comments","statuses_url":"https://api.github.com/repos/donald-fr/testrepo_u/statuses/2ed302a6c2b3bbfab51c64321b20b854017b97ee","head":{"label":"donaldduck:mybranch","ref":"mybranch","sha":"2ed302a6c2b3bbfab51c64321b20b854017b97ee","user":{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"repo":{"id":123456502,"name":"testrepo_f","full_name":"donaldduck/testrepo_f","owner":{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/donaldduck/testrepo_f","description":null,"fork":true,"url":"https://api.github.com/repos/donaldduck/testrepo_f","forks_url":"https://api.github.com/repos/donaldduck/testrepo_f/forks","keys_url":"https://api.github.com/repos/donaldduck/testrepo_f/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donaldduck/testrepo_f/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donaldduck/testrepo_f/teams","hooks_url":"https://api.github.com/repos/donaldduck/testrepo_f/hooks","issue_events_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/events{/number}","events_url":"https://api.github.com/repos/donaldduck/testrepo_f/events","assignees_url":"https://api.github.com/repos/donaldduck/testrepo_f/assignees{/user}","branches_url":"https://api.github.com/repos/donaldduck/testrepo_f/branches{/branch}","tags_url":"https://api.github.com/repos/donaldduck/testrepo_f/tags","blobs_url":"https://api.github.com/repos/donaldduck/testrepo_f/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donaldduck/testrepo_f/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donaldduck/testrepo_f/git/refs{/sha}","trees_url":"https://api.github.com/repos/donaldduck/testrepo_f/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donaldduck/testrepo_f/statuses/{sha}","languages_url":"https://api.github.com/repos/donaldduck/testrepo_f/languages","stargazers_url":"https://api.github.com/repos/donaldduck/testrepo_f/stargazers","contributors_url":"https://api.github.com/repos/donaldduck/testrepo_f/contributors","subscribers_url":"https://api.github.com/repos/donaldduck/testrepo_f/subscribers","subscription_url":"https://api.github.com/repos/donaldduck/testrepo_f/subscription","commits_url":"https://api.github.com/repos/donaldduck/testrepo_f/commits{/sha}","git_commits_url":"https://api.github.com/repos/donaldduck/testrepo_f/git/commits{/sha}","comments_url":"https://api.github.com/repos/donaldduck/testrepo_f/comments{/number}","issue_comment_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/comments{/number}","contents_url":"https://api.github.com/repos/donaldduck/testrepo_f/contents/{+path}","compare_url":"https://api.github.com/repos/donaldduck/testrepo_f/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donaldduck/testrepo_f/merges","archive_url":"https://api.github.com/repos/donaldduck/testrepo_f/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donaldduck/testrepo_f/downloads","issues_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues{/number}","pulls_url":"https://api.github.com/repos/donaldduck/testrepo_f/pulls{/number}","milestones_url":"https://api.github.com/repos/donaldduck/testrepo_f/milestones{/number}","notifications_url":"https://api.github.com/repos/donaldduck/testrepo_f/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donaldduck/testrepo_f/labels{/name}","releases_url":"https://api.github.com/repos/donaldduck/testrepo_f/releases{/id}","deployments_url":"https://api.github.com/repos/donaldduck/testrepo_f/deployments","created_at":"2018-02-05T20:44:53Z","updated_at":"2018-02-05T21:04:59Z","pushed_at":"2018-02-05T21:07:31Z","git_url":"git://github.com/donaldduck/testrepo_f.git","ssh_url":"git@github.com:donaldduck/testrepo_f.git","clone_url":"https://github.com/donaldduck/testrepo_f.git","svn_url":"https://github.com/donaldduck/testrepo_f","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"donald-fr:master","ref":"master","sha":"c971bf0ec8076e78b866a41ba4c3a83bc6a4be73","user":{"login":"donald-fr","id":12345612,"avatar_url":"https://avatars2.githubusercontent.com/u/33847412?v=4","gravatar_id":"","url":"https://api.github.com/users/donald-fr","html_url":"https://github.com/donald-fr","followers_url":"https://api.github.com/users/donald-fr/followers","following_url":"https://api.github.com/users/donald-fr/following{/other_user}","gists_url":"https://api.github.com/users/donald-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/donald-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donald-fr/subscriptions","organizations_url":"https://api.github.com/users/donald-fr/orgs","repos_url":"https://api.github.com/users/donald-fr/repos","events_url":"https://api.github.com/users/donald-fr/events{/privacy}","received_events_url":"https://api.github.com/users/donald-fr/received_events","type":"User","site_admin":false},"repo":{"id":123456004,"name":"testrepo_u","full_name":"donald-fr/testrepo_u","owner":{"login":"donald-fr","id":12345612,"avatar_url":"https://avatars2.githubusercontent.com/u/33847412?v=4","gravatar_id":"","url":"https://api.github.com/users/donald-fr","html_url":"https://github.com/donald-fr","followers_url":"https://api.github.com/users/donald-fr/followers","following_url":"https://api.github.com/users/donald-fr/following{/other_user}","gists_url":"https://api.github.com/users/donald-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/donald-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donald-fr/subscriptions","organizations_url":"https://api.github.com/users/donald-fr/orgs","repos_url":"https://api.github.com/users/donald-fr/repos","events_url":"https://api.github.com/users/donald-fr/events{/privacy}","received_events_url":"https://api.github.com/users/donald-fr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/donald-fr/testrepo_u","description":null,"fork":false,"url":"https://api.github.com/repos/donald-fr/testrepo_u","forks_url":"https://api.github.com/repos/donald-fr/testrepo_u/forks","keys_url":"https://api.github.com/repos/donald-fr/testrepo_u/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donald-fr/testrepo_u/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donald-fr/testrepo_u/teams","hooks_url":"https://api.github.com/repos/donald-fr/testrepo_u/hooks","issue_events_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/events{/number}","events_url":"https://api.github.com/repos/donald-fr/testrepo_u/events","assignees_url":"https://api.github.com/repos/donald-fr/testrepo_u/assignees{/user}","branches_url":"https://api.github.com/repos/donald-fr/testrepo_u/branches{/branch}","tags_url":"https://api.github.com/repos/donald-fr/testrepo_u/tags","blobs_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/refs{/sha}","trees_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donald-fr/testrepo_u/statuses/{sha}","languages_url":"https://api.github.com/repos/donald-fr/testrepo_u/languages","stargazers_url":"https://api.github.com/repos/donald-fr/testrepo_u/stargazers","contributors_url":"https://api.github.com/repos/donald-fr/testrepo_u/contributors","subscribers_url":"https://api.github.com/repos/donald-fr/testrepo_u/subscribers","subscription_url":"https://api.github.com/repos/donald-fr/testrepo_u/subscription","commits_url":"https://api.github.com/repos/donald-fr/testrepo_u/commits{/sha}","git_commits_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/commits{/sha}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/comments{/number}","issue_comment_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/comments{/number}","contents_url":"https://api.github.com/repos/donald-fr/testrepo_u/contents/{+path}","compare_url":"https://api.github.com/repos/donald-fr/testrepo_u/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donald-fr/testrepo_u/merges","archive_url":"https://api.github.com/repos/donald-fr/testrepo_u/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donald-fr/testrepo_u/downloads","issues_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues{/number}","pulls_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls{/number}","milestones_url":"https://api.github.com/repos/donald-fr/testrepo_u/milestones{/number}","notifications_url":"https://api.github.com/repos/donald-fr/testrepo_u/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donald-fr/testrepo_u/labels{/name}","releases_url":"https://api.github.com/repos/donald-fr/testrepo_u/releases{/id}","deployments_url":"https://api.github.com/repos/donald-fr/testrepo_u/deployments","created_at":"2017-11-21T09:16:55Z","updated_at":"2017-11-21T11:59:32Z","pushed_at":"2018-02-01T15:22:37Z","git_url":"git://github.com/donald-fr/testrepo_u.git","ssh_url":"git@github.com:donald-fr/testrepo_u.git","clone_url":"https://github.com/donald-fr/testrepo_u.git","svn_url":"https://github.com/donald-fr/testrepo_u","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/8"},"html":{"href":"https://github.com/donald-fr/testrepo_u/pull/8"},"issue":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/issues/8"},"comments":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/statuses/2ed302a6c2b3bbfab51c64321b20b854017b97ee"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":0,"deletions":0,"changed_files":1}'
|
156
532
|
http_version:
|
157
|
-
recorded_at:
|
533
|
+
recorded_at: Mon, 05 Feb 2018 21:10:40 GMT
|
158
534
|
- request:
|
159
535
|
method: get
|
160
536
|
uri: https://api.github.com/user
|
@@ -180,7 +556,7 @@ http_interactions:
|
|
180
556
|
Server:
|
181
557
|
- GitHub.com
|
182
558
|
Date:
|
183
|
-
-
|
559
|
+
- Mon, 05 Feb 2018 21:10:41 GMT
|
184
560
|
Content-Type:
|
185
561
|
- application/json; charset=utf-8
|
186
562
|
Transfer-Encoding:
|
@@ -190,17 +566,17 @@ http_interactions:
|
|
190
566
|
X-Ratelimit-Limit:
|
191
567
|
- '5000'
|
192
568
|
X-Ratelimit-Remaining:
|
193
|
-
- '
|
569
|
+
- '4968'
|
194
570
|
X-Ratelimit-Reset:
|
195
|
-
- '
|
571
|
+
- '1517867477'
|
196
572
|
Cache-Control:
|
197
573
|
- private, max-age=60, s-maxage=60
|
198
574
|
Vary:
|
199
575
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
200
576
|
Etag:
|
201
|
-
- W/"
|
577
|
+
- W/"867a7455cae6fa03110405ae3f4f8ffe"
|
202
578
|
Last-Modified:
|
203
|
-
-
|
579
|
+
- Tue, 30 Jan 2018 20:56:34 GMT
|
204
580
|
X-Oauth-Scopes:
|
205
581
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
206
582
|
delete_repo, gist, notifications, repo, user
|
@@ -224,18 +600,18 @@ http_interactions:
|
|
224
600
|
X-Xss-Protection:
|
225
601
|
- 1; mode=block
|
226
602
|
X-Runtime-Rack:
|
227
|
-
- '0.
|
603
|
+
- '0.067671'
|
228
604
|
X-Github-Request-Id:
|
229
|
-
-
|
605
|
+
- AF6A:14EC:2F987CE:65E57FE:5A78C850
|
230
606
|
body:
|
231
607
|
encoding: ASCII-8BIT
|
232
608
|
string: '{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false,"name":"Donald
|
233
|
-
Duck","company":"@
|
609
|
+
Duck","company":"@momcorp","blog":"","location":"Berlin","email":"donald.pub2@gmail.com","hireable":true,"bio":null,"public_repos":19,"public_gists":0,"followers":9,"following":0,"created_at":"2012-04-01T11:52:16Z","updated_at":"2018-01-30T20:56:34Z","private_gists":0,"total_private_repos":0,"owned_private_repos":0,"disk_usage":32597,"collaborators":0,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":0}}'
|
234
610
|
http_version:
|
235
|
-
recorded_at:
|
611
|
+
recorded_at: Mon, 05 Feb 2018 21:10:41 GMT
|
236
612
|
- request:
|
237
613
|
method: post
|
238
|
-
uri: https://api.github.com/repos/donald-fr/testrepo_u/issues/
|
614
|
+
uri: https://api.github.com/repos/donald-fr/testrepo_u/issues/8/assignees
|
239
615
|
body:
|
240
616
|
encoding: UTF-8
|
241
617
|
string: '{"assignees":["donaldduck"]}'
|
@@ -258,32 +634,32 @@ http_interactions:
|
|
258
634
|
Server:
|
259
635
|
- GitHub.com
|
260
636
|
Date:
|
261
|
-
-
|
637
|
+
- Mon, 05 Feb 2018 21:10:42 GMT
|
262
638
|
Content-Type:
|
263
639
|
- application/json; charset=utf-8
|
264
640
|
Content-Length:
|
265
|
-
- '
|
641
|
+
- '3866'
|
266
642
|
Status:
|
267
643
|
- 201 Created
|
268
644
|
X-Ratelimit-Limit:
|
269
645
|
- '5000'
|
270
646
|
X-Ratelimit-Remaining:
|
271
|
-
- '
|
647
|
+
- '4967'
|
272
648
|
X-Ratelimit-Reset:
|
273
|
-
- '
|
649
|
+
- '1517867477'
|
274
650
|
Cache-Control:
|
275
651
|
- private, max-age=60, s-maxage=60
|
276
652
|
Vary:
|
277
653
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
278
654
|
Etag:
|
279
|
-
- '"
|
655
|
+
- '"86809aa157aa280508bdaeccdca93dd4"'
|
280
656
|
X-Oauth-Scopes:
|
281
657
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
282
658
|
delete_repo, gist, notifications, repo, user
|
283
659
|
X-Accepted-Oauth-Scopes:
|
284
660
|
- ''
|
285
661
|
Location:
|
286
|
-
- https://api.github.com/repos/donald-fr/testrepo_u/issues/
|
662
|
+
- https://api.github.com/repos/donald-fr/testrepo_u/issues/8
|
287
663
|
X-Github-Media-Type:
|
288
664
|
- github.v3; format=json
|
289
665
|
Access-Control-Expose-Headers:
|
@@ -302,12 +678,12 @@ http_interactions:
|
|
302
678
|
X-Xss-Protection:
|
303
679
|
- 1; mode=block
|
304
680
|
X-Runtime-Rack:
|
305
|
-
- '0.
|
681
|
+
- '0.153192'
|
306
682
|
X-Github-Request-Id:
|
307
|
-
-
|
683
|
+
- E52A:14EE:371EF91:852C61D:5A78C851
|
308
684
|
body:
|
309
685
|
encoding: UTF-8
|
310
|
-
string: '{"url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/
|
686
|
+
string: '{"url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/8","repository_url":"https://api.github.com/repos/donald-fr/testrepo_u","labels_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/8/comments","events_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/8/events","html_url":"https://github.com/donald-fr/testrepo_u/pull/8","id":123456306,"number":8,"title":"Title","user":{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"assignees":[{"login":"donaldduck","id":1234566,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-05T21:10:39Z","updated_at":"2018-02-05T21:10:42Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/8","html_url":"https://github.com/donald-fr/testrepo_u/pull/8","diff_url":"https://github.com/donald-fr/testrepo_u/pull/8.diff","patch_url":"https://github.com/donald-fr/testrepo_u/pull/8.patch"},"body":"Description"}'
|
311
687
|
http_version:
|
312
|
-
recorded_at:
|
688
|
+
recorded_at: Mon, 05 Feb 2018 21:10:42 GMT
|
313
689
|
recorded_with: VCR 3.0.3
|