octokit 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. data/.document +1 -1
  2. data/.rspec +1 -0
  3. data/CHANGELOG.md +25 -0
  4. data/{LICENSE → LICENSE.md} +0 -0
  5. data/README.md +25 -8
  6. data/lib/faraday/response/raise_octokit_error.rb +4 -1
  7. data/lib/octokit/client.rb +6 -0
  8. data/lib/octokit/client/authorizations.rb +20 -7
  9. data/lib/octokit/client/commits.rb +120 -13
  10. data/lib/octokit/client/contents.rb +3 -4
  11. data/lib/octokit/client/downloads.rb +4 -3
  12. data/lib/octokit/client/emojis.rb +1 -1
  13. data/lib/octokit/client/events.rb +4 -4
  14. data/lib/octokit/client/gists.rb +33 -31
  15. data/lib/octokit/client/issues.rb +15 -15
  16. data/lib/octokit/client/labels.rb +13 -13
  17. data/lib/octokit/client/markdown.rb +2 -1
  18. data/lib/octokit/client/milestones.rb +6 -6
  19. data/lib/octokit/client/notifications.rb +222 -0
  20. data/lib/octokit/client/objects.rb +4 -4
  21. data/lib/octokit/client/organizations.rb +65 -20
  22. data/lib/octokit/client/pub_sub_hubbub.rb +2 -2
  23. data/lib/octokit/client/pulls.rb +91 -3
  24. data/lib/octokit/client/rate_limit.rb +20 -0
  25. data/lib/octokit/client/refs.rb +4 -4
  26. data/lib/octokit/client/repositories.rb +106 -37
  27. data/lib/octokit/client/say.rb +14 -0
  28. data/lib/octokit/client/statuses.rb +2 -2
  29. data/lib/octokit/client/users.rb +92 -24
  30. data/lib/octokit/connection.rb +21 -21
  31. data/lib/octokit/request.rb +47 -36
  32. data/lib/octokit/version.rb +1 -1
  33. data/octokit.gemspec +25 -25
  34. data/spec/fixtures/{v3/authorization.json → authorization.json} +0 -0
  35. data/spec/fixtures/{v3/authorizations.json → authorizations.json} +0 -0
  36. data/spec/fixtures/{v3/blob.json → blob.json} +0 -0
  37. data/spec/fixtures/{v3/blob_create.json → blob_create.json} +0 -0
  38. data/spec/fixtures/{v3/branches.json → branches.json} +0 -0
  39. data/spec/fixtures/{v3/collaborators.json → collaborators.json} +0 -0
  40. data/spec/fixtures/{v3/comment.json → comment.json} +0 -0
  41. data/spec/fixtures/{v3/comments.json → comments.json} +0 -0
  42. data/spec/fixtures/{v3/commit.json → commit.json} +0 -0
  43. data/spec/fixtures/{v3/commit_comment.json → commit_comment.json} +0 -0
  44. data/spec/fixtures/{v3/commit_comment_create.json → commit_comment_create.json} +0 -0
  45. data/spec/fixtures/{v3/commit_comment_update.json → commit_comment_update.json} +0 -0
  46. data/spec/fixtures/{v3/commit_comments.json → commit_comments.json} +0 -0
  47. data/spec/fixtures/{v3/commit_create.json → commit_create.json} +0 -0
  48. data/spec/fixtures/{v3/commits.json → commits.json} +0 -0
  49. data/spec/fixtures/{v3/compare.json → compare.json} +0 -0
  50. data/spec/fixtures/{v3/contents.json → contents.json} +0 -0
  51. data/spec/fixtures/{v3/contributors.json → contributors.json} +0 -0
  52. data/spec/fixtures/{v3/download.json → download.json} +0 -0
  53. data/spec/fixtures/{v3/download_create.json → download_create.json} +0 -0
  54. data/spec/fixtures/{v3/downloads.json → downloads.json} +0 -0
  55. data/spec/fixtures/{v3/emails.json → emails.json} +0 -0
  56. data/spec/fixtures/{v3/emojis.json → emojis.json} +0 -0
  57. data/spec/fixtures/{v3/followers.json → followers.json} +0 -0
  58. data/spec/fixtures/{v3/following.json → following.json} +0 -0
  59. data/spec/fixtures/{v3/forks.json → forks.json} +0 -0
  60. data/spec/fixtures/{v3/gist.json → gist.json} +0 -0
  61. data/spec/fixtures/{v3/gist_comment.json → gist_comment.json} +0 -0
  62. data/spec/fixtures/{v3/gist_comment_create.json → gist_comment_create.json} +0 -0
  63. data/spec/fixtures/{v3/gist_comment_update.json → gist_comment_update.json} +0 -0
  64. data/spec/fixtures/{v3/gist_comments.json → gist_comments.json} +0 -0
  65. data/spec/fixtures/{v3/gists.json → gists.json} +0 -0
  66. data/spec/fixtures/{v3/hook.json → hook.json} +0 -0
  67. data/spec/fixtures/{v3/hooks.json → hooks.json} +0 -0
  68. data/spec/fixtures/{v3/issue.json → issue.json} +0 -0
  69. data/spec/fixtures/{v3/issue_closed.json → issue_closed.json} +0 -0
  70. data/spec/fixtures/{v3/issue_event.json → issue_event.json} +0 -0
  71. data/spec/fixtures/{v3/issue_events.json → issue_events.json} +0 -0
  72. data/spec/fixtures/issue_full.json +38 -0
  73. data/spec/fixtures/{v3/issues.json → issues.json} +0 -0
  74. data/spec/fixtures/{v3/label.json → label.json} +0 -0
  75. data/spec/fixtures/{v3/labels.json → labels.json} +0 -0
  76. data/spec/fixtures/{v3/languages.json → languages.json} +0 -0
  77. data/spec/fixtures/{v3/list_commit_comments.json → list_commit_comments.json} +0 -0
  78. data/spec/fixtures/{v3/markdown_gfm → markdown_gfm} +0 -0
  79. data/spec/fixtures/{v3/merge.json → merge.json} +0 -0
  80. data/spec/fixtures/{v3/milestone.json → milestone.json} +0 -0
  81. data/spec/fixtures/{v3/milestones.json → milestones.json} +0 -0
  82. data/spec/fixtures/{v3/not_found.json → not_found.json} +0 -0
  83. data/spec/fixtures/notification_thread.json +32 -0
  84. data/spec/fixtures/notifications.json +32 -0
  85. data/spec/fixtures/{v3/organization-repositories.json → organization-repositories.json} +0 -0
  86. data/spec/fixtures/{v3/organization-repository.json → organization-repository.json} +0 -0
  87. data/spec/fixtures/{v3/organization.json → organization.json} +0 -0
  88. data/spec/fixtures/{v3/organization_members.json → organization_members.json} +0 -0
  89. data/spec/fixtures/{v3/organization_team_members.json → organization_team_members.json} +0 -0
  90. data/spec/fixtures/{v3/organization_team_repos.json → organization_team_repos.json} +0 -0
  91. data/spec/fixtures/{v3/organizations.json → organizations.json} +0 -0
  92. data/spec/fixtures/{v3/public_events.json → public_events.json} +0 -0
  93. data/spec/fixtures/{v3/public_gists.json → public_gists.json} +0 -0
  94. data/spec/fixtures/{v3/public_key.json → public_key.json} +0 -0
  95. data/spec/fixtures/public_key_update.json +5 -0
  96. data/spec/fixtures/{v3/public_keys.json → public_keys.json} +0 -0
  97. data/spec/fixtures/{v3/pull_created.json → pull_created.json} +0 -0
  98. data/spec/fixtures/{v3/pull_request.json → pull_request.json} +0 -0
  99. data/spec/fixtures/pull_request_comment.json +35 -0
  100. data/spec/fixtures/pull_request_comment_create.json +35 -0
  101. data/spec/fixtures/pull_request_comment_reply.json +35 -0
  102. data/spec/fixtures/pull_request_comment_update.json +35 -0
  103. data/spec/fixtures/{v3/pull_request_comments.json → pull_request_comments.json} +0 -0
  104. data/spec/fixtures/{v3/pull_request_commits.json → pull_request_commits.json} +0 -0
  105. data/spec/fixtures/{v3/pull_request_files.json → pull_request_files.json} +0 -0
  106. data/spec/fixtures/{v3/pull_request_merged.json → pull_request_merged.json} +0 -0
  107. data/spec/fixtures/{v3/pull_requests.json → pull_requests.json} +0 -0
  108. data/spec/fixtures/{v3/pull_update.json → pull_update.json} +0 -0
  109. data/spec/fixtures/{v3/readme.json → readme.json} +0 -0
  110. data/spec/fixtures/{v3/ref.json → ref.json} +0 -0
  111. data/spec/fixtures/{v3/ref_create.json → ref_create.json} +0 -0
  112. data/spec/fixtures/{v3/ref_update.json → ref_update.json} +0 -0
  113. data/spec/fixtures/{v3/refs.json → refs.json} +0 -0
  114. data/spec/fixtures/{v3/refs_tags.json → refs_tags.json} +0 -0
  115. data/spec/fixtures/{v3/repo_assignees.json → repo_assignees.json} +0 -0
  116. data/spec/fixtures/{v3/repo_events.json → repo_events.json} +0 -0
  117. data/spec/fixtures/{v3/repo_issues_events.json → repo_issues_events.json} +0 -0
  118. data/spec/fixtures/{v3/repositories.json → repositories.json} +0 -0
  119. data/spec/fixtures/{v3/repository.json → repository.json} +0 -0
  120. data/spec/fixtures/repository_notifications.json +32 -0
  121. data/spec/fixtures/say.txt +22 -0
  122. data/spec/fixtures/say_custom.txt +22 -0
  123. data/spec/fixtures/{v3/stargazers.json → stargazers.json} +0 -0
  124. data/spec/fixtures/{v3/starred.json → starred.json} +0 -0
  125. data/spec/fixtures/{v3/starred_gists.json → starred_gists.json} +0 -0
  126. data/spec/fixtures/{v3/status.json → status.json} +0 -0
  127. data/spec/fixtures/{v3/statuses.json → statuses.json} +0 -0
  128. data/spec/fixtures/subscribers.json +9 -0
  129. data/spec/fixtures/subscription.json +8 -0
  130. data/spec/fixtures/subscription_update.json +8 -0
  131. data/spec/fixtures/subscriptions.json +39 -0
  132. data/spec/fixtures/{v3/tag.json → tag.json} +0 -0
  133. data/spec/fixtures/{v3/tag_create.json → tag_create.json} +0 -0
  134. data/spec/fixtures/{v3/tags.json → tags.json} +0 -0
  135. data/spec/fixtures/{v3/team.json → team.json} +0 -0
  136. data/spec/fixtures/{v3/teams.json → teams.json} +0 -0
  137. data/spec/fixtures/thread_subscription.json +8 -0
  138. data/spec/fixtures/thread_subscription_update.json +8 -0
  139. data/spec/fixtures/{v3/tree.json → tree.json} +0 -0
  140. data/spec/fixtures/{v3/tree_create.json → tree_create.json} +0 -0
  141. data/spec/fixtures/{v3/user.json → user.json} +0 -0
  142. data/spec/fixtures/{v3/user_events.json → user_events.json} +0 -0
  143. data/spec/fixtures/validation_failed.json +11 -0
  144. data/spec/fixtures/{v3/watched.json → watched.json} +0 -0
  145. data/spec/fixtures/{v3/watchers.json → watchers.json} +0 -0
  146. data/spec/helper.rb +13 -2
  147. data/spec/octokit/client/authorizations_spec.rb +44 -7
  148. data/spec/octokit/client/commits_spec.rb +136 -11
  149. data/spec/octokit/client/contents_spec.rb +6 -3
  150. data/spec/octokit/client/downloads_spec.rb +5 -6
  151. data/spec/octokit/client/emojis_spec.rb +1 -1
  152. data/spec/octokit/client/events_spec.rb +5 -5
  153. data/spec/octokit/client/gists_spec.rb +20 -20
  154. data/spec/octokit/client/issue_events_spec.rb +2 -2
  155. data/spec/octokit/client/issues_spec.rb +25 -14
  156. data/spec/octokit/client/labels_spec.rb +18 -22
  157. data/spec/octokit/client/markdown_spec.rb +1 -1
  158. data/spec/octokit/client/milestones_spec.rb +8 -8
  159. data/spec/octokit/client/notifications_spec.rb +141 -0
  160. data/spec/octokit/client/objects_spec.rb +6 -6
  161. data/spec/octokit/client/organizations_spec.rb +65 -13
  162. data/spec/octokit/client/pub_sub_hubbub/service_hooks_spec.rb +4 -4
  163. data/spec/octokit/client/pub_sub_hubbub_spec.rb +3 -3
  164. data/spec/octokit/client/pulls_spec.rb +81 -10
  165. data/spec/octokit/client/refs_spec.rb +7 -7
  166. data/spec/octokit/client/repositories_spec.rb +86 -34
  167. data/spec/octokit/client/say_spec.rb +37 -0
  168. data/spec/octokit/client/statuses_spec.rb +2 -2
  169. data/spec/octokit/client/users_spec.rb +65 -16
  170. data/spec/octokit/client_spec.rb +37 -11
  171. data/spec/{repository_spec.rb → octokit/repository_spec.rb} +0 -0
  172. data/spec/octokit_spec.rb +1 -1
  173. metadata +240 -196
@@ -1,3 +1,3 @@
1
1
  module Octokit
2
- VERSION = "1.18.0" unless defined?(Octokit::VERSION)
2
+ VERSION = "1.19.0" unless defined?(Octokit::VERSION)
3
3
  end
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 |gem|
5
- gem.add_dependency 'addressable', '~> 2.2'
6
- gem.add_dependency 'faraday', '~> 0.8'
7
- gem.add_dependency 'faraday_middleware', '~> 0.8'
8
- gem.add_dependency 'hashie', '~> 1.2'
9
- gem.add_dependency 'multi_json', '~> 1.3'
10
- gem.add_development_dependency 'json', '~> 1.7'
11
- gem.add_development_dependency 'maruku'
12
- gem.add_development_dependency 'rake'
13
- gem.add_development_dependency 'rspec'
14
- gem.add_development_dependency 'simplecov'
15
- gem.add_development_dependency 'webmock'
16
- gem.add_development_dependency 'yard'
17
- gem.authors = ["Wynn Netherland", "Erik Michaels-Ober", "Clint Shryock"]
18
- gem.description = %q{Simple wrapper for the GitHub v3 API}
19
- gem.email = ['wynn.netherland@gmail.com', 'sferik@gmail.com', 'clint@ctshryock.com']
20
- gem.files = `git ls-files`.split("\n")
21
- gem.homepage = 'https://github.com/pengwynn/octokit'
22
- gem.name = 'octokit'
23
- gem.platform = Gem::Platform::RUBY
24
- gem.require_paths = ['lib']
25
- gem.required_rubygems_version = Gem::Requirement.new('>= 1.3.6')
26
- gem.summary = gem.description
27
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
28
- gem.version = Octokit::VERSION
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
@@ -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
@@ -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
+ ]
@@ -0,0 +1,5 @@
1
+ {
2
+ "id": 103205,
3
+ "key": "ssh-rsa BBBB...",
4
+ "title": "updated title"
5
+ }
@@ -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
+ }