geet 0.3.13 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +8 -0
- data/README.md +5 -8
- data/bin/geet +26 -7
- data/extra/anonymize_vcr_data +58 -0
- data/geet.gemspec +1 -1
- data/lib/geet/commandline/commands.rb +5 -0
- data/lib/geet/commandline/configuration.rb +31 -0
- data/lib/geet/git/repository.rb +19 -1
- data/lib/geet/github/abstract_issue.rb +9 -0
- data/lib/geet/github/api_interface.rb +2 -0
- data/lib/geet/github/branch.rb +1 -1
- data/lib/geet/github/issue.rb +1 -1
- data/lib/geet/github/label.rb +2 -2
- data/lib/geet/github/milestone.rb +29 -2
- data/lib/geet/github/remote_repository.rb +37 -0
- data/lib/geet/github/user.rb +2 -2
- data/lib/geet/gitlab/api_interface.rb +2 -0
- data/lib/geet/gitlab/label.rb +2 -2
- data/lib/geet/gitlab/milestone.rb +1 -1
- data/lib/geet/gitlab/user.rb +1 -1
- data/lib/geet/services/add_upstream_repo.rb +37 -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 +55 -4
- data/lib/geet/services/open_repo.rb +50 -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 +12 -3
- data/lib/geet/utils/git_client.rb +101 -28
- data/lib/geet/version.rb +1 -1
- data/spec/integration/comment_pr_spec.rb +44 -0
- data/spec/integration/create_issue_spec.rb +4 -4
- data/spec/integration/create_label_spec.rb +5 -5
- data/spec/integration/create_milestone_spec.rb +34 -0
- data/spec/integration/create_pr_spec.rb +8 -8
- data/spec/integration/list_issues_spec.rb +6 -6
- data/spec/integration/list_labels_spec.rb +4 -4
- data/spec/integration/list_milestones_spec.rb +4 -4
- data/spec/integration/list_prs_spec.rb +3 -3
- data/spec/integration/merge_pr_spec.rb +29 -4
- data/spec/integration/open_pr_spec.rb +1 -1
- data/spec/integration/open_repo_spec.rb +46 -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 +2 -2
- data/spec/vcr_cassettes/github_com/merge_pr_with_branch_deletion.yml +2 -2
- data/spec/vcr_cassettes/github_com/open_pr.yml +2 -2
- 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 +5 -5
- 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 +16 -4
@@ -12,7 +12,7 @@ describe Geet::Services::ListIssues do
|
|
12
12
|
|
13
13
|
context 'with github.com' do
|
14
14
|
it 'should list the default issues' do
|
15
|
-
allow(git_client).to receive(:remote).with(
|
15
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@github.com:donaldduck/testrepo')
|
16
16
|
|
17
17
|
expected_output = <<~STR
|
18
18
|
5. Title 2 (https://github.com/donaldduck/testrepo/issues/5)
|
@@ -34,7 +34,7 @@ describe Geet::Services::ListIssues do
|
|
34
34
|
|
35
35
|
context 'with assignee filtering' do
|
36
36
|
it 'should list the issues' do
|
37
|
-
allow(git_client).to receive(:remote).with(
|
37
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@github.com:donaldduck/testrepo_gh')
|
38
38
|
|
39
39
|
expected_output = <<~STR
|
40
40
|
Finding collaborators...
|
@@ -57,8 +57,8 @@ describe Geet::Services::ListIssues do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
it 'should list the upstream issues' do
|
60
|
-
allow(git_client).to receive(:remote).with(
|
61
|
-
allow(git_client).to receive(:remote).with('upstream').and_return('git@github.com:donald-fr/testrepo_u')
|
60
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@github.com:donaldduck/testrepo_2f')
|
61
|
+
allow(git_client).to receive(:remote).with(name: 'upstream').and_return('git@github.com:donald-fr/testrepo_u')
|
62
62
|
|
63
63
|
expected_output = <<~STR
|
64
64
|
2. Title 2 U (https://github.com/donald-fr/testrepo_u/issues/2)
|
@@ -81,7 +81,7 @@ describe Geet::Services::ListIssues do
|
|
81
81
|
|
82
82
|
context 'with gitlab.com' do
|
83
83
|
it 'should list the issues' do
|
84
|
-
allow(git_client).to receive(:remote).with(
|
84
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@gitlab.com:donaldduck/testproject')
|
85
85
|
|
86
86
|
expected_output = <<~STR
|
87
87
|
2. I like more pizza (https://gitlab.com/donaldduck/testproject/issues/2)
|
@@ -103,7 +103,7 @@ describe Geet::Services::ListIssues do
|
|
103
103
|
|
104
104
|
context 'with assignee filtering' do
|
105
105
|
it 'should list the issues' do
|
106
|
-
allow(git_client).to receive(:remote).with(
|
106
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@gitlab.com:donaldduck/testproject')
|
107
107
|
|
108
108
|
expected_output = <<~STR
|
109
109
|
Finding collaborators...
|
@@ -12,7 +12,7 @@ describe Geet::Services::ListLabels do
|
|
12
12
|
|
13
13
|
context 'with github.com' do
|
14
14
|
it 'should list the labels' do
|
15
|
-
allow(git_client).to receive(:remote).with(
|
15
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@github.com:donaldduck/geet')
|
16
16
|
|
17
17
|
expected_output = <<~STR
|
18
18
|
- bug (#ee0701)
|
@@ -34,8 +34,8 @@ describe Geet::Services::ListLabels do
|
|
34
34
|
end
|
35
35
|
|
36
36
|
it 'should list the upstream labels' do
|
37
|
-
allow(git_client).to receive(:remote).with(
|
38
|
-
allow(git_client).to receive(:remote).with('upstream').and_return('git@github.com:donaldduck-fr/testrepo_u')
|
37
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@github.com:donaldduck/geet')
|
38
|
+
allow(git_client).to receive(:remote).with(name: 'upstream').and_return('git@github.com:donaldduck-fr/testrepo_u')
|
39
39
|
|
40
40
|
expected_output = <<~STR
|
41
41
|
- bug (#ee0701)
|
@@ -57,7 +57,7 @@ describe Geet::Services::ListLabels do
|
|
57
57
|
|
58
58
|
context 'with gitlab.com' do
|
59
59
|
it 'should list the labels' do
|
60
|
-
allow(git_client).to receive(:remote).with(
|
60
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@gitlab.com:donaldduck/testproject')
|
61
61
|
|
62
62
|
expected_output = <<~STR
|
63
63
|
- bug (#d9534f)
|
@@ -12,7 +12,7 @@ describe Geet::Services::ListMilestones do
|
|
12
12
|
|
13
13
|
context 'with github.com' do
|
14
14
|
it 'should list the milestones' do
|
15
|
-
allow(git_client).to receive(:remote).with(
|
15
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@github.com:donaldduck/geet')
|
16
16
|
|
17
17
|
expected_output = <<~STR
|
18
18
|
Finding milestones...
|
@@ -50,8 +50,8 @@ describe Geet::Services::ListMilestones do
|
|
50
50
|
end
|
51
51
|
|
52
52
|
it 'should list the upstream milestones' do
|
53
|
-
allow(git_client).to receive(:remote).with(
|
54
|
-
allow(git_client).to receive(:remote).with('upstream').and_return('git@github.com:donaldduck/testrepo_upstream')
|
53
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@github.com:donald-fr/testrepo_downstream')
|
54
|
+
allow(git_client).to receive(:remote).with(name: 'upstream').and_return('git@github.com:donaldduck/testrepo_upstream')
|
55
55
|
|
56
56
|
expected_output = <<~STR
|
57
57
|
Finding milestones...
|
@@ -80,7 +80,7 @@ describe Geet::Services::ListMilestones do
|
|
80
80
|
|
81
81
|
context 'with gitlab.com' do
|
82
82
|
it 'should list the milestones' do
|
83
|
-
allow(git_client).to receive(:remote).with(
|
83
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@gitlab.com:donaldduck/testproject')
|
84
84
|
|
85
85
|
expected_output = <<~STR
|
86
86
|
Finding milestones...
|
@@ -11,7 +11,7 @@ describe Geet::Services::ListPrs do
|
|
11
11
|
let(:upstream_repository) { Geet::Git::Repository.new(upstream: true, git_client: git_client) }
|
12
12
|
|
13
13
|
it 'should list the PRs' do
|
14
|
-
allow(git_client).to receive(:remote).with(
|
14
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@github.com:donald-fr/testrepo_downstream')
|
15
15
|
|
16
16
|
expected_output = <<~STR
|
17
17
|
2. Add testfile3 (downstream) (https://github.com/donald-fr/testrepo_downstream/pull/2)
|
@@ -32,8 +32,8 @@ describe Geet::Services::ListPrs do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should list the upstream PRs' do
|
35
|
-
allow(git_client).to receive(:remote).with(
|
36
|
-
allow(git_client).to receive(:remote).with('upstream').and_return('git@github.com:donaldduck/testrepo_upstream')
|
35
|
+
allow(git_client).to receive(:remote).with(no_args).and_return('git@github.com:donald-fr/testrepo_downstream')
|
36
|
+
allow(git_client).to receive(:remote).with(name: 'upstream').and_return('git@github.com:donaldduck/testrepo_upstream')
|
37
37
|
|
38
38
|
expected_output = <<~STR
|
39
39
|
2. Add testfile3 (upstream) (https://github.com/donaldduck/testrepo_upstream/pull/2)
|
@@ -5,23 +5,40 @@ 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) }
|
11
16
|
let(:owner) { 'donaldduck' }
|
12
17
|
let(:branch) { 'mybranch' }
|
13
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
|
26
|
+
|
14
27
|
context 'with github.com' do
|
15
28
|
let(:repository_name) { 'testrepo_upstream' }
|
16
29
|
|
17
30
|
it 'should merge the PR for the current branch' do
|
18
31
|
allow(git_client).to receive(:current_branch).and_return(branch)
|
19
|
-
allow(git_client).to receive(:remote).with(
|
32
|
+
allow(git_client).to receive(:remote).with(no_args).and_return("git@github.com:#{owner}/#{repository_name}")
|
20
33
|
|
21
34
|
expected_pr_number = 1
|
22
35
|
expected_output = <<~STR
|
23
36
|
Finding PR with head (#{owner}:#{branch})...
|
24
37
|
Merging PR ##{expected_pr_number}...
|
38
|
+
Fetching repository...
|
39
|
+
Checking out master...
|
40
|
+
Rebasing...
|
41
|
+
Deleting local branch mybranch...
|
25
42
|
STR
|
26
43
|
|
27
44
|
actual_output = StringIO.new
|
@@ -38,13 +55,17 @@ describe Geet::Services::MergePr do
|
|
38
55
|
|
39
56
|
it 'should merge the PR for the current branch, with branch deletion' do
|
40
57
|
allow(git_client).to receive(:current_branch).and_return(branch)
|
41
|
-
allow(git_client).to receive(:remote).with(
|
58
|
+
allow(git_client).to receive(:remote).with(no_args).and_return("git@github.com:#{owner}/#{repository_name}")
|
42
59
|
|
43
60
|
expected_pr_number = 2
|
44
61
|
expected_output = <<~STR
|
45
62
|
Finding PR with head (#{owner}:#{branch})...
|
46
63
|
Merging PR ##{expected_pr_number}...
|
47
|
-
Deleting branch #{branch}...
|
64
|
+
Deleting remote branch #{branch}...
|
65
|
+
Fetching repository...
|
66
|
+
Checking out master...
|
67
|
+
Rebasing...
|
68
|
+
Deleting local branch mybranch...
|
48
69
|
STR
|
49
70
|
|
50
71
|
actual_output = StringIO.new
|
@@ -65,12 +86,16 @@ describe Geet::Services::MergePr do
|
|
65
86
|
|
66
87
|
it 'should merge the PR for the current branch' do
|
67
88
|
allow(git_client).to receive(:current_branch).and_return(branch)
|
68
|
-
allow(git_client).to receive(:remote).with(
|
89
|
+
allow(git_client).to receive(:remote).with(no_args).and_return("git@gitlab.com:#{owner}/#{repository_name}")
|
69
90
|
|
70
91
|
expected_pr_number = 4
|
71
92
|
expected_output = <<~STR
|
72
93
|
Finding PR with head (#{owner}:#{branch})...
|
73
94
|
Merging PR ##{expected_pr_number}...
|
95
|
+
Fetching repository...
|
96
|
+
Checking out master...
|
97
|
+
Rebasing...
|
98
|
+
Deleting local branch mybranch...
|
74
99
|
STR
|
75
100
|
|
76
101
|
actual_output = StringIO.new
|
@@ -16,7 +16,7 @@ describe Geet::Services::OpenPr do
|
|
16
16
|
|
17
17
|
it 'should open the PR for the current branch' do
|
18
18
|
allow(git_client).to receive(:current_branch).and_return(branch)
|
19
|
-
allow(git_client).to receive(:remote).with(
|
19
|
+
allow(git_client).to receive(:remote).with(no_args).and_return("git@github.com:#{owner}/#{repository_name}")
|
20
20
|
|
21
21
|
expected_pr_number = 3
|
22
22
|
expected_output = <<~STR
|
@@ -0,0 +1,46 @@
|
|
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_repo'
|
7
|
+
|
8
|
+
module Geet
|
9
|
+
describe Services::OpenRepo do
|
10
|
+
let(:git_client) { Utils::GitClient.new }
|
11
|
+
let(:repository) { Git::Repository.new(git_client: git_client) }
|
12
|
+
|
13
|
+
OWNER = 'donaldduck'
|
14
|
+
REPOSITORY_NAME = 'testrepo'
|
15
|
+
|
16
|
+
REMOTE_URLS = {
|
17
|
+
'git' => "git@github.com:#{OWNER}/#{REPOSITORY_NAME}",
|
18
|
+
'https' => "https://github.com/#{OWNER}/#{REPOSITORY_NAME}",
|
19
|
+
}
|
20
|
+
|
21
|
+
context 'should open the PR for the current branch' do
|
22
|
+
REMOTE_URLS.each do |protocol, remote_url|
|
23
|
+
it "with #{protocol} protocol" do
|
24
|
+
allow(git_client).to receive(:remote).with(no_args).and_return(remote_url)
|
25
|
+
|
26
|
+
expected_url = "https://github.com/#{OWNER}/#{REPOSITORY_NAME}"
|
27
|
+
expected_output = ""
|
28
|
+
|
29
|
+
actual_output = StringIO.new
|
30
|
+
service_instance = described_class.new(repository, out: actual_output, git_client: git_client)
|
31
|
+
|
32
|
+
expect(service_instance).to receive(:open_file_with_default_application).with(expected_url) do
|
33
|
+
# do nothing; just don't open the browser
|
34
|
+
end
|
35
|
+
|
36
|
+
execution_result = VCR.use_cassette('github_com/open_repo') do
|
37
|
+
service_instance.execute
|
38
|
+
end
|
39
|
+
|
40
|
+
expect(actual_output.string).to eql(expected_output)
|
41
|
+
expect(execution_result).to eql(expected_url)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end # context 'should open the PR for the current branch'
|
45
|
+
end # describe Services::OpenRepo
|
46
|
+
end # module Geet
|
@@ -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
|