geet 0.3.11 → 0.3.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.byebug_history +5 -0
- data/.travis.yml +7 -0
- data/README.md +2 -0
- data/bin/geet +17 -0
- data/extra/anonymize_vcr_data +58 -0
- data/geet.gemspec +1 -1
- data/lib/geet/commandline/commands.rb +4 -0
- data/lib/geet/commandline/configuration.rb +23 -0
- data/lib/geet/git/repository.rb +10 -2
- data/lib/geet/github/abstract_issue.rb +9 -0
- data/lib/geet/github/milestone.rb +27 -0
- data/lib/geet/github/pr.rb +2 -2
- data/lib/geet/gitlab/pr.rb +16 -1
- data/lib/geet/helpers/services_workflow_helper.rb +33 -0
- data/lib/geet/services/close_milestones.rb +46 -0
- data/lib/geet/services/comment_pr.rb +31 -0
- data/lib/geet/services/create_issue.rb +5 -3
- data/lib/geet/services/create_milestone.rb +24 -0
- data/lib/geet/services/create_pr.rb +5 -3
- data/lib/geet/services/list_issues.rb +4 -1
- data/lib/geet/services/merge_pr.rb +57 -17
- data/lib/geet/services/open_pr.rb +30 -0
- data/lib/geet/shared/branches.rb +9 -0
- data/lib/geet/shared/selection.rb +3 -0
- data/lib/geet/utils/attributes_selection_manager.rb +5 -3
- data/lib/geet/utils/git_client.rb +65 -11
- data/lib/geet/version.rb +1 -1
- data/spec/integration/comment_pr_spec.rb +44 -0
- data/spec/integration/create_milestone_spec.rb +34 -0
- data/spec/integration/merge_pr_spec.rb +47 -16
- data/spec/integration/open_pr_spec.rb +44 -0
- data/spec/vcr_cassettes/create_gist_private.yml +1 -1
- data/spec/vcr_cassettes/create_gist_public.yml +1 -1
- data/spec/vcr_cassettes/create_issue.yml +13 -13
- data/spec/vcr_cassettes/create_issue_upstream.yml +2 -2
- data/spec/vcr_cassettes/github_com/comment_pr.yml +161 -0
- data/spec/vcr_cassettes/github_com/create_label.yml +1 -1
- data/spec/vcr_cassettes/github_com/create_label_upstream.yml +1 -1
- data/spec/vcr_cassettes/github_com/create_label_with_random_color.yml +1 -1
- data/spec/vcr_cassettes/github_com/create_milestone.yml +82 -0
- data/spec/vcr_cassettes/github_com/create_pr.yml +16 -16
- data/spec/vcr_cassettes/github_com/create_pr_in_auto_mode_create_upstream.yml +7 -7
- data/spec/vcr_cassettes/github_com/create_pr_in_auto_mode_with_push.yml +7 -7
- data/spec/vcr_cassettes/github_com/create_pr_upstream.yml +8 -8
- data/spec/vcr_cassettes/github_com/create_pr_upstream_without_write_permissions.yml +3 -3
- data/spec/vcr_cassettes/github_com/list_issues.yml +5 -5
- data/spec/vcr_cassettes/github_com/list_issues_upstream.yml +6 -6
- data/spec/vcr_cassettes/github_com/list_issues_with_assignee.yml +4 -4
- data/spec/vcr_cassettes/github_com/list_labels.yml +1 -1
- data/spec/vcr_cassettes/github_com/list_labels_upstream.yml +1 -1
- data/spec/vcr_cassettes/github_com/list_milestones.yml +50 -50
- data/spec/vcr_cassettes/github_com/merge_pr.yml +35 -34
- data/spec/vcr_cassettes/github_com/merge_pr_with_branch_deletion.yml +48 -45
- data/spec/vcr_cassettes/github_com/open_pr.yml +81 -0
- data/spec/vcr_cassettes/gitlab_com/create_label.yml +1 -1
- data/spec/vcr_cassettes/gitlab_com/list_issues.yml +4 -4
- data/spec/vcr_cassettes/gitlab_com/list_issues_with_assignee.yml +8 -8
- data/spec/vcr_cassettes/gitlab_com/list_labels.yml +1 -1
- data/spec/vcr_cassettes/gitlab_com/list_milestones.yml +9 -9
- data/spec/vcr_cassettes/gitlab_com/merge_pr.yml +24 -24
- data/spec/vcr_cassettes/list_milestones_upstream.yml +21 -21
- data/spec/vcr_cassettes/list_prs.yml +10 -10
- data/spec/vcr_cassettes/list_prs_upstream.yml +10 -10
- metadata +17 -4
data/lib/geet/version.rb
CHANGED
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
require_relative '../../lib/geet/git/repository'
|
6
|
+
require_relative '../../lib/geet/services/comment_pr'
|
7
|
+
|
8
|
+
describe Geet::Services::CommentPr do
|
9
|
+
let(:git_client) { Geet::Utils::GitClient.new }
|
10
|
+
let(:repository) { Geet::Git::Repository.new(git_client: git_client) }
|
11
|
+
let(:owner) { 'donaldduck' }
|
12
|
+
let(:branch) { 'mybranch' }
|
13
|
+
let(:comment) { 'this is a programmatically added comment' }
|
14
|
+
|
15
|
+
context 'with github.com' do
|
16
|
+
let(:repository_name) { 'testrepo_upstream' }
|
17
|
+
|
18
|
+
it 'should add a comment to the PR for the current branch' do
|
19
|
+
allow(git_client).to receive(:current_branch).and_return(branch)
|
20
|
+
allow(git_client).to receive(:remote).with('origin').and_return("git@github.com:#{owner}/#{repository_name}")
|
21
|
+
|
22
|
+
expected_pr_number = 3
|
23
|
+
expected_output = <<~STR
|
24
|
+
Finding PR with head (#{owner}:#{branch})...
|
25
|
+
STR
|
26
|
+
|
27
|
+
actual_output = StringIO.new
|
28
|
+
service_instance = described_class.new(repository, out: actual_output, git_client: git_client)
|
29
|
+
|
30
|
+
expect(service_instance).to receive(:open_file_with_default_application).with("https://github.com/#{owner}/#{repository_name}/pull/#{expected_pr_number}") do
|
31
|
+
# do nothing; just don't open the browser
|
32
|
+
end
|
33
|
+
|
34
|
+
service_result = VCR.use_cassette('github_com/comment_pr') do
|
35
|
+
service_instance.execute(comment)
|
36
|
+
end
|
37
|
+
|
38
|
+
actual_pr_number = service_result.number
|
39
|
+
|
40
|
+
expect(actual_output.string).to eql(expected_output)
|
41
|
+
expect(actual_pr_number).to eql(expected_pr_number)
|
42
|
+
end
|
43
|
+
end # context 'with github.com'
|
44
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
require_relative '../../lib/geet/git/repository'
|
6
|
+
require_relative '../../lib/geet/services/create_milestone'
|
7
|
+
|
8
|
+
describe Geet::Services::CreateMilestone do
|
9
|
+
let(:git_client) { Geet::Utils::GitClient.new }
|
10
|
+
let(:repository) { Geet::Git::Repository.new(git_client: git_client) }
|
11
|
+
let(:upstream_repository) { Geet::Git::Repository.new(upstream: true, git_client: git_client) }
|
12
|
+
|
13
|
+
context 'with github.com' do
|
14
|
+
it 'should create a milestone' do
|
15
|
+
allow(git_client).to receive(:remote).with('origin').and_return('git@github.com:donaldduck/testrepo_upstream')
|
16
|
+
|
17
|
+
expected_output = <<~STR
|
18
|
+
Creating milestone...
|
19
|
+
STR
|
20
|
+
|
21
|
+
actual_output = StringIO.new
|
22
|
+
|
23
|
+
actual_created_label = VCR.use_cassette('github_com/create_milestone') do
|
24
|
+
described_class.new(repository, out: actual_output).execute('my_milestone')
|
25
|
+
end
|
26
|
+
|
27
|
+
expect(actual_output.string).to eql(expected_output)
|
28
|
+
|
29
|
+
expect(actual_created_label.number).to eql(6)
|
30
|
+
expect(actual_created_label.title).to eql('my_milestone')
|
31
|
+
expect(actual_created_label.due_on).to be(nil)
|
32
|
+
end
|
33
|
+
end # context 'with github.com'
|
34
|
+
end # describe Geet::Services::CreateLabel
|
@@ -5,20 +5,41 @@ require 'spec_helper'
|
|
5
5
|
require_relative '../../lib/geet/git/repository'
|
6
6
|
require_relative '../../lib/geet/services/merge_pr'
|
7
7
|
|
8
|
+
# Currently disabled: it requires updates following the addition of the automatic removal of the local
|
9
|
+
# branch.
|
10
|
+
# Specifically, `GitClient#upstream_branch_gone?` needs to be handled, since it returns the current
|
11
|
+
# branch, while it's supposed to return
|
12
|
+
#
|
8
13
|
describe Geet::Services::MergePr do
|
9
14
|
let(:git_client) { Geet::Utils::GitClient.new }
|
10
15
|
let(:repository) { Geet::Git::Repository.new(git_client: git_client) }
|
16
|
+
let(:owner) { 'donaldduck' }
|
17
|
+
let(:branch) { 'mybranch' }
|
18
|
+
|
19
|
+
before :each do
|
20
|
+
expect(git_client).to receive(:fetch)
|
21
|
+
expect(git_client).to receive(:upstream_branch_gone?).and_return(true)
|
22
|
+
expect(git_client).to receive(:checkout).with('master')
|
23
|
+
expect(git_client).to receive(:rebase)
|
24
|
+
expect(git_client).to receive(:delete_branch).with('mybranch')
|
25
|
+
end
|
11
26
|
|
12
27
|
context 'with github.com' do
|
28
|
+
let(:repository_name) { 'testrepo_upstream' }
|
29
|
+
|
13
30
|
it 'should merge the PR for the current branch' do
|
14
|
-
allow(git_client).to receive(:current_branch).and_return(
|
15
|
-
allow(git_client).to receive(:remote).with('origin').and_return(
|
31
|
+
allow(git_client).to receive(:current_branch).and_return(branch)
|
32
|
+
allow(git_client).to receive(:remote).with('origin').and_return("git@github.com:#{owner}/#{repository_name}")
|
16
33
|
|
34
|
+
expected_pr_number = 1
|
17
35
|
expected_output = <<~STR
|
18
|
-
Finding PR with head (
|
19
|
-
Merging PR
|
36
|
+
Finding PR with head (#{owner}:#{branch})...
|
37
|
+
Merging PR ##{expected_pr_number}...
|
38
|
+
Fetching repository...
|
39
|
+
Checking out master...
|
40
|
+
Rebasing...
|
41
|
+
Deleting local branch mybranch...
|
20
42
|
STR
|
21
|
-
expected_pr_number = 3
|
22
43
|
|
23
44
|
actual_output = StringIO.new
|
24
45
|
|
@@ -33,15 +54,19 @@ describe Geet::Services::MergePr do
|
|
33
54
|
end
|
34
55
|
|
35
56
|
it 'should merge the PR for the current branch, with branch deletion' do
|
36
|
-
allow(git_client).to receive(:current_branch).and_return(
|
37
|
-
allow(git_client).to receive(:remote).with('origin').and_return(
|
57
|
+
allow(git_client).to receive(:current_branch).and_return(branch)
|
58
|
+
allow(git_client).to receive(:remote).with('origin').and_return("git@github.com:#{owner}/#{repository_name}")
|
38
59
|
|
60
|
+
expected_pr_number = 2
|
39
61
|
expected_output = <<~STR
|
40
|
-
Finding PR with head (
|
41
|
-
Merging PR
|
42
|
-
Deleting branch
|
62
|
+
Finding PR with head (#{owner}:#{branch})...
|
63
|
+
Merging PR ##{expected_pr_number}...
|
64
|
+
Deleting remote branch #{branch}...
|
65
|
+
Fetching repository...
|
66
|
+
Checking out master...
|
67
|
+
Rebasing...
|
68
|
+
Deleting local branch mybranch...
|
43
69
|
STR
|
44
|
-
expected_pr_number = 3
|
45
70
|
|
46
71
|
actual_output = StringIO.new
|
47
72
|
|
@@ -57,15 +82,21 @@ describe Geet::Services::MergePr do
|
|
57
82
|
end # context 'with github.com'
|
58
83
|
|
59
84
|
context 'with gitlab.com' do
|
85
|
+
let(:repository_name) { 'testproject' }
|
86
|
+
|
60
87
|
it 'should merge the PR for the current branch' do
|
61
|
-
allow(git_client).to receive(:current_branch).and_return(
|
62
|
-
allow(git_client).to receive(:remote).with('origin').and_return(
|
88
|
+
allow(git_client).to receive(:current_branch).and_return(branch)
|
89
|
+
allow(git_client).to receive(:remote).with('origin').and_return("git@gitlab.com:#{owner}/#{repository_name}")
|
63
90
|
|
91
|
+
expected_pr_number = 4
|
64
92
|
expected_output = <<~STR
|
65
|
-
Finding PR with head (
|
66
|
-
Merging PR
|
93
|
+
Finding PR with head (#{owner}:#{branch})...
|
94
|
+
Merging PR ##{expected_pr_number}...
|
95
|
+
Fetching repository...
|
96
|
+
Checking out master...
|
97
|
+
Rebasing...
|
98
|
+
Deleting local branch mybranch...
|
67
99
|
STR
|
68
|
-
expected_pr_number = 2
|
69
100
|
|
70
101
|
actual_output = StringIO.new
|
71
102
|
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
require_relative '../../lib/geet/git/repository'
|
6
|
+
require_relative '../../lib/geet/services/open_pr'
|
7
|
+
|
8
|
+
describe Geet::Services::OpenPr do
|
9
|
+
let(:git_client) { Geet::Utils::GitClient.new }
|
10
|
+
let(:repository) { Geet::Git::Repository.new(git_client: git_client) }
|
11
|
+
let(:owner) { 'donaldduck' }
|
12
|
+
let(:branch) { 'mybranch' }
|
13
|
+
|
14
|
+
context 'with github.com' do
|
15
|
+
let(:repository_name) { 'testrepo_upstream' }
|
16
|
+
|
17
|
+
it 'should open the PR for the current branch' do
|
18
|
+
allow(git_client).to receive(:current_branch).and_return(branch)
|
19
|
+
allow(git_client).to receive(:remote).with('origin').and_return("git@github.com:#{owner}/#{repository_name}")
|
20
|
+
|
21
|
+
expected_pr_number = 3
|
22
|
+
expected_output = <<~STR
|
23
|
+
Finding PR with head (#{owner}:#{branch})...
|
24
|
+
STR
|
25
|
+
|
26
|
+
actual_output = StringIO.new
|
27
|
+
service_instance = described_class.new(repository, out: actual_output, git_client: git_client)
|
28
|
+
|
29
|
+
expect(service_instance).to receive(:open_file_with_default_application).with("https://github.com/#{owner}/#{repository_name}/pull/#{expected_pr_number}") do
|
30
|
+
# do nothing; just don't open the browser
|
31
|
+
end
|
32
|
+
|
33
|
+
service_result = VCR.use_cassette('github_com/open_pr') do
|
34
|
+
service_instance.execute
|
35
|
+
end
|
36
|
+
|
37
|
+
actual_pr_number = service_result.number
|
38
|
+
|
39
|
+
expect(actual_output.string).to eql(expected_output)
|
40
|
+
expect(actual_pr_number).to eql(expected_pr_number)
|
41
|
+
end
|
42
|
+
|
43
|
+
end # context 'with github.com'
|
44
|
+
end
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
- EDF2:2E340:1203894:22EE1C4:5A1331DE
|
75
75
|
body:
|
76
76
|
encoding: UTF-8
|
77
|
-
string: '{"url":"https://api.github.com/gists/deadbeef","forks_url":"https://api.github.com/gists/deadbeef/forks","commits_url":"https://api.github.com/gists/deadbeef/commits","id":"deadbeef","git_pull_url":"https://gist.github.com/deadbeef.git","git_push_url":"https://gist.github.com/deadbeef.git","html_url":"https://gist.github.com/deadbeef","files":{"geet_gist20171120-21351-1voyg7d":{"filename":"geet_gist20171120-21351-1voyg7d","type":"text/plain","language":null,"raw_url":"https://gist.githubusercontent.com/donaldduck/deadbeef/raw/otherhex1/geet_gist20171120-21351-1voyg7d","size":11,"truncated":false,"content":"testcontent"}},"public":false,"created_at":"2017-11-20T19:49:52Z","updated_at":"2017-11-20T19:49:52Z","description":"testdescription","comments":0,"user":null,"comments_url":"https://api.github.com/gists/deadbeef/comments","owner":{"login":"donaldduck","id":
|
77
|
+
string: '{"url":"https://api.github.com/gists/deadbeef","forks_url":"https://api.github.com/gists/deadbeef/forks","commits_url":"https://api.github.com/gists/deadbeef/commits","id":"deadbeef","git_pull_url":"https://gist.github.com/deadbeef.git","git_push_url":"https://gist.github.com/deadbeef.git","html_url":"https://gist.github.com/deadbeef","files":{"geet_gist20171120-21351-1voyg7d":{"filename":"geet_gist20171120-21351-1voyg7d","type":"text/plain","language":null,"raw_url":"https://gist.githubusercontent.com/donaldduck/deadbeef/raw/otherhex1/geet_gist20171120-21351-1voyg7d","size":11,"truncated":false,"content":"testcontent"}},"public":false,"created_at":"2017-11-20T19:49:52Z","updated_at":"2017-11-20T19:49:52Z","description":"testdescription","comments":0,"user":null,"comments_url":"https://api.github.com/gists/deadbeef/comments","owner":{"login":"donaldduck","id":123456,"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},"forks":[],"history":[{"user":{"login":"donaldduck","id":123456,"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},"version":"otherhex2","committed_at":"2017-11-20T19:49:51Z","change_status":{"total":1,"additions":1,"deletions":0},"url":"https://api.github.com/gists/deadbeef/otherhex2"}],"truncated":false}'
|
78
78
|
http_version:
|
79
79
|
recorded_at: Mon, 20 Nov 2017 19:49:52 GMT
|
80
80
|
recorded_with: VCR 3.0.3
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
- EDC4:2E342:EBAD46:266D076:5A1331DA
|
75
75
|
body:
|
76
76
|
encoding: UTF-8
|
77
|
-
string: '{"url":"https://api.github.com/gists/b01dface","forks_url":"https://api.github.com/gists/b01dface/forks","commits_url":"https://api.github.com/gists/b01dface/commits","id":"b01dface","git_pull_url":"https://gist.github.com/b01dface.git","git_push_url":"https://gist.github.com/b01dface.git","html_url":"https://gist.github.com/b01dface","files":{"geet_gist20171120-21351-vhp23e":{"filename":"geet_gist20171120-21351-vhp23e","type":"text/plain","language":null,"raw_url":"https://gist.githubusercontent.com/donaldduck/b01dface/raw/otherhex1/geet_gist20171120-21351-vhp23e","size":11,"truncated":false,"content":"testcontent"}},"public":true,"created_at":"2017-11-20T19:49:47Z","updated_at":"2017-11-20T19:49:47Z","description":"testdescription","comments":0,"user":null,"comments_url":"https://api.github.com/gists/b01dface/comments","owner":{"login":"donaldduck","id":
|
77
|
+
string: '{"url":"https://api.github.com/gists/b01dface","forks_url":"https://api.github.com/gists/b01dface/forks","commits_url":"https://api.github.com/gists/b01dface/commits","id":"b01dface","git_pull_url":"https://gist.github.com/b01dface.git","git_push_url":"https://gist.github.com/b01dface.git","html_url":"https://gist.github.com/b01dface","files":{"geet_gist20171120-21351-vhp23e":{"filename":"geet_gist20171120-21351-vhp23e","type":"text/plain","language":null,"raw_url":"https://gist.githubusercontent.com/donaldduck/b01dface/raw/otherhex1/geet_gist20171120-21351-vhp23e","size":11,"truncated":false,"content":"testcontent"}},"public":true,"created_at":"2017-11-20T19:49:47Z","updated_at":"2017-11-20T19:49:47Z","description":"testdescription","comments":0,"user":null,"comments_url":"https://api.github.com/gists/b01dface/comments","owner":{"login":"donaldduck","id":123456,"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},"forks":[],"history":[{"user":{"login":"donaldduck","id":123456,"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},"version":"otherhex2","committed_at":"2017-11-20T19:49:47Z","change_status":{"total":1,"additions":1,"deletions":0},"url":"https://api.github.com/gists/b01dface/otherhex2"}],"truncated":false}'
|
78
78
|
http_version:
|
79
79
|
recorded_at: Mon, 20 Nov 2017 19:49:48 GMT
|
80
80
|
recorded_with: VCR 3.0.3
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
- C954:14EE:33F60FC:7DFEDE9:5A7854A6
|
75
75
|
body:
|
76
76
|
encoding: ASCII-8BIT
|
77
|
-
string: '{"login":"donaldduck","id":
|
77
|
+
string: '{"login":"donaldduck","id":123456,"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
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
79
|
http_version:
|
80
80
|
recorded_at: Mon, 05 Feb 2018 12:57:10 GMT
|
@@ -219,7 +219,7 @@ http_interactions:
|
|
219
219
|
- C958:14ED:3C475D6:7931D17:5A7854A7
|
220
220
|
body:
|
221
221
|
encoding: ASCII-8BIT
|
222
|
-
string: '{"login":"donaldduck","id":
|
222
|
+
string: '{"login":"donaldduck","id":123456,"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
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
224
|
http_version:
|
225
225
|
recorded_at: Mon, 05 Feb 2018 12:57:12 GMT
|
@@ -297,7 +297,7 @@ http_interactions:
|
|
297
297
|
- C95A:14EE:33F61AB:7DFEF84:5A7854A8
|
298
298
|
body:
|
299
299
|
encoding: ASCII-8BIT
|
300
|
-
string: '{"login":"donaldduck","id":
|
300
|
+
string: '{"login":"donaldduck","id":123456,"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
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
302
|
http_version:
|
303
303
|
recorded_at: Mon, 05 Feb 2018 12:57:12 GMT
|
@@ -373,7 +373,7 @@ http_interactions:
|
|
373
373
|
- C95C:14EB:2308D95:4D2E40D:5A7854A8
|
374
374
|
body:
|
375
375
|
encoding: ASCII-8BIT
|
376
|
-
string: '{"permission":"admin","user":{"login":"donaldduck","id":
|
376
|
+
string: '{"permission":"admin","user":{"login":"donaldduck","id":123456,"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
377
|
http_version:
|
378
378
|
recorded_at: Mon, 05 Feb 2018 12:57:13 GMT
|
379
379
|
- request:
|
@@ -448,9 +448,9 @@ http_interactions:
|
|
448
448
|
- C95E:14EC:2CEA624:6010431:5A7854A9
|
449
449
|
body:
|
450
450
|
encoding: ASCII-8BIT
|
451
|
-
string: '[{"id":
|
452
|
-
first issue","color":"7057ff","default":true},{"id":
|
453
|
-
wanted","color":"008672","default":true},{"id":
|
451
|
+
string: '[{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/duplicate","name":"duplicate","color":"cfd3d7","default":true},{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/good%20first%20issue","name":"good
|
452
|
+
first issue","color":"7057ff","default":true},{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/help%20wanted","name":"help
|
453
|
+
wanted","color":"008672","default":true},{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/invalid","name":"invalid","color":"e4e669","default":true},{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/question","name":"question","color":"d876e3","default":true},{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/wontfix","name":"wontfix","color":"ffffff","default":true}]'
|
454
454
|
http_version:
|
455
455
|
recorded_at: Mon, 05 Feb 2018 12:57:13 GMT
|
456
456
|
- request:
|
@@ -525,7 +525,7 @@ http_interactions:
|
|
525
525
|
- 93A2:14ED:3C4772F:7931F6E:5A7854AA
|
526
526
|
body:
|
527
527
|
encoding: ASCII-8BIT
|
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":
|
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":123456,"number":1,"title":"0.0.1","description":"","creator":{"login":"donaldduck","id":123456,"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}]'
|
529
529
|
http_version:
|
530
530
|
recorded_at: Mon, 05 Feb 2018 12:57:14 GMT
|
531
531
|
- request:
|
@@ -600,7 +600,7 @@ http_interactions:
|
|
600
600
|
- C962:14EE:33F62B3:7DFF21C:5A7854AA
|
601
601
|
body:
|
602
602
|
encoding: ASCII-8BIT
|
603
|
-
string: '[{"login":"donaldduck","id":
|
603
|
+
string: '[{"login":"donaldduck","id":123456,"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":123456,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?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}}]'
|
604
604
|
http_version:
|
605
605
|
recorded_at: Mon, 05 Feb 2018 12:57:15 GMT
|
606
606
|
- request:
|
@@ -677,7 +677,7 @@ http_interactions:
|
|
677
677
|
- 93A6:14ED:3C477D1:79320BB:5A7854AB
|
678
678
|
body:
|
679
679
|
encoding: UTF-8
|
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":
|
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":123456,"number":2,"title":"Title","user":{"login":"donaldduck","id":123456,"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}'
|
681
681
|
http_version:
|
682
682
|
recorded_at: Mon, 05 Feb 2018 12:57:16 GMT
|
683
683
|
- request:
|
@@ -752,7 +752,7 @@ http_interactions:
|
|
752
752
|
- 93A8:14EC:2CEA6E8:601061E:5A7854AC
|
753
753
|
body:
|
754
754
|
encoding: ASCII-8BIT
|
755
|
-
string: '[{"id":
|
755
|
+
string: '[{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/invalid","name":"invalid","color":"e4e669","default":true}]'
|
756
756
|
http_version:
|
757
757
|
recorded_at: Mon, 05 Feb 2018 12:57:16 GMT
|
758
758
|
- request:
|
@@ -827,7 +827,7 @@ http_interactions:
|
|
827
827
|
- C96A:14ED:3C4783E:7932173:5A7854AC
|
828
828
|
body:
|
829
829
|
encoding: ASCII-8BIT
|
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":
|
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":123456,"number":2,"title":"Title","user":{"login":"donaldduck","id":123456,"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":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":123456,"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":123456,"number":1,"title":"0.0.1","description":"","creator":{"login":"donaldduck","id":123456,"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}'
|
831
831
|
http_version:
|
832
832
|
recorded_at: Mon, 05 Feb 2018 12:57:16 GMT
|
833
833
|
- request:
|
@@ -904,7 +904,7 @@ http_interactions:
|
|
904
904
|
- 93AA:14EE:33F633C:7DFF369:5A7854AC
|
905
905
|
body:
|
906
906
|
encoding: UTF-8
|
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":
|
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":123456,"number":2,"title":"Title","user":{"login":"donaldduck","id":123456,"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":123456,"url":"https://api.github.com/repos/donaldduck/testrepo_f/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":123456,"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":123456,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?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":123456,"avatar_url":"https://avatars2.githubusercontent.com/u/123456?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":123456,"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"}'
|
908
908
|
http_version:
|
909
909
|
recorded_at: Mon, 05 Feb 2018 12:57:16 GMT
|
910
910
|
recorded_with: VCR 3.0.3
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
- 8FE6:14EC:2CB9F3D:5FA8226:5A784C4B
|
75
75
|
body:
|
76
76
|
encoding: ASCII-8BIT
|
77
|
-
string: '{"login":"donaldduck","id":
|
77
|
+
string: '{"login":"donaldduck","id":123456,"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
78
|
Duck","company":"@momcorp","blog":"","location":"Berlin","email":"donald.pub2@gmail.com","hireable":true,"bio":null,"public_repos":18,"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
79
|
http_version:
|
80
80
|
recorded_at: Mon, 05 Feb 2018 12:21:32 GMT
|
@@ -221,7 +221,7 @@ http_interactions:
|
|
221
221
|
- 8FEA:14ED:3C0B222:78B5001:5A784C4D
|
222
222
|
body:
|
223
223
|
encoding: UTF-8
|
224
|
-
string: '{"url":"https://api.github.com/repos/momcorp/therepo/issues/42","repository_url":"https://api.github.com/repos/momcorp/therepo","labels_url":"https://api.github.com/repos/momcorp/therepo/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/momcorp/therepo/issues/42/comments","events_url":"https://api.github.com/repos/momcorp/therepo/issues/42/events","html_url":"https://github.com/momcorp/therepo/issues/42","id":
|
224
|
+
string: '{"url":"https://api.github.com/repos/momcorp/therepo/issues/42","repository_url":"https://api.github.com/repos/momcorp/therepo","labels_url":"https://api.github.com/repos/momcorp/therepo/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/momcorp/therepo/issues/42/comments","events_url":"https://api.github.com/repos/momcorp/therepo/issues/42/events","html_url":"https://github.com/momcorp/therepo/issues/42","id":123456,"number":42,"title":"Title","user":{"login":"donaldduck","id":123456,"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:21:33Z","updated_at":"2018-02-05T12:21:33Z","closed_at":null,"author_association":"COLLABORATOR","body":"Description","closed_by":null}'
|
225
225
|
http_version:
|
226
226
|
recorded_at: Mon, 05 Feb 2018 12:21:33 GMT
|
227
227
|
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,161 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_upstream/pulls?head=donaldduck:mybranch
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- application/vnd.github.v3+json
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Host:
|
17
|
+
- api.github.com
|
18
|
+
Authorization:
|
19
|
+
- Basic <GITHUB_CREDENTIALS>
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Wed, 28 Aug 2019 09:23:41 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Transfer-Encoding:
|
30
|
+
- chunked
|
31
|
+
Server:
|
32
|
+
- GitHub.com
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4993'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1566987821'
|
41
|
+
Cache-Control:
|
42
|
+
- private, max-age=60, s-maxage=60
|
43
|
+
Vary:
|
44
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
45
|
+
- Accept-Encoding
|
46
|
+
Etag:
|
47
|
+
- W/"ae073a30ab7f83d340f2003fbd46bc1f"
|
48
|
+
X-Oauth-Scopes:
|
49
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
50
|
+
delete_repo, gist, notifications, repo, user
|
51
|
+
X-Accepted-Oauth-Scopes:
|
52
|
+
- ''
|
53
|
+
X-Github-Media-Type:
|
54
|
+
- github.v3; format=json
|
55
|
+
Access-Control-Expose-Headers:
|
56
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
57
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
58
|
+
X-GitHub-Media-Type
|
59
|
+
Access-Control-Allow-Origin:
|
60
|
+
- "*"
|
61
|
+
Strict-Transport-Security:
|
62
|
+
- max-age=31536000; includeSubdomains; preload
|
63
|
+
X-Frame-Options:
|
64
|
+
- deny
|
65
|
+
X-Content-Type-Options:
|
66
|
+
- nosniff
|
67
|
+
X-Xss-Protection:
|
68
|
+
- 1; mode=block
|
69
|
+
Referrer-Policy:
|
70
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
71
|
+
Content-Security-Policy:
|
72
|
+
- default-src 'none'
|
73
|
+
X-Github-Request-Id:
|
74
|
+
- DEC8:36DFF:C70BD7:F0ADD7:5D66481C
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: '[{"url":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls/3","id":123456,"node_id":"MDExOlB1bGxSZXF1ZXN0MzEwMzM3NDg0","html_url":"https://github.com/donaldduck/testrepo_upstream/pull/3","diff_url":"https://github.com/donaldduck/testrepo_upstream/pull/3.diff","patch_url":"https://github.com/donaldduck/testrepo_upstream/pull/3.patch","issue_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/3","number":3,"state":"open","locked":false,"title":"Add
|
78
|
+
testfile3","user":{"login":"donaldduck","id":123456,"node_id":"MDQ6VXNlcjE1OTUzNTY=","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":"","created_at":"2019-08-23T10:58:42Z","updated_at":"2019-08-28T09:16:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19d715aa53a33c334d0063c9a68fe5e321fe2378","assignee":{"login":"donaldduck","id":123456,"node_id":"MDQ6VXNlcjE1OTUzNTY=","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":123456,"node_id":"MDQ6VXNlcjE1OTUzNTY=","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}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls/3/commits","review_comments_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls/3/comments","review_comment_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls/comments{/number}","comments_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/3/comments","statuses_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/statuses/e8eec66553b6ab93b0c9315d7fddf7328c9d9d0e","head":{"label":"donaldduck:mybranch","ref":"mybranch","sha":"e8eec66553b6ab93b0c9315d7fddf7328c9d9d0e","user":{"login":"donaldduck","id":123456,"node_id":"MDQ6VXNlcjE1OTUzNTY=","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":123456,"node_id":"MDEwOlJlcG9zaXRvcnkxNzc1NjgyMTI=","name":"testrepo_upstream","full_name":"donaldduck/testrepo_upstream","private":true,"owner":{"login":"donaldduck","id":123456,"node_id":"MDQ6VXNlcjE1OTUzNTY=","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},"html_url":"https://github.com/donaldduck/testrepo_upstream","description":null,"fork":false,"url":"https://api.github.com/repos/donaldduck/testrepo_upstream","forks_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/forks","keys_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/teams","hooks_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/hooks","issue_events_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/events{/number}","events_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/events","assignees_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/assignees{/user}","branches_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/branches{/branch}","tags_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/tags","blobs_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/refs{/sha}","trees_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/statuses/{sha}","languages_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/languages","stargazers_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/stargazers","contributors_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/contributors","subscribers_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/subscribers","subscription_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/subscription","commits_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/commits{/sha}","git_commits_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/commits{/sha}","comments_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/comments{/number}","issue_comment_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/comments{/number}","contents_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/contents/{+path}","compare_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/merges","archive_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/downloads","issues_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues{/number}","pulls_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls{/number}","milestones_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/milestones{/number}","notifications_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/labels{/name}","releases_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/releases{/id}","deployments_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/deployments","created_at":"2019-03-25T10:54:43Z","updated_at":"2019-03-25T11:16:56Z","pushed_at":"2019-08-23T10:58:43Z","git_url":"git://github.com/donaldduck/testrepo_upstream.git","ssh_url":"git@github.com:donaldduck/testrepo_upstream.git","clone_url":"https://github.com/donaldduck/testrepo_upstream.git","svn_url":"https://github.com/donaldduck/testrepo_upstream","homepage":null,"size":1,"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":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"donaldduck:master","ref":"master","sha":"f73f5f313b1bde716ad5f1975b7ed0234d945177","user":{"login":"donaldduck","id":123456,"node_id":"MDQ6VXNlcjE1OTUzNTY=","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":123456,"node_id":"MDEwOlJlcG9zaXRvcnkxNzc1NjgyMTI=","name":"testrepo_upstream","full_name":"donaldduck/testrepo_upstream","private":true,"owner":{"login":"donaldduck","id":123456,"node_id":"MDQ6VXNlcjE1OTUzNTY=","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},"html_url":"https://github.com/donaldduck/testrepo_upstream","description":null,"fork":false,"url":"https://api.github.com/repos/donaldduck/testrepo_upstream","forks_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/forks","keys_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/teams","hooks_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/hooks","issue_events_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/events{/number}","events_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/events","assignees_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/assignees{/user}","branches_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/branches{/branch}","tags_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/tags","blobs_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/refs{/sha}","trees_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/statuses/{sha}","languages_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/languages","stargazers_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/stargazers","contributors_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/contributors","subscribers_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/subscribers","subscription_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/subscription","commits_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/commits{/sha}","git_commits_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/git/commits{/sha}","comments_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/comments{/number}","issue_comment_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/comments{/number}","contents_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/contents/{+path}","compare_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/merges","archive_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/downloads","issues_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues{/number}","pulls_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls{/number}","milestones_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/milestones{/number}","notifications_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/labels{/name}","releases_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/releases{/id}","deployments_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/deployments","created_at":"2019-03-25T10:54:43Z","updated_at":"2019-03-25T11:16:56Z","pushed_at":"2019-08-23T10:58:43Z","git_url":"git://github.com/donaldduck/testrepo_upstream.git","ssh_url":"git@github.com:donaldduck/testrepo_upstream.git","clone_url":"https://github.com/donaldduck/testrepo_upstream.git","svn_url":"https://github.com/donaldduck/testrepo_upstream","homepage":null,"size":1,"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":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls/3"},"html":{"href":"https://github.com/donaldduck/testrepo_upstream/pull/3"},"issue":{"href":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/3"},"comments":{"href":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/donaldduck/testrepo_upstream/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/donaldduck/testrepo_upstream/statuses/e8eec66553b6ab93b0c9315d7fddf7328c9d9d0e"}},"author_association":"OWNER"}]'
|
79
|
+
http_version:
|
80
|
+
recorded_at: Wed, 28 Aug 2019 09:23:41 GMT
|
81
|
+
- request:
|
82
|
+
method: post
|
83
|
+
uri: https://api.github.com/repos/donaldduck/testrepo_upstream/issues/3/comments
|
84
|
+
body:
|
85
|
+
encoding: UTF-8
|
86
|
+
string: '{"body":"this is a programmatically added comment"}'
|
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: 201
|
101
|
+
message: Created
|
102
|
+
headers:
|
103
|
+
Date:
|
104
|
+
- Wed, 28 Aug 2019 09:23:42 GMT
|
105
|
+
Content-Type:
|
106
|
+
- application/json; charset=utf-8
|
107
|
+
Content-Length:
|
108
|
+
- '1478'
|
109
|
+
Server:
|
110
|
+
- GitHub.com
|
111
|
+
Status:
|
112
|
+
- 201 Created
|
113
|
+
X-Ratelimit-Limit:
|
114
|
+
- '5000'
|
115
|
+
X-Ratelimit-Remaining:
|
116
|
+
- '4992'
|
117
|
+
X-Ratelimit-Reset:
|
118
|
+
- '1566987821'
|
119
|
+
Cache-Control:
|
120
|
+
- private, max-age=60, s-maxage=60
|
121
|
+
Vary:
|
122
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
123
|
+
- Accept-Encoding
|
124
|
+
Etag:
|
125
|
+
- '"82cea3dee2a7d58eec4caa20040d9686"'
|
126
|
+
X-Oauth-Scopes:
|
127
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
128
|
+
delete_repo, gist, notifications, repo, user
|
129
|
+
X-Accepted-Oauth-Scopes:
|
130
|
+
- ''
|
131
|
+
Location:
|
132
|
+
- https://api.github.com/repos/donaldduck/testrepo_upstream/issues/comments/525660549
|
133
|
+
X-Github-Media-Type:
|
134
|
+
- github.v3; format=json
|
135
|
+
Access-Control-Expose-Headers:
|
136
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
137
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
138
|
+
X-GitHub-Media-Type
|
139
|
+
Access-Control-Allow-Origin:
|
140
|
+
- "*"
|
141
|
+
Strict-Transport-Security:
|
142
|
+
- max-age=31536000; includeSubdomains; preload
|
143
|
+
X-Frame-Options:
|
144
|
+
- deny
|
145
|
+
X-Content-Type-Options:
|
146
|
+
- nosniff
|
147
|
+
X-Xss-Protection:
|
148
|
+
- 1; mode=block
|
149
|
+
Referrer-Policy:
|
150
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
151
|
+
Content-Security-Policy:
|
152
|
+
- default-src 'none'
|
153
|
+
X-Github-Request-Id:
|
154
|
+
- DECA:183DC:CF1B30:F817FD:5D66481D
|
155
|
+
body:
|
156
|
+
encoding: UTF-8
|
157
|
+
string: '{"url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/comments/525660549","html_url":"https://github.com/donaldduck/testrepo_upstream/pull/3#issuecomment-525660549","issue_url":"https://api.github.com/repos/donaldduck/testrepo_upstream/issues/3","id":123456,"node_id":"MDEyOklzc3VlQ29tbWVudDUyNTY2MDU0OQ==","user":{"login":"donaldduck","id":123456,"node_id":"MDQ6VXNlcjE1OTUzNTY=","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},"created_at":"2019-08-28T09:23:41Z","updated_at":"2019-08-28T09:23:41Z","author_association":"OWNER","body":"this
|
158
|
+
is a programmatically added comment"}'
|
159
|
+
http_version:
|
160
|
+
recorded_at: Wed, 28 Aug 2019 09:23:42 GMT
|
161
|
+
recorded_with: VCR 3.0.3
|