octokit 1.18.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +1 -1
- data/.rspec +1 -0
- data/CHANGELOG.md +25 -0
- data/{LICENSE → LICENSE.md} +0 -0
- data/README.md +25 -8
- data/lib/faraday/response/raise_octokit_error.rb +4 -1
- data/lib/octokit/client.rb +6 -0
- data/lib/octokit/client/authorizations.rb +20 -7
- data/lib/octokit/client/commits.rb +120 -13
- data/lib/octokit/client/contents.rb +3 -4
- data/lib/octokit/client/downloads.rb +4 -3
- data/lib/octokit/client/emojis.rb +1 -1
- data/lib/octokit/client/events.rb +4 -4
- data/lib/octokit/client/gists.rb +33 -31
- data/lib/octokit/client/issues.rb +15 -15
- data/lib/octokit/client/labels.rb +13 -13
- data/lib/octokit/client/markdown.rb +2 -1
- data/lib/octokit/client/milestones.rb +6 -6
- data/lib/octokit/client/notifications.rb +222 -0
- data/lib/octokit/client/objects.rb +4 -4
- data/lib/octokit/client/organizations.rb +65 -20
- data/lib/octokit/client/pub_sub_hubbub.rb +2 -2
- data/lib/octokit/client/pulls.rb +91 -3
- data/lib/octokit/client/rate_limit.rb +20 -0
- data/lib/octokit/client/refs.rb +4 -4
- data/lib/octokit/client/repositories.rb +106 -37
- data/lib/octokit/client/say.rb +14 -0
- data/lib/octokit/client/statuses.rb +2 -2
- data/lib/octokit/client/users.rb +92 -24
- data/lib/octokit/connection.rb +21 -21
- data/lib/octokit/request.rb +47 -36
- data/lib/octokit/version.rb +1 -1
- data/octokit.gemspec +25 -25
- data/spec/fixtures/{v3/authorization.json → authorization.json} +0 -0
- data/spec/fixtures/{v3/authorizations.json → authorizations.json} +0 -0
- data/spec/fixtures/{v3/blob.json → blob.json} +0 -0
- data/spec/fixtures/{v3/blob_create.json → blob_create.json} +0 -0
- data/spec/fixtures/{v3/branches.json → branches.json} +0 -0
- data/spec/fixtures/{v3/collaborators.json → collaborators.json} +0 -0
- data/spec/fixtures/{v3/comment.json → comment.json} +0 -0
- data/spec/fixtures/{v3/comments.json → comments.json} +0 -0
- data/spec/fixtures/{v3/commit.json → commit.json} +0 -0
- data/spec/fixtures/{v3/commit_comment.json → commit_comment.json} +0 -0
- data/spec/fixtures/{v3/commit_comment_create.json → commit_comment_create.json} +0 -0
- data/spec/fixtures/{v3/commit_comment_update.json → commit_comment_update.json} +0 -0
- data/spec/fixtures/{v3/commit_comments.json → commit_comments.json} +0 -0
- data/spec/fixtures/{v3/commit_create.json → commit_create.json} +0 -0
- data/spec/fixtures/{v3/commits.json → commits.json} +0 -0
- data/spec/fixtures/{v3/compare.json → compare.json} +0 -0
- data/spec/fixtures/{v3/contents.json → contents.json} +0 -0
- data/spec/fixtures/{v3/contributors.json → contributors.json} +0 -0
- data/spec/fixtures/{v3/download.json → download.json} +0 -0
- data/spec/fixtures/{v3/download_create.json → download_create.json} +0 -0
- data/spec/fixtures/{v3/downloads.json → downloads.json} +0 -0
- data/spec/fixtures/{v3/emails.json → emails.json} +0 -0
- data/spec/fixtures/{v3/emojis.json → emojis.json} +0 -0
- data/spec/fixtures/{v3/followers.json → followers.json} +0 -0
- data/spec/fixtures/{v3/following.json → following.json} +0 -0
- data/spec/fixtures/{v3/forks.json → forks.json} +0 -0
- data/spec/fixtures/{v3/gist.json → gist.json} +0 -0
- data/spec/fixtures/{v3/gist_comment.json → gist_comment.json} +0 -0
- data/spec/fixtures/{v3/gist_comment_create.json → gist_comment_create.json} +0 -0
- data/spec/fixtures/{v3/gist_comment_update.json → gist_comment_update.json} +0 -0
- data/spec/fixtures/{v3/gist_comments.json → gist_comments.json} +0 -0
- data/spec/fixtures/{v3/gists.json → gists.json} +0 -0
- data/spec/fixtures/{v3/hook.json → hook.json} +0 -0
- data/spec/fixtures/{v3/hooks.json → hooks.json} +0 -0
- data/spec/fixtures/{v3/issue.json → issue.json} +0 -0
- data/spec/fixtures/{v3/issue_closed.json → issue_closed.json} +0 -0
- data/spec/fixtures/{v3/issue_event.json → issue_event.json} +0 -0
- data/spec/fixtures/{v3/issue_events.json → issue_events.json} +0 -0
- data/spec/fixtures/issue_full.json +38 -0
- data/spec/fixtures/{v3/issues.json → issues.json} +0 -0
- data/spec/fixtures/{v3/label.json → label.json} +0 -0
- data/spec/fixtures/{v3/labels.json → labels.json} +0 -0
- data/spec/fixtures/{v3/languages.json → languages.json} +0 -0
- data/spec/fixtures/{v3/list_commit_comments.json → list_commit_comments.json} +0 -0
- data/spec/fixtures/{v3/markdown_gfm → markdown_gfm} +0 -0
- data/spec/fixtures/{v3/merge.json → merge.json} +0 -0
- data/spec/fixtures/{v3/milestone.json → milestone.json} +0 -0
- data/spec/fixtures/{v3/milestones.json → milestones.json} +0 -0
- data/spec/fixtures/{v3/not_found.json → not_found.json} +0 -0
- data/spec/fixtures/notification_thread.json +32 -0
- data/spec/fixtures/notifications.json +32 -0
- data/spec/fixtures/{v3/organization-repositories.json → organization-repositories.json} +0 -0
- data/spec/fixtures/{v3/organization-repository.json → organization-repository.json} +0 -0
- data/spec/fixtures/{v3/organization.json → organization.json} +0 -0
- data/spec/fixtures/{v3/organization_members.json → organization_members.json} +0 -0
- data/spec/fixtures/{v3/organization_team_members.json → organization_team_members.json} +0 -0
- data/spec/fixtures/{v3/organization_team_repos.json → organization_team_repos.json} +0 -0
- data/spec/fixtures/{v3/organizations.json → organizations.json} +0 -0
- data/spec/fixtures/{v3/public_events.json → public_events.json} +0 -0
- data/spec/fixtures/{v3/public_gists.json → public_gists.json} +0 -0
- data/spec/fixtures/{v3/public_key.json → public_key.json} +0 -0
- data/spec/fixtures/public_key_update.json +5 -0
- data/spec/fixtures/{v3/public_keys.json → public_keys.json} +0 -0
- data/spec/fixtures/{v3/pull_created.json → pull_created.json} +0 -0
- data/spec/fixtures/{v3/pull_request.json → pull_request.json} +0 -0
- data/spec/fixtures/pull_request_comment.json +35 -0
- data/spec/fixtures/pull_request_comment_create.json +35 -0
- data/spec/fixtures/pull_request_comment_reply.json +35 -0
- data/spec/fixtures/pull_request_comment_update.json +35 -0
- data/spec/fixtures/{v3/pull_request_comments.json → pull_request_comments.json} +0 -0
- data/spec/fixtures/{v3/pull_request_commits.json → pull_request_commits.json} +0 -0
- data/spec/fixtures/{v3/pull_request_files.json → pull_request_files.json} +0 -0
- data/spec/fixtures/{v3/pull_request_merged.json → pull_request_merged.json} +0 -0
- data/spec/fixtures/{v3/pull_requests.json → pull_requests.json} +0 -0
- data/spec/fixtures/{v3/pull_update.json → pull_update.json} +0 -0
- data/spec/fixtures/{v3/readme.json → readme.json} +0 -0
- data/spec/fixtures/{v3/ref.json → ref.json} +0 -0
- data/spec/fixtures/{v3/ref_create.json → ref_create.json} +0 -0
- data/spec/fixtures/{v3/ref_update.json → ref_update.json} +0 -0
- data/spec/fixtures/{v3/refs.json → refs.json} +0 -0
- data/spec/fixtures/{v3/refs_tags.json → refs_tags.json} +0 -0
- data/spec/fixtures/{v3/repo_assignees.json → repo_assignees.json} +0 -0
- data/spec/fixtures/{v3/repo_events.json → repo_events.json} +0 -0
- data/spec/fixtures/{v3/repo_issues_events.json → repo_issues_events.json} +0 -0
- data/spec/fixtures/{v3/repositories.json → repositories.json} +0 -0
- data/spec/fixtures/{v3/repository.json → repository.json} +0 -0
- data/spec/fixtures/repository_notifications.json +32 -0
- data/spec/fixtures/say.txt +22 -0
- data/spec/fixtures/say_custom.txt +22 -0
- data/spec/fixtures/{v3/stargazers.json → stargazers.json} +0 -0
- data/spec/fixtures/{v3/starred.json → starred.json} +0 -0
- data/spec/fixtures/{v3/starred_gists.json → starred_gists.json} +0 -0
- data/spec/fixtures/{v3/status.json → status.json} +0 -0
- data/spec/fixtures/{v3/statuses.json → statuses.json} +0 -0
- data/spec/fixtures/subscribers.json +9 -0
- data/spec/fixtures/subscription.json +8 -0
- data/spec/fixtures/subscription_update.json +8 -0
- data/spec/fixtures/subscriptions.json +39 -0
- data/spec/fixtures/{v3/tag.json → tag.json} +0 -0
- data/spec/fixtures/{v3/tag_create.json → tag_create.json} +0 -0
- data/spec/fixtures/{v3/tags.json → tags.json} +0 -0
- data/spec/fixtures/{v3/team.json → team.json} +0 -0
- data/spec/fixtures/{v3/teams.json → teams.json} +0 -0
- data/spec/fixtures/thread_subscription.json +8 -0
- data/spec/fixtures/thread_subscription_update.json +8 -0
- data/spec/fixtures/{v3/tree.json → tree.json} +0 -0
- data/spec/fixtures/{v3/tree_create.json → tree_create.json} +0 -0
- data/spec/fixtures/{v3/user.json → user.json} +0 -0
- data/spec/fixtures/{v3/user_events.json → user_events.json} +0 -0
- data/spec/fixtures/validation_failed.json +11 -0
- data/spec/fixtures/{v3/watched.json → watched.json} +0 -0
- data/spec/fixtures/{v3/watchers.json → watchers.json} +0 -0
- data/spec/helper.rb +13 -2
- data/spec/octokit/client/authorizations_spec.rb +44 -7
- data/spec/octokit/client/commits_spec.rb +136 -11
- data/spec/octokit/client/contents_spec.rb +6 -3
- data/spec/octokit/client/downloads_spec.rb +5 -6
- data/spec/octokit/client/emojis_spec.rb +1 -1
- data/spec/octokit/client/events_spec.rb +5 -5
- data/spec/octokit/client/gists_spec.rb +20 -20
- data/spec/octokit/client/issue_events_spec.rb +2 -2
- data/spec/octokit/client/issues_spec.rb +25 -14
- data/spec/octokit/client/labels_spec.rb +18 -22
- data/spec/octokit/client/markdown_spec.rb +1 -1
- data/spec/octokit/client/milestones_spec.rb +8 -8
- data/spec/octokit/client/notifications_spec.rb +141 -0
- data/spec/octokit/client/objects_spec.rb +6 -6
- data/spec/octokit/client/organizations_spec.rb +65 -13
- data/spec/octokit/client/pub_sub_hubbub/service_hooks_spec.rb +4 -4
- data/spec/octokit/client/pub_sub_hubbub_spec.rb +3 -3
- data/spec/octokit/client/pulls_spec.rb +81 -10
- data/spec/octokit/client/refs_spec.rb +7 -7
- data/spec/octokit/client/repositories_spec.rb +86 -34
- data/spec/octokit/client/say_spec.rb +37 -0
- data/spec/octokit/client/statuses_spec.rb +2 -2
- data/spec/octokit/client/users_spec.rb +65 -16
- data/spec/octokit/client_spec.rb +37 -11
- data/spec/{repository_spec.rb → octokit/repository_spec.rb} +0 -0
- data/spec/octokit_spec.rb +1 -1
- metadata +240 -196
data/lib/octokit/version.rb
CHANGED
data/octokit.gemspec
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require File.expand_path('../lib/octokit/version', __FILE__)
|
3
3
|
|
4
|
-
Gem::Specification.new do |
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
4
|
+
Gem::Specification.new do |spec|
|
5
|
+
spec.add_dependency 'addressable', '~> 2.2'
|
6
|
+
spec.add_dependency 'faraday', '~> 0.8'
|
7
|
+
spec.add_dependency 'faraday_middleware', '~> 0.9'
|
8
|
+
spec.add_dependency 'hashie', '~> 1.2'
|
9
|
+
spec.add_dependency 'multi_json', '~> 1.3'
|
10
|
+
spec.add_development_dependency 'json', '~> 1.7'
|
11
|
+
spec.add_development_dependency 'maruku'
|
12
|
+
spec.add_development_dependency 'rake'
|
13
|
+
spec.add_development_dependency 'rspec'
|
14
|
+
spec.add_development_dependency 'simplecov'
|
15
|
+
spec.add_development_dependency 'webmock'
|
16
|
+
spec.add_development_dependency 'yard'
|
17
|
+
spec.authors = ["Wynn Netherland", "Erik Michaels-Ober", "Clint Shryock"]
|
18
|
+
spec.description = %q{Simple wrapper for the GitHub v3 API}
|
19
|
+
spec.email = ['wynn.netherland@gmail.com', 'sferik@gmail.com', 'clint@ctshryock.com']
|
20
|
+
spec.files = `git ls-files`.split("\n")
|
21
|
+
spec.homepage = 'https://github.com/pengwynn/octokit'
|
22
|
+
spec.licenses = ['MIT']
|
23
|
+
spec.name = 'octokit'
|
24
|
+
spec.require_paths = ['lib']
|
25
|
+
spec.required_rubygems_version = Gem::Requirement.new('>= 1.3.6')
|
26
|
+
spec.summary = spec.description
|
27
|
+
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
28
|
+
spec.version = Octokit::VERSION
|
29
29
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"body": "Create, Edit, Delete missing from octokit http://developer.github.com/v3/pulls/comments/",
|
3
|
+
"user": {
|
4
|
+
"url": "https://api.github.com/users/joeyw",
|
5
|
+
"avatar_url": "https://secure.gravatar.com/avatar/18c2c44835cc7c5ada7c027f12674714?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
|
6
|
+
"_links": {
|
7
|
+
"self": {
|
8
|
+
"href": "https://api.github.com/users/joeyw"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"id": 478247,
|
12
|
+
"gravatar_id": "18c2c44835cc7c5ada7c027f12674714",
|
13
|
+
"login": "joeyw"
|
14
|
+
},
|
15
|
+
"body_html": "<p>Create, Edit, Delete missing from octokit <a href=\"http://developer.github.com/v3/pulls/comments/\">http://developer.github.com/v3/pulls/comments/</a></p>",
|
16
|
+
"created_at": "2012-10-21T08:59:44Z",
|
17
|
+
"comments": 0,
|
18
|
+
"url": "https://api.github.com/repos/pengwynn/octokit/issues/161",
|
19
|
+
"title": "Pull Request Review Comments",
|
20
|
+
"number": 161,
|
21
|
+
"html_url": "https://github.com/pengwynn/octokit/issues/161",
|
22
|
+
"pull_request": {
|
23
|
+
"patch_url": null,
|
24
|
+
"html_url": null,
|
25
|
+
"diff_url": null
|
26
|
+
},
|
27
|
+
"closed_at": null,
|
28
|
+
"updated_at": "2012-10-21T09:06:54Z",
|
29
|
+
"milestone": null,
|
30
|
+
"state": "open",
|
31
|
+
"labels": [
|
32
|
+
|
33
|
+
],
|
34
|
+
"id": 7746154,
|
35
|
+
"closed_by": null,
|
36
|
+
"body_text": "Create, Edit, Delete missing from octokit http://developer.github.com/v3/pulls/comments/",
|
37
|
+
"assignee": null
|
38
|
+
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,32 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 1,
|
4
|
+
"repository": {
|
5
|
+
"id": 1296269,
|
6
|
+
"owner": {
|
7
|
+
"login": "octocat",
|
8
|
+
"id": 1,
|
9
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
10
|
+
"gravatar_id": "somehexcode",
|
11
|
+
"url": "https://api.github.com/users/octocat"
|
12
|
+
},
|
13
|
+
"name": "Hello-World",
|
14
|
+
"full_name": "octocat/Hello-World",
|
15
|
+
"description": "This your first repo!",
|
16
|
+
"private": false,
|
17
|
+
"fork": false,
|
18
|
+
"url": "https://api.github.com/repos/octocat/Hello-World",
|
19
|
+
"html_url": "https://github.com/octocat/Hello-World"
|
20
|
+
},
|
21
|
+
"subject": {
|
22
|
+
"title": "Greetings",
|
23
|
+
"url": "https://api.github.com/repos/pengwynn/octokit/issues/123",
|
24
|
+
"latest_comment_url": "https://api.github.com/repos/pengwynn/octokit/issues/comments/123"
|
25
|
+
},
|
26
|
+
"reason": "subscribed",
|
27
|
+
"unread": true,
|
28
|
+
"updated_at": "2012-09-25T07:54:41-07:00",
|
29
|
+
"last_read_at": "2012-09-25T07:54:41-07:00",
|
30
|
+
"url": "https://api.github.com/notifications/threads/1"
|
31
|
+
}
|
32
|
+
]
|
@@ -0,0 +1,32 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 1,
|
4
|
+
"repository": {
|
5
|
+
"id": 1296269,
|
6
|
+
"owner": {
|
7
|
+
"login": "octocat",
|
8
|
+
"id": 1,
|
9
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
10
|
+
"gravatar_id": "somehexcode",
|
11
|
+
"url": "https://api.github.com/users/octocat"
|
12
|
+
},
|
13
|
+
"name": "Hello-World",
|
14
|
+
"full_name": "octocat/Hello-World",
|
15
|
+
"description": "This your first repo!",
|
16
|
+
"private": false,
|
17
|
+
"fork": false,
|
18
|
+
"url": "https://api.github.com/repos/octocat/Hello-World",
|
19
|
+
"html_url": "https://github.com/octocat/Hello-World"
|
20
|
+
},
|
21
|
+
"subject": {
|
22
|
+
"title": "Greetings",
|
23
|
+
"url": "https://api.github.com/repos/pengwynn/octokit/issues/123",
|
24
|
+
"latest_comment_url": "https://api.github.com/repos/pengwynn/octokit/issues/comments/123"
|
25
|
+
},
|
26
|
+
"reason": "subscribed",
|
27
|
+
"unread": true,
|
28
|
+
"updated_at": "2012-09-25T07:54:41-07:00",
|
29
|
+
"last_read_at": "2012-09-25T07:54:41-07:00",
|
30
|
+
"url": "https://api.github.com/notifications/threads/1"
|
31
|
+
}
|
32
|
+
]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"created_at": "2012-10-22T14:05:25Z",
|
3
|
+
"original_commit_id": "6ed6909ceb8f285de6562cca41dd1e4331c00722",
|
4
|
+
"original_position": 46,
|
5
|
+
"position": null,
|
6
|
+
"path": "lib/octokit/request.rb",
|
7
|
+
"updated_at": "2012-10-22T20:20:10Z",
|
8
|
+
"commit_id": "2d3201e4440903d8b04a5487842053ca4883e5f0",
|
9
|
+
"id": 1903950,
|
10
|
+
"url": "https://api.github.com/repos/pengwynn/octokit/pulls/comments/1903950",
|
11
|
+
"_links": {
|
12
|
+
"pull_request": {
|
13
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/163"
|
14
|
+
},
|
15
|
+
"self": {
|
16
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/comments/1903950"
|
17
|
+
},
|
18
|
+
"html": {
|
19
|
+
"href": "https://github.com/pengwynn/octokit/pull/163#discussion_r1903950"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"user": {
|
23
|
+
"gravatar_id": "7e19cd5486b5d6dc1ef90e671ba52ae0",
|
24
|
+
"avatar_url": "https://secure.gravatar.com/avatar/7e19cd5486b5d6dc1ef90e671ba52ae0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
|
25
|
+
"url": "https://api.github.com/users/pengwynn",
|
26
|
+
"id": 865,
|
27
|
+
"login": "pengwynn",
|
28
|
+
"_links": {
|
29
|
+
"self": {
|
30
|
+
"href": "https://api.github.com/users/pengwynn"
|
31
|
+
}
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"body": "I like that. Tests FTW. Thanks for patching this."
|
35
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"created_at": "2012-10-22T14:05:25Z",
|
3
|
+
"original_commit_id": "6ed6909ceb8f285de6562cca41dd1e4331c00722",
|
4
|
+
"original_position": 46,
|
5
|
+
"position": null,
|
6
|
+
"path": "lib/octokit/request.rb",
|
7
|
+
"updated_at": "2012-10-22T20:20:10Z",
|
8
|
+
"commit_id": "2d3201e4440903d8b04a5487842053ca4883e5f0",
|
9
|
+
"id": 1903950,
|
10
|
+
"url": "https://api.github.com/repos/pengwynn/octokit/pulls/comments/1903950",
|
11
|
+
"_links": {
|
12
|
+
"pull_request": {
|
13
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/163"
|
14
|
+
},
|
15
|
+
"self": {
|
16
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/comments/1903950"
|
17
|
+
},
|
18
|
+
"html": {
|
19
|
+
"href": "https://github.com/pengwynn/octokit/pull/163#discussion_r1903950"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"user": {
|
23
|
+
"gravatar_id": "7e19cd5486b5d6dc1ef90e671ba52ae0",
|
24
|
+
"avatar_url": "https://secure.gravatar.com/avatar/7e19cd5486b5d6dc1ef90e671ba52ae0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
|
25
|
+
"url": "https://api.github.com/users/pengwynn",
|
26
|
+
"id": 865,
|
27
|
+
"login": "pengwynn",
|
28
|
+
"_links": {
|
29
|
+
"self": {
|
30
|
+
"href": "https://api.github.com/users/pengwynn"
|
31
|
+
}
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"body": "I like that. Tests FTW. Thanks for patching this."
|
35
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"created_at": "2012-10-22T18:28:03Z",
|
3
|
+
"original_position": 21,
|
4
|
+
"position": null,
|
5
|
+
"path": "lib/octokit/connection.rb",
|
6
|
+
"updated_at": "2012-10-22T20:20:10Z",
|
7
|
+
"commit_id": "2d3201e4440903d8b04a5487842053ca4883e5f0",
|
8
|
+
"_links": {
|
9
|
+
"pull_request": {
|
10
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/163"
|
11
|
+
},
|
12
|
+
"self": {
|
13
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/comments/1907270"
|
14
|
+
},
|
15
|
+
"html": {
|
16
|
+
"href": "https://github.com/pengwynn/octokit/pull/163#discussion_r1907270"
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"original_commit_id": "7fdf58222dd14899eec31a6b728bc73d51dbf181",
|
20
|
+
"id": 1907270,
|
21
|
+
"url": "https://api.github.com/repos/pengwynn/octokit/pulls/comments/1907270",
|
22
|
+
"user": {
|
23
|
+
"gravatar_id": "18c2c44835cc7c5ada7c027f12674714",
|
24
|
+
"avatar_url": "https://secure.gravatar.com/avatar/18c2c44835cc7c5ada7c027f12674714?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
|
25
|
+
"_links": {
|
26
|
+
"self": {
|
27
|
+
"href": "https://api.github.com/users/joeyw"
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"url": "https://api.github.com/users/joeyw",
|
31
|
+
"id": 478247,
|
32
|
+
"login": "joeyw"
|
33
|
+
},
|
34
|
+
"body": "done."
|
35
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"created_at": "2012-10-22T18:28:03Z",
|
3
|
+
"original_position": 21,
|
4
|
+
"position": null,
|
5
|
+
"path": "lib/octokit/connection.rb",
|
6
|
+
"updated_at": "2012-10-22T20:20:10Z",
|
7
|
+
"commit_id": "2d3201e4440903d8b04a5487842053ca4883e5f0",
|
8
|
+
"_links": {
|
9
|
+
"pull_request": {
|
10
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/163"
|
11
|
+
},
|
12
|
+
"self": {
|
13
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/comments/1907270"
|
14
|
+
},
|
15
|
+
"html": {
|
16
|
+
"href": "https://github.com/pengwynn/octokit/pull/163#discussion_r1907270"
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"original_commit_id": "7fdf58222dd14899eec31a6b728bc73d51dbf181",
|
20
|
+
"id": 1907270,
|
21
|
+
"url": "https://api.github.com/repos/pengwynn/octokit/pulls/comments/1907270",
|
22
|
+
"user": {
|
23
|
+
"gravatar_id": "18c2c44835cc7c5ada7c027f12674714",
|
24
|
+
"avatar_url": "https://secure.gravatar.com/avatar/18c2c44835cc7c5ada7c027f12674714?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
|
25
|
+
"_links": {
|
26
|
+
"self": {
|
27
|
+
"href": "https://api.github.com/users/joeyw"
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"url": "https://api.github.com/users/joeyw",
|
31
|
+
"id": 478247,
|
32
|
+
"login": "joeyw"
|
33
|
+
},
|
34
|
+
"body": ":shipit:"
|
35
|
+
}
|