github_api_v3 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/lib/github_api_v3/client/gists.rb +15 -0
  3. data/lib/github_api_v3/client/repos.rb +24 -0
  4. data/lib/github_api_v3/client/users.rb +29 -0
  5. data/lib/github_api_v3/version.rb +1 -1
  6. data/spec/cassettes/GitHub_Client_Gists/_create_gist/creates_a_gist.json +1 -0
  7. data/spec/cassettes/GitHub_Client_Gists/_create_gist_comment/creates_the_comment.json +1 -1
  8. data/spec/cassettes/GitHub_Client_Gists/_create_gist_comment/returns_comment_information_after_creation.json +1 -1
  9. data/spec/cassettes/GitHub_Client_Gists/_delete_gist/deletes_a_gist.json +1 -0
  10. data/spec/cassettes/GitHub_Client_Gists/_delete_gist_comment/deletes_the_comment.json +1 -1
  11. data/spec/cassettes/GitHub_Client_Gists/_delete_gist_comment/returns_true_or_false.json +1 -1
  12. data/spec/cassettes/GitHub_Client_Gists/_edit_gist/edits_a_gist.json +1 -0
  13. data/spec/cassettes/GitHub_Client_Gists/_edit_gist_comment/edits_the_comment.json +1 -1
  14. data/spec/cassettes/GitHub_Client_Gists/_edit_gist_comment/returns_comment_information_after_editing.json +1 -1
  15. data/spec/cassettes/GitHub_Client_Gists/_fork_gist/forks_a_gist.json +1 -1
  16. data/spec/cassettes/GitHub_Client_Gists/_fork_gist/returns_false_when_not_found.json +1 -1
  17. data/spec/cassettes/GitHub_Client_Gists/_gist/returns_a_404_when_not_found.json +1 -1
  18. data/spec/cassettes/GitHub_Client_Gists/_gist/returns_gist_information.json +1 -1
  19. data/spec/cassettes/GitHub_Client_Gists/_gist_comment/returns_a_404_when_not_found.json +1 -1
  20. data/spec/cassettes/GitHub_Client_Gists/_gist_comment/returns_a_comment.json +1 -1
  21. data/spec/cassettes/GitHub_Client_Gists/_gist_comments/returns_a_404_when_not_found.json +1 -1
  22. data/spec/cassettes/GitHub_Client_Gists/_gist_comments/returns_a_list_of_comments.json +1 -1
  23. data/spec/cassettes/GitHub_Client_Gists/_gist_starred_/returns_false_when_not_found.json +1 -1
  24. data/spec/cassettes/GitHub_Client_Gists/_gist_starred_/should_return_true_or_false.json +1 -1
  25. data/spec/cassettes/GitHub_Client_Gists/_gists/returns_an_array_of_gists.json +1 -1
  26. data/spec/cassettes/GitHub_Client_Gists/_gists/returns_an_array_of_gists_for_authenticated_user.json +1 -1
  27. data/spec/cassettes/GitHub_Client_Gists/_gists/returns_public_gists_for_unauthenticated_user.json +1 -1
  28. data/spec/cassettes/GitHub_Client_Gists/_star_gist/returns_false_when_not_found.json +1 -1
  29. data/spec/cassettes/GitHub_Client_Gists/_star_gist/stars_a_gist.json +1 -1
  30. data/spec/cassettes/GitHub_Client_Gists/_unstar_gist/returns_false_when_not_found.json +1 -1
  31. data/spec/cassettes/GitHub_Client_Gists/_unstar_gist/unstars_a_gist.json +1 -1
  32. data/spec/cassettes/GitHub_Client_Repos/_add_remove_collaborator/adds_a_collaborator.json +1 -1
  33. data/spec/cassettes/GitHub_Client_Repos/_add_remove_collaborator/removes_a_collaborator.json +1 -1
  34. data/spec/cassettes/GitHub_Client_Repos/_all_repos/returns_an_array_of_repositories.json +1 -1
  35. data/spec/cassettes/GitHub_Client_Repos/_branch/returns_a_404_if_repo_not_found.json +1 -1
  36. data/spec/cassettes/GitHub_Client_Repos/_branch/returns_a_hash_of_branch_info.json +1 -1
  37. data/spec/cassettes/GitHub_Client_Repos/_branches/returns_an_array_of_branches.json +1 -1
  38. data/spec/cassettes/GitHub_Client_Repos/_collaborator_/returns_a_boolean.json +1 -1
  39. data/spec/cassettes/GitHub_Client_Repos/_collaborators/returns_a_404_if_repo_not_found.json +1 -1
  40. data/spec/cassettes/GitHub_Client_Repos/_collaborators/returns_a_list_of_collaborators.json +1 -1
  41. data/spec/cassettes/GitHub_Client_Repos/_contributors/returns_a_404_if_repo_not_found.json +1 -1
  42. data/spec/cassettes/GitHub_Client_Repos/_contributors/returns_an_array_of_contributors.json +1 -1
  43. data/spec/cassettes/GitHub_Client_Repos/_create_repo/creates_the_repo.json +1 -1
  44. data/spec/cassettes/GitHub_Client_Repos/_create_repo/returns_a_hash.json +1 -1
  45. data/spec/cassettes/GitHub_Client_Repos/_create_repo/returns_unauthorized_when_not_authorized.json +1 -1
  46. data/spec/cassettes/GitHub_Client_Repos/_delete_repo/deletes_a_repo.json +1 -1
  47. data/spec/cassettes/GitHub_Client_Repos/_delete_repo/returns_false_if_not_authorized.json +1 -1
  48. data/spec/cassettes/GitHub_Client_Repos/_delete_repo/returns_false_when_not_found.json +1 -1
  49. data/spec/cassettes/GitHub_Client_Repos/_edit_repo/edits_the_repository.json +1 -0
  50. data/spec/cassettes/GitHub_Client_Repos/_edit_repo/returns_404_when_not_authorized.json +1 -0
  51. data/spec/cassettes/GitHub_Client_Repos/_edit_repo/returns_a_hash.json +1 -0
  52. data/spec/cassettes/GitHub_Client_Repos/_edit_repo/returns_unauthorized_when_not_authorized.json +1 -0
  53. data/spec/cassettes/GitHub_Client_Repos/_languages/returns_a_404_if_repo_not_found.json +1 -1
  54. data/spec/cassettes/GitHub_Client_Repos/_languages/returns_a_hash_of_languages.json +1 -1
  55. data/spec/cassettes/GitHub_Client_Repos/_org_repos/returns_a_404_if_repo_not_found.json +1 -1
  56. data/spec/cassettes/GitHub_Client_Repos/_org_repos/returns_an_array_of_repos.json +1 -1
  57. data/spec/cassettes/GitHub_Client_Repos/_repo/returns_a_repo_as_a_hash.json +1 -1
  58. data/spec/cassettes/GitHub_Client_Repos/_repos/returns_an_array_of_repositories.json +1 -1
  59. data/spec/cassettes/GitHub_Client_Repos/_repos/returns_an_array_of_repositories_for_authenticated_user.json +1 -1
  60. data/spec/cassettes/GitHub_Client_Repos/_tags/returns_a_404_if_repo_not_found.json +1 -1
  61. data/spec/cassettes/GitHub_Client_Repos/_tags/returns_an_array_of_tags.json +1 -1
  62. data/spec/cassettes/GitHub_Client_Users/_create_key/returns_the_key_information.json +1 -0
  63. data/spec/cassettes/GitHub_Client_Users/_delete_key/returns_true_or_false.json +1 -0
  64. data/spec/cassettes/GitHub_Client_Users/_delete_key/should_delete_the_key.json +1 -0
  65. data/spec/cassettes/GitHub_Client_Users/_emails/returns_an_array_of_emails.json +1 -1
  66. data/spec/cassettes/GitHub_Client_Users/_events/returns_a_404_for_user_not_found.json +1 -1
  67. data/spec/cassettes/GitHub_Client_Users/_events/returns_an_array_of_events.json +1 -1
  68. data/spec/cassettes/GitHub_Client_Users/_follow/follows_a_user.json +1 -1
  69. data/spec/cassettes/GitHub_Client_Users/_followers/returns_authenticated_users_followers_as_an_array.json +1 -1
  70. data/spec/cassettes/GitHub_Client_Users/_followers/returns_unauthenticated_users_followers_as_an_array.json +1 -1
  71. data/spec/cassettes/GitHub_Client_Users/_following/returns_an_array_of_followees.json +1 -1
  72. data/spec/cassettes/GitHub_Client_Users/_following_/returns_true_or_false.json +1 -1
  73. data/spec/cassettes/GitHub_Client_Users/_follows_/returns_false_when_not_following.json +1 -1
  74. data/spec/cassettes/GitHub_Client_Users/_follows_/returns_true_when_following.json +1 -1
  75. data/spec/cassettes/GitHub_Client_Users/_key/returns_a_key.json +1 -0
  76. data/spec/cassettes/GitHub_Client_Users/_key/returns_unauthorized_when_not_authorized.json +1 -0
  77. data/spec/cassettes/GitHub_Client_Users/_unfollow/unfollows_a_user.json +1 -1
  78. data/spec/cassettes/GitHub_Client_Users/_update_key/returns_the_key_information.json +1 -0
  79. data/spec/cassettes/GitHub_Client_Users/_user/gets_the_correct_user_info.json +1 -1
  80. data/spec/cassettes/GitHub_Client_Users/_user/returns_a_404_if_user_not_found.json +1 -1
  81. data/spec/cassettes/GitHub_Client_Users/_user/returns_a_hash.json +1 -1
  82. data/spec/cassettes/GitHub_Client_Users/_users/returns_an_array.json +1 -1
  83. data/spec/cassettes/GitHub_Client_Users/_users/returns_an_array_of_hashes.json +1 -1
  84. data/spec/cassettes/GitHub_Client_Users/keys/returns_404_for_user_not_found.json +1 -1
  85. data/spec/cassettes/GitHub_Client_Users/keys/returns_an_array_of_keys.json +1 -1
  86. data/spec/cassettes/GitHub_Client_Users/keys/returns_an_array_of_keys_for_authenticated_user.json +1 -1
  87. data/spec/github_api_v3/client/gists_spec.rb +11 -3
  88. data/spec/github_api_v3/client/repos_spec.rb +17 -1
  89. data/spec/github_api_v3/client/users_spec.rb +36 -0
  90. data/spec/spec_helper.rb +10 -1
  91. metadata +27 -11
  92. data/spec/cassettes/GitHub_Client_Gists/_create_delete_gist/creates_a_gist.json +0 -1
  93. data/spec/cassettes/GitHub_Client_Gists/_create_delete_gist/deletes_a_gist.json +0 -1
  94. data/spec/cassettes/GitHub_Client_Repos/_delete_repo/returns_unauthorized_if_not_authorized.json +0 -1
  95. data/spec/cassettes/GitHub_Client_Repos/_languages/returns_an_array_of_languages.json +0 -1
  96. 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.