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
@@ -13,7 +13,7 @@ describe Geet::Services::CreatePr do
|
|
13
13
|
context 'with labels, reviewers and milestones' do
|
14
14
|
it 'should create a PR' do
|
15
15
|
allow(git_client).to receive(:current_branch).and_return('mybranch')
|
16
|
-
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/
|
16
|
+
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/testrepo_f')
|
17
17
|
|
18
18
|
expected_output = <<~STR
|
19
19
|
Finding labels...
|
@@ -22,9 +22,9 @@ describe Geet::Services::CreatePr do
|
|
22
22
|
Creating PR...
|
23
23
|
Assigning authenticated user...
|
24
24
|
Adding labels bug, invalid...
|
25
|
-
Setting milestone
|
25
|
+
Setting milestone 0.0.1...
|
26
26
|
Requesting review from donald-fr...
|
27
|
-
PR address: https://github.com/donaldduck/
|
27
|
+
PR address: https://github.com/donaldduck/testrepo_f/pull/1
|
28
28
|
STR
|
29
29
|
|
30
30
|
actual_output = StringIO.new
|
@@ -33,48 +33,85 @@ describe Geet::Services::CreatePr do
|
|
33
33
|
service_instance = described_class.new(repository, out: actual_output, git_client: git_client)
|
34
34
|
service_instance.execute(
|
35
35
|
'Title', 'Description',
|
36
|
-
labels: 'bug,invalid', milestone: '
|
36
|
+
labels: 'bug,invalid', milestone: '0.0.1', reviewers: 'donald-fr',
|
37
37
|
no_open_pr: true, output: actual_output
|
38
38
|
)
|
39
39
|
end
|
40
40
|
|
41
41
|
expect(actual_output.string).to eql(expected_output)
|
42
42
|
|
43
|
-
expect(actual_created_pr.number).to eql(
|
43
|
+
expect(actual_created_pr.number).to eql(1)
|
44
44
|
expect(actual_created_pr.title).to eql('Title')
|
45
|
-
expect(actual_created_pr.link).to eql('https://github.com/donaldduck/
|
45
|
+
expect(actual_created_pr.link).to eql('https://github.com/donaldduck/testrepo_f/pull/1')
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
49
|
+
context 'on an upstream repository' do
|
50
|
+
it 'should create an upstream PR' do
|
51
|
+
allow(git_client).to receive(:current_branch).and_return('mybranch')
|
52
|
+
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/testrepo_f')
|
53
|
+
allow(git_client).to receive(:remote).with('upstream').and_return('git@github.com:donald-fr/testrepo_u')
|
53
54
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
55
|
+
expected_output = <<~STR
|
56
|
+
Creating PR...
|
57
|
+
Assigning authenticated user...
|
58
|
+
PR address: https://github.com/donald-fr/testrepo_u/pull/8
|
59
|
+
STR
|
59
60
|
|
60
|
-
|
61
|
+
actual_output = StringIO.new
|
61
62
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
63
|
+
actual_created_pr = VCR.use_cassette('create_pr_upstream') do
|
64
|
+
service_instance = described_class.new(upstream_repository, out: actual_output, git_client: git_client)
|
65
|
+
service_instance.execute('Title', 'Description', no_open_pr: true, output: actual_output)
|
66
|
+
end
|
66
67
|
|
67
|
-
|
68
|
+
expect(actual_output.string).to eql(expected_output)
|
68
69
|
|
69
|
-
|
70
|
-
|
71
|
-
|
70
|
+
expect(actual_created_pr.number).to eql(8)
|
71
|
+
expect(actual_created_pr.title).to eql('Title')
|
72
|
+
expect(actual_created_pr.link).to eql('https://github.com/donald-fr/testrepo_u/pull/8')
|
73
|
+
end
|
74
|
+
|
75
|
+
# It would be more consistent to have this UT outside of an upstream context, however this use
|
76
|
+
# case is actually a typical real-world one
|
77
|
+
#
|
78
|
+
context 'without write permissions' do
|
79
|
+
context 'without labels, reviewers and milestones' do
|
80
|
+
it 'should create a PR' do
|
81
|
+
allow(git_client).to receive(:current_branch).and_return('mybranch')
|
82
|
+
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/testrepo_f')
|
83
|
+
allow(git_client).to receive(:remote).with('upstream').and_return('git@github.com:donald-fr/testrepo_u')
|
84
|
+
|
85
|
+
expected_output = <<~STR
|
86
|
+
Creating PR...
|
87
|
+
PR address: https://github.com/donald-fr/testrepo_u/pull/9
|
88
|
+
STR
|
89
|
+
|
90
|
+
actual_output = StringIO.new
|
91
|
+
|
92
|
+
actual_created_pr = VCR.use_cassette('create_pr_upstream_without_write_permissions') do
|
93
|
+
service_instance = described_class.new(upstream_repository, out: actual_output, git_client: git_client)
|
94
|
+
service_instance.execute(
|
95
|
+
'Title', 'Description',
|
96
|
+
labels: '<ignored>',
|
97
|
+
no_open_pr: true, output: actual_output
|
98
|
+
)
|
99
|
+
end
|
100
|
+
|
101
|
+
expect(actual_output.string).to eql(expected_output)
|
102
|
+
|
103
|
+
expect(actual_created_pr.number).to eql(9)
|
104
|
+
expect(actual_created_pr.title).to eql('Title')
|
105
|
+
expect(actual_created_pr.link).to eql('https://github.com/donald-fr/testrepo_u/pull/9')
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
72
109
|
end
|
73
110
|
|
74
111
|
context 'in automated mode' do
|
75
112
|
it 'should raise an error when the working tree is dirty' do
|
76
113
|
allow(git_client).to receive(:working_tree_clean?).and_return(false)
|
77
|
-
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/
|
114
|
+
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/testrepo_f')
|
78
115
|
|
79
116
|
expected_output = <<~STR
|
80
117
|
Error! Saved summary to /tmp/last_geet_edited_summary.md
|
@@ -98,13 +135,13 @@ describe Geet::Services::CreatePr do
|
|
98
135
|
expect(git_client).to receive(:upstream_branch).and_return('mybranch')
|
99
136
|
expect(git_client).to receive(:push)
|
100
137
|
|
101
|
-
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/
|
138
|
+
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/testrepo_f')
|
102
139
|
|
103
140
|
expected_output = <<~STR
|
104
141
|
Pushing to upstream branch...
|
105
142
|
Creating PR...
|
106
143
|
Assigning authenticated user...
|
107
|
-
PR address: https://github.com/donaldduck/
|
144
|
+
PR address: https://github.com/donaldduck/testrepo_f/pull/2
|
108
145
|
STR
|
109
146
|
|
110
147
|
actual_output = StringIO.new
|
@@ -117,19 +154,19 @@ describe Geet::Services::CreatePr do
|
|
117
154
|
expect(actual_output.string).to eql(expected_output)
|
118
155
|
end
|
119
156
|
|
120
|
-
it "should create an upstream branch, when there isn't one" do
|
157
|
+
it "should create an upstream branch, when there isn't one (is not tracked)" do
|
121
158
|
allow(git_client).to receive(:working_tree_clean?).and_return(true)
|
122
159
|
allow(git_client).to receive(:current_branch).and_return('mybranch')
|
123
160
|
expect(git_client).to receive(:upstream_branch).and_return(nil)
|
124
161
|
expect(git_client).to receive(:push).with(upstream_branch: 'mybranch')
|
125
162
|
|
126
|
-
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/
|
163
|
+
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/testrepo_f')
|
127
164
|
|
128
165
|
expected_output = <<~STR
|
129
166
|
Creating upstream branch "mybranch"...
|
130
167
|
Creating PR...
|
131
168
|
Assigning authenticated user...
|
132
|
-
PR address: https://github.com/donaldduck/
|
169
|
+
PR address: https://github.com/donaldduck/testrepo_f/pull/4
|
133
170
|
STR
|
134
171
|
|
135
172
|
actual_output = StringIO.new
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.github.com/
|
5
|
+
uri: https://api.github.com/user
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Server:
|
26
26
|
- GitHub.com
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 05 Feb 2018 12:57:10 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -35,15 +35,391 @@ http_interactions:
|
|
35
35
|
X-Ratelimit-Limit:
|
36
36
|
- '5000'
|
37
37
|
X-Ratelimit-Remaining:
|
38
|
-
- '
|
38
|
+
- '4910'
|
39
39
|
X-Ratelimit-Reset:
|
40
|
-
- '
|
40
|
+
- '1517838241'
|
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/"894767eeeae043df2ab70d9ce0e1fa5b"
|
47
|
+
Last-Modified:
|
48
|
+
- Tue, 30 Jan 2018 20:56:34 GMT
|
49
|
+
X-Oauth-Scopes:
|
50
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
51
|
+
delete_repo, gist, notifications, repo, user
|
52
|
+
X-Accepted-Oauth-Scopes:
|
53
|
+
- ''
|
54
|
+
X-Github-Media-Type:
|
55
|
+
- github.v3; format=json
|
56
|
+
Access-Control-Expose-Headers:
|
57
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
58
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
59
|
+
Access-Control-Allow-Origin:
|
60
|
+
- "*"
|
61
|
+
Content-Security-Policy:
|
62
|
+
- default-src 'none'
|
63
|
+
Strict-Transport-Security:
|
64
|
+
- max-age=31536000; includeSubdomains; preload
|
65
|
+
X-Content-Type-Options:
|
66
|
+
- nosniff
|
67
|
+
X-Frame-Options:
|
68
|
+
- deny
|
69
|
+
X-Xss-Protection:
|
70
|
+
- 1; mode=block
|
71
|
+
X-Runtime-Rack:
|
72
|
+
- '0.053681'
|
73
|
+
X-Github-Request-Id:
|
74
|
+
- C954:14EE:33F60FC:7DFEDE9:5A7854A6
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
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":"@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":32591,"collaborators":0,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":0}}'
|
79
|
+
http_version:
|
80
|
+
recorded_at: Mon, 05 Feb 2018 12:57:10 GMT
|
81
|
+
- request:
|
82
|
+
method: get
|
83
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_f/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 12:57:11 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
|
+
- '4909'
|
115
|
+
X-Ratelimit-Reset:
|
116
|
+
- '1517838241'
|
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.047014'
|
141
|
+
X-Github-Request-Id:
|
142
|
+
- 9398:14ED:3C4758B:7931C83:5A7854A6
|
143
|
+
body:
|
144
|
+
encoding: UTF-8
|
145
|
+
string: ''
|
146
|
+
http_version:
|
147
|
+
recorded_at: Mon, 05 Feb 2018 12:57:11 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 12:57:11 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
|
+
- '4908'
|
184
|
+
X-Ratelimit-Reset:
|
185
|
+
- '1517838241'
|
186
|
+
Cache-Control:
|
187
|
+
- private, max-age=60, s-maxage=60
|
188
|
+
Vary:
|
189
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
190
|
+
Etag:
|
191
|
+
- W/"894767eeeae043df2ab70d9ce0e1fa5b"
|
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.043746'
|
218
|
+
X-Github-Request-Id:
|
219
|
+
- C958:14ED:3C475D6:7931D17:5A7854A7
|
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":32591,"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 12:57:12 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 12:57:12 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
|
+
- '4907'
|
262
|
+
X-Ratelimit-Reset:
|
263
|
+
- '1517838241'
|
264
|
+
Cache-Control:
|
265
|
+
- private, max-age=60, s-maxage=60
|
266
|
+
Vary:
|
267
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
268
|
+
Etag:
|
269
|
+
- W/"894767eeeae043df2ab70d9ce0e1fa5b"
|
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.047753'
|
296
|
+
X-Github-Request-Id:
|
297
|
+
- C95A:14EE:33F61AB:7DFEF84:5A7854A8
|
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":32591,"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 12:57:12 GMT
|
304
|
+
- request:
|
305
|
+
method: get
|
306
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_f/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 12:57:13 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
|
+
- '4906'
|
340
|
+
X-Ratelimit-Reset:
|
341
|
+
- '1517838241'
|
342
|
+
Cache-Control:
|
343
|
+
- private, max-age=60, s-maxage=60
|
344
|
+
Vary:
|
345
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
346
|
+
Etag:
|
347
|
+
- W/"2e0eb2906871bf26051feba70dcc7ce1"
|
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.034964'
|
372
|
+
X-Github-Request-Id:
|
373
|
+
- C95C:14EB:2308D95:4D2E40D:5A7854A8
|
374
|
+
body:
|
375
|
+
encoding: ASCII-8BIT
|
376
|
+
string: '{"permission":"admin","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 12:57:13 GMT
|
379
|
+
- request:
|
380
|
+
method: get
|
381
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_f/labels
|
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 12:57:13 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
|
+
- '4905'
|
415
|
+
X-Ratelimit-Reset:
|
416
|
+
- '1517838241'
|
417
|
+
Cache-Control:
|
418
|
+
- private, max-age=60, s-maxage=60
|
419
|
+
Vary:
|
420
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
421
|
+
Etag:
|
422
|
+
- W/"4ba2555ba24479fbaef3c44c9f618b97"
|
47
423
|
X-Oauth-Scopes:
|
48
424
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
49
425
|
delete_repo, gist, notifications, repo, user
|
@@ -67,19 +443,19 @@ http_interactions:
|
|
67
443
|
X-Xss-Protection:
|
68
444
|
- 1; mode=block
|
69
445
|
X-Runtime-Rack:
|
70
|
-
- '0.
|
446
|
+
- '0.040127'
|
71
447
|
X-Github-Request-Id:
|
72
|
-
-
|
448
|
+
- C95E:14EC:2CEA624:6010431:5A7854A9
|
73
449
|
body:
|
74
450
|
encoding: ASCII-8BIT
|
75
|
-
string: '[{"id":
|
76
|
-
first issue","color":"7057ff","default":true},{"id":
|
77
|
-
wanted","color":"
|
451
|
+
string: '[{"id":123456797,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":123456798,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/duplicate","name":"duplicate","color":"cfd3d7","default":true},{"id":123456799,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":123456801,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/good%20first%20issue","name":"good
|
452
|
+
first issue","color":"7057ff","default":true},{"id":123456800,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/help%20wanted","name":"help
|
453
|
+
wanted","color":"008672","default":true},{"id":123456802,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/invalid","name":"invalid","color":"e4e669","default":true},{"id":123456803,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/question","name":"question","color":"d876e3","default":true},{"id":123456804,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/wontfix","name":"wontfix","color":"ffffff","default":true}]'
|
78
454
|
http_version:
|
79
|
-
recorded_at:
|
455
|
+
recorded_at: Mon, 05 Feb 2018 12:57:13 GMT
|
80
456
|
- request:
|
81
457
|
method: get
|
82
|
-
uri: https://api.github.com/repos/donaldduck/
|
458
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_f/milestones
|
83
459
|
body:
|
84
460
|
encoding: US-ASCII
|
85
461
|
string: ''
|
@@ -102,7 +478,7 @@ http_interactions:
|
|
102
478
|
Server:
|
103
479
|
- GitHub.com
|
104
480
|
Date:
|
105
|
-
-
|
481
|
+
- Mon, 05 Feb 2018 12:57:14 GMT
|
106
482
|
Content-Type:
|
107
483
|
- application/json; charset=utf-8
|
108
484
|
Transfer-Encoding:
|
@@ -112,15 +488,15 @@ http_interactions:
|
|
112
488
|
X-Ratelimit-Limit:
|
113
489
|
- '5000'
|
114
490
|
X-Ratelimit-Remaining:
|
115
|
-
- '
|
491
|
+
- '4904'
|
116
492
|
X-Ratelimit-Reset:
|
117
|
-
- '
|
493
|
+
- '1517838241'
|
118
494
|
Cache-Control:
|
119
495
|
- private, max-age=60, s-maxage=60
|
120
496
|
Vary:
|
121
497
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
122
498
|
Etag:
|
123
|
-
- W/"
|
499
|
+
- W/"b6b89486e2ccd9f7ea58d3e6ba81bfba"
|
124
500
|
X-Oauth-Scopes:
|
125
501
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
126
502
|
delete_repo, gist, notifications, repo, user
|
@@ -144,17 +520,17 @@ http_interactions:
|
|
144
520
|
X-Xss-Protection:
|
145
521
|
- 1; mode=block
|
146
522
|
X-Runtime-Rack:
|
147
|
-
- '0.
|
523
|
+
- '0.041211'
|
148
524
|
X-Github-Request-Id:
|
149
|
-
-
|
525
|
+
- 93A2:14ED:3C4772F:7931F6E:5A7854AA
|
150
526
|
body:
|
151
527
|
encoding: ASCII-8BIT
|
152
|
-
string: '[{"url":"https://api.github.com/repos/donaldduck/
|
528
|
+
string: '[{"url":"https://api.github.com/repos/donaldduck/testrepo_f/milestones/1","html_url":"https://github.com/donaldduck/testrepo_f/milestone/1","labels_url":"https://api.github.com/repos/donaldduck/testrepo_f/milestones/1/labels","id":1234568,"number":1,"title":"0.0.1","description":"","creator":{"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},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2018-02-05T12:44:37Z","updated_at":"2018-02-05T12:56:19Z","due_on":null,"closed_at":null}]'
|
153
529
|
http_version:
|
154
|
-
recorded_at:
|
530
|
+
recorded_at: Mon, 05 Feb 2018 12:57:14 GMT
|
155
531
|
- request:
|
156
532
|
method: get
|
157
|
-
uri: https://api.github.com/repos/donaldduck/
|
533
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_f/collaborators
|
158
534
|
body:
|
159
535
|
encoding: US-ASCII
|
160
536
|
string: ''
|
@@ -177,7 +553,7 @@ http_interactions:
|
|
177
553
|
Server:
|
178
554
|
- GitHub.com
|
179
555
|
Date:
|
180
|
-
-
|
556
|
+
- Mon, 05 Feb 2018 12:57:15 GMT
|
181
557
|
Content-Type:
|
182
558
|
- application/json; charset=utf-8
|
183
559
|
Transfer-Encoding:
|
@@ -187,15 +563,15 @@ http_interactions:
|
|
187
563
|
X-Ratelimit-Limit:
|
188
564
|
- '5000'
|
189
565
|
X-Ratelimit-Remaining:
|
190
|
-
- '
|
566
|
+
- '4903'
|
191
567
|
X-Ratelimit-Reset:
|
192
|
-
- '
|
568
|
+
- '1517838241'
|
193
569
|
Cache-Control:
|
194
570
|
- private, max-age=60, s-maxage=60
|
195
571
|
Vary:
|
196
572
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
197
573
|
Etag:
|
198
|
-
- W/"
|
574
|
+
- W/"186587e673d8eca8c5812bdbca9881ed"
|
199
575
|
X-Oauth-Scopes:
|
200
576
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
201
577
|
delete_repo, gist, notifications, repo, user
|
@@ -219,17 +595,17 @@ http_interactions:
|
|
219
595
|
X-Xss-Protection:
|
220
596
|
- 1; mode=block
|
221
597
|
X-Runtime-Rack:
|
222
|
-
- '0.
|
598
|
+
- '0.038298'
|
223
599
|
X-Github-Request-Id:
|
224
|
-
-
|
600
|
+
- C962:14EE:33F62B3:7DFF21C:5A7854AA
|
225
601
|
body:
|
226
602
|
encoding: ASCII-8BIT
|
227
|
-
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,"permissions":{"admin":true,"push":true,"pull":true}},{"login":"donald-
|
603
|
+
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,"permissions":{"admin":true,"push":true,"pull":true}},{"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,"permissions":{"admin":false,"push":true,"pull":true}}]'
|
228
604
|
http_version:
|
229
|
-
recorded_at:
|
605
|
+
recorded_at: Mon, 05 Feb 2018 12:57:15 GMT
|
230
606
|
- request:
|
231
607
|
method: post
|
232
|
-
uri: https://api.github.com/repos/donaldduck/
|
608
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_f/issues
|
233
609
|
body:
|
234
610
|
encoding: UTF-8
|
235
611
|
string: '{"title":"Title","body":"Description","base":"master"}'
|
@@ -252,32 +628,32 @@ http_interactions:
|
|
252
628
|
Server:
|
253
629
|
- GitHub.com
|
254
630
|
Date:
|
255
|
-
-
|
631
|
+
- Mon, 05 Feb 2018 12:57:15 GMT
|
256
632
|
Content-Type:
|
257
633
|
- application/json; charset=utf-8
|
258
634
|
Content-Length:
|
259
|
-
- '
|
635
|
+
- '1737'
|
260
636
|
Status:
|
261
637
|
- 201 Created
|
262
638
|
X-Ratelimit-Limit:
|
263
639
|
- '5000'
|
264
640
|
X-Ratelimit-Remaining:
|
265
|
-
- '
|
641
|
+
- '4902'
|
266
642
|
X-Ratelimit-Reset:
|
267
|
-
- '
|
643
|
+
- '1517838241'
|
268
644
|
Cache-Control:
|
269
645
|
- private, max-age=60, s-maxage=60
|
270
646
|
Vary:
|
271
647
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
272
648
|
Etag:
|
273
|
-
- '"
|
649
|
+
- '"3324f45bbb51c5675b7e7422fd571af3"'
|
274
650
|
X-Oauth-Scopes:
|
275
651
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
276
652
|
delete_repo, gist, notifications, repo, user
|
277
653
|
X-Accepted-Oauth-Scopes:
|
278
654
|
- ''
|
279
655
|
Location:
|
280
|
-
- https://api.github.com/repos/donaldduck/
|
656
|
+
- https://api.github.com/repos/donaldduck/testrepo_f/issues/2
|
281
657
|
X-Github-Media-Type:
|
282
658
|
- github.v3; format=json
|
283
659
|
Access-Control-Expose-Headers:
|
@@ -296,17 +672,17 @@ http_interactions:
|
|
296
672
|
X-Xss-Protection:
|
297
673
|
- 1; mode=block
|
298
674
|
X-Runtime-Rack:
|
299
|
-
- '0.
|
675
|
+
- '0.155375'
|
300
676
|
X-Github-Request-Id:
|
301
|
-
-
|
677
|
+
- 93A6:14ED:3C477D1:79320BB:5A7854AB
|
302
678
|
body:
|
303
679
|
encoding: UTF-8
|
304
|
-
string: '{"url":"https://api.github.com/repos/donaldduck/
|
680
|
+
string: '{"url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2","repository_url":"https://api.github.com/repos/donaldduck/testrepo_f","labels_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2/comments","events_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2/events","html_url":"https://github.com/donaldduck/testrepo_f/issues/2","id":123456762,"number":2,"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":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T12:57:15Z","updated_at":"2018-02-05T12:57:15Z","closed_at":null,"author_association":"OWNER","body":"Description","closed_by":null}'
|
305
681
|
http_version:
|
306
|
-
recorded_at:
|
682
|
+
recorded_at: Mon, 05 Feb 2018 12:57:16 GMT
|
307
683
|
- request:
|
308
684
|
method: post
|
309
|
-
uri: https://api.github.com/repos/donaldduck/
|
685
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_f/issues/2/labels
|
310
686
|
body:
|
311
687
|
encoding: UTF-8
|
312
688
|
string: '["bug","invalid"]'
|
@@ -329,7 +705,7 @@ http_interactions:
|
|
329
705
|
Server:
|
330
706
|
- GitHub.com
|
331
707
|
Date:
|
332
|
-
-
|
708
|
+
- Mon, 05 Feb 2018 12:57:16 GMT
|
333
709
|
Content-Type:
|
334
710
|
- application/json; charset=utf-8
|
335
711
|
Transfer-Encoding:
|
@@ -339,15 +715,15 @@ http_interactions:
|
|
339
715
|
X-Ratelimit-Limit:
|
340
716
|
- '5000'
|
341
717
|
X-Ratelimit-Remaining:
|
342
|
-
- '
|
718
|
+
- '4901'
|
343
719
|
X-Ratelimit-Reset:
|
344
|
-
- '
|
720
|
+
- '1517838241'
|
345
721
|
Cache-Control:
|
346
722
|
- private, max-age=60, s-maxage=60
|
347
723
|
Vary:
|
348
724
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
349
725
|
Etag:
|
350
|
-
- W/"
|
726
|
+
- W/"475c63cc1229bf57fd5d8cdb02002527"
|
351
727
|
X-Oauth-Scopes:
|
352
728
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
353
729
|
delete_repo, gist, notifications, repo, user
|
@@ -371,17 +747,17 @@ http_interactions:
|
|
371
747
|
X-Xss-Protection:
|
372
748
|
- 1; mode=block
|
373
749
|
X-Runtime-Rack:
|
374
|
-
- '0.
|
750
|
+
- '0.084672'
|
375
751
|
X-Github-Request-Id:
|
376
|
-
-
|
752
|
+
- 93A8:14EC:2CEA6E8:601061E:5A7854AC
|
377
753
|
body:
|
378
754
|
encoding: ASCII-8BIT
|
379
|
-
string: '[{"id":
|
755
|
+
string: '[{"id":123456797,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":123456802,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/invalid","name":"invalid","color":"e4e669","default":true}]'
|
380
756
|
http_version:
|
381
|
-
recorded_at:
|
757
|
+
recorded_at: Mon, 05 Feb 2018 12:57:16 GMT
|
382
758
|
- request:
|
383
759
|
method: patch
|
384
|
-
uri: https://api.github.com/repos/donaldduck/
|
760
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_f/issues/2
|
385
761
|
body:
|
386
762
|
encoding: UTF-8
|
387
763
|
string: '{"milestone":1}'
|
@@ -404,7 +780,7 @@ http_interactions:
|
|
404
780
|
Server:
|
405
781
|
- GitHub.com
|
406
782
|
Date:
|
407
|
-
-
|
783
|
+
- Mon, 05 Feb 2018 12:57:16 GMT
|
408
784
|
Content-Type:
|
409
785
|
- application/json; charset=utf-8
|
410
786
|
Transfer-Encoding:
|
@@ -414,15 +790,15 @@ http_interactions:
|
|
414
790
|
X-Ratelimit-Limit:
|
415
791
|
- '5000'
|
416
792
|
X-Ratelimit-Remaining:
|
417
|
-
- '
|
793
|
+
- '4900'
|
418
794
|
X-Ratelimit-Reset:
|
419
|
-
- '
|
795
|
+
- '1517838241'
|
420
796
|
Cache-Control:
|
421
797
|
- private, max-age=60, s-maxage=60
|
422
798
|
Vary:
|
423
799
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
424
800
|
Etag:
|
425
|
-
- W/"
|
801
|
+
- W/"16bbd7e876a7e84357c876d4da7bdc01"
|
426
802
|
X-Oauth-Scopes:
|
427
803
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
428
804
|
delete_repo, gist, notifications, repo, user
|
@@ -446,20 +822,20 @@ http_interactions:
|
|
446
822
|
X-Xss-Protection:
|
447
823
|
- 1; mode=block
|
448
824
|
X-Runtime-Rack:
|
449
|
-
- '0.
|
825
|
+
- '0.145271'
|
450
826
|
X-Github-Request-Id:
|
451
|
-
-
|
827
|
+
- C96A:14ED:3C4783E:7932173:5A7854AC
|
452
828
|
body:
|
453
829
|
encoding: ASCII-8BIT
|
454
|
-
string: '{"url":"https://api.github.com/repos/donaldduck/
|
830
|
+
string: '{"url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2","repository_url":"https://api.github.com/repos/donaldduck/testrepo_f","labels_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2/comments","events_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2/events","html_url":"https://github.com/donaldduck/testrepo_f/issues/2","id":123456762,"number":2,"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":[{"id":123456797,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":123456802,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/invalid","name":"invalid","color":"e4e669","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/donaldduck/testrepo_f/milestones/1","html_url":"https://github.com/donaldduck/testrepo_f/milestone/1","labels_url":"https://api.github.com/repos/donaldduck/testrepo_f/milestones/1/labels","id":1234568,"number":1,"title":"0.0.1","description":"","creator":{"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},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2018-02-05T12:44:37Z","updated_at":"2018-02-05T12:57:16Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-02-05T12:57:15Z","updated_at":"2018-02-05T12:57:16Z","closed_at":null,"author_association":"OWNER","body":"Description","closed_by":null}'
|
455
831
|
http_version:
|
456
|
-
recorded_at:
|
832
|
+
recorded_at: Mon, 05 Feb 2018 12:57:16 GMT
|
457
833
|
- request:
|
458
834
|
method: post
|
459
|
-
uri: https://api.github.com/repos/donaldduck/
|
835
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_f/issues/2/assignees
|
460
836
|
body:
|
461
837
|
encoding: UTF-8
|
462
|
-
string: '{"assignees":["
|
838
|
+
string: '{"assignees":["donaldduck","donald-fr"]}'
|
463
839
|
headers:
|
464
840
|
Accept-Encoding:
|
465
841
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -479,32 +855,32 @@ http_interactions:
|
|
479
855
|
Server:
|
480
856
|
- GitHub.com
|
481
857
|
Date:
|
482
|
-
-
|
858
|
+
- Mon, 05 Feb 2018 12:57:16 GMT
|
483
859
|
Content-Type:
|
484
860
|
- application/json; charset=utf-8
|
485
861
|
Content-Length:
|
486
|
-
- '
|
862
|
+
- '4739'
|
487
863
|
Status:
|
488
864
|
- 201 Created
|
489
865
|
X-Ratelimit-Limit:
|
490
866
|
- '5000'
|
491
867
|
X-Ratelimit-Remaining:
|
492
|
-
- '
|
868
|
+
- '4899'
|
493
869
|
X-Ratelimit-Reset:
|
494
|
-
- '
|
870
|
+
- '1517838241'
|
495
871
|
Cache-Control:
|
496
872
|
- private, max-age=60, s-maxage=60
|
497
873
|
Vary:
|
498
874
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
499
875
|
Etag:
|
500
|
-
- '"
|
876
|
+
- '"78920dcfd5272852c6f9bd2639788bcc"'
|
501
877
|
X-Oauth-Scopes:
|
502
878
|
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
503
879
|
delete_repo, gist, notifications, repo, user
|
504
880
|
X-Accepted-Oauth-Scopes:
|
505
881
|
- ''
|
506
882
|
Location:
|
507
|
-
- https://api.github.com/repos/donaldduck/
|
883
|
+
- https://api.github.com/repos/donaldduck/testrepo_f/issues/2
|
508
884
|
X-Github-Media-Type:
|
509
885
|
- github.v3; format=json
|
510
886
|
Access-Control-Expose-Headers:
|
@@ -523,12 +899,12 @@ http_interactions:
|
|
523
899
|
X-Xss-Protection:
|
524
900
|
- 1; mode=block
|
525
901
|
X-Runtime-Rack:
|
526
|
-
- '0.
|
902
|
+
- '0.215236'
|
527
903
|
X-Github-Request-Id:
|
528
|
-
-
|
904
|
+
- 93AA:14EE:33F633C:7DFF369:5A7854AC
|
529
905
|
body:
|
530
906
|
encoding: UTF-8
|
531
|
-
string: '{"url":"https://api.github.com/repos/donaldduck/
|
907
|
+
string: '{"url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2","repository_url":"https://api.github.com/repos/donaldduck/testrepo_f","labels_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2/comments","events_url":"https://api.github.com/repos/donaldduck/testrepo_f/issues/2/events","html_url":"https://github.com/donaldduck/testrepo_f/issues/2","id":123456762,"number":2,"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":[{"id":123456797,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":123456802,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/invalid","name":"invalid","color":"e4e669","default":true}],"state":"open","locked":false,"assignee":{"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},"assignees":[{"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},{"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-05T12:57:15Z","updated_at":"2018-02-05T12:57:16Z","closed_at":null,"author_association":"OWNER","body":"Description"}'
|
532
908
|
http_version:
|
533
|
-
recorded_at:
|
909
|
+
recorded_at: Mon, 05 Feb 2018 12:57:16 GMT
|
534
910
|
recorded_with: VCR 3.0.3
|