octokit 1.25.0 → 2.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (502) hide show
  1. data/Rakefile +10 -7
  2. data/lib/octokit.rb +22 -15
  3. data/lib/octokit/arguments.rb +14 -0
  4. data/lib/octokit/authentication.rb +48 -25
  5. data/lib/octokit/client.rb +245 -44
  6. data/lib/octokit/client/authorizations.rb +36 -10
  7. data/lib/octokit/client/commit_comments.rb +96 -0
  8. data/lib/octokit/client/commits.rb +152 -94
  9. data/lib/octokit/client/contents.rb +32 -24
  10. data/lib/octokit/client/downloads.rb +11 -7
  11. data/lib/octokit/client/emojis.rb +3 -1
  12. data/lib/octokit/client/events.rb +62 -18
  13. data/lib/octokit/client/gists.rb +27 -26
  14. data/lib/octokit/client/gitignore.rb +7 -3
  15. data/lib/octokit/client/issues.rb +43 -71
  16. data/lib/octokit/client/labels.rb +24 -20
  17. data/lib/octokit/client/legacy_search.rb +78 -0
  18. data/lib/octokit/client/markdown.rb +6 -1
  19. data/lib/octokit/client/meta.rb +21 -0
  20. data/lib/octokit/client/milestones.rb +13 -9
  21. data/lib/octokit/client/notifications.rb +24 -64
  22. data/lib/octokit/client/objects.rb +17 -12
  23. data/lib/octokit/client/organizations.rb +43 -52
  24. data/lib/octokit/client/pub_sub_hubbub.rb +68 -8
  25. data/lib/octokit/client/{pulls.rb → pull_requests.rb} +65 -41
  26. data/lib/octokit/client/rate_limit.rb +42 -8
  27. data/lib/octokit/client/refs.rb +16 -10
  28. data/lib/octokit/client/repositories.rb +73 -124
  29. data/lib/octokit/client/say.rb +7 -1
  30. data/lib/octokit/client/service_status.rb +39 -0
  31. data/lib/octokit/client/stats.rb +12 -6
  32. data/lib/octokit/client/statuses.rb +8 -29
  33. data/lib/octokit/client/users.rb +56 -75
  34. data/lib/octokit/configurable.rb +117 -0
  35. data/lib/octokit/default.rb +140 -0
  36. data/lib/octokit/error.rb +6 -5
  37. data/lib/octokit/gist.rb +11 -0
  38. data/lib/octokit/rate_limit.rb +22 -0
  39. data/lib/octokit/repo_arguments.rb +19 -0
  40. data/lib/octokit/repository.rb +11 -4
  41. data/lib/octokit/response/raise_error.rb +35 -0
  42. data/lib/octokit/version.rb +5 -1
  43. data/octokit.gemspec +4 -9
  44. data/spec/cassettes/Octokit_Client/_get/handles_query_params.json +1 -0
  45. data/spec/cassettes/Octokit_Client/_head/handles_query_params.json +1 -0
  46. data/spec/cassettes/Octokit_Client/_last_response/caches_the_last_agent_response.json +1 -0
  47. data/spec/cassettes/Octokit_Client/authentication/when_token_authenticated/fetches_and_memoizes_login.json +1 -0
  48. data/spec/cassettes/Octokit_Client/auto_pagination/fetches_all_the_pages.json +1 -0
  49. data/spec/cassettes/Octokit_Client/error_handling/raises_on_404.json +1 -0
  50. data/spec/cassettes/Octokit_Client_Authorizations/_authorization/returns_a_single_authorization.json +1 -0
  51. data/spec/cassettes/Octokit_Client_Authorizations/_authorizations/lists_existing_authorizations.json +1 -0
  52. data/spec/cassettes/Octokit_Client_Authorizations/_create_authorization/creates_a_new_authorization_with_options.json +1 -0
  53. data/spec/cassettes/Octokit_Client_Authorizations/_create_authorization/creates_an_API_authorization.json +1 -0
  54. data/spec/cassettes/Octokit_Client_Authorizations/_scopes/checks_the_scopes_on_a_one-off_token.json +1 -0
  55. data/spec/cassettes/Octokit_Client_Authorizations/_scopes/checks_the_scopes_on_the_current_token.json +1 -0
  56. data/spec/cassettes/Octokit_Client_Authorizations/_update_authorization/updates_and_existing_authorization.json +1 -0
  57. data/spec/cassettes/Octokit_Client_CommitComments/_commit_comment/returns_a_single_commit_comment.json +1 -0
  58. data/spec/cassettes/Octokit_Client_CommitComments/_commit_comments/returns_a_list_of_comments_for_a_specific_commit.json +1 -0
  59. data/spec/cassettes/Octokit_Client_CommitComments/_create_commit_comment/creates_a_commit_comment.json +1 -0
  60. data/spec/cassettes/Octokit_Client_CommitComments/_delete_commit_comment/deletes_a_commit_comment.json +1 -0
  61. data/spec/cassettes/Octokit_Client_CommitComments/_list_commit_comments/returns_a_list_of_all_commit_comments.json +1 -0
  62. data/spec/cassettes/Octokit_Client_CommitComments/_update_commit_comment/updates_a_commit_comment.json +1 -0
  63. data/spec/cassettes/Octokit_Client_Commits/_commit/returns_a_commit.json +1 -0
  64. data/spec/cassettes/Octokit_Client_Commits/_commits/handles_branch_or_sha_argument.json +1 -0
  65. data/spec/cassettes/Octokit_Client_Commits/_commits/handles_the_sha_option.json +1 -0
  66. data/spec/cassettes/Octokit_Client_Commits/_commits/returns_all_commits.json +1 -0
  67. data/spec/cassettes/Octokit_Client_Commits/_commits_before/handles_branch_or_sha_argument.json +1 -0
  68. data/spec/cassettes/Octokit_Client_Commits/_commits_before/handles_the_sha_option.json +1 -0
  69. data/spec/cassettes/Octokit_Client_Commits/_commits_before/returns_all_commits_until_the_specified_date.json +1 -0
  70. data/spec/cassettes/Octokit_Client_Commits/_commits_between/handles_branch_or_sha_argument.json +1 -0
  71. data/spec/cassettes/Octokit_Client_Commits/_commits_between/handles_the_sha_option.json +1 -0
  72. data/spec/cassettes/Octokit_Client_Commits/_commits_between/returns_all_commits_until_the_specified_date.json +1 -0
  73. data/spec/cassettes/Octokit_Client_Commits/_commits_on/handles_branch_or_sha_argument.json +1 -0
  74. data/spec/cassettes/Octokit_Client_Commits/_commits_on/handles_the_sha_option.json +1 -0
  75. data/spec/cassettes/Octokit_Client_Commits/_commits_on/returns_all_commits_on_the_specified_date.json +1 -0
  76. data/spec/cassettes/Octokit_Client_Commits/_commits_since/handles_branch_or_sha_argument.json +1 -0
  77. data/spec/cassettes/Octokit_Client_Commits/_commits_since/handles_the_sha_option.json +1 -0
  78. data/spec/cassettes/Octokit_Client_Commits/_commits_since/returns_all_commits_since_the_specified_date.json +1 -0
  79. data/spec/cassettes/Octokit_Client_Commits/_compare/returns_a_comparison.json +1 -0
  80. data/spec/cassettes/Octokit_Client_Commits/_create_commit/creates_a_commit.json +1 -0
  81. data/spec/cassettes/Octokit_Client_Commits/_merge/merges_a_branch_into_another.json +1 -0
  82. data/spec/cassettes/Octokit_Client_Contents/_archive_link/returns_the_headers_of_the_request.json +1 -0
  83. data/spec/cassettes/Octokit_Client_Contents/_contents/returns_the_contents_of_a_file.json +1 -0
  84. data/spec/cassettes/Octokit_Client_Contents/_create_contents/creates_contents_from_File_object.json +1 -0
  85. data/spec/cassettes/Octokit_Client_Contents/_create_contents/creates_contents_from_file_path.json +1 -0
  86. data/spec/cassettes/Octokit_Client_Contents/_create_contents/creates_repository_contents_at_a_path.json +1 -0
  87. data/spec/cassettes/Octokit_Client_Contents/_delete_contents/deletes_repository_contents_at_a_path.json +1 -0
  88. data/spec/cassettes/Octokit_Client_Contents/_readme/returns_the_default_readme.json +1 -0
  89. data/spec/cassettes/Octokit_Client_Contents/_update_contents/updates_repository_contents_at_a_path.json +1 -0
  90. data/spec/cassettes/Octokit_Client_Downloads/_download/gets_a_single_download.json +1 -0
  91. data/spec/cassettes/Octokit_Client_Downloads/_downloads/lists_available_downloads.json +1 -0
  92. data/spec/cassettes/Octokit_Client_Downloads/methods_that_require_a_download/_create_download/creates_a_download_resource.json +1 -0
  93. data/spec/cassettes/Octokit_Client_Downloads/methods_that_require_a_download/_create_download/posts_to_an_S3_url.json +1 -0
  94. data/spec/cassettes/Octokit_Client_Downloads/methods_that_require_a_download/_delete_download/deletes_a_download.json +1 -0
  95. data/spec/cassettes/Octokit_Client_Emojis/_emojis/returns_all_github_emojis.json +1 -0
  96. data/spec/cassettes/Octokit_Client_Events/_issue_event/lists_issue_events_for_a_repository.json +1 -0
  97. data/spec/cassettes/Octokit_Client_Events/_issue_events/lists_issue_events_for_a_repository.json +1 -0
  98. data/spec/cassettes/Octokit_Client_Events/_organization_events/returns_all_events_for_an_organization.json +1 -0
  99. data/spec/cassettes/Octokit_Client_Events/_organization_public_events/returns_an_organization_s_public_events.json +1 -0
  100. data/spec/cassettes/Octokit_Client_Events/_public_events/returns_all_public_events.json +1 -0
  101. data/spec/cassettes/Octokit_Client_Events/_received_events/returns_all_user_received_events.json +1 -0
  102. data/spec/cassettes/Octokit_Client_Events/_received_public_events/returns_public_user_received_events.json +1 -0
  103. data/spec/cassettes/Octokit_Client_Events/_repo_issue_events/lists_issue_events_for_a_repository.json +1 -0
  104. data/spec/cassettes/Octokit_Client_Events/_repository_events/returns_events_for_a_repository.json +1 -0
  105. data/spec/cassettes/Octokit_Client_Events/_repository_network_events/returns_events_for_a_repository_s_network.json +1 -0
  106. data/spec/cassettes/Octokit_Client_Events/_user_events/returns_all_user_events.json +1 -0
  107. data/spec/cassettes/Octokit_Client_Events/_user_public_events/returns_public_events_performed_by_a_user.json +1 -0
  108. data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_gist/returns_the_gist_by_ID.json +1 -0
  109. data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_gists/with_username_passed/returns_a_list_of_gists.json +1 -0
  110. data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_gists/without_a_username_passed/returns_a_list_of_gists.json +1 -0
  111. data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_public_gists/returns_public_gists.json +1 -0
  112. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_create_gist/creates_a_new_gist.json +1 -0
  113. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_create_gist_comment/creates_a_gist_comment.json +1 -0
  114. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_delete_gist/deletes_an_existing_gist.json +1 -0
  115. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_delete_gist_comment/deletes_a_gist_comment.json +1 -0
  116. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_edit_gist/edit_an_existing_gist.json +1 -0
  117. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_fork_gist/forks_an_existing_gist.json +1 -0
  118. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_comment/returns_a_gist_comment.json +1 -0
  119. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_comments/returns_the_list_of_gist_comments.json +1 -0
  120. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_starred_/is_not_starred.json +1 -0
  121. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_starred_/is_starred.json +1 -0
  122. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gists/returns_a_list_of_gists.json +1 -0
  123. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_star_gist/stars_an_existing_gist.json +1 -0
  124. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_starred_gists/returns_the_user_s_starred_gists.json +1 -0
  125. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_unstar_gist/unstars_an_existing_gist.json +1 -0
  126. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_update_gist_comment/updates_a_gist_comment.json +1 -0
  127. data/spec/cassettes/Octokit_Client_Gitignore/_gitignore_template/returns_the_ruby_gitignore_template.json +1 -0
  128. data/spec/cassettes/Octokit_Client_Gitignore/_gitignore_templates/returns_all_gitignore_templates.json +1 -0
  129. data/spec/cassettes/Octokit_Client_Issues/_create_issue/creates_an_issue.json +1 -0
  130. data/spec/cassettes/Octokit_Client_Issues/_create_issue/creates_an_issue_with_delimited_labels.json +1 -0
  131. data/spec/cassettes/Octokit_Client_Issues/_create_issue/creates_an_issue_with_labels_array.json +1 -0
  132. data/spec/cassettes/Octokit_Client_Issues/_issue_comment/returns_a_single_comment_for_an_issue.json +1 -0
  133. data/spec/cassettes/Octokit_Client_Issues/_issue_comments/returns_comments_for_an_issue.json +1 -0
  134. data/spec/cassettes/Octokit_Client_Issues/_list_issues/returns_dashboard_issues_for_the_authenticated_user.json +1 -0
  135. data/spec/cassettes/Octokit_Client_Issues/_list_issues/returns_issues_for_a_repository.json +1 -0
  136. data/spec/cassettes/Octokit_Client_Issues/_org_issues/returns_issues_for_the_organization_for_the_authenticated_user.json +1 -0
  137. data/spec/cassettes/Octokit_Client_Issues/_repository_issues_comments/returns_comments_for_all_issues_in_a_repository.json +1 -0
  138. data/spec/cassettes/Octokit_Client_Issues/_user_issues/returns_issues_for_the_authenticated_user_for_owned_and_member_repos.json +1 -0
  139. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_add_comment/adds_a_comment.json +1 -0
  140. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_close_issue/closes_an_issue.json +1 -0
  141. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_issue/returns_a_full_issue.json +1 -0
  142. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_issue/returns_an_issue.json +1 -0
  143. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_reopen_issue/reopens_an_issue.json +1 -0
  144. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_update_issue/updates_an_issue.json +1 -0
  145. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/methods_requiring_a_new_issue_comment/_delete_comment/deletes_an_existing_comment.json +1 -0
  146. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/methods_requiring_a_new_issue_comment/_update_comment/updates_an_existing_comment.json +1 -0
  147. data/spec/cassettes/Octokit_Client_Labels/_add_label/adds_a_label_with_a_color.json +1 -0
  148. data/spec/cassettes/Octokit_Client_Labels/_add_label/adds_a_label_with_default_color.json +1 -0
  149. data/spec/cassettes/Octokit_Client_Labels/_delete_label_/deletes_a_label_from_the_repository.json +1 -0
  150. data/spec/cassettes/Octokit_Client_Labels/_label/returns_a_single_label.json +1 -0
  151. data/spec/cassettes/Octokit_Client_Labels/_labels/returns_labels.json +1 -0
  152. data/spec/cassettes/Octokit_Client_Labels/_lables_for_milestone/returns_all_labels_for_a_repository.json +1 -0
  153. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_add_labels_to_an_issue/adds_labels_to_a_given_issue.json +1 -0
  154. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_labels_for_issue/returns_all_labels_for_a_given_issue.json +1 -0
  155. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_remove_all_labels/removes_all_labels_from_the_specified_issue.json +1 -0
  156. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_remove_label/removes_a_label_from_the_specified_issue.json +1 -0
  157. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_replace_all_labels/replaces_all_labels_for_an_issue.json +1 -0
  158. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_label/_update_label/updates_a_label_with_a_new_color.json +1 -0
  159. data/spec/cassettes/Octokit_Client_LegacySearch/_legacy_search_issues/returns_matching_issues.json +1 -0
  160. data/spec/cassettes/Octokit_Client_LegacySearch/_legacy_search_repos/returns_matching_repositories.json +1 -0
  161. data/spec/cassettes/Octokit_Client_LegacySearch/_legacy_search_users/returns_matching_username.json +1 -0
  162. data/spec/cassettes/Octokit_Client_Markdown/_markdown/renders_markdown.json +1 -0
  163. data/spec/cassettes/Octokit_Client_Meta/_github_meta/returns_meta_information_about_github.json +1 -0
  164. data/spec/cassettes/Octokit_Client_Milestones/_list_milestones/lists_milestones_belonging_to_repository.json +1 -0
  165. data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_create_milestone/creates_a_milestone.json +1 -0
  166. data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_delete_milestone/deletes_a_milestone_from_a_repository.json +1 -0
  167. data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_milestone/gets_a_single_milestone_belonging_to_repository.json +1 -0
  168. data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_update_milestone/updates_a_milestone.json +1 -0
  169. data/spec/cassettes/Octokit_Client_Notifications/_mark_notifications_as_read/returns_true_when_notifications_are_marked_as_read.json +1 -0
  170. data/spec/cassettes/Octokit_Client_Notifications/_mark_repository_notifications_as_read/returns_true_when_notifications_for_a_repo_are_marked_as_read.json +1 -0
  171. data/spec/cassettes/Octokit_Client_Notifications/_notifications/lists_the_notifications_for_the_current_user.json +1 -0
  172. data/spec/cassettes/Octokit_Client_Notifications/_repository_notifications/lists_all_notifications_for_a_repository.json +1 -0
  173. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_delete_thread_subscription/returns_true_with_successful_thread_deletion.json +1 -0
  174. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_mark_thread_as_read/marks_a_thread_as_read.json +1 -0
  175. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_thread_notifications/returns_notifications_for_a_specific_thread.json +1 -0
  176. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_thread_subscription/returns_a_thread_subscription.json +1 -0
  177. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_update_thread_subscription/updates_a_thread_subscription.json +1 -0
  178. data/spec/cassettes/Octokit_Client_Objects/_blob/returns_a_blob.json +1 -0
  179. data/spec/cassettes/Octokit_Client_Objects/_create_blob/creates_a_blob.json +1 -0
  180. data/spec/cassettes/Octokit_Client_Objects/_create_tag/creates_a_tag.json +1 -0
  181. data/spec/cassettes/Octokit_Client_Objects/_create_tree/creates_a_tree.json +1 -0
  182. data/spec/cassettes/Octokit_Client_Objects/_tag/returns_a_tag.json +1 -0
  183. data/spec/cassettes/Octokit_Client_Objects/_tree/gets_a_tree.json +1 -0
  184. data/spec/cassettes/Octokit_Client_Objects/_tree/gets_a_tree_recursively.json +1 -0
  185. data/spec/cassettes/Octokit_Client_Organizations/_organization/returns_an_organization.json +1 -0
  186. data/spec/cassettes/Octokit_Client_Organizations/_organization_member_/checks_organization_membership.json +1 -0
  187. data/spec/cassettes/Octokit_Client_Organizations/_organization_members/returns_all_public_members_of_an_organization.json +1 -0
  188. data/spec/cassettes/Octokit_Client_Organizations/_organization_public_member_/checks_publicized_org_membership.json +1 -0
  189. data/spec/cassettes/Octokit_Client_Organizations/_organization_repositories/returns_all_public_repositories_for_an_organization.json +1 -0
  190. data/spec/cassettes/Octokit_Client_Organizations/_organization_teams/returns_all_teams_for_an_organization.json +1 -0
  191. data/spec/cassettes/Octokit_Client_Organizations/_organizations/returns_all_organizations_for_a_user.json +1 -0
  192. data/spec/cassettes/Octokit_Client_Organizations/_organizations/returns_all_organizations_for_the_authenticated_user.json +1 -0
  193. data/spec/cassettes/Octokit_Client_Organizations/_update_organization/updates_an_organization.json +1 -0
  194. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_add_team_member/adds_a_team_member.json +1 -0
  195. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_add_team_repository/adds_a_team_repository.json +1 -0
  196. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_create_team/creates_a_team.json +1 -0
  197. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_delete_team/deletes_a_team.json +1 -0
  198. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_publicize_membership/publicizes_membership.json +1 -0
  199. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_remove_team_member/removes_a_team_member.json +1 -0
  200. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_remove_team_repository/removes_a_team_repository.json +1 -0
  201. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team/returns_a_team.json +1 -0
  202. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team_member_/checks_if_a_user_is_member_of_a_team.json +1 -0
  203. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team_members/returns_team_members.json +1 -0
  204. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team_repositories/returns_team_repositories.json +1 -0
  205. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_unpublicize_membership/unpublicizes_membership.json +1 -0
  206. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_update_team/updates_a_team.json +1 -0
  207. data/spec/cassettes/Octokit_Client_PubSubHubbub/_subscribe/raises_an_error_when_topic_is_not_recognized.json +1 -0
  208. data/spec/cassettes/Octokit_Client_PubSubHubbub/_subscribe/subscribes_to_pull_events.json +1 -0
  209. data/spec/cassettes/Octokit_Client_PubSubHubbub/_subscribe_service_hook/subscribes_to_pull_events_on_specified_topic.json +1 -0
  210. data/spec/cassettes/Octokit_Client_PubSubHubbub/_unsubscribe/unsubscribes_from_pull_events.json +1 -0
  211. data/spec/cassettes/Octokit_Client_PubSubHubbub/unsubscribe_service_hook/unsubscribes_to_stop_receiving_events_on_specified_topic.json +1 -0
  212. data/spec/cassettes/Octokit_Client_PullRequests/_create_pull_request_for_issue/creates_a_pull_request_and_attach_it_to_an_existing_issue.json +1 -0
  213. data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_comment/returns_a_comment_on_a_pull_request.json +1 -0
  214. data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_comments/returns_the_comments_for_a_pull_request.json +1 -0
  215. data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_commits/returns_the_commits_for_a_pull_request.json +1 -0
  216. data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_files/lists_files_for_a_pull_request.json +1 -0
  217. data/spec/cassettes/Octokit_Client_PullRequests/_pull_requests/returns_all_pull_requests.json +1 -0
  218. data/spec/cassettes/Octokit_Client_PullRequests/_pull_requests_comments/returns_all_comments_on_all_pull_requests.json +1 -0
  219. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_close_pull_request/closes_a_pull_request.json +1 -0
  220. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_create_pull_request/creates_a_pull_request.json +1 -0
  221. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_merge_pull_request/merges_the_pull_request.json +1 -0
  222. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_pull_merged_/returns_whether_the_pull_request_has_been_merged.json +1 -0
  223. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_pull_request/returns_a_pull_request.json +1 -0
  224. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_update_pull_request/updates_a_pull_request.json +1 -0
  225. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/methods_requiring_a_pull_request_comment/_create_pull_request_comment/creates_a_new_comment_on_a_pull_request.json +1 -0
  226. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/methods_requiring_a_pull_request_comment/_create_pull_request_comment_reply/creates_a_new_reply_to_a_pull_request_comment.json +1 -0
  227. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/methods_requiring_a_pull_request_comment/_delete_pull_request_comment/deletes_a_pull_request_comment.json +1 -0
  228. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/methods_requiring_a_pull_request_comment/_update_pull_request_comment/updates_a_pull_request_comment.json +1 -0
  229. data/spec/cassettes/Octokit_Client_Refs/_ref/returns_a_tags_ref.json +1 -0
  230. data/spec/cassettes/Octokit_Client_Refs/_refs/returns_all_refs.json +1 -0
  231. data/spec/cassettes/Octokit_Client_Refs/_refs/returns_all_tag_refs.json +1 -0
  232. data/spec/cassettes/Octokit_Client_Refs/methods_that_require_a_ref/_create_ref/creates_a_ref.json +1 -0
  233. data/spec/cassettes/Octokit_Client_Refs/methods_that_require_a_ref/_delete_ref/deletes_an_existing_ref.json +1 -0
  234. data/spec/cassettes/Octokit_Client_Refs/methods_that_require_a_ref/_update_ref/updates_a_ref.json +1 -0
  235. data/spec/cassettes/Octokit_Client_Repositories/_all_repositories/returns_all_repositories_on_github.json +1 -0
  236. data/spec/cassettes/Octokit_Client_Repositories/_assignees/lists_all_the_available_assignees_owner_collaborators_.json +1 -0
  237. data/spec/cassettes/Octokit_Client_Repositories/_branches/returns_a_repository_s_branches.json +1 -0
  238. data/spec/cassettes/Octokit_Client_Repositories/_branches/returns_a_single_branch.json +1 -0
  239. data/spec/cassettes/Octokit_Client_Repositories/_check_assignee/checks_to_see_if_a_particular_user_is_an_assignee_for_a_repository.json +1 -0
  240. data/spec/cassettes/Octokit_Client_Repositories/_collaborators/returns_a_repository_s_collaborators.json +1 -0
  241. data/spec/cassettes/Octokit_Client_Repositories/_contributors/returns_repository_contributors.json +1 -0
  242. data/spec/cassettes/Octokit_Client_Repositories/_contributors/returns_repository_contributors_excluding_anonymous.json +1 -0
  243. data/spec/cassettes/Octokit_Client_Repositories/_create_repository/creates_a_repository_for_an_organization.json +1 -0
  244. data/spec/cassettes/Octokit_Client_Repositories/_delete_subscription/returns_true_when_repo_subscription_deleted.json +1 -0
  245. data/spec/cassettes/Octokit_Client_Repositories/_fork/forks_a_repository.json +1 -0
  246. data/spec/cassettes/Octokit_Client_Repositories/_languages/returns_a_repository_s_languages.json +1 -0
  247. data/spec/cassettes/Octokit_Client_Repositories/_network/returns_a_repository_s_network.json +1 -0
  248. data/spec/cassettes/Octokit_Client_Repositories/_repositories/returns_a_user_s_repositories.json +1 -0
  249. data/spec/cassettes/Octokit_Client_Repositories/_repositories/returns_authenticated_user_s_repositories.json +1 -0
  250. data/spec/cassettes/Octokit_Client_Repositories/_repository/returns_the_matching_repository.json +1 -0
  251. data/spec/cassettes/Octokit_Client_Repositories/_repository_/returns_false_if_the_repository_doesn_t_exist.json +1 -0
  252. data/spec/cassettes/Octokit_Client_Repositories/_repository_/returns_true_if_the_repository_exists.json +1 -0
  253. data/spec/cassettes/Octokit_Client_Repositories/_star/stars_a_repository.json +1 -0
  254. data/spec/cassettes/Octokit_Client_Repositories/_stargazers/returns_all_repository_stargazers.json +1 -0
  255. data/spec/cassettes/Octokit_Client_Repositories/_subscribers/lists_all_the_users_watching_the_repository.json +1 -0
  256. data/spec/cassettes/Octokit_Client_Repositories/_subscription/returns_a_repository_subscription.json +1 -0
  257. data/spec/cassettes/Octokit_Client_Repositories/_tags/returns_a_repository_s_tags.json +1 -0
  258. data/spec/cassettes/Octokit_Client_Repositories/_unstar/unstars_a_repository.json +1 -0
  259. data/spec/cassettes/Octokit_Client_Repositories/_unwatch/unwatches_a_repository.json +1 -0
  260. data/spec/cassettes/Octokit_Client_Repositories/_update_subscription/updates_a_repository_subscription.json +1 -0
  261. data/spec/cassettes/Octokit_Client_Repositories/_watch/watches_a_repository.json +1 -0
  262. data/spec/cassettes/Octokit_Client_Repositories/_watchers/returns_all_repository_watchers.json +1 -0
  263. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_add_collaborator/adds_a_repository_collaborators.json +1 -0
  264. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_create_repository/creates_a_repository.json +1 -0
  265. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_delete_repository/deletes_a_repository.json +1 -0
  266. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_deploy_keys/returns_a_repository_s_deploy_keys.json +1 -0
  267. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_hooks/returns_a_repository_s_hooks.json +1 -0
  268. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_remove_collaborator/removes_a_repository_collaborators.json +1 -0
  269. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_repository_teams/returns_all_repository_teams.json +1 -0
  270. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_update_repository/updates_the_matching_repository.json +1 -0
  271. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_requiring_an_existing_deploy_key/_add_deploy_key/adds_a_repository_deploy_keys.json +1 -0
  272. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_create_hook/creates_a_hook.json +1 -0
  273. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_edit_hook/edits_a_hook.json +1 -0
  274. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_hook/returns_a_repository_s_single_hook.json +1 -0
  275. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_remove_hook/removes_a_hook.json +1 -0
  276. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_test_hook/tests_a_hook.json +1 -0
  277. data/spec/cassettes/Octokit_Client_Say/_say/returns_an_ASCII_octocat.json +1 -0
  278. data/spec/cassettes/Octokit_Client_Say/_say/returns_an_ASCII_octocat_with_custom_text.json +1 -0
  279. data/spec/cassettes/Octokit_Client_ServiceStatus/_github_status/returns_the_current_system_status.json +1 -0
  280. data/spec/cassettes/Octokit_Client_ServiceStatus/_github_status/returns_the_most_recent_status_messages.json +1 -0
  281. data/spec/cassettes/Octokit_Client_ServiceStatus/_github_status_last_message/returns_the_last_human_message.json +1 -0
  282. data/spec/cassettes/Octokit_Client_Stats/_code_frequency_stats/returns_the_code_frequency_stats.json +1 -0
  283. data/spec/cassettes/Octokit_Client_Stats/_commit_activity_stats/returns_the_commit_activity_stats.json +1 -0
  284. data/spec/cassettes/Octokit_Client_Stats/_contributors_stats/returns_contributors_and_their_contribution_stats.json +1 -0
  285. data/spec/cassettes/Octokit_Client_Stats/_participation_stats/returns_the_owner_and_contributor_participation_stats.json +1 -0
  286. data/spec/cassettes/Octokit_Client_Stats/_punch_card_stats/returns_commit_count_by_hour_punch_card_stats.json +1 -0
  287. data/spec/cassettes/Octokit_Client_Statuses/_create_status/creates_status.json +1 -0
  288. data/spec/cassettes/Octokit_Client_Statuses/_statuses/lists_commit_statuses.json +1 -0
  289. data/spec/cassettes/Octokit_Client_Users/_add_email/adds_an_email_address.json +1 -0
  290. data/spec/cassettes/Octokit_Client_Users/_all_users/returns_all_GitHub_users.json +1 -0
  291. data/spec/cassettes/Octokit_Client_Users/_emails/returns_email_addresses.json +1 -0
  292. data/spec/cassettes/Octokit_Client_Users/_follow/follows_a_user.json +1 -0
  293. data/spec/cassettes/Octokit_Client_Users/_followers/returns_followers_for_a_user.json +1 -0
  294. data/spec/cassettes/Octokit_Client_Users/_followers/returns_the_authenticated_user_s_followers.json +1 -0
  295. data/spec/cassettes/Octokit_Client_Users/_following/returns_following_for_a_user.json +1 -0
  296. data/spec/cassettes/Octokit_Client_Users/_following/returns_the_authenticated_user_s_following.json +1 -0
  297. data/spec/cassettes/Octokit_Client_Users/_follows_/checks_if_the_authenticated_user_follows_another.json +1 -0
  298. data/spec/cassettes/Octokit_Client_Users/_keys/returns_public_keys_for_the_authenticated_user.json +1 -0
  299. data/spec/cassettes/Octokit_Client_Users/_remove_email/removes_an_email_address.json +1 -0
  300. data/spec/cassettes/Octokit_Client_Users/_starred/returns_starred_repositories_for_a_user.json +1 -0
  301. data/spec/cassettes/Octokit_Client_Users/_starred/returns_starred_repositories_for_the_authenticated_user.json +1 -0
  302. data/spec/cassettes/Octokit_Client_Users/_starred_/checks_if_the_authenticated_user_has_starred_a_repository.json +1 -0
  303. data/spec/cassettes/Octokit_Client_Users/_subscriptions/returns_the_repositories_a_user_watches_for_notifications.json +1 -0
  304. data/spec/cassettes/Octokit_Client_Users/_subscriptions/returns_the_repositories_the_authenticated_user_watches_for_notifications.json +1 -0
  305. data/spec/cassettes/Octokit_Client_Users/_unfollow/unfollows_a_user.json +1 -0
  306. data/spec/cassettes/Octokit_Client_Users/_update_user/updates_a_user_profile.json +1 -0
  307. data/spec/cassettes/Octokit_Client_Users/_user/returns_a_user.json +1 -0
  308. data/spec/cassettes/Octokit_Client_Users/_user/returns_the_authenticated_user.json +1 -0
  309. data/spec/cassettes/Octokit_Client_Users/_user_keys/returns_public_keys_for_another_user.json +1 -0
  310. data/spec/cassettes/Octokit_Client_Users/_validate_credentials/validates_username_and_password.json +1 -0
  311. data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_add_key/adds_a_public_key.json +1 -0
  312. data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_key/returns_a_public_key.json +1 -0
  313. data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_remove_key/removes_a_public_key.json +1 -0
  314. data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_update_key/updates_a_public_key.json +1 -0
  315. data/spec/cassettes/delete_authorization.json +1 -0
  316. data/spec/cassettes/rate_limit.json +1 -0
  317. data/spec/cassettes/root.json +1 -0
  318. data/spec/fixtures/user.json +29 -18
  319. data/spec/fixtures/{user_token.json → web_flow_token.json} +0 -0
  320. data/spec/helper.rb +49 -22
  321. data/spec/octokit/client/authorizations_spec.rb +69 -80
  322. data/spec/octokit/client/commit_comments_spec.rb +62 -0
  323. data/spec/octokit/client/commits_spec.rb +93 -226
  324. data/spec/octokit/client/contents_spec.rb +64 -119
  325. data/spec/octokit/client/downloads_spec.rb +34 -38
  326. data/spec/octokit/client/emojis_spec.rb +5 -11
  327. data/spec/octokit/client/events_spec.rb +67 -51
  328. data/spec/octokit/client/gists_spec.rb +148 -142
  329. data/spec/octokit/client/gitignore_spec.rb +11 -14
  330. data/spec/octokit/client/issues_spec.rb +129 -161
  331. data/spec/octokit/client/labels_spec.rb +81 -114
  332. data/spec/octokit/client/legacy_search_spec.rb +42 -0
  333. data/spec/octokit/client/markdown_spec.rb +9 -12
  334. data/spec/octokit/client/meta_spec.rb +14 -0
  335. data/spec/octokit/client/milestones_spec.rb +40 -48
  336. data/spec/octokit/client/notifications_spec.rb +57 -113
  337. data/spec/octokit/client/objects_spec.rb +36 -74
  338. data/spec/octokit/client/organizations_spec.rb +140 -262
  339. data/spec/octokit/client/pub_sub_hubbub_spec.rb +58 -49
  340. data/spec/octokit/client/pull_requests_spec.rb +186 -0
  341. data/spec/octokit/client/rate_limit_spec.rb +40 -0
  342. data/spec/octokit/client/refs_spec.rb +47 -56
  343. data/spec/octokit/client/repositories_spec.rb +301 -438
  344. data/spec/octokit/client/say_spec.rb +8 -22
  345. data/spec/octokit/client/service_status_spec.rb +37 -0
  346. data/spec/octokit/client/stats_spec.rb +82 -32
  347. data/spec/octokit/client/statuses_spec.rb +11 -51
  348. data/spec/octokit/client/users_spec.rb +144 -348
  349. data/spec/octokit/client_spec.rb +345 -195
  350. data/spec/octokit/rate_limit_spec.rb +25 -0
  351. data/spec/octokit_spec.rb +31 -15
  352. metadata +585 -387
  353. data/lib/faraday/response/raise_octokit_error.rb +0 -25
  354. data/lib/octokit/client/github.rb +0 -19
  355. data/lib/octokit/client/pub_sub_hubbub/service_hooks.rb +0 -37
  356. data/lib/octokit/configuration.rb +0 -77
  357. data/lib/octokit/connection.rb +0 -53
  358. data/lib/octokit/request.rb +0 -110
  359. data/spec/faraday/response_spec.rb +0 -63
  360. data/spec/fixtures/all_repositories.json +0 -122
  361. data/spec/fixtures/all_users.json +0 -34
  362. data/spec/fixtures/authorization.json +0 -16
  363. data/spec/fixtures/authorizations.json +0 -66
  364. data/spec/fixtures/blob.json +0 -7
  365. data/spec/fixtures/blob_create.json +0 -3
  366. data/spec/fixtures/branches.json +0 -16
  367. data/spec/fixtures/code_frequency_stats.json +0 -897
  368. data/spec/fixtures/collaborators.json +0 -62
  369. data/spec/fixtures/comment.json +0 -14
  370. data/spec/fixtures/comments.json +0 -44
  371. data/spec/fixtures/commit.json +0 -50
  372. data/spec/fixtures/commit_activity_stats.json +0 -678
  373. data/spec/fixtures/commit_comment.json +0 -19
  374. data/spec/fixtures/commit_comment_create.json +0 -19
  375. data/spec/fixtures/commit_comment_update.json +0 -19
  376. data/spec/fixtures/commit_comments.json +0 -78
  377. data/spec/fixtures/commit_create.json +0 -25
  378. data/spec/fixtures/commits.json +0 -1414
  379. data/spec/fixtures/compare.json +0 -98
  380. data/spec/fixtures/contents.json +0 -14
  381. data/spec/fixtures/contributor_stats.json +0 -2196
  382. data/spec/fixtures/contributors.json +0 -891
  383. data/spec/fixtures/create_content.json +0 -44
  384. data/spec/fixtures/delete_content.json +0 -30
  385. data/spec/fixtures/download.json +0 -11
  386. data/spec/fixtures/download_create.json +0 -21
  387. data/spec/fixtures/downloads.json +0 -35
  388. data/spec/fixtures/emails.json +0 -4
  389. data/spec/fixtures/emojis.json +0 -500
  390. data/spec/fixtures/followers.json +0 -212
  391. data/spec/fixtures/following.json +0 -209
  392. data/spec/fixtures/forks.json +0 -872
  393. data/spec/fixtures/gist.json +0 -51
  394. data/spec/fixtures/gist_comment.json +0 -19
  395. data/spec/fixtures/gist_comment_create.json +0 -19
  396. data/spec/fixtures/gist_comment_update.json +0 -19
  397. data/spec/fixtures/gist_comments.json +0 -40
  398. data/spec/fixtures/gists.json +0 -548
  399. data/spec/fixtures/github_meta.json +0 -9
  400. data/spec/fixtures/github_status.json +0 -4
  401. data/spec/fixtures/github_status_last_message.json +0 -5
  402. data/spec/fixtures/github_status_messages.json +0 -12
  403. data/spec/fixtures/gitignore_template_ruby.json +0 -4
  404. data/spec/fixtures/gitignore_templates.json +0 -78
  405. data/spec/fixtures/hook.json +0 -18
  406. data/spec/fixtures/hooks.json +0 -70
  407. data/spec/fixtures/issue.json +0 -35
  408. data/spec/fixtures/issue_closed.json +0 -35
  409. data/spec/fixtures/issue_event.json +0 -42
  410. data/spec/fixtures/issue_events.json +0 -72
  411. data/spec/fixtures/issue_full.json +0 -38
  412. data/spec/fixtures/issues.json +0 -1562
  413. data/spec/fixtures/label.json +0 -5
  414. data/spec/fixtures/labels.json +0 -17
  415. data/spec/fixtures/languages.json +0 -5
  416. data/spec/fixtures/legacy/issues.json +0 -49
  417. data/spec/fixtures/legacy/repositories.json +0 -173
  418. data/spec/fixtures/legacy/users.json +0 -24
  419. data/spec/fixtures/list_commit_comments.json +0 -572
  420. data/spec/fixtures/markdown_gfm +0 -1
  421. data/spec/fixtures/merge.json +0 -47
  422. data/spec/fixtures/milestone.json +0 -11
  423. data/spec/fixtures/milestones.json +0 -28
  424. data/spec/fixtures/not_found.json +0 -3
  425. data/spec/fixtures/notification_thread.json +0 -32
  426. data/spec/fixtures/notifications.json +0 -32
  427. data/spec/fixtures/org_issues.json +0 -710
  428. data/spec/fixtures/organization-repositories.json +0 -4292
  429. data/spec/fixtures/organization-repository.json +0 -42
  430. data/spec/fixtures/organization.json +0 -18
  431. data/spec/fixtures/organization_events.json +0 -61
  432. data/spec/fixtures/organization_members.json +0 -576
  433. data/spec/fixtures/organization_public_events.json +0 -61
  434. data/spec/fixtures/organization_team_members.json +0 -16
  435. data/spec/fixtures/organization_team_repos.json +0 -62
  436. data/spec/fixtures/organizations.json +0 -44
  437. data/spec/fixtures/participation_stats.json +0 -110
  438. data/spec/fixtures/public_events.json +0 -1104
  439. data/spec/fixtures/public_gists.json +0 -968
  440. data/spec/fixtures/public_key.json +0 -5
  441. data/spec/fixtures/public_key_update.json +0 -5
  442. data/spec/fixtures/public_keys.json +0 -7
  443. data/spec/fixtures/pull_created.json +0 -138
  444. data/spec/fixtures/pull_request.json +0 -138
  445. data/spec/fixtures/pull_request_comment.json +0 -35
  446. data/spec/fixtures/pull_request_comment_create.json +0 -35
  447. data/spec/fixtures/pull_request_comment_reply.json +0 -35
  448. data/spec/fixtures/pull_request_comment_update.json +0 -35
  449. data/spec/fixtures/pull_request_comments.json +0 -35
  450. data/spec/fixtures/pull_request_commits.json +0 -45
  451. data/spec/fixtures/pull_request_files.json +0 -35
  452. data/spec/fixtures/pull_request_merged.json +0 -5
  453. data/spec/fixtures/pull_requests.json +0 -187
  454. data/spec/fixtures/pull_requests_comments.json +0 -82
  455. data/spec/fixtures/pull_update.json +0 -138
  456. data/spec/fixtures/punch_card_stats.json +0 -842
  457. data/spec/fixtures/readme.json +0 -14
  458. data/spec/fixtures/ref.json +0 -9
  459. data/spec/fixtures/ref_create.json +0 -29
  460. data/spec/fixtures/ref_update.json +0 -11
  461. data/spec/fixtures/refs.json +0 -38
  462. data/spec/fixtures/refs_tags.json +0 -29
  463. data/spec/fixtures/repo_assignees.json +0 -30
  464. data/spec/fixtures/repo_events.json +0 -1652
  465. data/spec/fixtures/repo_issues_events.json +0 -128
  466. data/spec/fixtures/repositories.json +0 -872
  467. data/spec/fixtures/repository.json +0 -34
  468. data/spec/fixtures/repository_issues_comments.json +0 -52
  469. data/spec/fixtures/repository_network_events.json +0 -155
  470. data/spec/fixtures/repository_notifications.json +0 -32
  471. data/spec/fixtures/say.txt +0 -22
  472. data/spec/fixtures/say_custom.txt +0 -22
  473. data/spec/fixtures/stargazers.json +0 -212
  474. data/spec/fixtures/starred.json +0 -1114
  475. data/spec/fixtures/starred_gists.json +0 -30
  476. data/spec/fixtures/status.json +0 -16
  477. data/spec/fixtures/statuses.json +0 -34
  478. data/spec/fixtures/subscribers.json +0 -9
  479. data/spec/fixtures/subscription.json +0 -8
  480. data/spec/fixtures/subscription_update.json +0 -8
  481. data/spec/fixtures/subscriptions.json +0 -39
  482. data/spec/fixtures/tag.json +0 -16
  483. data/spec/fixtures/tag_create.json +0 -16
  484. data/spec/fixtures/tags.json +0 -173
  485. data/spec/fixtures/team.json +0 -8
  486. data/spec/fixtures/teams.json +0 -12
  487. data/spec/fixtures/thread_subscription.json +0 -8
  488. data/spec/fixtures/thread_subscription_update.json +0 -8
  489. data/spec/fixtures/tree.json +0 -112
  490. data/spec/fixtures/tree_create.json +0 -14
  491. data/spec/fixtures/update_content.json +0 -44
  492. data/spec/fixtures/user_events.json +0 -101
  493. data/spec/fixtures/user_issues.json +0 -710
  494. data/spec/fixtures/user_performed_public_events.json +0 -78
  495. data/spec/fixtures/user_public_events.json +0 -78
  496. data/spec/fixtures/validation_failed.json +0 -11
  497. data/spec/fixtures/watched.json +0 -1022
  498. data/spec/fixtures/watchers.json +0 -182
  499. data/spec/octokit/client/github_spec.rb +0 -19
  500. data/spec/octokit/client/issue_events_spec.rb +0 -30
  501. data/spec/octokit/client/pub_sub_hubbub/service_hooks_spec.rb +0 -48
  502. data/spec/octokit/client/pulls_spec.rb +0 -210
@@ -1,968 +0,0 @@
1
- [
2
- {
3
- "comments": 0,
4
- "created_at": "2012-05-13T19:22:17Z",
5
- "description": "",
6
- "files": {
7
- "gistfile1.txt": {
8
- "filename": "gistfile1.txt",
9
- "language": "Text",
10
- "raw_url": "https://gist.github.com/raw/2689842/6693e6afa7bb40611873e7a68c1c4bc516914ddc/gistfile1.txt",
11
- "size": 3971,
12
- "type": "text/plain"
13
- }
14
- },
15
- "git_pull_url": "git://gist.github.com/2689842.git",
16
- "git_push_url": "git@gist.github.com:2689842.git",
17
- "html_url": "https://gist.github.com/2689842",
18
- "id": "2689842",
19
- "public": true,
20
- "updated_at": "2012-05-13T19:22:17Z",
21
- "url": "https://api.github.com/gists/2689842",
22
- "user": {
23
- "avatar_url": "https://secure.gravatar.com/avatar/535eef38d5bbb8a61979de39276da7f9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
24
- "gravatar_id": "535eef38d5bbb8a61979de39276da7f9",
25
- "id": 977962,
26
- "login": "Vineeth-Mohan",
27
- "url": "https://api.github.com/users/Vineeth-Mohan"
28
- }
29
- },
30
- {
31
- "comments": 0,
32
- "created_at": "2012-05-13T19:21:25Z",
33
- "description": "it's really tony!",
34
- "files": {
35
- "gistfile1.txt": {
36
- "filename": "gistfile1.txt",
37
- "language": "Text",
38
- "raw_url": "https://gist.github.com/raw/2689839/af661dcbfa23b7512bf08bd138e93bc49b18c8bf/gistfile1.txt",
39
- "size": 17,
40
- "type": "text/plain"
41
- }
42
- },
43
- "git_pull_url": "git://gist.github.com/2689839.git",
44
- "git_push_url": "git@gist.github.com:2689839.git",
45
- "html_url": "https://gist.github.com/2689839",
46
- "id": "2689839",
47
- "public": true,
48
- "updated_at": "2012-05-13T19:21:25Z",
49
- "url": "https://api.github.com/gists/2689839",
50
- "user": {
51
- "avatar_url": "https://secure.gravatar.com/avatar/b4c14541dbadd7d8635f5d773974de26?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
52
- "gravatar_id": "b4c14541dbadd7d8635f5d773974de26",
53
- "id": 1499350,
54
- "login": "tonyblundell",
55
- "url": "https://api.github.com/users/tonyblundell"
56
- }
57
- },
58
- {
59
- "comments": 0,
60
- "created_at": "2012-05-13T19:18:17Z",
61
- "description": "Carmencita",
62
- "files": {
63
- "dabblet.css": {
64
- "filename": "dabblet.css",
65
- "language": "CSS",
66
- "raw_url": "https://gist.github.com/raw/2689831/8f8a30161719ac05a88986dfab4b338e1c7fb7d2/dabblet.css",
67
- "size": 2965,
68
- "type": "text/css"
69
- },
70
- "dabblet.html": {
71
- "filename": "dabblet.html",
72
- "language": "HTML",
73
- "raw_url": "https://gist.github.com/raw/2689831/b5d87ef2db0cceb864e6de29d7907e408579f5b6/dabblet.html",
74
- "size": 435,
75
- "type": "text/html"
76
- },
77
- "settings.json": {
78
- "filename": "settings.json",
79
- "language": "JSON",
80
- "raw_url": "https://gist.github.com/raw/2689831/eb30290c09c69a78326d9074a001cd301e98a293/settings.json",
81
- "size": 88,
82
- "type": "application/json"
83
- }
84
- },
85
- "git_pull_url": "git://gist.github.com/2689831.git",
86
- "git_push_url": "git@gist.github.com:2689831.git",
87
- "html_url": "https://gist.github.com/2689831",
88
- "id": "2689831",
89
- "public": true,
90
- "updated_at": "2012-05-13T19:18:17Z",
91
- "url": "https://api.github.com/gists/2689831",
92
- "user": {
93
- "avatar_url": "https://secure.gravatar.com/avatar/473e4641f576a343320d291c2fa567ee?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
94
- "gravatar_id": "473e4641f576a343320d291c2fa567ee",
95
- "id": 1735279,
96
- "login": "glorialangreo",
97
- "url": "https://api.github.com/users/glorialangreo"
98
- }
99
- },
100
- {
101
- "comments": 0,
102
- "created_at": "2012-05-13T19:13:52Z",
103
- "description": "Canvas experient",
104
- "files": {
105
- "index_full.html": {
106
- "filename": "index_full.html",
107
- "language": "HTML",
108
- "raw_url": "https://gist.github.com/raw/2689822/94c7ffcd0940482c03e5afbffeba1166e3d6e736/index_full.html",
109
- "size": 6915,
110
- "type": "text/html"
111
- }
112
- },
113
- "git_pull_url": "git://gist.github.com/2689822.git",
114
- "git_push_url": "git@gist.github.com:2689822.git",
115
- "html_url": "https://gist.github.com/2689822",
116
- "id": "2689822",
117
- "public": true,
118
- "updated_at": "2012-05-13T19:14:24Z",
119
- "url": "https://api.github.com/gists/2689822",
120
- "user": {
121
- "avatar_url": "https://secure.gravatar.com/avatar/f6b16fbd761468cc4d0e4d1eaf29f12d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
122
- "gravatar_id": "f6b16fbd761468cc4d0e4d1eaf29f12d",
123
- "id": 1735274,
124
- "login": "bugpowder",
125
- "url": "https://api.github.com/users/bugpowder"
126
- }
127
- },
128
- {
129
- "comments": 0,
130
- "created_at": "2012-05-13T19:13:33Z",
131
- "description": "\u30e2\u30ca\u30c9\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306e\u7df4\u7fd2\u3002",
132
- "files": {
133
- "MonadExsample.scala": {
134
- "filename": "MonadExsample.scala",
135
- "language": "Scala",
136
- "raw_url": "https://gist.github.com/raw/2689821/e94385ef8a9dd588d445dba9cba03bc1705766ff/MonadExsample.scala",
137
- "size": 2804,
138
- "type": "text/plain"
139
- }
140
- },
141
- "git_pull_url": "git://gist.github.com/2689821.git",
142
- "git_push_url": "git@gist.github.com:2689821.git",
143
- "html_url": "https://gist.github.com/2689821",
144
- "id": "2689821",
145
- "public": true,
146
- "updated_at": "2012-05-13T19:14:44Z",
147
- "url": "https://api.github.com/gists/2689821",
148
- "user": {
149
- "avatar_url": "https://secure.gravatar.com/avatar/f122b46b0f3b186d53936756004ad6c4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
150
- "gravatar_id": "f122b46b0f3b186d53936756004ad6c4",
151
- "id": 1299403,
152
- "login": "yotchang",
153
- "url": "https://api.github.com/users/yotchang"
154
- }
155
- },
156
- {
157
- "comments": 0,
158
- "created_at": "2012-05-13T19:12:25Z",
159
- "description": "sample gist",
160
- "files": {
161
- "sample": {
162
- "filename": "sample",
163
- "language": null,
164
- "raw_url": "https://gist.github.com/raw/2689817/ef3eea45ff76c1cb9920ae99fd958981f4ce2c68/sample",
165
- "size": 21,
166
- "type": "text/plain"
167
- }
168
- },
169
- "git_pull_url": "git://gist.github.com/2689817.git",
170
- "git_push_url": "git@gist.github.com:2689817.git",
171
- "html_url": "https://gist.github.com/2689817",
172
- "id": "2689817",
173
- "public": true,
174
- "updated_at": "2012-05-13T19:12:25Z",
175
- "url": "https://api.github.com/gists/2689817",
176
- "user": {
177
- "avatar_url": "https://secure.gravatar.com/avatar/cd924f093a0c9ad7ae895021ed9810de?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
178
- "gravatar_id": "cd924f093a0c9ad7ae895021ed9810de",
179
- "id": 153843,
180
- "login": "yesoreyeram",
181
- "url": "https://api.github.com/users/yesoreyeram"
182
- }
183
- },
184
- {
185
- "comments": 0,
186
- "created_at": "2012-05-13T19:12:17Z",
187
- "description": "",
188
- "files": {
189
- "thing.js": {
190
- "filename": "thing.js",
191
- "language": "JavaScript",
192
- "raw_url": "https://gist.github.com/raw/2689816/d76db83bf602ec620e26c9fca29cc4aadec30424/thing.js",
193
- "size": 5625,
194
- "type": "application/javascript"
195
- }
196
- },
197
- "git_pull_url": "git://gist.github.com/2689816.git",
198
- "git_push_url": "git@gist.github.com:2689816.git",
199
- "html_url": "https://gist.github.com/2689816",
200
- "id": "2689816",
201
- "public": true,
202
- "updated_at": "2012-05-13T19:12:17Z",
203
- "url": "https://api.github.com/gists/2689816",
204
- "user": {
205
- "avatar_url": "https://secure.gravatar.com/avatar/259242b6df4c3b0005af61a942a88967?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
206
- "gravatar_id": "259242b6df4c3b0005af61a942a88967",
207
- "id": 1720,
208
- "login": "mikevalstar",
209
- "url": "https://api.github.com/users/mikevalstar"
210
- }
211
- },
212
- {
213
- "comments": 0,
214
- "created_at": "2012-05-13T19:10:49Z",
215
- "description": "Permutation generation of keyboard keys for keyboard-tiler",
216
- "files": {
217
- "keyboard-tile-permutations.rb": {
218
- "filename": "keyboard-tile-permutations.rb",
219
- "language": "Ruby",
220
- "raw_url": "https://gist.github.com/raw/2689809/4f85a1b594659f542e184f26666f2a6585912e34/keyboard-tile-permutations.rb",
221
- "size": 506,
222
- "type": "application/ruby"
223
- }
224
- },
225
- "git_pull_url": "git://gist.github.com/2689809.git",
226
- "git_push_url": "git@gist.github.com:2689809.git",
227
- "html_url": "https://gist.github.com/2689809",
228
- "id": "2689809",
229
- "public": true,
230
- "updated_at": "2012-05-13T19:10:49Z",
231
- "url": "https://api.github.com/gists/2689809",
232
- "user": {
233
- "avatar_url": "https://secure.gravatar.com/avatar/c818b88f4bcf09b38bc452630a9416c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
234
- "gravatar_id": "c818b88f4bcf09b38bc452630a9416c7",
235
- "id": 1465568,
236
- "login": "mil",
237
- "url": "https://api.github.com/users/mil"
238
- }
239
- },
240
- {
241
- "comments": 0,
242
- "created_at": "2012-05-13T19:10:23Z",
243
- "description": "Add files to iTunes from the shell.",
244
- "files": {
245
- "add2itunes.sh": {
246
- "filename": "add2itunes.sh",
247
- "language": "Shell",
248
- "raw_url": "https://gist.github.com/raw/2689806/30c9e14942b2a64342500bf04733624f14c78e55/add2itunes.sh",
249
- "size": 210,
250
- "type": "application/sh"
251
- }
252
- },
253
- "git_pull_url": "git://gist.github.com/2689806.git",
254
- "git_push_url": "git@gist.github.com:2689806.git",
255
- "html_url": "https://gist.github.com/2689806",
256
- "id": "2689806",
257
- "public": true,
258
- "updated_at": "2012-05-13T19:10:23Z",
259
- "url": "https://api.github.com/gists/2689806",
260
- "user": {
261
- "avatar_url": "https://secure.gravatar.com/avatar/08d346bb6200a021e9d83b47eba4a696?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
262
- "gravatar_id": "08d346bb6200a021e9d83b47eba4a696",
263
- "id": 227625,
264
- "login": "KC8ZKF",
265
- "url": "https://api.github.com/users/KC8ZKF"
266
- }
267
- },
268
- {
269
- "comments": 0,
270
- "created_at": "2012-05-13T19:09:52Z",
271
- "description": "Node.js implementation of Tokbox's OpenTokSDK",
272
- "files": {
273
- "Node.js OpenTokSDK": {
274
- "filename": "Node.js OpenTokSDK",
275
- "language": null,
276
- "raw_url": "https://gist.github.com/raw/2689804/0e5bfddf71916cbbb21589e6f91e3da3197ce3f2/Node.js OpenTokSDK",
277
- "size": 3975,
278
- "type": "text/plain"
279
- }
280
- },
281
- "git_pull_url": "git://gist.github.com/2689804.git",
282
- "git_push_url": "git@gist.github.com:2689804.git",
283
- "html_url": "https://gist.github.com/2689804",
284
- "id": "2689804",
285
- "public": true,
286
- "updated_at": "2012-05-13T19:09:52Z",
287
- "url": "https://api.github.com/gists/2689804",
288
- "user": {
289
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
290
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
291
- "id": 14492,
292
- "login": "grantmichaels",
293
- "url": "https://api.github.com/users/grantmichaels"
294
- }
295
- },
296
- {
297
- "comments": 0,
298
- "created_at": "2012-05-13T19:09:11Z",
299
- "description": "Experimentations in sinatra-style node.js",
300
- "files": {
301
- "app.js": {
302
- "filename": "app.js",
303
- "language": "JavaScript",
304
- "raw_url": "https://gist.github.com/raw/2689801/b7e73b27f2cb901a449b1b6988dcfeae36efe099/app.js",
305
- "size": 379,
306
- "type": "application/javascript"
307
- },
308
- "controller.js": {
309
- "filename": "controller.js",
310
- "language": "JavaScript",
311
- "raw_url": "https://gist.github.com/raw/2689801/83c74751ab4fe1a507d81cf4bbbda590acaf4525/controller.js",
312
- "size": 876,
313
- "type": "application/javascript"
314
- },
315
- "router.js": {
316
- "filename": "router.js",
317
- "language": "JavaScript",
318
- "raw_url": "https://gist.github.com/raw/2689801/817fdff042e02bbbbff0cadaee691607aa8872f8/router.js",
319
- "size": 1278,
320
- "type": "application/javascript"
321
- }
322
- },
323
- "git_pull_url": "git://gist.github.com/2689801.git",
324
- "git_push_url": "git@gist.github.com:2689801.git",
325
- "html_url": "https://gist.github.com/2689801",
326
- "id": "2689801",
327
- "public": true,
328
- "updated_at": "2012-05-13T19:09:11Z",
329
- "url": "https://api.github.com/gists/2689801",
330
- "user": {
331
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
332
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
333
- "id": 14492,
334
- "login": "grantmichaels",
335
- "url": "https://api.github.com/users/grantmichaels"
336
- }
337
- },
338
- {
339
- "comments": 0,
340
- "created_at": "2012-05-13T19:08:22Z",
341
- "description": "Parallel fragment shaders in JavaScript using Workers. Not very optimized, but works. Hard to find the perfect SHADER_COUNT for a certain dimension. Usually it's less the shaders the better.",
342
- "files": {
343
- "shade.js": {
344
- "filename": "shade.js",
345
- "language": "JavaScript",
346
- "raw_url": "https://gist.github.com/raw/2689799/29a19f3cb73342fd7cdc5580cd2f9eee9bf93ba4/shade.js",
347
- "size": 1722,
348
- "type": "application/javascript"
349
- },
350
- "shader.js": {
351
- "filename": "shader.js",
352
- "language": "JavaScript",
353
- "raw_url": "https://gist.github.com/raw/2689799/ea26d7cd3fd4b9133305ea71e7ce54ecd4d1fce8/shader.js",
354
- "size": 561,
355
- "type": "application/javascript"
356
- },
357
- "test.html": {
358
- "filename": "test.html",
359
- "language": "HTML",
360
- "raw_url": "https://gist.github.com/raw/2689799/52008ff713c1182836ca175be89001bcb94cf7b5/test.html",
361
- "size": 120,
362
- "type": "text/html"
363
- }
364
- },
365
- "git_pull_url": "git://gist.github.com/2689799.git",
366
- "git_push_url": "git@gist.github.com:2689799.git",
367
- "html_url": "https://gist.github.com/2689799",
368
- "id": "2689799",
369
- "public": true,
370
- "updated_at": "2012-05-13T19:10:22Z",
371
- "url": "https://api.github.com/gists/2689799",
372
- "user": {
373
- "avatar_url": "https://secure.gravatar.com/avatar/c3bcb09305a87e09cc612a0918a49237?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
374
- "gravatar_id": "c3bcb09305a87e09cc612a0918a49237",
375
- "id": 547186,
376
- "login": "jussi-kalliokoski",
377
- "url": "https://api.github.com/users/jussi-kalliokoski"
378
- }
379
- },
380
- {
381
- "comments": 0,
382
- "created_at": "2012-05-13T19:08:11Z",
383
- "description": "Fire final results of keyboard-tiler to xdotool",
384
- "files": {
385
- "xdotoolFire.rb": {
386
- "filename": "xdotoolFire.rb",
387
- "language": "Ruby",
388
- "raw_url": "https://gist.github.com/raw/2689797/1d771e0d9f8c7ee92187a975149bc60a58bd8d50/xdotoolFire.rb",
389
- "size": 182,
390
- "type": "application/ruby"
391
- }
392
- },
393
- "git_pull_url": "git://gist.github.com/2689797.git",
394
- "git_push_url": "git@gist.github.com:2689797.git",
395
- "html_url": "https://gist.github.com/2689797",
396
- "id": "2689797",
397
- "public": true,
398
- "updated_at": "2012-05-13T19:08:11Z",
399
- "url": "https://api.github.com/gists/2689797",
400
- "user": {
401
- "avatar_url": "https://secure.gravatar.com/avatar/c818b88f4bcf09b38bc452630a9416c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
402
- "gravatar_id": "c818b88f4bcf09b38bc452630a9416c7",
403
- "id": 1465568,
404
- "login": "mil",
405
- "url": "https://api.github.com/users/mil"
406
- }
407
- },
408
- {
409
- "comments": 0,
410
- "created_at": "2012-05-13T19:08:09Z",
411
- "description": "Bootstrap Chef Solo",
412
- "files": {
413
- "chef_solo_bootstrap.sh": {
414
- "filename": "chef_solo_bootstrap.sh",
415
- "language": "Shell",
416
- "raw_url": "https://gist.github.com/raw/2689796/ff2d251c9f4f149c5ca73c873ad8990711b3ca74/chef_solo_bootstrap.sh",
417
- "size": 347,
418
- "type": "application/sh"
419
- }
420
- },
421
- "git_pull_url": "git://gist.github.com/2689796.git",
422
- "git_push_url": "git@gist.github.com:2689796.git",
423
- "html_url": "https://gist.github.com/2689796",
424
- "id": "2689796",
425
- "public": true,
426
- "updated_at": "2012-05-13T19:08:09Z",
427
- "url": "https://api.github.com/gists/2689796",
428
- "user": {
429
- "avatar_url": "https://secure.gravatar.com/avatar/5178245fa9617f7948b46a2fe878798d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
430
- "gravatar_id": "5178245fa9617f7948b46a2fe878798d",
431
- "id": 820186,
432
- "login": "yagooar",
433
- "url": "https://api.github.com/users/yagooar"
434
- }
435
- },
436
- {
437
- "comments": 0,
438
- "created_at": "2012-05-13T19:08:07Z",
439
- "description": "S\u00edmbolo de Levi-Civita en Python",
440
- "files": {
441
- "levicivita.py": {
442
- "filename": "levicivita.py",
443
- "language": "Python",
444
- "raw_url": "https://gist.github.com/raw/2689795/7d8ca9dc6418beabcc586935b37cfce1c34b5377/levicivita.py",
445
- "size": 435,
446
- "type": "application/python"
447
- },
448
- "salida.txt": {
449
- "filename": "salida.txt",
450
- "language": "Text",
451
- "raw_url": "https://gist.github.com/raw/2689795/80ede0b6eb45ef3486aa2f8b44fe2c8a4c25c5e6/salida.txt",
452
- "size": 149,
453
- "type": "text/plain"
454
- }
455
- },
456
- "git_pull_url": "git://gist.github.com/2689795.git",
457
- "git_push_url": "git@gist.github.com:2689795.git",
458
- "html_url": "https://gist.github.com/2689795",
459
- "id": "2689795",
460
- "public": true,
461
- "updated_at": "2012-05-13T19:08:07Z",
462
- "url": "https://api.github.com/gists/2689795",
463
- "user": {
464
- "avatar_url": "https://secure.gravatar.com/avatar/e329c69592ab2a0f893458bd058895f9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
465
- "gravatar_id": "e329c69592ab2a0f893458bd058895f9",
466
- "id": 316517,
467
- "login": "Juanlu001",
468
- "url": "https://api.github.com/users/Juanlu001"
469
- }
470
- },
471
- {
472
- "comments": 0,
473
- "created_at": "2012-05-13T19:07:55Z",
474
- "description": "Basic HTTP Auth with Express for Node.js",
475
- "files": {
476
- "basic_auth_app.coffee": {
477
- "filename": "basic_auth_app.coffee",
478
- "language": "CoffeeScript",
479
- "raw_url": "https://gist.github.com/raw/2689793/696da4c9fd50750a26a12f725d658861c64cade7/basic_auth_app.coffee",
480
- "size": 231,
481
- "type": "text/coffescript"
482
- },
483
- "basic_auth_app_with_static.coffee": {
484
- "filename": "basic_auth_app_with_static.coffee",
485
- "language": "CoffeeScript",
486
- "raw_url": "https://gist.github.com/raw/2689793/ad99d603356a8d55526bdc14be8fdddcff81285d/basic_auth_app_with_static.coffee",
487
- "size": 346,
488
- "type": "text/coffescript"
489
- }
490
- },
491
- "git_pull_url": "git://gist.github.com/2689793.git",
492
- "git_push_url": "git@gist.github.com:2689793.git",
493
- "html_url": "https://gist.github.com/2689793",
494
- "id": "2689793",
495
- "public": true,
496
- "updated_at": "2012-05-13T19:07:55Z",
497
- "url": "https://api.github.com/gists/2689793",
498
- "user": {
499
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
500
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
501
- "id": 14492,
502
- "login": "grantmichaels",
503
- "url": "https://api.github.com/users/grantmichaels"
504
- }
505
- },
506
- {
507
- "comments": 0,
508
- "created_at": "2012-05-13T19:07:03Z",
509
- "description": "Server-side Events with Node.js and Redis",
510
- "files": {
511
- "Publish a message": {
512
- "filename": "Publish a message",
513
- "language": null,
514
- "raw_url": "https://gist.github.com/raw/2689789/1beb1b79e8be7b57559504b44b5aef0301c6fefa/Publish a message",
515
- "size": 119,
516
- "type": "text/plain"
517
- },
518
- "middleware.coffee": {
519
- "filename": "middleware.coffee",
520
- "language": "CoffeeScript",
521
- "raw_url": "https://gist.github.com/raw/2689789/19d190e605d4b73503e891c4afc8949b6aaf611c/middleware.coffee",
522
- "size": 801,
523
- "type": "text/coffescript"
524
- },
525
- "sse.coffee": {
526
- "filename": "sse.coffee",
527
- "language": "CoffeeScript",
528
- "raw_url": "https://gist.github.com/raw/2689789/8ff11dc168dabfa577bb2fb4a1610dc6ec662f69/sse.coffee",
529
- "size": 1966,
530
- "type": "text/coffescript"
531
- }
532
- },
533
- "git_pull_url": "git://gist.github.com/2689789.git",
534
- "git_push_url": "git@gist.github.com:2689789.git",
535
- "html_url": "https://gist.github.com/2689789",
536
- "id": "2689789",
537
- "public": true,
538
- "updated_at": "2012-05-13T19:07:03Z",
539
- "url": "https://api.github.com/gists/2689789",
540
- "user": {
541
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
542
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
543
- "id": 14492,
544
- "login": "grantmichaels",
545
- "url": "https://api.github.com/users/grantmichaels"
546
- }
547
- },
548
- {
549
- "comments": 0,
550
- "created_at": "2012-05-13T19:05:46Z",
551
- "description": "Quick python weather script using Google's Weather API",
552
- "files": {
553
- "weather.py": {
554
- "filename": "weather.py",
555
- "language": "Python",
556
- "raw_url": "https://gist.github.com/raw/2689784/4f268ce2ba499782b33a19c6fbadfaf43e86b515/weather.py",
557
- "size": 2087,
558
- "type": "application/python"
559
- }
560
- },
561
- "git_pull_url": "git://gist.github.com/2689784.git",
562
- "git_push_url": "git@gist.github.com:2689784.git",
563
- "html_url": "https://gist.github.com/2689784",
564
- "id": "2689784",
565
- "public": true,
566
- "updated_at": "2012-05-13T19:05:46Z",
567
- "url": "https://api.github.com/gists/2689784",
568
- "user": {
569
- "avatar_url": "https://secure.gravatar.com/avatar/e8e0b24aed31d207814cd6b177d5bcdf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
570
- "gravatar_id": "e8e0b24aed31d207814cd6b177d5bcdf",
571
- "id": 235410,
572
- "login": "Adys",
573
- "url": "https://api.github.com/users/Adys"
574
- }
575
- },
576
- {
577
- "comments": 0,
578
- "created_at": "2012-05-13T19:05:09Z",
579
- "description": "simple seesaw like script for archiveteam's fileplanet project",
580
- "files": {
581
- "seesaw_fp.sh": {
582
- "filename": "seesaw_fp.sh",
583
- "language": "Shell",
584
- "raw_url": "https://gist.github.com/raw/2689781/365ed797d09b5f965cae06942aab26b252bbff03/seesaw_fp.sh",
585
- "size": 2510,
586
- "type": "application/sh"
587
- }
588
- },
589
- "git_pull_url": "git://gist.github.com/2689781.git",
590
- "git_push_url": "git@gist.github.com:2689781.git",
591
- "html_url": "https://gist.github.com/2689781",
592
- "id": "2689781",
593
- "public": true,
594
- "updated_at": "2012-05-13T19:05:09Z",
595
- "url": "https://api.github.com/gists/2689781",
596
- "user": {
597
- "avatar_url": "https://secure.gravatar.com/avatar/1d1d1c010659cc824304b9a35ea33a14?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
598
- "gravatar_id": "1d1d1c010659cc824304b9a35ea33a14",
599
- "id": 1267,
600
- "login": "bear",
601
- "url": "https://api.github.com/users/bear"
602
- }
603
- },
604
- {
605
- "comments": 0,
606
- "created_at": "2012-05-13T19:03:26Z",
607
- "description": "Server-side Events with Node.js and Redis",
608
- "files": {
609
- "Publish a message": {
610
- "filename": "Publish a message",
611
- "language": null,
612
- "raw_url": "https://gist.github.com/raw/2689778/1beb1b79e8be7b57559504b44b5aef0301c6fefa/Publish a message",
613
- "size": 119,
614
- "type": "text/plain"
615
- },
616
- "middleware.coffee": {
617
- "filename": "middleware.coffee",
618
- "language": "CoffeeScript",
619
- "raw_url": "https://gist.github.com/raw/2689778/0e2eb46d28a03f55d80e209a458acbe5bc762aa2/middleware.coffee",
620
- "size": 1102,
621
- "type": "text/coffescript"
622
- },
623
- "sse.coffee": {
624
- "filename": "sse.coffee",
625
- "language": "CoffeeScript",
626
- "raw_url": "https://gist.github.com/raw/2689778/f817569dceaaa9570a0f7513615225be5037ea18/sse.coffee",
627
- "size": 2032,
628
- "type": "text/coffescript"
629
- }
630
- },
631
- "git_pull_url": "git://gist.github.com/2689778.git",
632
- "git_push_url": "git@gist.github.com:2689778.git",
633
- "html_url": "https://gist.github.com/2689778",
634
- "id": "2689778",
635
- "public": true,
636
- "updated_at": "2012-05-13T19:03:26Z",
637
- "url": "https://api.github.com/gists/2689778",
638
- "user": {
639
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
640
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
641
- "id": 14492,
642
- "login": "grantmichaels",
643
- "url": "https://api.github.com/users/grantmichaels"
644
- }
645
- },
646
- {
647
- "comments": 0,
648
- "created_at": "2012-05-13T19:03:12Z",
649
- "description": "Stream live web cam video using Node.js and Gstreamer",
650
- "files": {
651
- "package.json": {
652
- "filename": "package.json",
653
- "language": "JSON",
654
- "raw_url": "https://gist.github.com/raw/2689775/bf19da3746a57ad8f8e0afc179d4533ddf46c274/package.json",
655
- "size": 388,
656
- "type": "application/json"
657
- },
658
- "server.coffee": {
659
- "filename": "server.coffee",
660
- "language": "CoffeeScript",
661
- "raw_url": "https://gist.github.com/raw/2689775/54db71228cf067e539e3c8c2424d58e070453fc9/server.coffee",
662
- "size": 1668,
663
- "type": "text/coffescript"
664
- }
665
- },
666
- "git_pull_url": "git://gist.github.com/2689775.git",
667
- "git_push_url": "git@gist.github.com:2689775.git",
668
- "html_url": "https://gist.github.com/2689775",
669
- "id": "2689775",
670
- "public": true,
671
- "updated_at": "2012-05-13T19:03:12Z",
672
- "url": "https://api.github.com/gists/2689775",
673
- "user": {
674
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
675
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
676
- "id": 14492,
677
- "login": "grantmichaels",
678
- "url": "https://api.github.com/users/grantmichaels"
679
- }
680
- },
681
- {
682
- "comments": 0,
683
- "created_at": "2012-05-13T19:03:06Z",
684
- "description": "Install Python 2.7 (homebrew + pip + virtualenv) on Mac OS X Lion",
685
- "files": {
686
- "gistfile1.md": {
687
- "filename": "gistfile1.md",
688
- "language": "Markdown",
689
- "raw_url": "https://gist.github.com/raw/2689774/4f11ac7c3600f80cf513ef014b82ed5ee922d0da/gistfile1.md",
690
- "size": 1019,
691
- "type": "text/plain"
692
- }
693
- },
694
- "git_pull_url": "git://gist.github.com/2689774.git",
695
- "git_push_url": "git@gist.github.com:2689774.git",
696
- "html_url": "https://gist.github.com/2689774",
697
- "id": "2689774",
698
- "public": true,
699
- "updated_at": "2012-05-13T19:03:06Z",
700
- "url": "https://api.github.com/gists/2689774",
701
- "user": {
702
- "avatar_url": "https://secure.gravatar.com/avatar/0bbb52be5bb0409139c3850d9dc89e25?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
703
- "gravatar_id": "0bbb52be5bb0409139c3850d9dc89e25",
704
- "id": 1043805,
705
- "login": "danaki",
706
- "url": "https://api.github.com/users/danaki"
707
- }
708
- },
709
- {
710
- "comments": 0,
711
- "created_at": "2012-05-13T19:03:00Z",
712
- "description": "PDF to PNG with Node.js and GhostScript",
713
- "files": {
714
- "pdf2png.js": {
715
- "filename": "pdf2png.js",
716
- "language": "JavaScript",
717
- "raw_url": "https://gist.github.com/raw/2689773/7744ec0935a2ba9d8abaa92ff2ff1f65f5886af2/pdf2png.js",
718
- "size": 1408,
719
- "type": "application/javascript"
720
- }
721
- },
722
- "git_pull_url": "git://gist.github.com/2689773.git",
723
- "git_push_url": "git@gist.github.com:2689773.git",
724
- "html_url": "https://gist.github.com/2689773",
725
- "id": "2689773",
726
- "public": true,
727
- "updated_at": "2012-05-13T19:03:00Z",
728
- "url": "https://api.github.com/gists/2689773",
729
- "user": {
730
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
731
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
732
- "id": 14492,
733
- "login": "grantmichaels",
734
- "url": "https://api.github.com/users/grantmichaels"
735
- }
736
- },
737
- {
738
- "comments": 0,
739
- "created_at": "2012-05-13T19:01:53Z",
740
- "description": "Access the Twitter Streaming API with ease (Node.js).",
741
- "files": {
742
- "twitter_streaming.js": {
743
- "filename": "twitter_streaming.js",
744
- "language": "JavaScript",
745
- "raw_url": "https://gist.github.com/raw/2689769/037ca8ff809092ea594bc2459f70c6b3eef3c54b/twitter_streaming.js",
746
- "size": 1612,
747
- "type": "application/javascript"
748
- }
749
- },
750
- "git_pull_url": "git://gist.github.com/2689769.git",
751
- "git_push_url": "git@gist.github.com:2689769.git",
752
- "html_url": "https://gist.github.com/2689769",
753
- "id": "2689769",
754
- "public": true,
755
- "updated_at": "2012-05-13T19:01:53Z",
756
- "url": "https://api.github.com/gists/2689769",
757
- "user": {
758
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
759
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
760
- "id": 14492,
761
- "login": "grantmichaels",
762
- "url": "https://api.github.com/users/grantmichaels"
763
- }
764
- },
765
- {
766
- "comments": 0,
767
- "created_at": "2012-05-13T19:01:38Z",
768
- "description": "Twitter OAuth with node-oauth for node.js+express",
769
- "files": {
770
- "server.js": {
771
- "filename": "server.js",
772
- "language": "JavaScript",
773
- "raw_url": "https://gist.github.com/raw/2689767/b3cc17114c2b4998595e68c5171181ccd9fa38b8/server.js",
774
- "size": 2777,
775
- "type": "application/javascript"
776
- }
777
- },
778
- "git_pull_url": "git://gist.github.com/2689767.git",
779
- "git_push_url": "git@gist.github.com:2689767.git",
780
- "html_url": "https://gist.github.com/2689767",
781
- "id": "2689767",
782
- "public": true,
783
- "updated_at": "2012-05-13T19:01:38Z",
784
- "url": "https://api.github.com/gists/2689767",
785
- "user": {
786
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
787
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
788
- "id": 14492,
789
- "login": "grantmichaels",
790
- "url": "https://api.github.com/users/grantmichaels"
791
- }
792
- },
793
- {
794
- "comments": 0,
795
- "created_at": "2012-05-13T19:01:17Z",
796
- "description": "Simple 'sign in with Twitter' implementation in node.js",
797
- "files": {
798
- "SignInWithTwitter.js": {
799
- "filename": "SignInWithTwitter.js",
800
- "language": "JavaScript",
801
- "raw_url": "https://gist.github.com/raw/2689766/0e7e800169ec1e7dea00c4095f5ce52a80c1a45a/SignInWithTwitter.js",
802
- "size": 3620,
803
- "type": "application/javascript"
804
- }
805
- },
806
- "git_pull_url": "git://gist.github.com/2689766.git",
807
- "git_push_url": "git@gist.github.com:2689766.git",
808
- "html_url": "https://gist.github.com/2689766",
809
- "id": "2689766",
810
- "public": true,
811
- "updated_at": "2012-05-13T19:01:17Z",
812
- "url": "https://api.github.com/gists/2689766",
813
- "user": {
814
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
815
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
816
- "id": 14492,
817
- "login": "grantmichaels",
818
- "url": "https://api.github.com/users/grantmichaels"
819
- }
820
- },
821
- {
822
- "comments": 0,
823
- "created_at": "2012-05-13T19:01:02Z",
824
- "description": "Real-time Comet with Faye, Node.js and Coffee",
825
- "files": {
826
- "comet_client.coffee": {
827
- "filename": "comet_client.coffee",
828
- "language": "CoffeeScript",
829
- "raw_url": "https://gist.github.com/raw/2689765/7949fedb917c9478bc941540d14c8b577fa2707d/comet_client.coffee",
830
- "size": 650,
831
- "type": "text/coffescript"
832
- },
833
- "comet_client.html": {
834
- "filename": "comet_client.html",
835
- "language": "HTML",
836
- "raw_url": "https://gist.github.com/raw/2689765/b9db8f16342c93373e015baa73e8dae6a73a82b2/comet_client.html",
837
- "size": 657,
838
- "type": "text/html"
839
- },
840
- "comet_server.coffee": {
841
- "filename": "comet_server.coffee",
842
- "language": "CoffeeScript",
843
- "raw_url": "https://gist.github.com/raw/2689765/22ae21a4b497208d79b762562c98b9ae5c2a96f9/comet_server.coffee",
844
- "size": 1501,
845
- "type": "text/coffescript"
846
- }
847
- },
848
- "git_pull_url": "git://gist.github.com/2689765.git",
849
- "git_push_url": "git@gist.github.com:2689765.git",
850
- "html_url": "https://gist.github.com/2689765",
851
- "id": "2689765",
852
- "public": true,
853
- "updated_at": "2012-05-13T19:01:02Z",
854
- "url": "https://api.github.com/gists/2689765",
855
- "user": {
856
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
857
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
858
- "id": 14492,
859
- "login": "grantmichaels",
860
- "url": "https://api.github.com/users/grantmichaels"
861
- }
862
- },
863
- {
864
- "comments": 0,
865
- "created_at": "2012-05-13T18:59:53Z",
866
- "description": "bonian home work",
867
- "files": {
868
- "Bonian_hm.asm": {
869
- "filename": "Bonian_hm.asm",
870
- "language": "Assembly",
871
- "raw_url": "https://gist.github.com/raw/2689757/0426dfee8f6c4342b383c9fa10fa381c0c98ee27/Bonian_hm.asm",
872
- "size": 1098,
873
- "type": "text/plain"
874
- }
875
- },
876
- "git_pull_url": "git://gist.github.com/2689757.git",
877
- "git_push_url": "git@gist.github.com:2689757.git",
878
- "html_url": "https://gist.github.com/2689757",
879
- "id": "2689757",
880
- "public": true,
881
- "updated_at": "2012-05-13T18:59:53Z",
882
- "url": "https://api.github.com/gists/2689757",
883
- "user": {
884
- "avatar_url": "https://secure.gravatar.com/avatar/749da562fd4e9d273de0c4682c443d5c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
885
- "gravatar_id": "749da562fd4e9d273de0c4682c443d5c",
886
- "id": 730201,
887
- "login": "MhdSyrwan",
888
- "url": "https://api.github.com/users/MhdSyrwan"
889
- }
890
- },
891
- {
892
- "comments": 0,
893
- "created_at": "2012-05-13T18:59:01Z",
894
- "description": "`tail -f` in Node.js and WebSockets",
895
- "files": {
896
- ".gitignore": {
897
- "filename": ".gitignore",
898
- "language": null,
899
- "raw_url": "https://gist.github.com/raw/2689755/4bd90bceb4fd2bccf5130ef0e8520772df64d555/.gitignore",
900
- "size": 21,
901
- "type": "text/plain"
902
- },
903
- ".gitmodules": {
904
- "filename": ".gitmodules",
905
- "language": null,
906
- "raw_url": "https://gist.github.com/raw/2689755/224715186a51f6b106abf858746966344484cd77/.gitmodules",
907
- "size": 215,
908
- "type": "text/plain"
909
- },
910
- "index.html": {
911
- "filename": "index.html",
912
- "language": "HTML",
913
- "raw_url": "https://gist.github.com/raw/2689755/3cf59cc7058fc4b3ce3d567431055f9fda9f92ed/index.html",
914
- "size": 1433,
915
- "type": "text/html"
916
- },
917
- "server.js": {
918
- "filename": "server.js",
919
- "language": "JavaScript",
920
- "raw_url": "https://gist.github.com/raw/2689755/0dd9f601fcdf09bcc82bbaf18a8e8e2768b893c0/server.js",
921
- "size": 1528,
922
- "type": "application/javascript"
923
- }
924
- },
925
- "git_pull_url": "git://gist.github.com/2689755.git",
926
- "git_push_url": "git@gist.github.com:2689755.git",
927
- "html_url": "https://gist.github.com/2689755",
928
- "id": "2689755",
929
- "public": true,
930
- "updated_at": "2012-05-13T18:59:01Z",
931
- "url": "https://api.github.com/gists/2689755",
932
- "user": {
933
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
934
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
935
- "id": 14492,
936
- "login": "grantmichaels",
937
- "url": "https://api.github.com/users/grantmichaels"
938
- }
939
- },
940
- {
941
- "comments": 0,
942
- "created_at": "2012-05-13T18:58:25Z",
943
- "description": "Set up nginx as a reverse proxy to node.js.",
944
- "files": {
945
- "nginx + node setup.md": {
946
- "filename": "nginx + node setup.md",
947
- "language": "Markdown",
948
- "raw_url": "https://gist.github.com/raw/2689752/8aaeddd95151800f2b73ef2a389cbb3c6d730c16/nginx + node setup.md",
949
- "size": 1720,
950
- "type": "text/plain"
951
- }
952
- },
953
- "git_pull_url": "git://gist.github.com/2689752.git",
954
- "git_push_url": "git@gist.github.com:2689752.git",
955
- "html_url": "https://gist.github.com/2689752",
956
- "id": "2689752",
957
- "public": true,
958
- "updated_at": "2012-05-13T18:58:25Z",
959
- "url": "https://api.github.com/gists/2689752",
960
- "user": {
961
- "avatar_url": "https://secure.gravatar.com/avatar/b8a5b8236efe3fe113b76266f0ae66bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
962
- "gravatar_id": "b8a5b8236efe3fe113b76266f0ae66bd",
963
- "id": 14492,
964
- "login": "grantmichaels",
965
- "url": "https://api.github.com/users/grantmichaels"
966
- }
967
- }
968
- ]