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.
- data/Rakefile +10 -7
- data/lib/octokit.rb +22 -15
- data/lib/octokit/arguments.rb +14 -0
- data/lib/octokit/authentication.rb +48 -25
- data/lib/octokit/client.rb +245 -44
- data/lib/octokit/client/authorizations.rb +36 -10
- data/lib/octokit/client/commit_comments.rb +96 -0
- data/lib/octokit/client/commits.rb +152 -94
- data/lib/octokit/client/contents.rb +32 -24
- data/lib/octokit/client/downloads.rb +11 -7
- data/lib/octokit/client/emojis.rb +3 -1
- data/lib/octokit/client/events.rb +62 -18
- data/lib/octokit/client/gists.rb +27 -26
- data/lib/octokit/client/gitignore.rb +7 -3
- data/lib/octokit/client/issues.rb +43 -71
- data/lib/octokit/client/labels.rb +24 -20
- data/lib/octokit/client/legacy_search.rb +78 -0
- data/lib/octokit/client/markdown.rb +6 -1
- data/lib/octokit/client/meta.rb +21 -0
- data/lib/octokit/client/milestones.rb +13 -9
- data/lib/octokit/client/notifications.rb +24 -64
- data/lib/octokit/client/objects.rb +17 -12
- data/lib/octokit/client/organizations.rb +43 -52
- data/lib/octokit/client/pub_sub_hubbub.rb +68 -8
- data/lib/octokit/client/{pulls.rb → pull_requests.rb} +65 -41
- data/lib/octokit/client/rate_limit.rb +42 -8
- data/lib/octokit/client/refs.rb +16 -10
- data/lib/octokit/client/repositories.rb +73 -124
- data/lib/octokit/client/say.rb +7 -1
- data/lib/octokit/client/service_status.rb +39 -0
- data/lib/octokit/client/stats.rb +12 -6
- data/lib/octokit/client/statuses.rb +8 -29
- data/lib/octokit/client/users.rb +56 -75
- data/lib/octokit/configurable.rb +117 -0
- data/lib/octokit/default.rb +140 -0
- data/lib/octokit/error.rb +6 -5
- data/lib/octokit/gist.rb +11 -0
- data/lib/octokit/rate_limit.rb +22 -0
- data/lib/octokit/repo_arguments.rb +19 -0
- data/lib/octokit/repository.rb +11 -4
- data/lib/octokit/response/raise_error.rb +35 -0
- data/lib/octokit/version.rb +5 -1
- data/octokit.gemspec +4 -9
- data/spec/cassettes/Octokit_Client/_get/handles_query_params.json +1 -0
- data/spec/cassettes/Octokit_Client/_head/handles_query_params.json +1 -0
- data/spec/cassettes/Octokit_Client/_last_response/caches_the_last_agent_response.json +1 -0
- data/spec/cassettes/Octokit_Client/authentication/when_token_authenticated/fetches_and_memoizes_login.json +1 -0
- data/spec/cassettes/Octokit_Client/auto_pagination/fetches_all_the_pages.json +1 -0
- data/spec/cassettes/Octokit_Client/error_handling/raises_on_404.json +1 -0
- data/spec/cassettes/Octokit_Client_Authorizations/_authorization/returns_a_single_authorization.json +1 -0
- data/spec/cassettes/Octokit_Client_Authorizations/_authorizations/lists_existing_authorizations.json +1 -0
- data/spec/cassettes/Octokit_Client_Authorizations/_create_authorization/creates_a_new_authorization_with_options.json +1 -0
- data/spec/cassettes/Octokit_Client_Authorizations/_create_authorization/creates_an_API_authorization.json +1 -0
- data/spec/cassettes/Octokit_Client_Authorizations/_scopes/checks_the_scopes_on_a_one-off_token.json +1 -0
- data/spec/cassettes/Octokit_Client_Authorizations/_scopes/checks_the_scopes_on_the_current_token.json +1 -0
- data/spec/cassettes/Octokit_Client_Authorizations/_update_authorization/updates_and_existing_authorization.json +1 -0
- data/spec/cassettes/Octokit_Client_CommitComments/_commit_comment/returns_a_single_commit_comment.json +1 -0
- data/spec/cassettes/Octokit_Client_CommitComments/_commit_comments/returns_a_list_of_comments_for_a_specific_commit.json +1 -0
- data/spec/cassettes/Octokit_Client_CommitComments/_create_commit_comment/creates_a_commit_comment.json +1 -0
- data/spec/cassettes/Octokit_Client_CommitComments/_delete_commit_comment/deletes_a_commit_comment.json +1 -0
- data/spec/cassettes/Octokit_Client_CommitComments/_list_commit_comments/returns_a_list_of_all_commit_comments.json +1 -0
- data/spec/cassettes/Octokit_Client_CommitComments/_update_commit_comment/updates_a_commit_comment.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commit/returns_a_commit.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits/handles_branch_or_sha_argument.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits/handles_the_sha_option.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits/returns_all_commits.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_before/handles_branch_or_sha_argument.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_before/handles_the_sha_option.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_before/returns_all_commits_until_the_specified_date.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_between/handles_branch_or_sha_argument.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_between/handles_the_sha_option.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_between/returns_all_commits_until_the_specified_date.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_on/handles_branch_or_sha_argument.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_on/handles_the_sha_option.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_on/returns_all_commits_on_the_specified_date.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_since/handles_branch_or_sha_argument.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_since/handles_the_sha_option.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_commits_since/returns_all_commits_since_the_specified_date.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_compare/returns_a_comparison.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_create_commit/creates_a_commit.json +1 -0
- data/spec/cassettes/Octokit_Client_Commits/_merge/merges_a_branch_into_another.json +1 -0
- data/spec/cassettes/Octokit_Client_Contents/_archive_link/returns_the_headers_of_the_request.json +1 -0
- data/spec/cassettes/Octokit_Client_Contents/_contents/returns_the_contents_of_a_file.json +1 -0
- data/spec/cassettes/Octokit_Client_Contents/_create_contents/creates_contents_from_File_object.json +1 -0
- data/spec/cassettes/Octokit_Client_Contents/_create_contents/creates_contents_from_file_path.json +1 -0
- data/spec/cassettes/Octokit_Client_Contents/_create_contents/creates_repository_contents_at_a_path.json +1 -0
- data/spec/cassettes/Octokit_Client_Contents/_delete_contents/deletes_repository_contents_at_a_path.json +1 -0
- data/spec/cassettes/Octokit_Client_Contents/_readme/returns_the_default_readme.json +1 -0
- data/spec/cassettes/Octokit_Client_Contents/_update_contents/updates_repository_contents_at_a_path.json +1 -0
- data/spec/cassettes/Octokit_Client_Downloads/_download/gets_a_single_download.json +1 -0
- data/spec/cassettes/Octokit_Client_Downloads/_downloads/lists_available_downloads.json +1 -0
- data/spec/cassettes/Octokit_Client_Downloads/methods_that_require_a_download/_create_download/creates_a_download_resource.json +1 -0
- data/spec/cassettes/Octokit_Client_Downloads/methods_that_require_a_download/_create_download/posts_to_an_S3_url.json +1 -0
- data/spec/cassettes/Octokit_Client_Downloads/methods_that_require_a_download/_delete_download/deletes_a_download.json +1 -0
- data/spec/cassettes/Octokit_Client_Emojis/_emojis/returns_all_github_emojis.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_issue_event/lists_issue_events_for_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_issue_events/lists_issue_events_for_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_organization_events/returns_all_events_for_an_organization.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_organization_public_events/returns_an_organization_s_public_events.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_public_events/returns_all_public_events.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_received_events/returns_all_user_received_events.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_received_public_events/returns_public_user_received_events.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_repo_issue_events/lists_issue_events_for_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_repository_events/returns_events_for_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_repository_network_events/returns_events_for_a_repository_s_network.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_user_events/returns_all_user_events.json +1 -0
- data/spec/cassettes/Octokit_Client_Events/_user_public_events/returns_public_events_performed_by_a_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_gist/returns_the_gist_by_ID.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_gists/with_username_passed/returns_a_list_of_gists.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_gists/without_a_username_passed/returns_a_list_of_gists.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_public_gists/returns_public_gists.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_create_gist/creates_a_new_gist.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_create_gist_comment/creates_a_gist_comment.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_delete_gist/deletes_an_existing_gist.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_delete_gist_comment/deletes_a_gist_comment.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_edit_gist/edit_an_existing_gist.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_fork_gist/forks_an_existing_gist.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_comment/returns_a_gist_comment.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_comments/returns_the_list_of_gist_comments.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_starred_/is_not_starred.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_starred_/is_starred.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gists/returns_a_list_of_gists.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_star_gist/stars_an_existing_gist.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_starred_gists/returns_the_user_s_starred_gists.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_unstar_gist/unstars_an_existing_gist.json +1 -0
- data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_update_gist_comment/updates_a_gist_comment.json +1 -0
- data/spec/cassettes/Octokit_Client_Gitignore/_gitignore_template/returns_the_ruby_gitignore_template.json +1 -0
- data/spec/cassettes/Octokit_Client_Gitignore/_gitignore_templates/returns_all_gitignore_templates.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_create_issue/creates_an_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_create_issue/creates_an_issue_with_delimited_labels.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_create_issue/creates_an_issue_with_labels_array.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_issue_comment/returns_a_single_comment_for_an_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_issue_comments/returns_comments_for_an_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_list_issues/returns_dashboard_issues_for_the_authenticated_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_list_issues/returns_issues_for_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_org_issues/returns_issues_for_the_organization_for_the_authenticated_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_repository_issues_comments/returns_comments_for_all_issues_in_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/_user_issues/returns_issues_for_the_authenticated_user_for_owned_and_member_repos.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_add_comment/adds_a_comment.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_close_issue/closes_an_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_issue/returns_a_full_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_issue/returns_an_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_reopen_issue/reopens_an_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_update_issue/updates_an_issue.json +1 -0
- 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
- 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
- data/spec/cassettes/Octokit_Client_Labels/_add_label/adds_a_label_with_a_color.json +1 -0
- data/spec/cassettes/Octokit_Client_Labels/_add_label/adds_a_label_with_default_color.json +1 -0
- data/spec/cassettes/Octokit_Client_Labels/_delete_label_/deletes_a_label_from_the_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Labels/_label/returns_a_single_label.json +1 -0
- data/spec/cassettes/Octokit_Client_Labels/_labels/returns_labels.json +1 -0
- data/spec/cassettes/Octokit_Client_Labels/_lables_for_milestone/returns_all_labels_for_a_repository.json +1 -0
- 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
- data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_labels_for_issue/returns_all_labels_for_a_given_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_remove_all_labels/removes_all_labels_from_the_specified_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_remove_label/removes_a_label_from_the_specified_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_replace_all_labels/replaces_all_labels_for_an_issue.json +1 -0
- data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_label/_update_label/updates_a_label_with_a_new_color.json +1 -0
- data/spec/cassettes/Octokit_Client_LegacySearch/_legacy_search_issues/returns_matching_issues.json +1 -0
- data/spec/cassettes/Octokit_Client_LegacySearch/_legacy_search_repos/returns_matching_repositories.json +1 -0
- data/spec/cassettes/Octokit_Client_LegacySearch/_legacy_search_users/returns_matching_username.json +1 -0
- data/spec/cassettes/Octokit_Client_Markdown/_markdown/renders_markdown.json +1 -0
- data/spec/cassettes/Octokit_Client_Meta/_github_meta/returns_meta_information_about_github.json +1 -0
- data/spec/cassettes/Octokit_Client_Milestones/_list_milestones/lists_milestones_belonging_to_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_create_milestone/creates_a_milestone.json +1 -0
- data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_delete_milestone/deletes_a_milestone_from_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_milestone/gets_a_single_milestone_belonging_to_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_update_milestone/updates_a_milestone.json +1 -0
- data/spec/cassettes/Octokit_Client_Notifications/_mark_notifications_as_read/returns_true_when_notifications_are_marked_as_read.json +1 -0
- 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
- data/spec/cassettes/Octokit_Client_Notifications/_notifications/lists_the_notifications_for_the_current_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Notifications/_repository_notifications/lists_all_notifications_for_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_delete_thread_subscription/returns_true_with_successful_thread_deletion.json +1 -0
- data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_mark_thread_as_read/marks_a_thread_as_read.json +1 -0
- data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_thread_notifications/returns_notifications_for_a_specific_thread.json +1 -0
- data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_thread_subscription/returns_a_thread_subscription.json +1 -0
- data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_update_thread_subscription/updates_a_thread_subscription.json +1 -0
- data/spec/cassettes/Octokit_Client_Objects/_blob/returns_a_blob.json +1 -0
- data/spec/cassettes/Octokit_Client_Objects/_create_blob/creates_a_blob.json +1 -0
- data/spec/cassettes/Octokit_Client_Objects/_create_tag/creates_a_tag.json +1 -0
- data/spec/cassettes/Octokit_Client_Objects/_create_tree/creates_a_tree.json +1 -0
- data/spec/cassettes/Octokit_Client_Objects/_tag/returns_a_tag.json +1 -0
- data/spec/cassettes/Octokit_Client_Objects/_tree/gets_a_tree.json +1 -0
- data/spec/cassettes/Octokit_Client_Objects/_tree/gets_a_tree_recursively.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/_organization/returns_an_organization.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/_organization_member_/checks_organization_membership.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/_organization_members/returns_all_public_members_of_an_organization.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/_organization_public_member_/checks_publicized_org_membership.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/_organization_repositories/returns_all_public_repositories_for_an_organization.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/_organization_teams/returns_all_teams_for_an_organization.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/_organizations/returns_all_organizations_for_a_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/_organizations/returns_all_organizations_for_the_authenticated_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/_update_organization/updates_an_organization.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_add_team_member/adds_a_team_member.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_add_team_repository/adds_a_team_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_create_team/creates_a_team.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_delete_team/deletes_a_team.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_publicize_membership/publicizes_membership.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_remove_team_member/removes_a_team_member.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_remove_team_repository/removes_a_team_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team/returns_a_team.json +1 -0
- 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
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team_members/returns_team_members.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team_repositories/returns_team_repositories.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_unpublicize_membership/unpublicizes_membership.json +1 -0
- data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_update_team/updates_a_team.json +1 -0
- data/spec/cassettes/Octokit_Client_PubSubHubbub/_subscribe/raises_an_error_when_topic_is_not_recognized.json +1 -0
- data/spec/cassettes/Octokit_Client_PubSubHubbub/_subscribe/subscribes_to_pull_events.json +1 -0
- data/spec/cassettes/Octokit_Client_PubSubHubbub/_subscribe_service_hook/subscribes_to_pull_events_on_specified_topic.json +1 -0
- data/spec/cassettes/Octokit_Client_PubSubHubbub/_unsubscribe/unsubscribes_from_pull_events.json +1 -0
- data/spec/cassettes/Octokit_Client_PubSubHubbub/unsubscribe_service_hook/unsubscribes_to_stop_receiving_events_on_specified_topic.json +1 -0
- 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
- data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_comment/returns_a_comment_on_a_pull_request.json +1 -0
- data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_comments/returns_the_comments_for_a_pull_request.json +1 -0
- data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_commits/returns_the_commits_for_a_pull_request.json +1 -0
- data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_files/lists_files_for_a_pull_request.json +1 -0
- data/spec/cassettes/Octokit_Client_PullRequests/_pull_requests/returns_all_pull_requests.json +1 -0
- data/spec/cassettes/Octokit_Client_PullRequests/_pull_requests_comments/returns_all_comments_on_all_pull_requests.json +1 -0
- data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_close_pull_request/closes_a_pull_request.json +1 -0
- data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_create_pull_request/creates_a_pull_request.json +1 -0
- data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_merge_pull_request/merges_the_pull_request.json +1 -0
- 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
- data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_pull_request/returns_a_pull_request.json +1 -0
- data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_update_pull_request/updates_a_pull_request.json +1 -0
- 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
- 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
- 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
- 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
- data/spec/cassettes/Octokit_Client_Refs/_ref/returns_a_tags_ref.json +1 -0
- data/spec/cassettes/Octokit_Client_Refs/_refs/returns_all_refs.json +1 -0
- data/spec/cassettes/Octokit_Client_Refs/_refs/returns_all_tag_refs.json +1 -0
- data/spec/cassettes/Octokit_Client_Refs/methods_that_require_a_ref/_create_ref/creates_a_ref.json +1 -0
- data/spec/cassettes/Octokit_Client_Refs/methods_that_require_a_ref/_delete_ref/deletes_an_existing_ref.json +1 -0
- data/spec/cassettes/Octokit_Client_Refs/methods_that_require_a_ref/_update_ref/updates_a_ref.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_all_repositories/returns_all_repositories_on_github.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_assignees/lists_all_the_available_assignees_owner_collaborators_.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_branches/returns_a_repository_s_branches.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_branches/returns_a_single_branch.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_check_assignee/checks_to_see_if_a_particular_user_is_an_assignee_for_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_collaborators/returns_a_repository_s_collaborators.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_contributors/returns_repository_contributors.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_contributors/returns_repository_contributors_excluding_anonymous.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_create_repository/creates_a_repository_for_an_organization.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_delete_subscription/returns_true_when_repo_subscription_deleted.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_fork/forks_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_languages/returns_a_repository_s_languages.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_network/returns_a_repository_s_network.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_repositories/returns_a_user_s_repositories.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_repositories/returns_authenticated_user_s_repositories.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_repository/returns_the_matching_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_repository_/returns_false_if_the_repository_doesn_t_exist.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_repository_/returns_true_if_the_repository_exists.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_star/stars_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_stargazers/returns_all_repository_stargazers.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_subscribers/lists_all_the_users_watching_the_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_subscription/returns_a_repository_subscription.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_tags/returns_a_repository_s_tags.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_unstar/unstars_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_unwatch/unwatches_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_update_subscription/updates_a_repository_subscription.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_watch/watches_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/_watchers/returns_all_repository_watchers.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_add_collaborator/adds_a_repository_collaborators.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_create_repository/creates_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_delete_repository/deletes_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_deploy_keys/returns_a_repository_s_deploy_keys.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_hooks/returns_a_repository_s_hooks.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_remove_collaborator/removes_a_repository_collaborators.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_repository_teams/returns_all_repository_teams.json +1 -0
- data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_update_repository/updates_the_matching_repository.json +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- data/spec/cassettes/Octokit_Client_Say/_say/returns_an_ASCII_octocat.json +1 -0
- data/spec/cassettes/Octokit_Client_Say/_say/returns_an_ASCII_octocat_with_custom_text.json +1 -0
- data/spec/cassettes/Octokit_Client_ServiceStatus/_github_status/returns_the_current_system_status.json +1 -0
- data/spec/cassettes/Octokit_Client_ServiceStatus/_github_status/returns_the_most_recent_status_messages.json +1 -0
- data/spec/cassettes/Octokit_Client_ServiceStatus/_github_status_last_message/returns_the_last_human_message.json +1 -0
- data/spec/cassettes/Octokit_Client_Stats/_code_frequency_stats/returns_the_code_frequency_stats.json +1 -0
- data/spec/cassettes/Octokit_Client_Stats/_commit_activity_stats/returns_the_commit_activity_stats.json +1 -0
- data/spec/cassettes/Octokit_Client_Stats/_contributors_stats/returns_contributors_and_their_contribution_stats.json +1 -0
- data/spec/cassettes/Octokit_Client_Stats/_participation_stats/returns_the_owner_and_contributor_participation_stats.json +1 -0
- data/spec/cassettes/Octokit_Client_Stats/_punch_card_stats/returns_commit_count_by_hour_punch_card_stats.json +1 -0
- data/spec/cassettes/Octokit_Client_Statuses/_create_status/creates_status.json +1 -0
- data/spec/cassettes/Octokit_Client_Statuses/_statuses/lists_commit_statuses.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_add_email/adds_an_email_address.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_all_users/returns_all_GitHub_users.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_emails/returns_email_addresses.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_follow/follows_a_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_followers/returns_followers_for_a_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_followers/returns_the_authenticated_user_s_followers.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_following/returns_following_for_a_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_following/returns_the_authenticated_user_s_following.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_follows_/checks_if_the_authenticated_user_follows_another.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_keys/returns_public_keys_for_the_authenticated_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_remove_email/removes_an_email_address.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_starred/returns_starred_repositories_for_a_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_starred/returns_starred_repositories_for_the_authenticated_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_starred_/checks_if_the_authenticated_user_has_starred_a_repository.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_subscriptions/returns_the_repositories_a_user_watches_for_notifications.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_subscriptions/returns_the_repositories_the_authenticated_user_watches_for_notifications.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_unfollow/unfollows_a_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_update_user/updates_a_user_profile.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_user/returns_a_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_user/returns_the_authenticated_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_user_keys/returns_public_keys_for_another_user.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/_validate_credentials/validates_username_and_password.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_add_key/adds_a_public_key.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_key/returns_a_public_key.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_remove_key/removes_a_public_key.json +1 -0
- data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_update_key/updates_a_public_key.json +1 -0
- data/spec/cassettes/delete_authorization.json +1 -0
- data/spec/cassettes/rate_limit.json +1 -0
- data/spec/cassettes/root.json +1 -0
- data/spec/fixtures/user.json +29 -18
- data/spec/fixtures/{user_token.json → web_flow_token.json} +0 -0
- data/spec/helper.rb +49 -22
- data/spec/octokit/client/authorizations_spec.rb +69 -80
- data/spec/octokit/client/commit_comments_spec.rb +62 -0
- data/spec/octokit/client/commits_spec.rb +93 -226
- data/spec/octokit/client/contents_spec.rb +64 -119
- data/spec/octokit/client/downloads_spec.rb +34 -38
- data/spec/octokit/client/emojis_spec.rb +5 -11
- data/spec/octokit/client/events_spec.rb +67 -51
- data/spec/octokit/client/gists_spec.rb +148 -142
- data/spec/octokit/client/gitignore_spec.rb +11 -14
- data/spec/octokit/client/issues_spec.rb +129 -161
- data/spec/octokit/client/labels_spec.rb +81 -114
- data/spec/octokit/client/legacy_search_spec.rb +42 -0
- data/spec/octokit/client/markdown_spec.rb +9 -12
- data/spec/octokit/client/meta_spec.rb +14 -0
- data/spec/octokit/client/milestones_spec.rb +40 -48
- data/spec/octokit/client/notifications_spec.rb +57 -113
- data/spec/octokit/client/objects_spec.rb +36 -74
- data/spec/octokit/client/organizations_spec.rb +140 -262
- data/spec/octokit/client/pub_sub_hubbub_spec.rb +58 -49
- data/spec/octokit/client/pull_requests_spec.rb +186 -0
- data/spec/octokit/client/rate_limit_spec.rb +40 -0
- data/spec/octokit/client/refs_spec.rb +47 -56
- data/spec/octokit/client/repositories_spec.rb +301 -438
- data/spec/octokit/client/say_spec.rb +8 -22
- data/spec/octokit/client/service_status_spec.rb +37 -0
- data/spec/octokit/client/stats_spec.rb +82 -32
- data/spec/octokit/client/statuses_spec.rb +11 -51
- data/spec/octokit/client/users_spec.rb +144 -348
- data/spec/octokit/client_spec.rb +345 -195
- data/spec/octokit/rate_limit_spec.rb +25 -0
- data/spec/octokit_spec.rb +31 -15
- metadata +585 -387
- data/lib/faraday/response/raise_octokit_error.rb +0 -25
- data/lib/octokit/client/github.rb +0 -19
- data/lib/octokit/client/pub_sub_hubbub/service_hooks.rb +0 -37
- data/lib/octokit/configuration.rb +0 -77
- data/lib/octokit/connection.rb +0 -53
- data/lib/octokit/request.rb +0 -110
- data/spec/faraday/response_spec.rb +0 -63
- data/spec/fixtures/all_repositories.json +0 -122
- data/spec/fixtures/all_users.json +0 -34
- data/spec/fixtures/authorization.json +0 -16
- data/spec/fixtures/authorizations.json +0 -66
- data/spec/fixtures/blob.json +0 -7
- data/spec/fixtures/blob_create.json +0 -3
- data/spec/fixtures/branches.json +0 -16
- data/spec/fixtures/code_frequency_stats.json +0 -897
- data/spec/fixtures/collaborators.json +0 -62
- data/spec/fixtures/comment.json +0 -14
- data/spec/fixtures/comments.json +0 -44
- data/spec/fixtures/commit.json +0 -50
- data/spec/fixtures/commit_activity_stats.json +0 -678
- data/spec/fixtures/commit_comment.json +0 -19
- data/spec/fixtures/commit_comment_create.json +0 -19
- data/spec/fixtures/commit_comment_update.json +0 -19
- data/spec/fixtures/commit_comments.json +0 -78
- data/spec/fixtures/commit_create.json +0 -25
- data/spec/fixtures/commits.json +0 -1414
- data/spec/fixtures/compare.json +0 -98
- data/spec/fixtures/contents.json +0 -14
- data/spec/fixtures/contributor_stats.json +0 -2196
- data/spec/fixtures/contributors.json +0 -891
- data/spec/fixtures/create_content.json +0 -44
- data/spec/fixtures/delete_content.json +0 -30
- data/spec/fixtures/download.json +0 -11
- data/spec/fixtures/download_create.json +0 -21
- data/spec/fixtures/downloads.json +0 -35
- data/spec/fixtures/emails.json +0 -4
- data/spec/fixtures/emojis.json +0 -500
- data/spec/fixtures/followers.json +0 -212
- data/spec/fixtures/following.json +0 -209
- data/spec/fixtures/forks.json +0 -872
- data/spec/fixtures/gist.json +0 -51
- data/spec/fixtures/gist_comment.json +0 -19
- data/spec/fixtures/gist_comment_create.json +0 -19
- data/spec/fixtures/gist_comment_update.json +0 -19
- data/spec/fixtures/gist_comments.json +0 -40
- data/spec/fixtures/gists.json +0 -548
- data/spec/fixtures/github_meta.json +0 -9
- data/spec/fixtures/github_status.json +0 -4
- data/spec/fixtures/github_status_last_message.json +0 -5
- data/spec/fixtures/github_status_messages.json +0 -12
- data/spec/fixtures/gitignore_template_ruby.json +0 -4
- data/spec/fixtures/gitignore_templates.json +0 -78
- data/spec/fixtures/hook.json +0 -18
- data/spec/fixtures/hooks.json +0 -70
- data/spec/fixtures/issue.json +0 -35
- data/spec/fixtures/issue_closed.json +0 -35
- data/spec/fixtures/issue_event.json +0 -42
- data/spec/fixtures/issue_events.json +0 -72
- data/spec/fixtures/issue_full.json +0 -38
- data/spec/fixtures/issues.json +0 -1562
- data/spec/fixtures/label.json +0 -5
- data/spec/fixtures/labels.json +0 -17
- data/spec/fixtures/languages.json +0 -5
- data/spec/fixtures/legacy/issues.json +0 -49
- data/spec/fixtures/legacy/repositories.json +0 -173
- data/spec/fixtures/legacy/users.json +0 -24
- data/spec/fixtures/list_commit_comments.json +0 -572
- data/spec/fixtures/markdown_gfm +0 -1
- data/spec/fixtures/merge.json +0 -47
- data/spec/fixtures/milestone.json +0 -11
- data/spec/fixtures/milestones.json +0 -28
- data/spec/fixtures/not_found.json +0 -3
- data/spec/fixtures/notification_thread.json +0 -32
- data/spec/fixtures/notifications.json +0 -32
- data/spec/fixtures/org_issues.json +0 -710
- data/spec/fixtures/organization-repositories.json +0 -4292
- data/spec/fixtures/organization-repository.json +0 -42
- data/spec/fixtures/organization.json +0 -18
- data/spec/fixtures/organization_events.json +0 -61
- data/spec/fixtures/organization_members.json +0 -576
- data/spec/fixtures/organization_public_events.json +0 -61
- data/spec/fixtures/organization_team_members.json +0 -16
- data/spec/fixtures/organization_team_repos.json +0 -62
- data/spec/fixtures/organizations.json +0 -44
- data/spec/fixtures/participation_stats.json +0 -110
- data/spec/fixtures/public_events.json +0 -1104
- data/spec/fixtures/public_gists.json +0 -968
- data/spec/fixtures/public_key.json +0 -5
- data/spec/fixtures/public_key_update.json +0 -5
- data/spec/fixtures/public_keys.json +0 -7
- data/spec/fixtures/pull_created.json +0 -138
- data/spec/fixtures/pull_request.json +0 -138
- data/spec/fixtures/pull_request_comment.json +0 -35
- data/spec/fixtures/pull_request_comment_create.json +0 -35
- data/spec/fixtures/pull_request_comment_reply.json +0 -35
- data/spec/fixtures/pull_request_comment_update.json +0 -35
- data/spec/fixtures/pull_request_comments.json +0 -35
- data/spec/fixtures/pull_request_commits.json +0 -45
- data/spec/fixtures/pull_request_files.json +0 -35
- data/spec/fixtures/pull_request_merged.json +0 -5
- data/spec/fixtures/pull_requests.json +0 -187
- data/spec/fixtures/pull_requests_comments.json +0 -82
- data/spec/fixtures/pull_update.json +0 -138
- data/spec/fixtures/punch_card_stats.json +0 -842
- data/spec/fixtures/readme.json +0 -14
- data/spec/fixtures/ref.json +0 -9
- data/spec/fixtures/ref_create.json +0 -29
- data/spec/fixtures/ref_update.json +0 -11
- data/spec/fixtures/refs.json +0 -38
- data/spec/fixtures/refs_tags.json +0 -29
- data/spec/fixtures/repo_assignees.json +0 -30
- data/spec/fixtures/repo_events.json +0 -1652
- data/spec/fixtures/repo_issues_events.json +0 -128
- data/spec/fixtures/repositories.json +0 -872
- data/spec/fixtures/repository.json +0 -34
- data/spec/fixtures/repository_issues_comments.json +0 -52
- data/spec/fixtures/repository_network_events.json +0 -155
- data/spec/fixtures/repository_notifications.json +0 -32
- data/spec/fixtures/say.txt +0 -22
- data/spec/fixtures/say_custom.txt +0 -22
- data/spec/fixtures/stargazers.json +0 -212
- data/spec/fixtures/starred.json +0 -1114
- data/spec/fixtures/starred_gists.json +0 -30
- data/spec/fixtures/status.json +0 -16
- data/spec/fixtures/statuses.json +0 -34
- data/spec/fixtures/subscribers.json +0 -9
- data/spec/fixtures/subscription.json +0 -8
- data/spec/fixtures/subscription_update.json +0 -8
- data/spec/fixtures/subscriptions.json +0 -39
- data/spec/fixtures/tag.json +0 -16
- data/spec/fixtures/tag_create.json +0 -16
- data/spec/fixtures/tags.json +0 -173
- data/spec/fixtures/team.json +0 -8
- data/spec/fixtures/teams.json +0 -12
- data/spec/fixtures/thread_subscription.json +0 -8
- data/spec/fixtures/thread_subscription_update.json +0 -8
- data/spec/fixtures/tree.json +0 -112
- data/spec/fixtures/tree_create.json +0 -14
- data/spec/fixtures/update_content.json +0 -44
- data/spec/fixtures/user_events.json +0 -101
- data/spec/fixtures/user_issues.json +0 -710
- data/spec/fixtures/user_performed_public_events.json +0 -78
- data/spec/fixtures/user_public_events.json +0 -78
- data/spec/fixtures/validation_failed.json +0 -11
- data/spec/fixtures/watched.json +0 -1022
- data/spec/fixtures/watchers.json +0 -182
- data/spec/octokit/client/github_spec.rb +0 -19
- data/spec/octokit/client/issue_events_spec.rb +0 -30
- data/spec/octokit/client/pub_sub_hubbub/service_hooks_spec.rb +0 -48
- data/spec/octokit/client/pulls_spec.rb +0 -210
data/spec/fixtures/gist.json
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"created_at": "2011-12-12T14:17:27Z",
|
3
|
-
"public": true,
|
4
|
-
"html_url": "https://gist.github.com/1467395",
|
5
|
-
"history": [
|
6
|
-
{
|
7
|
-
"change_status": {
|
8
|
-
"total": 35,
|
9
|
-
"deletions": 0,
|
10
|
-
"additions": 35
|
11
|
-
},
|
12
|
-
"committed_at": "2011-12-12T14:17:27Z",
|
13
|
-
"version": "feec2d7e642c34a02db2e3ba14c48836869e2de8",
|
14
|
-
"url": "https://api.github.com/gists/1467395/feec2d7e642c34a02db2e3ba14c48836869e2de8",
|
15
|
-
"user": {
|
16
|
-
"login": "Oshuma",
|
17
|
-
"url": "https://api.github.com/users/Oshuma",
|
18
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
19
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
20
|
-
"id": 2441
|
21
|
-
}
|
22
|
-
}
|
23
|
-
],
|
24
|
-
"forks": [
|
25
|
-
|
26
|
-
],
|
27
|
-
"files": {
|
28
|
-
"android_shit.xml": {
|
29
|
-
"type": "application/xml",
|
30
|
-
"filename": "android_shit.xml",
|
31
|
-
"raw_url": "https://gist.github.com/raw/1467395/712a11748a19bc0b377e67f542aeac39ef18261e/android_shit.xml",
|
32
|
-
"content": " <target\n name=\"run\"\n description=\"Build and run the app on the default emulator.\"\n depends=\"clean, debug, installd\">\n\n <property name=\"adb\"\n value=\"${sdk.dir}/platform-tools/adb\" />\n\n <property name=\"main.activity\"\n value=\"de.nerdno.android/de.nerdno.android.NerdNode\" />\n\n <property name=\"command.opts\"\n value=\"shell am start -a android.intent.action.MAIN -n ${main.activity}\" />\n\n <echo message=\"Running on emulator...\" />\n\n <exec executable=\"${adb}\">\n <arg line=\"${command.opts}\" />\n </exec>\n </target>\n\n <target\n name=\"simulator\"\n description=\"Start the simulator defined as 'avd.target'.\">\n\n <fail\n unless=\"avd.target\"\n message=\"Define an 'avd.target' like: ant -Davd.target=target_name simulator\" />\n\n <echo message=\"Running AVD '${avd.target}'...\" />\n\n <exec spawn=\"true\" executable=\"${sdk.dir}/tools/emulator\">\n <arg line=\"-avd ${avd.target} -scale 0.8\" />\n </exec>\n </target>\n",
|
33
|
-
"size": 1057,
|
34
|
-
"language": "XML"
|
35
|
-
}
|
36
|
-
},
|
37
|
-
"git_pull_url": "git://gist.github.com/1467395.git",
|
38
|
-
"comments": 0,
|
39
|
-
"description": "",
|
40
|
-
"updated_at": "2011-12-12T14:17:27Z",
|
41
|
-
"git_push_url": "git@gist.github.com:1467395.git",
|
42
|
-
"id": "1467395",
|
43
|
-
"url": "https://api.github.com/gists/1467395",
|
44
|
-
"user": {
|
45
|
-
"login": "Oshuma",
|
46
|
-
"url": "https://api.github.com/users/Oshuma",
|
47
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
48
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
49
|
-
"id": 2441
|
50
|
-
}
|
51
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"updated_at": "2012-08-30T13:53:41Z",
|
3
|
-
"body": "That was easy..\r\n![Not Bad](http://i.imgur.com/4evZN.jpg)",
|
4
|
-
"user": {
|
5
|
-
"_links": {
|
6
|
-
"self": {
|
7
|
-
"href": "https://api.github.com/users/12k"
|
8
|
-
}
|
9
|
-
},
|
10
|
-
"gravatar_id": "483dbc17be3a07e7e0136bef0e341707",
|
11
|
-
"login": "12k",
|
12
|
-
"url": "https://api.github.com/users/12k",
|
13
|
-
"avatar_url": "https://secure.gravatar.com/avatar/483dbc17be3a07e7e0136bef0e341707?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
|
14
|
-
"id": 1312973
|
15
|
-
},
|
16
|
-
"created_at": "2012-08-30T13:53:41Z",
|
17
|
-
"url": "https://api.github.com/gists/comments/451398",
|
18
|
-
"id": 451398
|
19
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"updated_at": "2012-10-13T23:03:57Z",
|
3
|
-
"body": "This is very helpful.",
|
4
|
-
"user": {
|
5
|
-
"gravatar_id": "18c2c44835cc7c5ada7c027f12674714",
|
6
|
-
"login": "joeyw",
|
7
|
-
"_links": {
|
8
|
-
"self": {
|
9
|
-
"href": "https://api.github.com/users/joeyw"
|
10
|
-
}
|
11
|
-
},
|
12
|
-
"url": "https://api.github.com/users/joeyw",
|
13
|
-
"avatar_url": "https://secure.gravatar.com/avatar/18c2c44835cc7c5ada7c027f12674714?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
|
14
|
-
"id": 478247
|
15
|
-
},
|
16
|
-
"created_at": "2012-10-13T23:03:57Z",
|
17
|
-
"url": "https://api.github.com/gists/comments/586399",
|
18
|
-
"id": 586399
|
19
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"updated_at": "2012-10-13T23:25:50Z",
|
3
|
-
"body": ":heart:",
|
4
|
-
"user": {
|
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
|
-
"gravatar_id": "18c2c44835cc7c5ada7c027f12674714",
|
7
|
-
"login": "joeyw",
|
8
|
-
"_links": {
|
9
|
-
"self": {
|
10
|
-
"href": "https://api.github.com/users/joeyw"
|
11
|
-
}
|
12
|
-
},
|
13
|
-
"url": "https://api.github.com/users/joeyw",
|
14
|
-
"id": 478247
|
15
|
-
},
|
16
|
-
"created_at": "2012-10-13T23:03:57Z",
|
17
|
-
"url": "https://api.github.com/gists/comments/586399",
|
18
|
-
"id": 586399
|
19
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"updated_at": "2012-08-30T13:53:41Z",
|
4
|
-
"body": "That was easy..\r\n![Not Bad](http://i.imgur.com/4evZN.jpg)",
|
5
|
-
"user": {
|
6
|
-
"_links": {
|
7
|
-
"self": {
|
8
|
-
"href": "https://api.github.com/users/12k"
|
9
|
-
}
|
10
|
-
},
|
11
|
-
"gravatar_id": "483dbc17be3a07e7e0136bef0e341707",
|
12
|
-
"login": "12k",
|
13
|
-
"url": "https://api.github.com/users/12k",
|
14
|
-
"avatar_url": "https://secure.gravatar.com/avatar/483dbc17be3a07e7e0136bef0e341707?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
|
15
|
-
"id": 1312973
|
16
|
-
},
|
17
|
-
"created_at": "2012-08-30T13:53:41Z",
|
18
|
-
"url": "https://api.github.com/gists/comments/451398",
|
19
|
-
"id": 451398
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"updated_at": "2012-08-30T18:52:56Z",
|
23
|
-
"body": ":sparkles:",
|
24
|
-
"user": {
|
25
|
-
"_links": {
|
26
|
-
"self": {
|
27
|
-
"href": "https://api.github.com/users/eriwen"
|
28
|
-
}
|
29
|
-
},
|
30
|
-
"gravatar_id": "bca89ff7612c074bbe1a77d2cf0a4fb0",
|
31
|
-
"login": "eriwen",
|
32
|
-
"url": "https://api.github.com/users/eriwen",
|
33
|
-
"avatar_url": "https://secure.gravatar.com/avatar/bca89ff7612c074bbe1a77d2cf0a4fb0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
|
34
|
-
"id": 51534
|
35
|
-
},
|
36
|
-
"created_at": "2012-08-30T18:52:56Z",
|
37
|
-
"url": "https://api.github.com/gists/comments/458664",
|
38
|
-
"id": 458664
|
39
|
-
}
|
40
|
-
]
|
data/spec/fixtures/gists.json
DELETED
@@ -1,548 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"user": {
|
4
|
-
"url": "https://api.github.com/users/Oshuma",
|
5
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
6
|
-
"login": "Oshuma",
|
7
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
8
|
-
"id": 2441
|
9
|
-
},
|
10
|
-
"description": "dmesg |grep -i dma",
|
11
|
-
"comments": 0,
|
12
|
-
"git_pull_url": "git://gist.github.com/2631715.git",
|
13
|
-
"updated_at": "2012-05-08T00:41:20Z",
|
14
|
-
"public": true,
|
15
|
-
"git_push_url": "git@gist.github.com:2631715.git",
|
16
|
-
"url": "https://api.github.com/gists/2631715",
|
17
|
-
"id": "2631715",
|
18
|
-
"created_at": "2012-05-08T00:41:08Z",
|
19
|
-
"files": {
|
20
|
-
"dma": {
|
21
|
-
"type": "text/plain",
|
22
|
-
"raw_url": "https://gist.github.com/raw/2631715/50a717e0f73db498205d4423c30c6953403bd942/dma",
|
23
|
-
"size": 1408,
|
24
|
-
"filename": "dma",
|
25
|
-
"language": null
|
26
|
-
},
|
27
|
-
"vesa": {
|
28
|
-
"type": "text/plain",
|
29
|
-
"raw_url": "https://gist.github.com/raw/2631715/492508eb7f1cc9d71d92d13e78a4124f6a3e1704/vesa",
|
30
|
-
"size": 450,
|
31
|
-
"filename": "vesa",
|
32
|
-
"language": null
|
33
|
-
}
|
34
|
-
},
|
35
|
-
"html_url": "https://gist.github.com/2631715"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"user": {
|
39
|
-
"url": "https://api.github.com/users/Oshuma",
|
40
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
41
|
-
"login": "Oshuma",
|
42
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
43
|
-
"id": 2441
|
44
|
-
},
|
45
|
-
"description": "",
|
46
|
-
"comments": 0,
|
47
|
-
"git_pull_url": "git://gist.github.com/1480971.git",
|
48
|
-
"updated_at": "2011-12-15T12:43:00Z",
|
49
|
-
"public": true,
|
50
|
-
"git_push_url": "git@gist.github.com:1480971.git",
|
51
|
-
"url": "https://api.github.com/gists/1480971",
|
52
|
-
"id": "1480971",
|
53
|
-
"created_at": "2011-12-15T12:43:00Z",
|
54
|
-
"files": {
|
55
|
-
"export_logs.sh": {
|
56
|
-
"type": "application/sh",
|
57
|
-
"raw_url": "https://gist.github.com/raw/1480971/8c1101586c344e53de2a76bb05cf596f1909fba6/export_logs.sh",
|
58
|
-
"size": 395,
|
59
|
-
"filename": "export_logs.sh",
|
60
|
-
"language": "Shell"
|
61
|
-
},
|
62
|
-
"compress_iphone_logs.sh": {
|
63
|
-
"type": "application/sh",
|
64
|
-
"raw_url": "https://gist.github.com/raw/1480971/0131940697d28348c100fa0fa1c95f34304684b6/compress_iphone_logs.sh",
|
65
|
-
"size": 228,
|
66
|
-
"filename": "compress_iphone_logs.sh",
|
67
|
-
"language": "Shell"
|
68
|
-
}
|
69
|
-
},
|
70
|
-
"html_url": "https://gist.github.com/1480971"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"user": {
|
74
|
-
"url": "https://api.github.com/users/Oshuma",
|
75
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
76
|
-
"login": "Oshuma",
|
77
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
78
|
-
"id": 2441
|
79
|
-
},
|
80
|
-
"description": "",
|
81
|
-
"comments": 0,
|
82
|
-
"git_pull_url": "git://gist.github.com/1467395.git",
|
83
|
-
"updated_at": "2011-12-12T14:17:27Z",
|
84
|
-
"public": true,
|
85
|
-
"git_push_url": "git@gist.github.com:1467395.git",
|
86
|
-
"url": "https://api.github.com/gists/1467395",
|
87
|
-
"id": "1467395",
|
88
|
-
"created_at": "2011-12-12T14:17:27Z",
|
89
|
-
"files": {
|
90
|
-
"android_shit.xml": {
|
91
|
-
"type": "application/xml",
|
92
|
-
"raw_url": "https://gist.github.com/raw/1467395/712a11748a19bc0b377e67f542aeac39ef18261e/android_shit.xml",
|
93
|
-
"size": 1057,
|
94
|
-
"filename": "android_shit.xml",
|
95
|
-
"language": "XML"
|
96
|
-
}
|
97
|
-
},
|
98
|
-
"html_url": "https://gist.github.com/1467395"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"user": {
|
102
|
-
"url": "https://api.github.com/users/Oshuma",
|
103
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
104
|
-
"login": "Oshuma",
|
105
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
106
|
-
"id": 2441
|
107
|
-
},
|
108
|
-
"description": "",
|
109
|
-
"comments": 0,
|
110
|
-
"git_pull_url": "git://gist.github.com/1202712.git",
|
111
|
-
"updated_at": "2011-09-08T05:41:42Z",
|
112
|
-
"public": true,
|
113
|
-
"git_push_url": "git@gist.github.com:1202712.git",
|
114
|
-
"url": "https://api.github.com/gists/1202712",
|
115
|
-
"id": "1202712",
|
116
|
-
"created_at": "2011-09-08T05:41:42Z",
|
117
|
-
"files": {
|
118
|
-
".tmux.conf": {
|
119
|
-
"type": "text/plain",
|
120
|
-
"raw_url": "https://gist.github.com/raw/1202712/9180aeb256e9cdbeb9e5306623336295f2aa2a6f/.tmux.conf",
|
121
|
-
"size": 724,
|
122
|
-
"filename": ".tmux.conf",
|
123
|
-
"language": null
|
124
|
-
}
|
125
|
-
},
|
126
|
-
"html_url": "https://gist.github.com/1202712"
|
127
|
-
},
|
128
|
-
{
|
129
|
-
"user": {
|
130
|
-
"url": "https://api.github.com/users/Oshuma",
|
131
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
132
|
-
"login": "Oshuma",
|
133
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
134
|
-
"id": 2441
|
135
|
-
},
|
136
|
-
"description": "Patch to IRB to allow a custom context.",
|
137
|
-
"comments": 0,
|
138
|
-
"git_pull_url": "git://gist.github.com/948725.git",
|
139
|
-
"updated_at": "2011-04-29T18:03:33Z",
|
140
|
-
"public": true,
|
141
|
-
"git_push_url": "git@gist.github.com:948725.git",
|
142
|
-
"url": "https://api.github.com/gists/948725",
|
143
|
-
"id": "948725",
|
144
|
-
"created_at": "2011-04-29T18:02:39Z",
|
145
|
-
"files": {
|
146
|
-
"usage.rb": {
|
147
|
-
"type": "application/ruby",
|
148
|
-
"raw_url": "https://gist.github.com/raw/948725/fec4365da7c0c165fda5f3ac0c17cde9bfe6f2ac/usage.rb",
|
149
|
-
"size": 274,
|
150
|
-
"filename": "usage.rb",
|
151
|
-
"language": "Ruby"
|
152
|
-
},
|
153
|
-
"core_ext-irb.rb": {
|
154
|
-
"type": "application/ruby",
|
155
|
-
"raw_url": "https://gist.github.com/raw/948725/b674832074a400984abbb15251d8ed93dff42274/core_ext-irb.rb",
|
156
|
-
"size": 729,
|
157
|
-
"filename": "core_ext-irb.rb",
|
158
|
-
"language": "Ruby"
|
159
|
-
}
|
160
|
-
},
|
161
|
-
"html_url": "https://gist.github.com/948725"
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"user": {
|
165
|
-
"url": "https://api.github.com/users/Oshuma",
|
166
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
167
|
-
"login": "Oshuma",
|
168
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
169
|
-
"id": 2441
|
170
|
-
},
|
171
|
-
"description": "http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt",
|
172
|
-
"comments": 0,
|
173
|
-
"git_pull_url": "git://gist.github.com/898327.git",
|
174
|
-
"updated_at": "2011-04-01T15:23:34Z",
|
175
|
-
"public": true,
|
176
|
-
"git_push_url": "git@gist.github.com:898327.git",
|
177
|
-
"url": "https://api.github.com/gists/898327",
|
178
|
-
"id": "898327",
|
179
|
-
"created_at": "2011-04-01T15:23:34Z",
|
180
|
-
"files": {
|
181
|
-
"UTF-8-demo.txt": {
|
182
|
-
"type": "text/plain",
|
183
|
-
"raw_url": "https://gist.github.com/raw/898327/82922114965f59b974c67dc1e8c6afc4f347779d/UTF-8-demo.txt",
|
184
|
-
"size": 13986,
|
185
|
-
"filename": "UTF-8-demo.txt",
|
186
|
-
"language": "Text"
|
187
|
-
}
|
188
|
-
},
|
189
|
-
"html_url": "https://gist.github.com/898327"
|
190
|
-
},
|
191
|
-
{
|
192
|
-
"user": {
|
193
|
-
"url": "https://api.github.com/users/Oshuma",
|
194
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
195
|
-
"login": "Oshuma",
|
196
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
197
|
-
"id": 2441
|
198
|
-
},
|
199
|
-
"description": "Minecraft shell script launcher.",
|
200
|
-
"comments": 0,
|
201
|
-
"git_pull_url": "git://gist.github.com/820388.git",
|
202
|
-
"updated_at": "2011-02-10T13:42:12Z",
|
203
|
-
"public": true,
|
204
|
-
"git_push_url": "git@gist.github.com:820388.git",
|
205
|
-
"url": "https://api.github.com/gists/820388",
|
206
|
-
"id": "820388",
|
207
|
-
"created_at": "2011-02-10T11:45:53Z",
|
208
|
-
"files": {
|
209
|
-
"minecraft.sh": {
|
210
|
-
"type": "application/sh",
|
211
|
-
"raw_url": "https://gist.github.com/raw/820388/9f80242b24d11933320006387be9829bd15edf53/minecraft.sh",
|
212
|
-
"size": 191,
|
213
|
-
"filename": "minecraft.sh",
|
214
|
-
"language": "Shell"
|
215
|
-
},
|
216
|
-
"server.sh": {
|
217
|
-
"type": "application/sh",
|
218
|
-
"raw_url": "https://gist.github.com/raw/820388/9c90b98c7afaaf6ef68e7134ea7ad86b7e4241e4/server.sh",
|
219
|
-
"size": 371,
|
220
|
-
"filename": "server.sh",
|
221
|
-
"language": "Shell"
|
222
|
-
}
|
223
|
-
},
|
224
|
-
"html_url": "https://gist.github.com/820388"
|
225
|
-
},
|
226
|
-
{
|
227
|
-
"user": {
|
228
|
-
"url": "https://api.github.com/users/Oshuma",
|
229
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
230
|
-
"login": "Oshuma",
|
231
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
232
|
-
"id": 2441
|
233
|
-
},
|
234
|
-
"description": "",
|
235
|
-
"comments": 0,
|
236
|
-
"git_pull_url": "git://gist.github.com/785564.git",
|
237
|
-
"updated_at": "2011-01-19T02:13:26Z",
|
238
|
-
"public": true,
|
239
|
-
"git_push_url": "git@gist.github.com:785564.git",
|
240
|
-
"url": "https://api.github.com/gists/785564",
|
241
|
-
"id": "785564",
|
242
|
-
"created_at": "2011-01-19T02:13:26Z",
|
243
|
-
"files": {
|
244
|
-
"what_the_fuck.java": {
|
245
|
-
"type": "text/plain",
|
246
|
-
"raw_url": "https://gist.github.com/raw/785564/9b8e75700e13951fd2de42e42af36ffbeca59c1f/what_the_fuck.java",
|
247
|
-
"size": 316,
|
248
|
-
"filename": "what_the_fuck.java",
|
249
|
-
"language": "Java"
|
250
|
-
}
|
251
|
-
},
|
252
|
-
"html_url": "https://gist.github.com/785564"
|
253
|
-
},
|
254
|
-
{
|
255
|
-
"user": {
|
256
|
-
"url": "https://api.github.com/users/Oshuma",
|
257
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
258
|
-
"login": "Oshuma",
|
259
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
260
|
-
"id": 2441
|
261
|
-
},
|
262
|
-
"description": "",
|
263
|
-
"comments": 0,
|
264
|
-
"git_pull_url": "git://gist.github.com/774410.git",
|
265
|
-
"updated_at": "2011-01-11T14:04:20Z",
|
266
|
-
"public": true,
|
267
|
-
"git_push_url": "git@gist.github.com:774410.git",
|
268
|
-
"url": "https://api.github.com/gists/774410",
|
269
|
-
"id": "774410",
|
270
|
-
"created_at": "2011-01-11T13:37:55Z",
|
271
|
-
"files": {
|
272
|
-
".tmux.conf": {
|
273
|
-
"type": "text/plain",
|
274
|
-
"raw_url": "https://gist.github.com/raw/774410/75703e54e8370162d5e0988c7bd92eaeff94c3ef/.tmux.conf",
|
275
|
-
"size": 676,
|
276
|
-
"filename": ".tmux.conf",
|
277
|
-
"language": null
|
278
|
-
}
|
279
|
-
},
|
280
|
-
"html_url": "https://gist.github.com/774410"
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"user": {
|
284
|
-
"url": "https://api.github.com/users/Oshuma",
|
285
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
286
|
-
"login": "Oshuma",
|
287
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
288
|
-
"id": 2441
|
289
|
-
},
|
290
|
-
"description": "",
|
291
|
-
"comments": 0,
|
292
|
-
"git_pull_url": "git://gist.github.com/703242.git",
|
293
|
-
"updated_at": "2010-11-17T10:48:36Z",
|
294
|
-
"public": true,
|
295
|
-
"git_push_url": "git@gist.github.com:703242.git",
|
296
|
-
"url": "https://api.github.com/gists/703242",
|
297
|
-
"id": "703242",
|
298
|
-
"created_at": "2010-11-17T10:42:26Z",
|
299
|
-
"files": {
|
300
|
-
"auto_ssh.zsh": {
|
301
|
-
"type": "text/plain",
|
302
|
-
"raw_url": "https://gist.github.com/raw/703242/c295cd25427b297e6ed9da9db4ffa3ab00faea2b/auto_ssh.zsh",
|
303
|
-
"size": 553,
|
304
|
-
"filename": "auto_ssh.zsh",
|
305
|
-
"language": "Shell"
|
306
|
-
}
|
307
|
-
},
|
308
|
-
"html_url": "https://gist.github.com/703242"
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"user": {
|
312
|
-
"url": "https://api.github.com/users/Oshuma",
|
313
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
314
|
-
"login": "Oshuma",
|
315
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
316
|
-
"id": 2441
|
317
|
-
},
|
318
|
-
"description": null,
|
319
|
-
"comments": 0,
|
320
|
-
"git_pull_url": "git://gist.github.com/701304.git",
|
321
|
-
"updated_at": "2010-11-16T11:40:12Z",
|
322
|
-
"public": true,
|
323
|
-
"git_push_url": "git@gist.github.com:701304.git",
|
324
|
-
"url": "https://api.github.com/gists/701304",
|
325
|
-
"id": "701304",
|
326
|
-
"created_at": "2010-11-16T01:57:00Z",
|
327
|
-
"files": {
|
328
|
-
"array_object_webapp.rb": {
|
329
|
-
"type": "application/ruby",
|
330
|
-
"raw_url": "https://gist.github.com/raw/701304/cdcd06a99aa94ac09f262a633b0874c18efefcbe/array_object_webapp.rb",
|
331
|
-
"size": 712,
|
332
|
-
"filename": "array_object_webapp.rb",
|
333
|
-
"language": "Ruby"
|
334
|
-
},
|
335
|
-
"webapp.rb": {
|
336
|
-
"type": "application/ruby",
|
337
|
-
"raw_url": "https://gist.github.com/raw/701304/04642793ee8da46b8c241f2a602d57146f9e4582/webapp.rb",
|
338
|
-
"size": 679,
|
339
|
-
"filename": "webapp.rb",
|
340
|
-
"language": "Ruby"
|
341
|
-
},
|
342
|
-
"object_app.rb": {
|
343
|
-
"type": "application/ruby",
|
344
|
-
"raw_url": "https://gist.github.com/raw/701304/b4b05072d9524769a347ae14afa90ec6e5233472/object_app.rb",
|
345
|
-
"size": 476,
|
346
|
-
"filename": "object_app.rb",
|
347
|
-
"language": "Ruby"
|
348
|
-
}
|
349
|
-
},
|
350
|
-
"html_url": "https://gist.github.com/701304"
|
351
|
-
},
|
352
|
-
{
|
353
|
-
"user": {
|
354
|
-
"url": "https://api.github.com/users/Oshuma",
|
355
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
356
|
-
"login": "Oshuma",
|
357
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
358
|
-
"id": 2441
|
359
|
-
},
|
360
|
-
"description": "",
|
361
|
-
"comments": 0,
|
362
|
-
"git_pull_url": "git://gist.github.com/700200.git",
|
363
|
-
"updated_at": "2010-12-21T00:19:14Z",
|
364
|
-
"public": true,
|
365
|
-
"git_push_url": "git@gist.github.com:700200.git",
|
366
|
-
"url": "https://api.github.com/gists/700200",
|
367
|
-
"id": "700200",
|
368
|
-
"created_at": "2010-11-15T09:27:41Z",
|
369
|
-
"files": {
|
370
|
-
".gitconfig": {
|
371
|
-
"type": "text/plain",
|
372
|
-
"raw_url": "https://gist.github.com/raw/700200/f449eb20c34c7e6675cdf7fd1034a18589afb0bc/.gitconfig",
|
373
|
-
"size": 603,
|
374
|
-
"filename": ".gitconfig",
|
375
|
-
"language": "INI"
|
376
|
-
}
|
377
|
-
},
|
378
|
-
"html_url": "https://gist.github.com/700200"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"user": {
|
382
|
-
"url": "https://api.github.com/users/Oshuma",
|
383
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
384
|
-
"login": "Oshuma",
|
385
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
386
|
-
"id": 2441
|
387
|
-
},
|
388
|
-
"description": "Simple script to make an attempt at geolocating an IP.",
|
389
|
-
"comments": 0,
|
390
|
-
"git_pull_url": "git://gist.github.com/675201.git",
|
391
|
-
"updated_at": "2010-11-13T09:04:53Z",
|
392
|
-
"public": true,
|
393
|
-
"git_push_url": "git@gist.github.com:675201.git",
|
394
|
-
"url": "https://api.github.com/gists/675201",
|
395
|
-
"id": "675201",
|
396
|
-
"created_at": "2010-11-13T09:04:53Z",
|
397
|
-
"files": {
|
398
|
-
"geo_ip.rb": {
|
399
|
-
"type": "application/ruby",
|
400
|
-
"raw_url": "https://gist.github.com/raw/675201/7a9153a842cc929a97b0a5fa27b61eeccb5f3572/geo_ip.rb",
|
401
|
-
"size": 2078,
|
402
|
-
"filename": "geo_ip.rb",
|
403
|
-
"language": "Ruby"
|
404
|
-
}
|
405
|
-
},
|
406
|
-
"html_url": "https://gist.github.com/675201"
|
407
|
-
},
|
408
|
-
{
|
409
|
-
"user": {
|
410
|
-
"url": "https://api.github.com/users/Oshuma",
|
411
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
412
|
-
"login": "Oshuma",
|
413
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
414
|
-
"id": 2441
|
415
|
-
},
|
416
|
-
"description": "Simple script which adds the given IPs to /etc/hosts.deny (or the specified file).",
|
417
|
-
"comments": 0,
|
418
|
-
"git_pull_url": "git://gist.github.com/673321.git",
|
419
|
-
"updated_at": "2010-11-11T22:25:23Z",
|
420
|
-
"public": true,
|
421
|
-
"git_push_url": "git@gist.github.com:673321.git",
|
422
|
-
"url": "https://api.github.com/gists/673321",
|
423
|
-
"id": "673321",
|
424
|
-
"created_at": "2010-11-11T22:25:22Z",
|
425
|
-
"files": {
|
426
|
-
"deny_ip.rb": {
|
427
|
-
"type": "application/ruby",
|
428
|
-
"raw_url": "https://gist.github.com/raw/673321/5b24d7f28e5bc6f455d456d124f30e16be20aa10/deny_ip.rb",
|
429
|
-
"size": 3506,
|
430
|
-
"filename": "deny_ip.rb",
|
431
|
-
"language": "Ruby"
|
432
|
-
}
|
433
|
-
},
|
434
|
-
"html_url": "https://gist.github.com/673321"
|
435
|
-
},
|
436
|
-
{
|
437
|
-
"user": {
|
438
|
-
"url": "https://api.github.com/users/Oshuma",
|
439
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
440
|
-
"login": "Oshuma",
|
441
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
442
|
-
"id": 2441
|
443
|
-
},
|
444
|
-
"description": "Rack middleware to fuck with bot requests.",
|
445
|
-
"comments": 0,
|
446
|
-
"git_pull_url": "git://gist.github.com/658309.git",
|
447
|
-
"updated_at": "2010-11-04T19:43:58Z",
|
448
|
-
"public": true,
|
449
|
-
"git_push_url": "git@gist.github.com:658309.git",
|
450
|
-
"url": "https://api.github.com/gists/658309",
|
451
|
-
"id": "658309",
|
452
|
-
"created_at": "2010-11-01T15:07:45Z",
|
453
|
-
"files": {
|
454
|
-
"bot_protector.rb": {
|
455
|
-
"type": "application/ruby",
|
456
|
-
"raw_url": "https://gist.github.com/raw/658309/c4d2dfef3ce6a9ff1a1670e002958cb554322593/bot_protector.rb",
|
457
|
-
"size": 1957,
|
458
|
-
"filename": "bot_protector.rb",
|
459
|
-
"language": "Ruby"
|
460
|
-
}
|
461
|
-
},
|
462
|
-
"html_url": "https://gist.github.com/658309"
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"user": {
|
466
|
-
"url": "https://api.github.com/users/Oshuma",
|
467
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
468
|
-
"login": "Oshuma",
|
469
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
470
|
-
"id": 2441
|
471
|
-
},
|
472
|
-
"description": "Command line tool to send something to the Gnome Trash (with restore info).",
|
473
|
-
"comments": 0,
|
474
|
-
"git_pull_url": "git://gist.github.com/646536.git",
|
475
|
-
"updated_at": "2010-10-26T08:29:53Z",
|
476
|
-
"public": true,
|
477
|
-
"git_push_url": "git@gist.github.com:646536.git",
|
478
|
-
"url": "https://api.github.com/gists/646536",
|
479
|
-
"id": "646536",
|
480
|
-
"created_at": "2010-10-26T08:29:53Z",
|
481
|
-
"files": {
|
482
|
-
"trash.rb": {
|
483
|
-
"type": "application/ruby",
|
484
|
-
"raw_url": "https://gist.github.com/raw/646536/e685ab55ed9865ad4dadd4008e49837a6dce6326/trash.rb",
|
485
|
-
"size": 1312,
|
486
|
-
"filename": "trash.rb",
|
487
|
-
"language": "Ruby"
|
488
|
-
}
|
489
|
-
},
|
490
|
-
"html_url": "https://gist.github.com/646536"
|
491
|
-
},
|
492
|
-
{
|
493
|
-
"user": {
|
494
|
-
"url": "https://api.github.com/users/Oshuma",
|
495
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
496
|
-
"login": "Oshuma",
|
497
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
498
|
-
"id": 2441
|
499
|
-
},
|
500
|
-
"description": "",
|
501
|
-
"comments": 0,
|
502
|
-
"git_pull_url": "git://gist.github.com/646418.git",
|
503
|
-
"updated_at": "2010-10-26T06:37:04Z",
|
504
|
-
"public": true,
|
505
|
-
"git_push_url": "git@gist.github.com:646418.git",
|
506
|
-
"url": "https://api.github.com/gists/646418",
|
507
|
-
"id": "646418",
|
508
|
-
"created_at": "2010-10-26T06:13:25Z",
|
509
|
-
"files": {
|
510
|
-
"mount_iso.zsh": {
|
511
|
-
"type": "text/plain",
|
512
|
-
"raw_url": "https://gist.github.com/raw/646418/b757d1c49f51929476ca5bb8f76706ab58dc65f5/mount_iso.zsh",
|
513
|
-
"size": 704,
|
514
|
-
"filename": "mount_iso.zsh",
|
515
|
-
"language": "Shell"
|
516
|
-
}
|
517
|
-
},
|
518
|
-
"html_url": "https://gist.github.com/646418"
|
519
|
-
},
|
520
|
-
{
|
521
|
-
"user": {
|
522
|
-
"url": "https://api.github.com/users/Oshuma",
|
523
|
-
"avatar_url": "https://secure.gravatar.com/avatar/f97047e2464cd5909b8bc8c6888b290a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
524
|
-
"login": "Oshuma",
|
525
|
-
"gravatar_id": "f97047e2464cd5909b8bc8c6888b290a",
|
526
|
-
"id": 2441
|
527
|
-
},
|
528
|
-
"description": null,
|
529
|
-
"comments": 0,
|
530
|
-
"git_pull_url": "git://gist.github.com/550984.git",
|
531
|
-
"updated_at": "2010-08-26T07:17:39Z",
|
532
|
-
"public": true,
|
533
|
-
"git_push_url": "git@gist.github.com:550984.git",
|
534
|
-
"url": "https://api.github.com/gists/550984",
|
535
|
-
"id": "550984",
|
536
|
-
"created_at": "2010-08-26T07:17:38Z",
|
537
|
-
"files": {
|
538
|
-
"i fucking hate bundler": {
|
539
|
-
"type": "text/plain",
|
540
|
-
"raw_url": "https://gist.github.com/raw/550984/467a4c993ef143d8485844eaa7384ec955665cbe/i fucking hate bundler",
|
541
|
-
"size": 3609,
|
542
|
-
"filename": "i fucking hate bundler",
|
543
|
-
"language": null
|
544
|
-
}
|
545
|
-
},
|
546
|
-
"html_url": "https://gist.github.com/550984"
|
547
|
-
}
|
548
|
-
]
|