geet 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +31 -0
- data/README.md +0 -2
- data/bin/geet +50 -39
- data/geet.gemspec +1 -1
- data/lib/geet/commandline/commands.rb +14 -0
- data/lib/geet/{helpers/configuration_helper.rb → commandline/configuration.rb} +4 -12
- data/lib/geet/git/repository.rb +93 -44
- data/lib/geet/{git_hub → github}/abstract_issue.rb +13 -13
- data/lib/geet/github/account.rb +19 -0
- data/lib/geet/{git_hub/api_helper.rb → github/api_interface.rb} +21 -19
- data/lib/geet/github/collaborator.rb +17 -0
- data/lib/geet/{git_hub → github}/gist.rb +4 -4
- data/lib/geet/{git_hub → github}/issue.rb +10 -10
- data/lib/geet/github/label.rb +17 -0
- data/lib/geet/{git_hub → github}/milestone.rb +11 -11
- data/lib/geet/github/pr.rb +61 -0
- data/lib/geet/services/create_gist.rb +4 -4
- data/lib/geet/services/create_issue.rb +30 -25
- data/lib/geet/services/create_pr.rb +28 -27
- data/lib/geet/services/list_issues.rb +2 -2
- data/lib/geet/services/list_labels.rb +2 -2
- data/lib/geet/services/list_milestones.rb +10 -10
- data/lib/geet/services/list_prs.rb +2 -2
- data/lib/geet/services/merge_pr.rb +8 -7
- data/lib/geet/version.rb +1 -1
- data/spec/integration/create_gist_spec.rb +46 -0
- data/spec/integration/create_issue_spec.rb +66 -0
- data/spec/integration/create_pr_spec.rb +68 -0
- data/spec/integration/list_issues_spec.rb +52 -0
- data/spec/integration/list_labels_spec.rb +28 -0
- data/spec/integration/list_milestones_spec.rb +43 -0
- data/spec/integration/list_prs_spec.rb +52 -0
- data/spec/integration/merge_pr_spec.rb +30 -0
- data/spec/spec_helper.rb +121 -0
- data/spec/vcr_cassettes/create_gist_private.yml +80 -0
- data/spec/vcr_cassettes/create_gist_public.yml +80 -0
- data/spec/vcr_cassettes/create_issue.yml +534 -0
- data/spec/vcr_cassettes/create_issue_upstream.yml +235 -0
- data/spec/vcr_cassettes/create_pr.yml +693 -0
- data/spec/vcr_cassettes/create_pr_upstream.yml +313 -0
- data/spec/vcr_cassettes/list_issues.yml +82 -0
- data/spec/vcr_cassettes/list_issues_upstream.yml +84 -0
- data/spec/vcr_cassettes/list_labels.yml +78 -0
- data/spec/vcr_cassettes/list_milestones.yml +468 -0
- data/spec/vcr_cassettes/list_prs.yml +84 -0
- data/spec/vcr_cassettes/list_prs_upstream.yml +80 -0
- data/spec/vcr_cassettes/merge_pr.yml +156 -0
- metadata +36 -11
- data/lib/geet/git_hub/account.rb +0 -19
- data/lib/geet/git_hub/pr.rb +0 -57
- data/lib/geet/git_hub/remote_repository.rb +0 -65
@@ -0,0 +1,313 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/user
|
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
|
+
Server:
|
26
|
+
- GitHub.com
|
27
|
+
Date:
|
28
|
+
- Tue, 21 Nov 2017 09:42:47 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4990'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1511259603'
|
41
|
+
Cache-Control:
|
42
|
+
- private, max-age=60, s-maxage=60
|
43
|
+
Vary:
|
44
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
45
|
+
Etag:
|
46
|
+
- W/"194f0cc0672e8b48c10eea188788c6b8"
|
47
|
+
Last-Modified:
|
48
|
+
- Mon, 20 Nov 2017 21:53:27 GMT
|
49
|
+
X-Oauth-Scopes:
|
50
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
51
|
+
delete_repo, gist, notifications, repo, user
|
52
|
+
X-Accepted-Oauth-Scopes:
|
53
|
+
- ''
|
54
|
+
X-Github-Media-Type:
|
55
|
+
- github.v3; format=json
|
56
|
+
Access-Control-Expose-Headers:
|
57
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
58
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
59
|
+
Access-Control-Allow-Origin:
|
60
|
+
- "*"
|
61
|
+
Content-Security-Policy:
|
62
|
+
- default-src 'none'
|
63
|
+
Strict-Transport-Security:
|
64
|
+
- max-age=31536000; includeSubdomains; preload
|
65
|
+
X-Content-Type-Options:
|
66
|
+
- nosniff
|
67
|
+
X-Frame-Options:
|
68
|
+
- deny
|
69
|
+
X-Xss-Protection:
|
70
|
+
- 1; mode=block
|
71
|
+
X-Runtime-Rack:
|
72
|
+
- '0.057428'
|
73
|
+
X-Github-Request-Id:
|
74
|
+
- B096:62B8:24202A:5A16B5:5A13F516
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: '{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false,"name":"Donald
|
78
|
+
Duck","company":"@ticketsolve","blog":"","location":"Duckburg","email":"donald.pub2@gmail.com","hireable":true,"bio":null,"public_repos":13,"public_gists":0,"followers":7,"following":0,"created_at":"2012-04-01T11:52:16Z","updated_at":"2017-11-20T21:53:27Z","private_gists":0,"total_private_repos":1,"owned_private_repos":0,"disk_usage":32253,"collaborators":0,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":0}}'
|
79
|
+
http_version:
|
80
|
+
recorded_at: Tue, 21 Nov 2017 09:42:47 GMT
|
81
|
+
- request:
|
82
|
+
method: post
|
83
|
+
uri: https://api.github.com/repos/donald-fr/testrepo_u/pulls
|
84
|
+
body:
|
85
|
+
encoding: UTF-8
|
86
|
+
string: '{"title":"Title","body":"Description","head":"donaldduck:mybranch","base":"master"}'
|
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
|
+
Server:
|
104
|
+
- GitHub.com
|
105
|
+
Date:
|
106
|
+
- Tue, 21 Nov 2017 09:42:48 GMT
|
107
|
+
Content-Type:
|
108
|
+
- application/json; charset=utf-8
|
109
|
+
Content-Length:
|
110
|
+
- '14973'
|
111
|
+
Status:
|
112
|
+
- 201 Created
|
113
|
+
X-Ratelimit-Limit:
|
114
|
+
- '5000'
|
115
|
+
X-Ratelimit-Remaining:
|
116
|
+
- '4989'
|
117
|
+
X-Ratelimit-Reset:
|
118
|
+
- '1511259603'
|
119
|
+
Cache-Control:
|
120
|
+
- private, max-age=60, s-maxage=60
|
121
|
+
Vary:
|
122
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
123
|
+
Etag:
|
124
|
+
- '"250fb22bf517ebb6128e0a03fb124f37"'
|
125
|
+
X-Oauth-Scopes:
|
126
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
127
|
+
delete_repo, gist, notifications, repo, user
|
128
|
+
X-Accepted-Oauth-Scopes:
|
129
|
+
- ''
|
130
|
+
Location:
|
131
|
+
- https://api.github.com/repos/donald-fr/testrepo_u/pulls/4
|
132
|
+
X-Github-Media-Type:
|
133
|
+
- github.v3; format=json
|
134
|
+
Access-Control-Expose-Headers:
|
135
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
136
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
137
|
+
Access-Control-Allow-Origin:
|
138
|
+
- "*"
|
139
|
+
Content-Security-Policy:
|
140
|
+
- default-src 'none'
|
141
|
+
Strict-Transport-Security:
|
142
|
+
- max-age=31536000; includeSubdomains; preload
|
143
|
+
X-Content-Type-Options:
|
144
|
+
- nosniff
|
145
|
+
X-Frame-Options:
|
146
|
+
- deny
|
147
|
+
X-Xss-Protection:
|
148
|
+
- 1; mode=block
|
149
|
+
X-Runtime-Rack:
|
150
|
+
- '0.511022'
|
151
|
+
X-Github-Request-Id:
|
152
|
+
- AA48:62B1:273FE0:514A96:5A13F517
|
153
|
+
body:
|
154
|
+
encoding: UTF-8
|
155
|
+
string: '{"url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4","id":153840017,"html_url":"https://github.com/donald-fr/testrepo_u/pull/4","diff_url":"https://github.com/donald-fr/testrepo_u/pull/4.diff","patch_url":"https://github.com/donald-fr/testrepo_u/pull/4.patch","issue_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4","number":4,"state":"open","locked":false,"title":"Title","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"body":"Description","created_at":"2017-11-21T09:42:48Z","updated_at":"2017-11-21T09:42:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4/commits","review_comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4/comments","review_comment_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/comments{/number}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/comments","statuses_url":"https://api.github.com/repos/donald-fr/testrepo_u/statuses/d64cdf61ac74cb104d5b423a9c6c7a2ef5678b27","head":{"label":"donaldduck:mybranch","ref":"mybranch","sha":"d64cdf61ac74cb104d5b423a9c6c7a2ef5678b27","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":111527177,"name":"testrepo_2f","full_name":"donaldduck/testrepo_2f","owner":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/donaldduck/testrepo_2f","description":null,"fork":true,"url":"https://api.github.com/repos/donaldduck/testrepo_2f","forks_url":"https://api.github.com/repos/donaldduck/testrepo_2f/forks","keys_url":"https://api.github.com/repos/donaldduck/testrepo_2f/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donaldduck/testrepo_2f/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donaldduck/testrepo_2f/teams","hooks_url":"https://api.github.com/repos/donaldduck/testrepo_2f/hooks","issue_events_url":"https://api.github.com/repos/donaldduck/testrepo_2f/issues/events{/number}","events_url":"https://api.github.com/repos/donaldduck/testrepo_2f/events","assignees_url":"https://api.github.com/repos/donaldduck/testrepo_2f/assignees{/user}","branches_url":"https://api.github.com/repos/donaldduck/testrepo_2f/branches{/branch}","tags_url":"https://api.github.com/repos/donaldduck/testrepo_2f/tags","blobs_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/refs{/sha}","trees_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donaldduck/testrepo_2f/statuses/{sha}","languages_url":"https://api.github.com/repos/donaldduck/testrepo_2f/languages","stargazers_url":"https://api.github.com/repos/donaldduck/testrepo_2f/stargazers","contributors_url":"https://api.github.com/repos/donaldduck/testrepo_2f/contributors","subscribers_url":"https://api.github.com/repos/donaldduck/testrepo_2f/subscribers","subscription_url":"https://api.github.com/repos/donaldduck/testrepo_2f/subscription","commits_url":"https://api.github.com/repos/donaldduck/testrepo_2f/commits{/sha}","git_commits_url":"https://api.github.com/repos/donaldduck/testrepo_2f/git/commits{/sha}","comments_url":"https://api.github.com/repos/donaldduck/testrepo_2f/comments{/number}","issue_comment_url":"https://api.github.com/repos/donaldduck/testrepo_2f/issues/comments{/number}","contents_url":"https://api.github.com/repos/donaldduck/testrepo_2f/contents/{+path}","compare_url":"https://api.github.com/repos/donaldduck/testrepo_2f/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donaldduck/testrepo_2f/merges","archive_url":"https://api.github.com/repos/donaldduck/testrepo_2f/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donaldduck/testrepo_2f/downloads","issues_url":"https://api.github.com/repos/donaldduck/testrepo_2f/issues{/number}","pulls_url":"https://api.github.com/repos/donaldduck/testrepo_2f/pulls{/number}","milestones_url":"https://api.github.com/repos/donaldduck/testrepo_2f/milestones{/number}","notifications_url":"https://api.github.com/repos/donaldduck/testrepo_2f/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donaldduck/testrepo_2f/labels{/name}","releases_url":"https://api.github.com/repos/donaldduck/testrepo_2f/releases{/id}","deployments_url":"https://api.github.com/repos/donaldduck/testrepo_2f/deployments","created_at":"2017-11-21T09:26:50Z","updated_at":"2017-11-21T09:27:23Z","pushed_at":"2017-11-21T09:40:19Z","git_url":"git://github.com/donaldduck/testrepo_2f.git","ssh_url":"git@github.com:donaldduck/testrepo_2f.git","clone_url":"https://github.com/donaldduck/testrepo_2f.git","svn_url":"https://github.com/donaldduck/testrepo_2f","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"donald-fr:master","ref":"master","sha":"6ec60827e3f235b44126b87c099054b060249b99","user":{"login":"donald-fr","id":33847412,"avatar_url":"https://avatars2.githubusercontent.com/u/33847412?v=4","gravatar_id":"","url":"https://api.github.com/users/donald-fr","html_url":"https://github.com/donald-fr","followers_url":"https://api.github.com/users/donald-fr/followers","following_url":"https://api.github.com/users/donald-fr/following{/other_user}","gists_url":"https://api.github.com/users/donald-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/donald-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donald-fr/subscriptions","organizations_url":"https://api.github.com/users/donald-fr/orgs","repos_url":"https://api.github.com/users/donald-fr/repos","events_url":"https://api.github.com/users/donald-fr/events{/privacy}","received_events_url":"https://api.github.com/users/donald-fr/received_events","type":"User","site_admin":false},"repo":{"id":111526004,"name":"testrepo_u","full_name":"donald-fr/testrepo_u","owner":{"login":"donald-fr","id":33847412,"avatar_url":"https://avatars2.githubusercontent.com/u/33847412?v=4","gravatar_id":"","url":"https://api.github.com/users/donald-fr","html_url":"https://github.com/donald-fr","followers_url":"https://api.github.com/users/donald-fr/followers","following_url":"https://api.github.com/users/donald-fr/following{/other_user}","gists_url":"https://api.github.com/users/donald-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/donald-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donald-fr/subscriptions","organizations_url":"https://api.github.com/users/donald-fr/orgs","repos_url":"https://api.github.com/users/donald-fr/repos","events_url":"https://api.github.com/users/donald-fr/events{/privacy}","received_events_url":"https://api.github.com/users/donald-fr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/donald-fr/testrepo_u","description":null,"fork":false,"url":"https://api.github.com/repos/donald-fr/testrepo_u","forks_url":"https://api.github.com/repos/donald-fr/testrepo_u/forks","keys_url":"https://api.github.com/repos/donald-fr/testrepo_u/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donald-fr/testrepo_u/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donald-fr/testrepo_u/teams","hooks_url":"https://api.github.com/repos/donald-fr/testrepo_u/hooks","issue_events_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/events{/number}","events_url":"https://api.github.com/repos/donald-fr/testrepo_u/events","assignees_url":"https://api.github.com/repos/donald-fr/testrepo_u/assignees{/user}","branches_url":"https://api.github.com/repos/donald-fr/testrepo_u/branches{/branch}","tags_url":"https://api.github.com/repos/donald-fr/testrepo_u/tags","blobs_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/refs{/sha}","trees_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donald-fr/testrepo_u/statuses/{sha}","languages_url":"https://api.github.com/repos/donald-fr/testrepo_u/languages","stargazers_url":"https://api.github.com/repos/donald-fr/testrepo_u/stargazers","contributors_url":"https://api.github.com/repos/donald-fr/testrepo_u/contributors","subscribers_url":"https://api.github.com/repos/donald-fr/testrepo_u/subscribers","subscription_url":"https://api.github.com/repos/donald-fr/testrepo_u/subscription","commits_url":"https://api.github.com/repos/donald-fr/testrepo_u/commits{/sha}","git_commits_url":"https://api.github.com/repos/donald-fr/testrepo_u/git/commits{/sha}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/comments{/number}","issue_comment_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/comments{/number}","contents_url":"https://api.github.com/repos/donald-fr/testrepo_u/contents/{+path}","compare_url":"https://api.github.com/repos/donald-fr/testrepo_u/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donald-fr/testrepo_u/merges","archive_url":"https://api.github.com/repos/donald-fr/testrepo_u/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donald-fr/testrepo_u/downloads","issues_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues{/number}","pulls_url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls{/number}","milestones_url":"https://api.github.com/repos/donald-fr/testrepo_u/milestones{/number}","notifications_url":"https://api.github.com/repos/donald-fr/testrepo_u/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donald-fr/testrepo_u/labels{/name}","releases_url":"https://api.github.com/repos/donald-fr/testrepo_u/releases{/id}","deployments_url":"https://api.github.com/repos/donald-fr/testrepo_u/deployments","created_at":"2017-11-21T09:16:55Z","updated_at":"2017-11-21T09:16:55Z","pushed_at":"2017-11-21T09:41:15Z","git_url":"git://github.com/donald-fr/testrepo_u.git","ssh_url":"git@github.com:donald-fr/testrepo_u.git","clone_url":"https://github.com/donald-fr/testrepo_u.git","svn_url":"https://github.com/donald-fr/testrepo_u","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4"},"html":{"href":"https://github.com/donald-fr/testrepo_u/pull/4"},"issue":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4"},"comments":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/donald-fr/testrepo_u/statuses/d64cdf61ac74cb104d5b423a9c6c7a2ef5678b27"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":0,"deletions":0,"changed_files":0}'
|
156
|
+
http_version:
|
157
|
+
recorded_at: Tue, 21 Nov 2017 09:42:48 GMT
|
158
|
+
- request:
|
159
|
+
method: get
|
160
|
+
uri: https://api.github.com/user
|
161
|
+
body:
|
162
|
+
encoding: US-ASCII
|
163
|
+
string: ''
|
164
|
+
headers:
|
165
|
+
Accept-Encoding:
|
166
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
167
|
+
Accept:
|
168
|
+
- application/vnd.github.v3+json
|
169
|
+
User-Agent:
|
170
|
+
- Ruby
|
171
|
+
Host:
|
172
|
+
- api.github.com
|
173
|
+
Authorization:
|
174
|
+
- Basic <GITHUB_CREDENTIALS>
|
175
|
+
response:
|
176
|
+
status:
|
177
|
+
code: 200
|
178
|
+
message: OK
|
179
|
+
headers:
|
180
|
+
Server:
|
181
|
+
- GitHub.com
|
182
|
+
Date:
|
183
|
+
- Tue, 21 Nov 2017 09:42:49 GMT
|
184
|
+
Content-Type:
|
185
|
+
- application/json; charset=utf-8
|
186
|
+
Transfer-Encoding:
|
187
|
+
- chunked
|
188
|
+
Status:
|
189
|
+
- 200 OK
|
190
|
+
X-Ratelimit-Limit:
|
191
|
+
- '5000'
|
192
|
+
X-Ratelimit-Remaining:
|
193
|
+
- '4988'
|
194
|
+
X-Ratelimit-Reset:
|
195
|
+
- '1511259603'
|
196
|
+
Cache-Control:
|
197
|
+
- private, max-age=60, s-maxage=60
|
198
|
+
Vary:
|
199
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
200
|
+
Etag:
|
201
|
+
- W/"194f0cc0672e8b48c10eea188788c6b8"
|
202
|
+
Last-Modified:
|
203
|
+
- Mon, 20 Nov 2017 21:53:27 GMT
|
204
|
+
X-Oauth-Scopes:
|
205
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
206
|
+
delete_repo, gist, notifications, repo, user
|
207
|
+
X-Accepted-Oauth-Scopes:
|
208
|
+
- ''
|
209
|
+
X-Github-Media-Type:
|
210
|
+
- github.v3; format=json
|
211
|
+
Access-Control-Expose-Headers:
|
212
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
213
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
214
|
+
Access-Control-Allow-Origin:
|
215
|
+
- "*"
|
216
|
+
Content-Security-Policy:
|
217
|
+
- default-src 'none'
|
218
|
+
Strict-Transport-Security:
|
219
|
+
- max-age=31536000; includeSubdomains; preload
|
220
|
+
X-Content-Type-Options:
|
221
|
+
- nosniff
|
222
|
+
X-Frame-Options:
|
223
|
+
- deny
|
224
|
+
X-Xss-Protection:
|
225
|
+
- 1; mode=block
|
226
|
+
X-Runtime-Rack:
|
227
|
+
- '0.047289'
|
228
|
+
X-Github-Request-Id:
|
229
|
+
- B09A:62B1:274093:514BE1:5A13F519
|
230
|
+
body:
|
231
|
+
encoding: ASCII-8BIT
|
232
|
+
string: '{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false,"name":"Donald
|
233
|
+
Duck","company":"@ticketsolve","blog":"","location":"Duckburg","email":"donald.pub2@gmail.com","hireable":true,"bio":null,"public_repos":13,"public_gists":0,"followers":7,"following":0,"created_at":"2012-04-01T11:52:16Z","updated_at":"2017-11-20T21:53:27Z","private_gists":0,"total_private_repos":1,"owned_private_repos":0,"disk_usage":32253,"collaborators":0,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":0}}'
|
234
|
+
http_version:
|
235
|
+
recorded_at: Tue, 21 Nov 2017 09:42:49 GMT
|
236
|
+
- request:
|
237
|
+
method: post
|
238
|
+
uri: https://api.github.com/repos/donald-fr/testrepo_u/issues/4/assignees
|
239
|
+
body:
|
240
|
+
encoding: UTF-8
|
241
|
+
string: '{"assignees":["donaldduck"]}'
|
242
|
+
headers:
|
243
|
+
Accept-Encoding:
|
244
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
245
|
+
Accept:
|
246
|
+
- application/vnd.github.v3+json
|
247
|
+
User-Agent:
|
248
|
+
- Ruby
|
249
|
+
Host:
|
250
|
+
- api.github.com
|
251
|
+
Authorization:
|
252
|
+
- Basic <GITHUB_CREDENTIALS>
|
253
|
+
response:
|
254
|
+
status:
|
255
|
+
code: 201
|
256
|
+
message: Created
|
257
|
+
headers:
|
258
|
+
Server:
|
259
|
+
- GitHub.com
|
260
|
+
Date:
|
261
|
+
- Tue, 21 Nov 2017 09:42:50 GMT
|
262
|
+
Content-Type:
|
263
|
+
- application/json; charset=utf-8
|
264
|
+
Content-Length:
|
265
|
+
- '3865'
|
266
|
+
Status:
|
267
|
+
- 201 Created
|
268
|
+
X-Ratelimit-Limit:
|
269
|
+
- '5000'
|
270
|
+
X-Ratelimit-Remaining:
|
271
|
+
- '4987'
|
272
|
+
X-Ratelimit-Reset:
|
273
|
+
- '1511259603'
|
274
|
+
Cache-Control:
|
275
|
+
- private, max-age=60, s-maxage=60
|
276
|
+
Vary:
|
277
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
278
|
+
Etag:
|
279
|
+
- '"ef0ede4eeda1cfa1e1d49acbcca9ce35"'
|
280
|
+
X-Oauth-Scopes:
|
281
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
282
|
+
delete_repo, gist, notifications, repo, user
|
283
|
+
X-Accepted-Oauth-Scopes:
|
284
|
+
- ''
|
285
|
+
Location:
|
286
|
+
- https://api.github.com/repos/donald-fr/testrepo_u/issues/4
|
287
|
+
X-Github-Media-Type:
|
288
|
+
- github.v3; format=json
|
289
|
+
Access-Control-Expose-Headers:
|
290
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
291
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
292
|
+
Access-Control-Allow-Origin:
|
293
|
+
- "*"
|
294
|
+
Content-Security-Policy:
|
295
|
+
- default-src 'none'
|
296
|
+
Strict-Transport-Security:
|
297
|
+
- max-age=31536000; includeSubdomains; preload
|
298
|
+
X-Content-Type-Options:
|
299
|
+
- nosniff
|
300
|
+
X-Frame-Options:
|
301
|
+
- deny
|
302
|
+
X-Xss-Protection:
|
303
|
+
- 1; mode=block
|
304
|
+
X-Runtime-Rack:
|
305
|
+
- '0.145315'
|
306
|
+
X-Github-Request-Id:
|
307
|
+
- AA4C:62B1:2740DD:514C62:5A13F519
|
308
|
+
body:
|
309
|
+
encoding: UTF-8
|
310
|
+
string: '{"url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4","repository_url":"https://api.github.com/repos/donald-fr/testrepo_u","labels_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/comments","events_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/events","html_url":"https://github.com/donald-fr/testrepo_u/pull/4","id":275644704,"number":4,"title":"Title","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":"2017-11-21T09:42:48Z","updated_at":"2017-11-21T09:42:50Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4","html_url":"https://github.com/donald-fr/testrepo_u/pull/4","diff_url":"https://github.com/donald-fr/testrepo_u/pull/4.diff","patch_url":"https://github.com/donald-fr/testrepo_u/pull/4.patch"},"body":"Description"}'
|
311
|
+
http_version:
|
312
|
+
recorded_at: Tue, 21 Nov 2017 09:42:50 GMT
|
313
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,82 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/repos/donaldduck/testrepo/issues
|
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
|
+
Server:
|
26
|
+
- GitHub.com
|
27
|
+
Date:
|
28
|
+
- Tue, 21 Nov 2017 09:11:19 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4981'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1511255955'
|
41
|
+
Cache-Control:
|
42
|
+
- private, max-age=60, s-maxage=60
|
43
|
+
Vary:
|
44
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
45
|
+
Etag:
|
46
|
+
- W/"831f1ec1c48c58ae86333231ed69c60c"
|
47
|
+
X-Oauth-Scopes:
|
48
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
49
|
+
delete_repo, gist, notifications, repo, user
|
50
|
+
X-Accepted-Oauth-Scopes:
|
51
|
+
- repo
|
52
|
+
X-Github-Media-Type:
|
53
|
+
- github.v3; format=json
|
54
|
+
Access-Control-Expose-Headers:
|
55
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
56
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Content-Security-Policy:
|
60
|
+
- default-src 'none'
|
61
|
+
Strict-Transport-Security:
|
62
|
+
- max-age=31536000; includeSubdomains; preload
|
63
|
+
X-Content-Type-Options:
|
64
|
+
- nosniff
|
65
|
+
X-Frame-Options:
|
66
|
+
- deny
|
67
|
+
X-Xss-Protection:
|
68
|
+
- 1; mode=block
|
69
|
+
X-Runtime-Rack:
|
70
|
+
- '0.083407'
|
71
|
+
X-Github-Request-Id:
|
72
|
+
- D3D0:2B82:D0BDB:1D3F79:5A13EDB6
|
73
|
+
body:
|
74
|
+
encoding: ASCII-8BIT
|
75
|
+
string: '[{"url":"https://api.github.com/repos/donaldduck/testrepo/issues/5","repository_url":"https://api.github.com/repos/donaldduck/testrepo","labels_url":"https://api.github.com/repos/donaldduck/testrepo/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/testrepo/issues/5/comments","events_url":"https://api.github.com/repos/donaldduck/testrepo/issues/5/events","html_url":"https://github.com/donaldduck/testrepo/issues/5","id":275635290,"number":5,"title":"Title
|
76
|
+
2","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":"2017-11-21T09:10:43Z","updated_at":"2017-11-21T09:10:43Z","closed_at":null,"author_association":"OWNER","body":"Description
|
77
|
+
2"},{"url":"https://api.github.com/repos/donaldduck/testrepo/issues/4","repository_url":"https://api.github.com/repos/donaldduck/testrepo","labels_url":"https://api.github.com/repos/donaldduck/testrepo/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/testrepo/issues/4/comments","events_url":"https://api.github.com/repos/donaldduck/testrepo/issues/4/events","html_url":"https://github.com/donaldduck/testrepo/issues/4","id":275635214,"number":4,"title":"Title
|
78
|
+
1","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":"2017-11-21T09:10:28Z","updated_at":"2017-11-21T09:10:28Z","closed_at":null,"author_association":"OWNER","body":"Description
|
79
|
+
1"},{"url":"https://api.github.com/repos/donaldduck/testrepo/issues/3","repository_url":"https://api.github.com/repos/donaldduck/testrepo","labels_url":"https://api.github.com/repos/donaldduck/testrepo/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/testrepo/issues/3/comments","events_url":"https://api.github.com/repos/donaldduck/testrepo/issues/3/events","html_url":"https://github.com/donaldduck/testrepo/pull/3","id":275517766,"number":3,"title":"Title","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":756320386,"url":"https://api.github.com/repos/donaldduck/testrepo/labels/invalid","name":"invalid","color":"e6e6e6","default":true},{"id":756335109,"url":"https://api.github.com/repos/donaldduck/testrepo/labels/other_bug","name":"other_bug","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":{"url":"https://api.github.com/repos/donaldduck/testrepo/milestones/1","html_url":"https://github.com/donaldduck/testrepo/milestone/1","labels_url":"https://api.github.com/repos/donaldduck/testrepo/milestones/1/labels","id":2927045,"number":1,"title":"0.0.1","description":"","creator":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":1,"state":"open","created_at":"2017-11-20T22:06:17Z","updated_at":"2017-11-20T22:16:06Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-20T22:16:05Z","updated_at":"2017-11-20T22:16:07Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/donaldduck/testrepo/pulls/3","html_url":"https://github.com/donaldduck/testrepo/pull/3","diff_url":"https://github.com/donaldduck/testrepo/pull/3.diff","patch_url":"https://github.com/donaldduck/testrepo/pull/3.patch"},"body":"Description"}]'
|
80
|
+
http_version:
|
81
|
+
recorded_at: Tue, 21 Nov 2017 09:11:19 GMT
|
82
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,84 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/repos/donald-fr/testrepo_u/issues
|
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
|
+
Server:
|
26
|
+
- GitHub.com
|
27
|
+
Date:
|
28
|
+
- Tue, 21 Nov 2017 09:53:30 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4972'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1511259603'
|
41
|
+
Cache-Control:
|
42
|
+
- private, max-age=60, s-maxage=60
|
43
|
+
Vary:
|
44
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
45
|
+
Etag:
|
46
|
+
- W/"27196189ce2e704d99f67cd247b0cd82"
|
47
|
+
X-Oauth-Scopes:
|
48
|
+
- admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
|
49
|
+
delete_repo, gist, notifications, repo, user
|
50
|
+
X-Accepted-Oauth-Scopes:
|
51
|
+
- repo
|
52
|
+
X-Github-Media-Type:
|
53
|
+
- github.v3; format=json
|
54
|
+
Access-Control-Expose-Headers:
|
55
|
+
- ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
56
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
57
|
+
Access-Control-Allow-Origin:
|
58
|
+
- "*"
|
59
|
+
Content-Security-Policy:
|
60
|
+
- default-src 'none'
|
61
|
+
Strict-Transport-Security:
|
62
|
+
- max-age=31536000; includeSubdomains; preload
|
63
|
+
X-Content-Type-Options:
|
64
|
+
- nosniff
|
65
|
+
X-Frame-Options:
|
66
|
+
- deny
|
67
|
+
X-Xss-Protection:
|
68
|
+
- 1; mode=block
|
69
|
+
X-Runtime-Rack:
|
70
|
+
- '0.104286'
|
71
|
+
X-Github-Request-Id:
|
72
|
+
- B180:62B1:2850DE:5388EE:5A13F799
|
73
|
+
body:
|
74
|
+
encoding: ASCII-8BIT
|
75
|
+
string: '[{"url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/5","repository_url":"https://api.github.com/repos/donald-fr/testrepo_u","labels_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/5/comments","events_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/5/events","html_url":"https://github.com/donald-fr/testrepo_u/pull/5","id":275648007,"number":5,"title":"Title
|
76
|
+
2","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":"2017-11-21T09:53:12Z","updated_at":"2017-11-21T09:53:14Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/5","html_url":"https://github.com/donald-fr/testrepo_u/pull/5","diff_url":"https://github.com/donald-fr/testrepo_u/pull/5.diff","patch_url":"https://github.com/donald-fr/testrepo_u/pull/5.patch"},"body":"Description
|
77
|
+
2"},{"url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4","repository_url":"https://api.github.com/repos/donald-fr/testrepo_u","labels_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/comments","events_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/4/events","html_url":"https://github.com/donald-fr/testrepo_u/pull/4","id":275644704,"number":4,"title":"Title","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldduck","html_url":"https://github.com/donaldduck","followers_url":"https://api.github.com/users/donaldduck/followers","following_url":"https://api.github.com/users/donaldduck/following{/other_user}","gists_url":"https://api.github.com/users/donaldduck/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldduck/subscriptions","organizations_url":"https://api.github.com/users/donaldduck/orgs","repos_url":"https://api.github.com/users/donaldduck/repos","events_url":"https://api.github.com/users/donaldduck/events{/privacy}","received_events_url":"https://api.github.com/users/donaldduck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":"2017-11-21T09:42:48Z","updated_at":"2017-11-21T09:42:50Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/donald-fr/testrepo_u/pulls/4","html_url":"https://github.com/donald-fr/testrepo_u/pull/4","diff_url":"https://github.com/donald-fr/testrepo_u/pull/4.diff","patch_url":"https://github.com/donald-fr/testrepo_u/pull/4.patch"},"body":"Description"},{"url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/2","repository_url":"https://api.github.com/repos/donald-fr/testrepo_u","labels_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/2/comments","events_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/2/events","html_url":"https://github.com/donald-fr/testrepo_u/issues/2","id":275640736,"number":2,"title":"Title
|
78
|
+
2 U","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":"2017-11-21T09:30:10Z","updated_at":"2017-11-21T09:30:10Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Description
|
79
|
+
2 U"},{"url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/1","repository_url":"https://api.github.com/repos/donald-fr/testrepo_u","labels_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/1/comments","events_url":"https://api.github.com/repos/donald-fr/testrepo_u/issues/1/events","html_url":"https://github.com/donald-fr/testrepo_u/issues/1","id":275640707,"number":1,"title":"Title
|
80
|
+
1 U","user":{"login":"donaldduck","id":1595356,"avatar_url":"https://avatars2.githubusercontent.com/u/1595356?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":"2017-11-21T09:30:02Z","updated_at":"2017-11-21T09:30:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Description
|
81
|
+
1 U"}]'
|
82
|
+
http_version:
|
83
|
+
recorded_at: Tue, 21 Nov 2017 09:53:30 GMT
|
84
|
+
recorded_with: VCR 3.0.3
|