geet 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +2 -0
  3. data/Gemfile +10 -0
  4. data/Gemfile.lock +31 -0
  5. data/README.md +0 -2
  6. data/bin/geet +50 -39
  7. data/geet.gemspec +1 -1
  8. data/lib/geet/commandline/commands.rb +14 -0
  9. data/lib/geet/{helpers/configuration_helper.rb → commandline/configuration.rb} +4 -12
  10. data/lib/geet/git/repository.rb +93 -44
  11. data/lib/geet/{git_hub → github}/abstract_issue.rb +13 -13
  12. data/lib/geet/github/account.rb +19 -0
  13. data/lib/geet/{git_hub/api_helper.rb → github/api_interface.rb} +21 -19
  14. data/lib/geet/github/collaborator.rb +17 -0
  15. data/lib/geet/{git_hub → github}/gist.rb +4 -4
  16. data/lib/geet/{git_hub → github}/issue.rb +10 -10
  17. data/lib/geet/github/label.rb +17 -0
  18. data/lib/geet/{git_hub → github}/milestone.rb +11 -11
  19. data/lib/geet/github/pr.rb +61 -0
  20. data/lib/geet/services/create_gist.rb +4 -4
  21. data/lib/geet/services/create_issue.rb +30 -25
  22. data/lib/geet/services/create_pr.rb +28 -27
  23. data/lib/geet/services/list_issues.rb +2 -2
  24. data/lib/geet/services/list_labels.rb +2 -2
  25. data/lib/geet/services/list_milestones.rb +10 -10
  26. data/lib/geet/services/list_prs.rb +2 -2
  27. data/lib/geet/services/merge_pr.rb +8 -7
  28. data/lib/geet/version.rb +1 -1
  29. data/spec/integration/create_gist_spec.rb +46 -0
  30. data/spec/integration/create_issue_spec.rb +66 -0
  31. data/spec/integration/create_pr_spec.rb +68 -0
  32. data/spec/integration/list_issues_spec.rb +52 -0
  33. data/spec/integration/list_labels_spec.rb +28 -0
  34. data/spec/integration/list_milestones_spec.rb +43 -0
  35. data/spec/integration/list_prs_spec.rb +52 -0
  36. data/spec/integration/merge_pr_spec.rb +30 -0
  37. data/spec/spec_helper.rb +121 -0
  38. data/spec/vcr_cassettes/create_gist_private.yml +80 -0
  39. data/spec/vcr_cassettes/create_gist_public.yml +80 -0
  40. data/spec/vcr_cassettes/create_issue.yml +534 -0
  41. data/spec/vcr_cassettes/create_issue_upstream.yml +235 -0
  42. data/spec/vcr_cassettes/create_pr.yml +693 -0
  43. data/spec/vcr_cassettes/create_pr_upstream.yml +313 -0
  44. data/spec/vcr_cassettes/list_issues.yml +82 -0
  45. data/spec/vcr_cassettes/list_issues_upstream.yml +84 -0
  46. data/spec/vcr_cassettes/list_labels.yml +78 -0
  47. data/spec/vcr_cassettes/list_milestones.yml +468 -0
  48. data/spec/vcr_cassettes/list_prs.yml +84 -0
  49. data/spec/vcr_cassettes/list_prs_upstream.yml +80 -0
  50. data/spec/vcr_cassettes/merge_pr.yml +156 -0
  51. metadata +36 -11
  52. data/lib/geet/git_hub/account.rb +0 -19
  53. data/lib/geet/git_hub/pr.rb +0 -57
  54. data/lib/geet/git_hub/remote_repository.rb +0 -65
@@ -0,0 +1,78 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/repos/donaldduck/geet/labels
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
+ - Mon, 20 Nov 2017 17:07:12 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
+ - '4996'
39
+ X-Ratelimit-Reset:
40
+ - '1511201123'
41
+ Cache-Control:
42
+ - private, max-age=60, s-maxage=60
43
+ Vary:
44
+ - Accept, Authorization, Cookie, X-GitHub-OTP
45
+ Etag:
46
+ - W/"1219cd7dcd76dc4179f679c9086bbd95"
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.032182'
71
+ X-Github-Request-Id:
72
+ - C452:6CD5:406361:950EFA:5A130BC0
73
+ body:
74
+ encoding: ASCII-8BIT
75
+ string: '[{"id":715980057,"url":"https://api.github.com/repos/donaldduck/geet/labels/bug","name":"bug","color":"ee0701","default":true},{"id":715980059,"url":"https://api.github.com/repos/donaldduck/geet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":735752330,"url":"https://api.github.com/repos/donaldduck/geet/labels/technical_debt","name":"technical_debt","color":"ee0701","default":false},{"id":740440448,"url":"https://api.github.com/repos/donaldduck/geet/labels/top_priority","name":"top_priority","color":"d93f0b","default":false}]'
76
+ http_version:
77
+ recorded_at: Mon, 20 Nov 2017 17:07:12 GMT
78
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,468 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/repos/donaldduck/geet/milestones
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
+ - Mon, 20 Nov 2017 18:32:12 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
+ - '4997'
39
+ X-Ratelimit-Reset:
40
+ - '1511204762'
41
+ Cache-Control:
42
+ - private, max-age=60, s-maxage=60
43
+ Vary:
44
+ - Accept, Authorization, Cookie, X-GitHub-OTP
45
+ Etag:
46
+ - W/"a14c75c2a1056bb0de74a8274b3df8fa"
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.037820'
71
+ X-Github-Request-Id:
72
+ - 565C:2E33F:8DFC02:12B7E9A:5A131FAB
73
+ body:
74
+ encoding: ASCII-8BIT
75
+ string: '[{"url":"https://api.github.com/repos/donaldduck/geet/milestones/6","html_url":"https://github.com/donaldduck/geet/milestone/6","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/6/labels","id":2922756,"number":6,"title":"0.2.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":3,"closed_issues":0,"state":"open","created_at":"2017-11-19T17:47:13Z","updated_at":"2017-11-19T18:45:41Z","due_on":null,"closed_at":null},{"url":"https://api.github.com/repos/donaldduck/geet/milestones/8","html_url":"https://github.com/donaldduck/geet/milestone/8","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/8/labels","id":2922761,"number":8,"title":"0.2.3","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":0,"state":"open","created_at":"2017-11-19T17:51:28Z","updated_at":"2017-11-19T17:51:34Z","due_on":null,"closed_at":null},{"url":"https://api.github.com/repos/donaldduck/geet/milestones/7","html_url":"https://github.com/donaldduck/geet/milestone/7","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/7/labels","id":2922760,"number":7,"title":"0.2.2","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":2,"closed_issues":0,"state":"open","created_at":"2017-11-19T17:50:40Z","updated_at":"2017-11-19T17:51:02Z","due_on":null,"closed_at":null},{"url":"https://api.github.com/repos/donaldduck/geet/milestones/5","html_url":"https://github.com/donaldduck/geet/milestone/5","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/5/labels","id":2922755,"number":5,"title":"0.3.0","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":0,"state":"open","created_at":"2017-11-19T17:46:38Z","updated_at":"2017-11-19T17:46:51Z","due_on":null,"closed_at":null},{"url":"https://api.github.com/repos/donaldduck/geet/milestones/4","html_url":"https://github.com/donaldduck/geet/milestone/4","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/4/labels","id":2922754,"number":4,"title":"0.2.0","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":2,"state":"open","created_at":"2017-11-19T17:43:54Z","updated_at":"2017-11-19T17:45:33Z","due_on":null,"closed_at":null}]'
76
+ http_version:
77
+ recorded_at: Mon, 20 Nov 2017 18:32:12 GMT
78
+ - request:
79
+ method: get
80
+ uri: https://api.github.com/repos/donaldduck/geet/issues?milestone=4
81
+ body:
82
+ encoding: US-ASCII
83
+ string: ''
84
+ headers:
85
+ Accept-Encoding:
86
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
87
+ Accept:
88
+ - application/vnd.github.v3+json
89
+ User-Agent:
90
+ - Ruby
91
+ Host:
92
+ - api.github.com
93
+ Authorization:
94
+ - Basic <GITHUB_CREDENTIALS>
95
+ response:
96
+ status:
97
+ code: 200
98
+ message: OK
99
+ headers:
100
+ Server:
101
+ - GitHub.com
102
+ Date:
103
+ - Mon, 20 Nov 2017 18:32:12 GMT
104
+ Content-Type:
105
+ - application/json; charset=utf-8
106
+ Transfer-Encoding:
107
+ - chunked
108
+ Status:
109
+ - 200 OK
110
+ X-Ratelimit-Limit:
111
+ - '5000'
112
+ X-Ratelimit-Remaining:
113
+ - '4996'
114
+ X-Ratelimit-Reset:
115
+ - '1511204762'
116
+ Cache-Control:
117
+ - private, max-age=60, s-maxage=60
118
+ Vary:
119
+ - Accept, Authorization, Cookie, X-GitHub-OTP
120
+ Etag:
121
+ - W/"2672ea57f67091865e800c0b8793b7c8"
122
+ X-Oauth-Scopes:
123
+ - admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
124
+ delete_repo, gist, notifications, repo, user
125
+ X-Accepted-Oauth-Scopes:
126
+ - repo
127
+ X-Github-Media-Type:
128
+ - github.v3; format=json
129
+ Access-Control-Expose-Headers:
130
+ - ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
131
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
132
+ Access-Control-Allow-Origin:
133
+ - "*"
134
+ Content-Security-Policy:
135
+ - default-src 'none'
136
+ Strict-Transport-Security:
137
+ - max-age=31536000; includeSubdomains; preload
138
+ X-Content-Type-Options:
139
+ - nosniff
140
+ X-Frame-Options:
141
+ - deny
142
+ X-Xss-Protection:
143
+ - 1; mode=block
144
+ X-Runtime-Rack:
145
+ - '0.068146'
146
+ X-Github-Request-Id:
147
+ - EDC8:2E342:E2A050:250EB1A:5A131FAC
148
+ body:
149
+ encoding: ASCII-8BIT
150
+ string: '[{"url":"https://api.github.com/repos/donaldduck/geet/issues/41","repository_url":"https://api.github.com/repos/donaldduck/geet","labels_url":"https://api.github.com/repos/donaldduck/geet/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/geet/issues/41/comments","events_url":"https://api.github.com/repos/donaldduck/geet/issues/41/events","html_url":"https://github.com/donaldduck/geet/issues/41","id":271557884,"number":41,"title":"Add
151
+ test suites","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":{"url":"https://api.github.com/repos/donaldduck/geet/milestones/4","html_url":"https://github.com/donaldduck/geet/milestone/4","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/4/labels","id":2922754,"number":4,"title":"0.2.0","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":2,"state":"open","created_at":"2017-11-19T17:43:54Z","updated_at":"2017-11-19T17:45:33Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-06T17:31:04Z","updated_at":"2017-11-19T19:35:54Z","closed_at":null,"author_association":"OWNER","body":"Add
152
+ tests suites:\r\n\r\n- [x] Base: (mock/real) server returning replies\r\n-
153
+ Add test suites\r\n - [x] list services\r\n - [ ] create_gist.rb\r\n -
154
+ [ ] create_issue.rb\r\n - [ ] create_pr.rb\r\n - [ ] merge_pr.rb\r\n"}]'
155
+ http_version:
156
+ recorded_at: Mon, 20 Nov 2017 18:32:12 GMT
157
+ - request:
158
+ method: get
159
+ uri: https://api.github.com/repos/donaldduck/geet/issues?milestone=5
160
+ body:
161
+ encoding: US-ASCII
162
+ string: ''
163
+ headers:
164
+ Accept-Encoding:
165
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
166
+ Accept:
167
+ - application/vnd.github.v3+json
168
+ User-Agent:
169
+ - Ruby
170
+ Host:
171
+ - api.github.com
172
+ Authorization:
173
+ - Basic <GITHUB_CREDENTIALS>
174
+ response:
175
+ status:
176
+ code: 200
177
+ message: OK
178
+ headers:
179
+ Server:
180
+ - GitHub.com
181
+ Date:
182
+ - Mon, 20 Nov 2017 18:32:12 GMT
183
+ Content-Type:
184
+ - application/json; charset=utf-8
185
+ Transfer-Encoding:
186
+ - chunked
187
+ Status:
188
+ - 200 OK
189
+ X-Ratelimit-Limit:
190
+ - '5000'
191
+ X-Ratelimit-Remaining:
192
+ - '4995'
193
+ X-Ratelimit-Reset:
194
+ - '1511204762'
195
+ Cache-Control:
196
+ - private, max-age=60, s-maxage=60
197
+ Vary:
198
+ - Accept, Authorization, Cookie, X-GitHub-OTP
199
+ Etag:
200
+ - W/"5174eb719f239f574e4bee080d12e728"
201
+ X-Oauth-Scopes:
202
+ - admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
203
+ delete_repo, gist, notifications, repo, user
204
+ X-Accepted-Oauth-Scopes:
205
+ - repo
206
+ X-Github-Media-Type:
207
+ - github.v3; format=json
208
+ Access-Control-Expose-Headers:
209
+ - ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
210
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
211
+ Access-Control-Allow-Origin:
212
+ - "*"
213
+ Content-Security-Policy:
214
+ - default-src 'none'
215
+ Strict-Transport-Security:
216
+ - max-age=31536000; includeSubdomains; preload
217
+ X-Content-Type-Options:
218
+ - nosniff
219
+ X-Frame-Options:
220
+ - deny
221
+ X-Xss-Protection:
222
+ - 1; mode=block
223
+ X-Runtime-Rack:
224
+ - '0.074155'
225
+ X-Github-Request-Id:
226
+ - 5658:2E342:E2A050:250EB1F:5A131FAC
227
+ body:
228
+ encoding: ASCII-8BIT
229
+ string: '[{"url":"https://api.github.com/repos/donaldduck/geet/issues/4","repository_url":"https://api.github.com/repos/donaldduck/geet","labels_url":"https://api.github.com/repos/donaldduck/geet/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/geet/issues/4/comments","events_url":"https://api.github.com/repos/donaldduck/geet/issues/4/events","html_url":"https://github.com/donaldduck/geet/issues/4","id":264383294,"number":4,"title":"Allow
230
+ writing description in an editor","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":715980059,"url":"https://api.github.com/repos/donaldduck/geet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"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/geet/milestones/5","html_url":"https://github.com/donaldduck/geet/milestone/5","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/5/labels","id":2922755,"number":5,"title":"0.3.0","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":0,"state":"open","created_at":"2017-11-19T17:46:38Z","updated_at":"2017-11-19T17:46:51Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-10-10T21:30:26Z","updated_at":"2017-11-19T17:46:51Z","closed_at":null,"author_association":"OWNER","body":""}]'
231
+ http_version:
232
+ recorded_at: Mon, 20 Nov 2017 18:32:12 GMT
233
+ - request:
234
+ method: get
235
+ uri: https://api.github.com/repos/donaldduck/geet/issues?milestone=6
236
+ body:
237
+ encoding: US-ASCII
238
+ string: ''
239
+ headers:
240
+ Accept-Encoding:
241
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
242
+ Accept:
243
+ - application/vnd.github.v3+json
244
+ User-Agent:
245
+ - Ruby
246
+ Host:
247
+ - api.github.com
248
+ Authorization:
249
+ - Basic <GITHUB_CREDENTIALS>
250
+ response:
251
+ status:
252
+ code: 200
253
+ message: OK
254
+ headers:
255
+ Server:
256
+ - GitHub.com
257
+ Date:
258
+ - Mon, 20 Nov 2017 18:32:12 GMT
259
+ Content-Type:
260
+ - application/json; charset=utf-8
261
+ Transfer-Encoding:
262
+ - chunked
263
+ Status:
264
+ - 200 OK
265
+ X-Ratelimit-Limit:
266
+ - '5000'
267
+ X-Ratelimit-Remaining:
268
+ - '4994'
269
+ X-Ratelimit-Reset:
270
+ - '1511204762'
271
+ Cache-Control:
272
+ - private, max-age=60, s-maxage=60
273
+ Vary:
274
+ - Accept, Authorization, Cookie, X-GitHub-OTP
275
+ Etag:
276
+ - W/"4607a71e5470ae7b0f030a13ac9ae271"
277
+ X-Oauth-Scopes:
278
+ - admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
279
+ delete_repo, gist, notifications, repo, user
280
+ X-Accepted-Oauth-Scopes:
281
+ - repo
282
+ X-Github-Media-Type:
283
+ - github.v3; format=json
284
+ Access-Control-Expose-Headers:
285
+ - ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
286
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
287
+ Access-Control-Allow-Origin:
288
+ - "*"
289
+ Content-Security-Policy:
290
+ - default-src 'none'
291
+ Strict-Transport-Security:
292
+ - max-age=31536000; includeSubdomains; preload
293
+ X-Content-Type-Options:
294
+ - nosniff
295
+ X-Frame-Options:
296
+ - deny
297
+ X-Xss-Protection:
298
+ - 1; mode=block
299
+ X-Runtime-Rack:
300
+ - '0.084860'
301
+ X-Github-Request-Id:
302
+ - 561E:2E342:E2A050:250EB1E:5A131FAC
303
+ body:
304
+ encoding: ASCII-8BIT
305
+ string: '[{"url":"https://api.github.com/repos/donaldduck/geet/issues/51","repository_url":"https://api.github.com/repos/donaldduck/geet","labels_url":"https://api.github.com/repos/donaldduck/geet/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/geet/issues/51/comments","events_url":"https://api.github.com/repos/donaldduck/geet/issues/51/events","html_url":"https://github.com/donaldduck/geet/issues/51","id":275181654,"number":51,"title":"Services
306
+ should take repository in the initializer","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":735752330,"url":"https://api.github.com/repos/donaldduck/geet/labels/technical_debt","name":"technical_debt","color":"ee0701","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/geet/milestones/6","html_url":"https://github.com/donaldduck/geet/milestone/6","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/6/labels","id":2922756,"number":6,"title":"0.2.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":3,"closed_issues":0,"state":"open","created_at":"2017-11-19T17:47:13Z","updated_at":"2017-11-19T18:45:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-19T18:45:30Z","updated_at":"2017-11-19T18:45:41Z","closed_at":null,"author_association":"OWNER","body":"For
307
+ example: ListLabels.new(repository).execute"},{"url":"https://api.github.com/repos/donaldduck/geet/issues/49","repository_url":"https://api.github.com/repos/donaldduck/geet","labels_url":"https://api.github.com/repos/donaldduck/geet/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/geet/issues/49/comments","events_url":"https://api.github.com/repos/donaldduck/geet/issues/49/events","html_url":"https://github.com/donaldduck/geet/issues/49","id":274096662,"number":49,"title":"Add
308
+ issue list --assigned","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":{"url":"https://api.github.com/repos/donaldduck/geet/milestones/6","html_url":"https://github.com/donaldduck/geet/milestone/6","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/6/labels","id":2922756,"number":6,"title":"0.2.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":3,"closed_issues":0,"state":"open","created_at":"2017-11-19T17:47:13Z","updated_at":"2017-11-19T18:45:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-15T09:57:59Z","updated_at":"2017-11-19T17:48:50Z","closed_at":null,"author_association":"OWNER","body":""},{"url":"https://api.github.com/repos/donaldduck/geet/issues/29","repository_url":"https://api.github.com/repos/donaldduck/geet","labels_url":"https://api.github.com/repos/donaldduck/geet/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/geet/issues/29/comments","events_url":"https://api.github.com/repos/donaldduck/geet/issues/29/events","html_url":"https://github.com/donaldduck/geet/issues/29","id":269769542,"number":29,"title":"Edit
309
+ Issue/PR properties in a single request after creation","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":715980059,"url":"https://api.github.com/repos/donaldduck/geet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"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/geet/milestones/6","html_url":"https://github.com/donaldduck/geet/milestone/6","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/6/labels","id":2922756,"number":6,"title":"0.2.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":3,"closed_issues":0,"state":"open","created_at":"2017-11-19T17:47:13Z","updated_at":"2017-11-19T18:45:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-10-30T22:03:14Z","updated_at":"2017-11-19T17:50:05Z","closed_at":null,"author_association":"OWNER","body":"See
310
+ https://developer.github.com/v3/issues/#edit-an-issue."}]'
311
+ http_version:
312
+ recorded_at: Mon, 20 Nov 2017 18:32:12 GMT
313
+ - request:
314
+ method: get
315
+ uri: https://api.github.com/repos/donaldduck/geet/issues?milestone=7
316
+ body:
317
+ encoding: US-ASCII
318
+ string: ''
319
+ headers:
320
+ Accept-Encoding:
321
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
322
+ Accept:
323
+ - application/vnd.github.v3+json
324
+ User-Agent:
325
+ - Ruby
326
+ Host:
327
+ - api.github.com
328
+ Authorization:
329
+ - Basic <GITHUB_CREDENTIALS>
330
+ response:
331
+ status:
332
+ code: 200
333
+ message: OK
334
+ headers:
335
+ Server:
336
+ - GitHub.com
337
+ Date:
338
+ - Mon, 20 Nov 2017 18:32:12 GMT
339
+ Content-Type:
340
+ - application/json; charset=utf-8
341
+ Transfer-Encoding:
342
+ - chunked
343
+ Status:
344
+ - 200 OK
345
+ X-Ratelimit-Limit:
346
+ - '5000'
347
+ X-Ratelimit-Remaining:
348
+ - '4993'
349
+ X-Ratelimit-Reset:
350
+ - '1511204762'
351
+ Cache-Control:
352
+ - private, max-age=60, s-maxage=60
353
+ Vary:
354
+ - Accept, Authorization, Cookie, X-GitHub-OTP
355
+ Etag:
356
+ - W/"4809e815d9171ec6cf4bda58a168e304"
357
+ X-Oauth-Scopes:
358
+ - admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
359
+ delete_repo, gist, notifications, repo, user
360
+ X-Accepted-Oauth-Scopes:
361
+ - repo
362
+ X-Github-Media-Type:
363
+ - github.v3; format=json
364
+ Access-Control-Expose-Headers:
365
+ - ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
366
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
367
+ Access-Control-Allow-Origin:
368
+ - "*"
369
+ Content-Security-Policy:
370
+ - default-src 'none'
371
+ Strict-Transport-Security:
372
+ - max-age=31536000; includeSubdomains; preload
373
+ X-Content-Type-Options:
374
+ - nosniff
375
+ X-Frame-Options:
376
+ - deny
377
+ X-Xss-Protection:
378
+ - 1; mode=block
379
+ X-Runtime-Rack:
380
+ - '0.090658'
381
+ X-Github-Request-Id:
382
+ - 5614:2E340:1169D1B:21B5844:5A131FAC
383
+ body:
384
+ encoding: ASCII-8BIT
385
+ string: '[{"url":"https://api.github.com/repos/donaldduck/geet/issues/43","repository_url":"https://api.github.com/repos/donaldduck/geet","labels_url":"https://api.github.com/repos/donaldduck/geet/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/geet/issues/43/comments","events_url":"https://api.github.com/repos/donaldduck/geet/issues/43/events","html_url":"https://github.com/donaldduck/geet/issues/43","id":271649610,"number":43,"title":"PR
386
+ Merging: add support for upstream and branch autodelete","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":715980059,"url":"https://api.github.com/repos/donaldduck/geet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"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/geet/milestones/7","html_url":"https://github.com/donaldduck/geet/milestone/7","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/7/labels","id":2922760,"number":7,"title":"0.2.2","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":2,"closed_issues":0,"state":"open","created_at":"2017-11-19T17:50:40Z","updated_at":"2017-11-19T17:51:02Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-06T22:51:59Z","updated_at":"2017-11-19T17:50:57Z","closed_at":null,"author_association":"OWNER","body":""},{"url":"https://api.github.com/repos/donaldduck/geet/issues/35","repository_url":"https://api.github.com/repos/donaldduck/geet","labels_url":"https://api.github.com/repos/donaldduck/geet/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/geet/issues/35/comments","events_url":"https://api.github.com/repos/donaldduck/geet/issues/35/events","html_url":"https://github.com/donaldduck/geet/issues/35","id":271190273,"number":35,"title":"Improve
387
+ design of repository-independent actions","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":715980059,"url":"https://api.github.com/repos/donaldduck/geet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"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/geet/milestones/7","html_url":"https://github.com/donaldduck/geet/milestone/7","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/7/labels","id":2922760,"number":7,"title":"0.2.2","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":2,"closed_issues":0,"state":"open","created_at":"2017-11-19T17:50:40Z","updated_at":"2017-11-19T17:51:02Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-04T12:58:42Z","updated_at":"2017-11-19T17:51:02Z","closed_at":null,"author_association":"OWNER","body":"Gist
388
+ creation doesn''t need a repository."}]'
389
+ http_version:
390
+ recorded_at: Mon, 20 Nov 2017 18:32:12 GMT
391
+ - request:
392
+ method: get
393
+ uri: https://api.github.com/repos/donaldduck/geet/issues?milestone=8
394
+ body:
395
+ encoding: US-ASCII
396
+ string: ''
397
+ headers:
398
+ Accept-Encoding:
399
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
400
+ Accept:
401
+ - application/vnd.github.v3+json
402
+ User-Agent:
403
+ - Ruby
404
+ Host:
405
+ - api.github.com
406
+ Authorization:
407
+ - Basic <GITHUB_CREDENTIALS>
408
+ response:
409
+ status:
410
+ code: 200
411
+ message: OK
412
+ headers:
413
+ Server:
414
+ - GitHub.com
415
+ Date:
416
+ - Mon, 20 Nov 2017 18:32:12 GMT
417
+ Content-Type:
418
+ - application/json; charset=utf-8
419
+ Transfer-Encoding:
420
+ - chunked
421
+ Status:
422
+ - 200 OK
423
+ X-Ratelimit-Limit:
424
+ - '5000'
425
+ X-Ratelimit-Remaining:
426
+ - '4992'
427
+ X-Ratelimit-Reset:
428
+ - '1511204762'
429
+ Cache-Control:
430
+ - private, max-age=60, s-maxage=60
431
+ Vary:
432
+ - Accept, Authorization, Cookie, X-GitHub-OTP
433
+ Etag:
434
+ - W/"4a663b61d015728465503f97bc236ab4"
435
+ X-Oauth-Scopes:
436
+ - admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
437
+ delete_repo, gist, notifications, repo, user
438
+ X-Accepted-Oauth-Scopes:
439
+ - repo
440
+ X-Github-Media-Type:
441
+ - github.v3; format=json
442
+ Access-Control-Expose-Headers:
443
+ - ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
444
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
445
+ Access-Control-Allow-Origin:
446
+ - "*"
447
+ Content-Security-Policy:
448
+ - default-src 'none'
449
+ Strict-Transport-Security:
450
+ - max-age=31536000; includeSubdomains; preload
451
+ X-Content-Type-Options:
452
+ - nosniff
453
+ X-Frame-Options:
454
+ - deny
455
+ X-Xss-Protection:
456
+ - 1; mode=block
457
+ X-Runtime-Rack:
458
+ - '0.090460'
459
+ X-Github-Request-Id:
460
+ - 564E:2E342:E2A04F:250EB19:5A131FAC
461
+ body:
462
+ encoding: ASCII-8BIT
463
+ string: '[{"url":"https://api.github.com/repos/donaldduck/geet/issues/16","repository_url":"https://api.github.com/repos/donaldduck/geet","labels_url":"https://api.github.com/repos/donaldduck/geet/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/donaldduck/geet/issues/16/comments","events_url":"https://api.github.com/repos/donaldduck/geet/issues/16/events","html_url":"https://github.com/donaldduck/geet/issues/16","id":266581786,"number":16,"title":"Implement
464
+ issue opening","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":715980059,"url":"https://api.github.com/repos/donaldduck/geet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"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/geet/milestones/8","html_url":"https://github.com/donaldduck/geet/milestone/8","labels_url":"https://api.github.com/repos/donaldduck/geet/milestones/8/labels","id":2922761,"number":8,"title":"0.2.3","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":0,"state":"open","created_at":"2017-11-19T17:51:28Z","updated_at":"2017-11-19T17:51:34Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-10-18T17:44:49Z","updated_at":"2017-11-19T17:51:34Z","closed_at":null,"author_association":"OWNER","body":"Think
465
+ about interface. Example: --open on issue list?"}]'
466
+ http_version:
467
+ recorded_at: Mon, 20 Nov 2017 18:32:12 GMT
468
+ recorded_with: VCR 3.0.3