github_api_v3 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/github_api_v3/client/gists.rb +15 -0
- data/lib/github_api_v3/client/repos.rb +24 -0
- data/lib/github_api_v3/client/users.rb +29 -0
- data/lib/github_api_v3/version.rb +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_create_gist/creates_a_gist.json +1 -0
- data/spec/cassettes/GitHub_Client_Gists/_create_gist_comment/creates_the_comment.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_create_gist_comment/returns_comment_information_after_creation.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_delete_gist/deletes_a_gist.json +1 -0
- data/spec/cassettes/GitHub_Client_Gists/_delete_gist_comment/deletes_the_comment.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_delete_gist_comment/returns_true_or_false.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_edit_gist/edits_a_gist.json +1 -0
- data/spec/cassettes/GitHub_Client_Gists/_edit_gist_comment/edits_the_comment.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_edit_gist_comment/returns_comment_information_after_editing.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_fork_gist/forks_a_gist.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_fork_gist/returns_false_when_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gist/returns_a_404_when_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gist/returns_gist_information.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gist_comment/returns_a_404_when_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gist_comment/returns_a_comment.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gist_comments/returns_a_404_when_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gist_comments/returns_a_list_of_comments.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gist_starred_/returns_false_when_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gist_starred_/should_return_true_or_false.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gists/returns_an_array_of_gists.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gists/returns_an_array_of_gists_for_authenticated_user.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_gists/returns_public_gists_for_unauthenticated_user.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_star_gist/returns_false_when_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_star_gist/stars_a_gist.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_unstar_gist/returns_false_when_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Gists/_unstar_gist/unstars_a_gist.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_add_remove_collaborator/adds_a_collaborator.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_add_remove_collaborator/removes_a_collaborator.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_all_repos/returns_an_array_of_repositories.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_branch/returns_a_404_if_repo_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_branch/returns_a_hash_of_branch_info.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_branches/returns_an_array_of_branches.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_collaborator_/returns_a_boolean.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_collaborators/returns_a_404_if_repo_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_collaborators/returns_a_list_of_collaborators.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_contributors/returns_a_404_if_repo_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_contributors/returns_an_array_of_contributors.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_create_repo/creates_the_repo.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_create_repo/returns_a_hash.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_create_repo/returns_unauthorized_when_not_authorized.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_delete_repo/deletes_a_repo.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_delete_repo/returns_false_if_not_authorized.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_delete_repo/returns_false_when_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_edit_repo/edits_the_repository.json +1 -0
- data/spec/cassettes/GitHub_Client_Repos/_edit_repo/returns_404_when_not_authorized.json +1 -0
- data/spec/cassettes/GitHub_Client_Repos/_edit_repo/returns_a_hash.json +1 -0
- data/spec/cassettes/GitHub_Client_Repos/_edit_repo/returns_unauthorized_when_not_authorized.json +1 -0
- data/spec/cassettes/GitHub_Client_Repos/_languages/returns_a_404_if_repo_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_languages/returns_a_hash_of_languages.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_org_repos/returns_a_404_if_repo_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_org_repos/returns_an_array_of_repos.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_repo/returns_a_repo_as_a_hash.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_repos/returns_an_array_of_repositories.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_repos/returns_an_array_of_repositories_for_authenticated_user.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_tags/returns_a_404_if_repo_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Repos/_tags/returns_an_array_of_tags.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_create_key/returns_the_key_information.json +1 -0
- data/spec/cassettes/GitHub_Client_Users/_delete_key/returns_true_or_false.json +1 -0
- data/spec/cassettes/GitHub_Client_Users/_delete_key/should_delete_the_key.json +1 -0
- data/spec/cassettes/GitHub_Client_Users/_emails/returns_an_array_of_emails.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_events/returns_a_404_for_user_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_events/returns_an_array_of_events.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_follow/follows_a_user.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_followers/returns_authenticated_users_followers_as_an_array.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_followers/returns_unauthenticated_users_followers_as_an_array.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_following/returns_an_array_of_followees.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_following_/returns_true_or_false.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_follows_/returns_false_when_not_following.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_follows_/returns_true_when_following.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_key/returns_a_key.json +1 -0
- data/spec/cassettes/GitHub_Client_Users/_key/returns_unauthorized_when_not_authorized.json +1 -0
- data/spec/cassettes/GitHub_Client_Users/_unfollow/unfollows_a_user.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_update_key/returns_the_key_information.json +1 -0
- data/spec/cassettes/GitHub_Client_Users/_user/gets_the_correct_user_info.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_user/returns_a_404_if_user_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_user/returns_a_hash.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_users/returns_an_array.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/_users/returns_an_array_of_hashes.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/keys/returns_404_for_user_not_found.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/keys/returns_an_array_of_keys.json +1 -1
- data/spec/cassettes/GitHub_Client_Users/keys/returns_an_array_of_keys_for_authenticated_user.json +1 -1
- data/spec/github_api_v3/client/gists_spec.rb +11 -3
- data/spec/github_api_v3/client/repos_spec.rb +17 -1
- data/spec/github_api_v3/client/users_spec.rb +36 -0
- data/spec/spec_helper.rb +10 -1
- metadata +27 -11
- data/spec/cassettes/GitHub_Client_Gists/_create_delete_gist/creates_a_gist.json +0 -1
- data/spec/cassettes/GitHub_Client_Gists/_create_delete_gist/deletes_a_gist.json +0 -1
- data/spec/cassettes/GitHub_Client_Repos/_delete_repo/returns_unauthorized_if_not_authorized.json +0 -1
- data/spec/cassettes/GitHub_Client_Repos/_languages/returns_an_array_of_languages.json +0 -1
- data/spec/cassettes/GitHub_Client_Repos/_org_repos/returns_a_404_if_not_found.json +0 -1
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.