github_api 0.12.3 → 0.12.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (689) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -11
  3. data/lib/github_api/client/issues/labels.rb +1 -1
  4. data/lib/github_api/client/repos/collaborators.rb +1 -1
  5. data/lib/github_api/client/repos/contents.rb +2 -1
  6. data/lib/github_api/request.rb +1 -0
  7. data/lib/github_api/utils/url.rb +2 -0
  8. data/lib/github_api/version.rb +1 -1
  9. metadata +11 -689
  10. data/Rakefile +0 -27
  11. data/features/README.rdoc +0 -30
  12. data/features/activity/events.feature +0 -73
  13. data/features/activity/notifications.feature +0 -15
  14. data/features/activity/starring.feature +0 -50
  15. data/features/activity/watching.feature +0 -74
  16. data/features/arguments_parsing.feature +0 -35
  17. data/features/auto_pagination.feature +0 -39
  18. data/features/cassettes/activity/events/issue.json +0 -1
  19. data/features/cassettes/activity/events/network.json +0 -1
  20. data/features/cassettes/activity/events/org.json +0 -1
  21. data/features/cassettes/activity/events/performed.json +0 -1
  22. data/features/cassettes/activity/events/public.json +0 -1
  23. data/features/cassettes/activity/events/received.json +0 -1
  24. data/features/cassettes/activity/events/repo.json +0 -1
  25. data/features/cassettes/activity/notifications/list_user.json +0 -1
  26. data/features/cassettes/activity/starring/list.json +0 -1
  27. data/features/cassettes/activity/starring/star.json +0 -1
  28. data/features/cassettes/activity/starring/starred.json +0 -1
  29. data/features/cassettes/activity/starring/starring.json +0 -1
  30. data/features/cassettes/activity/starring/unstar.json +0 -1
  31. data/features/cassettes/activity/watching/create.json +0 -1
  32. data/features/cassettes/activity/watching/delete.json +0 -1
  33. data/features/cassettes/activity/watching/list.json +0 -1
  34. data/features/cassettes/activity/watching/subscribed.json +0 -1
  35. data/features/cassettes/activity/watching/unwatch.json +0 -1
  36. data/features/cassettes/activity/watching/watch.json +0 -1
  37. data/features/cassettes/activity/watching/watched.json +0 -1
  38. data/features/cassettes/activity/watching/watching.json +0 -1
  39. data/features/cassettes/arguments/orgs/get.json +0 -1
  40. data/features/cassettes/arguments/pulls/get.json +0 -1
  41. data/features/cassettes/arguments/repo_commits/get.json +0 -1
  42. data/features/cassettes/auto_pagination/repos/get.json +0 -1
  43. data/features/cassettes/auto_pagination/repos/global_list.json +0 -1
  44. data/features/cassettes/auto_pagination/repos/list.json +0 -1
  45. data/features/cassettes/emojis/list.json +0 -1
  46. data/features/cassettes/errors/repos/create.json +0 -1
  47. data/features/cassettes/gists/comments/all.json +0 -1
  48. data/features/cassettes/gists/comments/first.json +0 -1
  49. data/features/cassettes/gists/fork.json +0 -1
  50. data/features/cassettes/gists/gist.json +0 -1
  51. data/features/cassettes/gists/gists/commits.json +0 -1
  52. data/features/cassettes/gists/gists/forks.json +0 -1
  53. data/features/cassettes/gists/gists/public_all.json +0 -1
  54. data/features/cassettes/gists/gists/starred.json +0 -1
  55. data/features/cassettes/gists/gists/user_all.json +0 -1
  56. data/features/cassettes/gists/star.json +0 -1
  57. data/features/cassettes/gists/starred.json +0 -1
  58. data/features/cassettes/gists/unstar.json +0 -1
  59. data/features/cassettes/git_data/commits/get.json +0 -1
  60. data/features/cassettes/git_data/references/all.json +0 -1
  61. data/features/cassettes/git_data/references/all_tags.json +0 -1
  62. data/features/cassettes/git_data/references/one.json +0 -1
  63. data/features/cassettes/gitignore/get.json +0 -1
  64. data/features/cassettes/gitignore/get_raw.json +0 -1
  65. data/features/cassettes/gitignore/list.json +0 -1
  66. data/features/cassettes/issues/assignees/ckeck.json +0 -1
  67. data/features/cassettes/issues/assignees/ckeck_not.json +0 -1
  68. data/features/cassettes/issues/assignees/list.json +0 -1
  69. data/features/cassettes/issues/comments/create.json +0 -1
  70. data/features/cassettes/issues/comments/delete.json +0 -1
  71. data/features/cassettes/issues/comments/edit.json +0 -1
  72. data/features/cassettes/issues/comments/get.json +0 -1
  73. data/features/cassettes/issues/comments/list_issue.json +0 -1
  74. data/features/cassettes/issues/comments/list_repo.json +0 -1
  75. data/features/cassettes/issues/create.json +0 -1
  76. data/features/cassettes/issues/edit.json +0 -1
  77. data/features/cassettes/issues/events/get.json +0 -1
  78. data/features/cassettes/issues/events/list_issue.json +0 -1
  79. data/features/cassettes/issues/events/list_repo.json +0 -1
  80. data/features/cassettes/issues/get.json +0 -1
  81. data/features/cassettes/issues/labels/add.json +0 -1
  82. data/features/cassettes/issues/labels/create.json +0 -1
  83. data/features/cassettes/issues/labels/delete.json +0 -1
  84. data/features/cassettes/issues/labels/get.json +0 -1
  85. data/features/cassettes/issues/labels/list_issue.json +0 -1
  86. data/features/cassettes/issues/labels/list_milestone.json +0 -1
  87. data/features/cassettes/issues/labels/list_repo.json +0 -1
  88. data/features/cassettes/issues/labels/remove_all.json +0 -1
  89. data/features/cassettes/issues/labels/remove_one.json +0 -1
  90. data/features/cassettes/issues/labels/replace.json +0 -1
  91. data/features/cassettes/issues/labels/update.json +0 -1
  92. data/features/cassettes/issues/list/repo.json +0 -1
  93. data/features/cassettes/issues/list/user.json +0 -1
  94. data/features/cassettes/issues/milestones/create.json +0 -1
  95. data/features/cassettes/issues/milestones/delete.json +0 -1
  96. data/features/cassettes/issues/milestones/get.json +0 -1
  97. data/features/cassettes/issues/milestones/list.json +0 -1
  98. data/features/cassettes/issues/milestones/update.json +0 -1
  99. data/features/cassettes/markdown/render.json +0 -1
  100. data/features/cassettes/markdown/render_raw.json +0 -1
  101. data/features/cassettes/media/get_default.json +0 -1
  102. data/features/cassettes/media/get_full_json.json +0 -1
  103. data/features/cassettes/media/get_html_json.json +0 -1
  104. data/features/cassettes/media/get_raw_json.json +0 -1
  105. data/features/cassettes/media/get_text_json.json +0 -1
  106. data/features/cassettes/meta/get.json +0 -1
  107. data/features/cassettes/orgs/get.json +0 -1
  108. data/features/cassettes/orgs/list/oauth_user.json +0 -1
  109. data/features/cassettes/orgs/list/user.json +0 -1
  110. data/features/cassettes/orgs/members/list.json +0 -1
  111. data/features/cassettes/orgs/members/list_public.json +0 -1
  112. data/features/cassettes/orgs/members/member_false.json +0 -1
  113. data/features/cassettes/orgs/members/member_public_false.json +0 -1
  114. data/features/cassettes/orgs/members/member_public_true.json +0 -1
  115. data/features/cassettes/pagination/issues/list/first.json +0 -1
  116. data/features/cassettes/pagination/issues/list/last.json +0 -1
  117. data/features/cassettes/pagination/issues/list/lastest.json +0 -1
  118. data/features/cassettes/pagination/issues/list/next.json +0 -1
  119. data/features/cassettes/pagination/issues/list/prev.json +0 -1
  120. data/features/cassettes/pagination/repos/commits/list.json +0 -1
  121. data/features/cassettes/pagination/repos/commits/next.json +0 -1
  122. data/features/cassettes/pagination/repos/commits/sha.json +0 -1
  123. data/features/cassettes/pagination/repos/commits/sha/next.json +0 -1
  124. data/features/cassettes/pagination/repos/diff.json +0 -1
  125. data/features/cassettes/pagination/repos/diff/next.json +0 -1
  126. data/features/cassettes/pagination/repos/list.json +0 -1
  127. data/features/cassettes/pagination/repos/list/next.json +0 -1
  128. data/features/cassettes/pagination/repos/per_page/each_page.json +0 -1
  129. data/features/cassettes/pagination/repos/per_page/first.json +0 -1
  130. data/features/cassettes/pull_requests/comments/list_pull.json +0 -1
  131. data/features/cassettes/pull_requests/comments/list_repo.json +0 -1
  132. data/features/cassettes/pull_requests/create.json +0 -1
  133. data/features/cassettes/pull_requests/get.json +0 -1
  134. data/features/cassettes/pull_requests/list.json +0 -1
  135. data/features/cassettes/pull_requests/merge.json +0 -1
  136. data/features/cassettes/pull_requests/merged.json +0 -1
  137. data/features/cassettes/ratelimit/get.json +0 -1
  138. data/features/cassettes/ratelimit/get_remaining.json +0 -1
  139. data/features/cassettes/ratelimit/get_reset.json +0 -1
  140. data/features/cassettes/repos/assets/delete.json +0 -1
  141. data/features/cassettes/repos/assets/edit.json +0 -1
  142. data/features/cassettes/repos/assets/get.json +0 -1
  143. data/features/cassettes/repos/assets/list.json +0 -1
  144. data/features/cassettes/repos/assets/upload.json +0 -1
  145. data/features/cassettes/repos/branch.json +0 -1
  146. data/features/cassettes/repos/branch_mutation_one.json +0 -1
  147. data/features/cassettes/repos/branch_mutation_two.json +0 -1
  148. data/features/cassettes/repos/branches.json +0 -1
  149. data/features/cassettes/repos/comments/list.json +0 -1
  150. data/features/cassettes/repos/commits/compare.json +0 -1
  151. data/features/cassettes/repos/commits/get.json +0 -1
  152. data/features/cassettes/repos/commits/list.json +0 -1
  153. data/features/cassettes/repos/contents/archive.json +0 -1
  154. data/features/cassettes/repos/contents/create.json +0 -1
  155. data/features/cassettes/repos/contents/delete.json +0 -1
  156. data/features/cassettes/repos/contents/get.json +0 -1
  157. data/features/cassettes/repos/contents/readme.json +0 -1
  158. data/features/cassettes/repos/contents/update.json +0 -1
  159. data/features/cassettes/repos/create.json +0 -1
  160. data/features/cassettes/repos/deployments/create.json +0 -1
  161. data/features/cassettes/repos/deployments/create_status.json +0 -1
  162. data/features/cassettes/repos/deployments/list.json +0 -1
  163. data/features/cassettes/repos/deployments/list_statuses.json +0 -1
  164. data/features/cassettes/repos/forks/list.json +0 -1
  165. data/features/cassettes/repos/forks/list_sort.json +0 -1
  166. data/features/cassettes/repos/get.json +0 -1
  167. data/features/cassettes/repos/languages.json +0 -1
  168. data/features/cassettes/repos/list.json +0 -1
  169. data/features/cassettes/repos/list_org.json +0 -1
  170. data/features/cassettes/repos/list_org_instance.json +0 -1
  171. data/features/cassettes/repos/list_repos.json +0 -1
  172. data/features/cassettes/repos/pages/get.json +0 -1
  173. data/features/cassettes/repos/pages/list_builds.json +0 -1
  174. data/features/cassettes/repos/releases/create.json +0 -1
  175. data/features/cassettes/repos/releases/delete.json +0 -1
  176. data/features/cassettes/repos/releases/edit.json +0 -1
  177. data/features/cassettes/repos/releases/get.json +0 -1
  178. data/features/cassettes/repos/releases/list.json +0 -1
  179. data/features/cassettes/repos/stats/commits.json +0 -1
  180. data/features/cassettes/repos/stats/contribs.json +0 -1
  181. data/features/cassettes/repos/stats/frequency.json +0 -1
  182. data/features/cassettes/repos/stats/participation.json +0 -1
  183. data/features/cassettes/repos/stats/punch.json +0 -1
  184. data/features/cassettes/repos/statuses/list.json +0 -1
  185. data/features/cassettes/repos/statuses/list_combined.json +0 -1
  186. data/features/cassettes/repos/tags.json +0 -1
  187. data/features/cassettes/say/custom.json +0 -1
  188. data/features/cassettes/say/random.json +0 -1
  189. data/features/cassettes/search/code.json +0 -1
  190. data/features/cassettes/search/code_query.json +0 -1
  191. data/features/cassettes/search/code_unicode.json +0 -1
  192. data/features/cassettes/search/issues.json +0 -1
  193. data/features/cassettes/search/legacy/email.json +0 -1
  194. data/features/cassettes/search/legacy/issues.json +0 -1
  195. data/features/cassettes/search/legacy/repos.json +0 -1
  196. data/features/cassettes/search/legacy/users.json +0 -1
  197. data/features/cassettes/search/legacy/users_keyword.json +0 -1
  198. data/features/cassettes/search/repos.json +0 -1
  199. data/features/cassettes/search/users.json +0 -1
  200. data/features/cassettes/search/users_keyword.json +0 -1
  201. data/features/cassettes/users/all.json +0 -1
  202. data/features/cassettes/users/emails/add.json +0 -1
  203. data/features/cassettes/users/emails/all.json +0 -1
  204. data/features/cassettes/users/emails/delete.json +0 -1
  205. data/features/cassettes/users/followers/follow.json +0 -1
  206. data/features/cassettes/users/followers/following.json +0 -1
  207. data/features/cassettes/users/followers/following_.json +0 -1
  208. data/features/cassettes/users/followers/following_another.json +0 -1
  209. data/features/cassettes/users/followers/list.json +0 -1
  210. data/features/cassettes/users/followers/unfollow.json +0 -1
  211. data/features/cassettes/users/get/oauth.json +0 -1
  212. data/features/cassettes/users/get/oauth.yml +0 -61
  213. data/features/cassettes/users/get/user.json +0 -1
  214. data/features/cassettes/users/get/user.yml +0 -62
  215. data/features/cassettes/users/keys/create.json +0 -1
  216. data/features/cassettes/users/keys/delete.json +0 -1
  217. data/features/cassettes/users/keys/user.json +0 -1
  218. data/features/cassettes/users/keys/user.yml +0 -64
  219. data/features/cassettes/users/keys/user_all.json +0 -1
  220. data/features/cassettes/users/keys/user_all.yml +0 -91
  221. data/features/emojis.feature +0 -12
  222. data/features/error_codes.feature +0 -14
  223. data/features/gists.feature +0 -94
  224. data/features/gists/comments.feature +0 -25
  225. data/features/git_data/commmits.feature +0 -14
  226. data/features/git_data/references.feature +0 -49
  227. data/features/github_api.feature +0 -61
  228. data/features/gitignore.feature +0 -37
  229. data/features/issues.feature +0 -64
  230. data/features/issues/assignees.feature +0 -30
  231. data/features/issues/comments.feature +0 -72
  232. data/features/issues/events.feature +0 -38
  233. data/features/issues/labels.feature +0 -123
  234. data/features/issues/milestones.feature +0 -62
  235. data/features/markdown.feature +0 -25
  236. data/features/media_type.feature +0 -76
  237. data/features/meta.feature +0 -12
  238. data/features/options.feature +0 -4
  239. data/features/orgs.feature +0 -32
  240. data/features/orgs/members.feature +0 -57
  241. data/features/pagination.feature +0 -167
  242. data/features/pull_requests.feature +0 -62
  243. data/features/pull_requests/comments.feature +0 -27
  244. data/features/rate_limit.feature +0 -22
  245. data/features/repos.feature +0 -123
  246. data/features/repos/assets.feature +0 -59
  247. data/features/repos/comments.feature +0 -14
  248. data/features/repos/commits.feature +0 -35
  249. data/features/repos/contents.feature +0 -74
  250. data/features/repos/deployments.feature +0 -50
  251. data/features/repos/forks.feature +0 -28
  252. data/features/repos/pages.feature +0 -24
  253. data/features/repos/releases.feature +0 -58
  254. data/features/repos/statistics.feature +0 -60
  255. data/features/repos/statuses.feature +0 -40
  256. data/features/say.feature +0 -68
  257. data/features/search.feature +0 -82
  258. data/features/search/legacy.feature +0 -59
  259. data/features/settings.yml +0 -7
  260. data/features/settings.yml.sample +0 -7
  261. data/features/step_definitions/common_steps.rb +0 -104
  262. data/features/step_definitions/github_api_steps.rb +0 -104
  263. data/features/support/env.rb +0 -21
  264. data/features/support/helpers.rb +0 -11
  265. data/features/support/settings.rb +0 -11
  266. data/features/support/vcr.rb +0 -21
  267. data/features/users.feature +0 -31
  268. data/features/users/emails.feature +0 -40
  269. data/features/users/followers.feature +0 -63
  270. data/features/users/keys.feature +0 -48
  271. data/spec/README.rdoc +0 -26
  272. data/spec/coverage_adapter.rb +0 -16
  273. data/spec/fixtures/activity/notifications.json +0 -32
  274. data/spec/fixtures/activity/subscribed.json +0 -8
  275. data/spec/fixtures/activity/threads.json +0 -32
  276. data/spec/fixtures/auths/authorization.json +0 -14
  277. data/spec/fixtures/auths/authorizations.json +0 -16
  278. data/spec/fixtures/auths/check.json +0 -36
  279. data/spec/fixtures/events/events.json +0 -29
  280. data/spec/fixtures/gists/comment.json +0 -13
  281. data/spec/fixtures/gists/comments.json +0 -15
  282. data/spec/fixtures/gists/gist.json +0 -58
  283. data/spec/fixtures/gists/gists.json +0 -28
  284. data/spec/fixtures/git_data/blob.json +0 -4
  285. data/spec/fixtures/git_data/blob_sha.json +0 -3
  286. data/spec/fixtures/git_data/commit.json +0 -25
  287. data/spec/fixtures/git_data/reference.json +0 -11
  288. data/spec/fixtures/git_data/references.json +0 -29
  289. data/spec/fixtures/git_data/tag.json +0 -16
  290. data/spec/fixtures/git_data/tree.json +0 -29
  291. data/spec/fixtures/gitignore/template.json +0 -4
  292. data/spec/fixtures/gitignore/template_raw +0 -1
  293. data/spec/fixtures/gitignore/templates.json +0 -9
  294. data/spec/fixtures/issues/comment.json +0 -13
  295. data/spec/fixtures/issues/comments.json +0 -15
  296. data/spec/fixtures/issues/event.json +0 -13
  297. data/spec/fixtures/issues/events.json +0 -15
  298. data/spec/fixtures/issues/issue.json +0 -56
  299. data/spec/fixtures/issues/issues.json +0 -58
  300. data/spec/fixtures/issues/label.json +0 -5
  301. data/spec/fixtures/issues/labels.json +0 -7
  302. data/spec/fixtures/issues/milestone.json +0 -18
  303. data/spec/fixtures/issues/milestones.json +0 -20
  304. data/spec/fixtures/orgs/members.json +0 -9
  305. data/spec/fixtures/orgs/org.json +0 -18
  306. data/spec/fixtures/orgs/orgs.json +0 -8
  307. data/spec/fixtures/orgs/team.json +0 -8
  308. data/spec/fixtures/orgs/team_repos.json +0 -29
  309. data/spec/fixtures/orgs/teams.json +0 -7
  310. data/spec/fixtures/pull_requests/comment.json +0 -17
  311. data/spec/fixtures/pull_requests/comments.json +0 -19
  312. data/spec/fixtures/pull_requests/commits.json +0 -27
  313. data/spec/fixtures/pull_requests/files.json +0 -13
  314. data/spec/fixtures/pull_requests/merge_failure.json +0 -5
  315. data/spec/fixtures/pull_requests/merge_success.json +0 -5
  316. data/spec/fixtures/pull_requests/pull_request.json +0 -123
  317. data/spec/fixtures/pull_requests/pull_requests.json +0 -31
  318. data/spec/fixtures/repos/asset.json +0 -12
  319. data/spec/fixtures/repos/assets.json +0 -14
  320. data/spec/fixtures/repos/assignees.json +0 -9
  321. data/spec/fixtures/repos/branch.json +0 -53
  322. data/spec/fixtures/repos/branches.json +0 -9
  323. data/spec/fixtures/repos/collaborators.json +0 -8
  324. data/spec/fixtures/repos/commit.json +0 -53
  325. data/spec/fixtures/repos/commit_activity.json +0 -15
  326. data/spec/fixtures/repos/commit_comment.json +0 -16
  327. data/spec/fixtures/repos/commit_comments.json +0 -18
  328. data/spec/fixtures/repos/commit_comparison.json +0 -112
  329. data/spec/fixtures/repos/commits.json +0 -27
  330. data/spec/fixtures/repos/content.json +0 -14
  331. data/spec/fixtures/repos/content_created.json +0 -44
  332. data/spec/fixtures/repos/content_deleted.json +0 -30
  333. data/spec/fixtures/repos/contribs.json +0 -20
  334. data/spec/fixtures/repos/contributors.json +0 -8
  335. data/spec/fixtures/repos/deployment.json +0 -31
  336. data/spec/fixtures/repos/deployment_status.json +0 -33
  337. data/spec/fixtures/repos/deployment_statuses.json +0 -68
  338. data/spec/fixtures/repos/deployments.json +0 -33
  339. data/spec/fixtures/repos/download.json +0 -10
  340. data/spec/fixtures/repos/download_s3.json +0 -21
  341. data/spec/fixtures/repos/downloads.json +0 -12
  342. data/spec/fixtures/repos/fork.json +0 -27
  343. data/spec/fixtures/repos/forks.json +0 -29
  344. data/spec/fixtures/repos/frequency.json +0 -7
  345. data/spec/fixtures/repos/hook.json +0 -15
  346. data/spec/fixtures/repos/hooks.json +0 -10
  347. data/spec/fixtures/repos/key.json +0 -6
  348. data/spec/fixtures/repos/keys.json +0 -8
  349. data/spec/fixtures/repos/languages.json +0 -4
  350. data/spec/fixtures/repos/merge.json +0 -48
  351. data/spec/fixtures/repos/participation.json +0 -110
  352. data/spec/fixtures/repos/punch_card.json +0 -17
  353. data/spec/fixtures/repos/readme.json +0 -14
  354. data/spec/fixtures/repos/release.json +0 -15
  355. data/spec/fixtures/repos/releases.json +0 -17
  356. data/spec/fixtures/repos/repo.json +0 -90
  357. data/spec/fixtures/repos/repo_comments.json +0 -18
  358. data/spec/fixtures/repos/repos.json +0 -29
  359. data/spec/fixtures/repos/repos_sorted_by_pushed.json +0 -56
  360. data/spec/fixtures/repos/stargazers.json +0 -9
  361. data/spec/fixtures/repos/starred.json +0 -34
  362. data/spec/fixtures/repos/status.json +0 -16
  363. data/spec/fixtures/repos/statuses.json +0 -18
  364. data/spec/fixtures/repos/tags.json +0 -11
  365. data/spec/fixtures/repos/teams.json +0 -7
  366. data/spec/fixtures/repos/watched.json +0 -29
  367. data/spec/fixtures/repos/watchers.json +0 -8
  368. data/spec/fixtures/search/code.json +0 -76
  369. data/spec/fixtures/search/email.json +0 -22
  370. data/spec/fixtures/search/issues.json +0 -54
  371. data/spec/fixtures/search/issues_legacy.json +0 -23
  372. data/spec/fixtures/search/repos.json +0 -39
  373. data/spec/fixtures/search/repos_legacy.json +0 -29
  374. data/spec/fixtures/search/users.json +0 -20
  375. data/spec/fixtures/search/users_legacy.json +0 -24
  376. data/spec/fixtures/users/emails.json +0 -4
  377. data/spec/fixtures/users/followers.json +0 -9
  378. data/spec/fixtures/users/key.json +0 -6
  379. data/spec/fixtures/users/keys.json +0 -8
  380. data/spec/fixtures/users/user.json +0 -32
  381. data/spec/fixtures/users/users.json +0 -9
  382. data/spec/github/api/actions_spec.rb +0 -19
  383. data/spec/github/api/arguments/dsl_spec.rb +0 -10
  384. data/spec/github/api/arguments/parse_spec.rb +0 -88
  385. data/spec/github/api/callbacks_spec.rb +0 -59
  386. data/spec/github/api/namespace_spec.rb +0 -41
  387. data/spec/github/api/property_spec.rb +0 -100
  388. data/spec/github/api/set_spec.rb +0 -32
  389. data/spec/github/api/with_spec.rb +0 -27
  390. data/spec/github/api_factory_spec.rb +0 -30
  391. data/spec/github/api_spec.rb +0 -39
  392. data/spec/github/authorization_spec.rb +0 -163
  393. data/spec/github/client/activity/events/issue_spec.rb +0 -51
  394. data/spec/github/client/activity/events/network_spec.rb +0 -49
  395. data/spec/github/client/activity/events/org_spec.rb +0 -50
  396. data/spec/github/client/activity/events/performed_spec.rb +0 -73
  397. data/spec/github/client/activity/events/public_spec.rb +0 -44
  398. data/spec/github/client/activity/events/received_spec.rb +0 -72
  399. data/spec/github/client/activity/events/repository_spec.rb +0 -53
  400. data/spec/github/client/activity/events/user_org_spec.rb +0 -53
  401. data/spec/github/client/activity/notifications/create_spec.rb +0 -44
  402. data/spec/github/client/activity/notifications/delete_spec.rb +0 -41
  403. data/spec/github/client/activity/notifications/get_spec.rb +0 -58
  404. data/spec/github/client/activity/notifications/list_spec.rb +0 -75
  405. data/spec/github/client/activity/notifications/mark_spec.rb +0 -74
  406. data/spec/github/client/activity/notifications/subscribed_spec.rb +0 -48
  407. data/spec/github/client/activity/starring/list_spec.rb +0 -53
  408. data/spec/github/client/activity/starring/star_spec.rb +0 -36
  409. data/spec/github/client/activity/starring/starred_spec.rb +0 -53
  410. data/spec/github/client/activity/starring/starring_spec.rb +0 -38
  411. data/spec/github/client/activity/starring/unstar_spec.rb +0 -37
  412. data/spec/github/client/activity/watching/list_spec.rb +0 -47
  413. data/spec/github/client/activity/watching/unwatch_spec.rb +0 -37
  414. data/spec/github/client/activity/watching/watch_spec.rb +0 -37
  415. data/spec/github/client/activity/watching/watched_spec.rb +0 -53
  416. data/spec/github/client/activity/watching/watching_spec.rb +0 -39
  417. data/spec/github/client/authorizations/app/check_spec.rb +0 -68
  418. data/spec/github/client/authorizations/app/create_spec.rb +0 -44
  419. data/spec/github/client/authorizations/app/delete_spec.rb +0 -59
  420. data/spec/github/client/authorizations/create_spec.rb +0 -49
  421. data/spec/github/client/authorizations/delete_spec.rb +0 -38
  422. data/spec/github/client/authorizations/get_spec.rb +0 -48
  423. data/spec/github/client/authorizations/list_spec.rb +0 -54
  424. data/spec/github/client/authorizations/two_factor_spec.rb +0 -22
  425. data/spec/github/client/authorizations/update_spec.rb +0 -49
  426. data/spec/github/client/gists/comments/create_spec.rb +0 -51
  427. data/spec/github/client/gists/comments/delete_spec.rb +0 -32
  428. data/spec/github/client/gists/comments/edit_spec.rb +0 -52
  429. data/spec/github/client/gists/comments/get_spec.rb +0 -48
  430. data/spec/github/client/gists/comments/list_spec.rb +0 -51
  431. data/spec/github/client/gists/comments_spec.rb +0 -11
  432. data/spec/github/client/gists/create_spec.rb +0 -64
  433. data/spec/github/client/gists/delete_spec.rb +0 -31
  434. data/spec/github/client/gists/edit_spec.rb +0 -60
  435. data/spec/github/client/gists/fork_spec.rb +0 -41
  436. data/spec/github/client/gists/get_spec.rb +0 -47
  437. data/spec/github/client/gists/is_starred_spec.rb +0 -44
  438. data/spec/github/client/gists/list_spec.rb +0 -78
  439. data/spec/github/client/gists/star_spec.rb +0 -30
  440. data/spec/github/client/gists/starred_spec.rb +0 -44
  441. data/spec/github/client/gists/unstar_spec.rb +0 -30
  442. data/spec/github/client/git_data/blobs/create_spec.rb +0 -64
  443. data/spec/github/client/git_data/blobs/get_spec.rb +0 -49
  444. data/spec/github/client/git_data/blobs_spec.rb +0 -9
  445. data/spec/github/client/git_data/commits/create_spec.rb +0 -77
  446. data/spec/github/client/git_data/commits/get_spec.rb +0 -50
  447. data/spec/github/client/git_data/commits_spec.rb +0 -9
  448. data/spec/github/client/git_data/references/create_spec.rb +0 -67
  449. data/spec/github/client/git_data/references/delete_spec.rb +0 -39
  450. data/spec/github/client/git_data/references/get_spec.rb +0 -56
  451. data/spec/github/client/git_data/references/list_spec.rb +0 -111
  452. data/spec/github/client/git_data/references/update_spec.rb +0 -62
  453. data/spec/github/client/git_data/references_spec.rb +0 -11
  454. data/spec/github/client/git_data/tags/create_spec.rb +0 -63
  455. data/spec/github/client/git_data/tags/get_spec.rb +0 -48
  456. data/spec/github/client/git_data/tags_spec.rb +0 -9
  457. data/spec/github/client/git_data/trees/create_spec.rb +0 -68
  458. data/spec/github/client/git_data/trees/get_spec.rb +0 -69
  459. data/spec/github/client/git_data/trees_spec.rb +0 -9
  460. data/spec/github/client/gitignore/get_spec.rb +0 -53
  461. data/spec/github/client/gitignore/list_spec.rb +0 -41
  462. data/spec/github/client/issues/assignees/check_spec.rb +0 -46
  463. data/spec/github/client/issues/assignees/list_spec.rb +0 -47
  464. data/spec/github/client/issues/assignees_spec.rb +0 -5
  465. data/spec/github/client/issues/comments/create_spec.rb +0 -49
  466. data/spec/github/client/issues/comments/delete_spec.rb +0 -35
  467. data/spec/github/client/issues/comments/edit_spec.rb +0 -49
  468. data/spec/github/client/issues/comments/get_spec.rb +0 -48
  469. data/spec/github/client/issues/comments/list_spec.rb +0 -78
  470. data/spec/github/client/issues/comments_spec.rb +0 -9
  471. data/spec/github/client/issues/create_spec.rb +0 -60
  472. data/spec/github/client/issues/edit_spec.rb +0 -61
  473. data/spec/github/client/issues/events/get_spec.rb +0 -50
  474. data/spec/github/client/issues/events/list_spec.rb +0 -85
  475. data/spec/github/client/issues/events_spec.rb +0 -7
  476. data/spec/github/client/issues/get_spec.rb +0 -48
  477. data/spec/github/client/issues/labels/add_spec.rb +0 -50
  478. data/spec/github/client/issues/labels/create_spec.rb +0 -59
  479. data/spec/github/client/issues/labels/delete_spec.rb +0 -38
  480. data/spec/github/client/issues/labels/get_spec.rb +0 -47
  481. data/spec/github/client/issues/labels/list_spec.rb +0 -102
  482. data/spec/github/client/issues/labels/remove_spec.rb +0 -57
  483. data/spec/github/client/issues/labels/replace_spec.rb +0 -48
  484. data/spec/github/client/issues/labels/update_spec.rb +0 -60
  485. data/spec/github/client/issues/labels_spec.rb +0 -9
  486. data/spec/github/client/issues/list_spec.rb +0 -100
  487. data/spec/github/client/issues/milestones/create_spec.rb +0 -56
  488. data/spec/github/client/issues/milestones/delete_spec.rb +0 -41
  489. data/spec/github/client/issues/milestones/get_spec.rb +0 -51
  490. data/spec/github/client/issues/milestones/list_spec.rb +0 -52
  491. data/spec/github/client/issues/milestones/update_spec.rb +0 -56
  492. data/spec/github/client/issues/milestones_spec.rb +0 -11
  493. data/spec/github/client/orgs/edit_spec.rb +0 -53
  494. data/spec/github/client/orgs/get_spec.rb +0 -43
  495. data/spec/github/client/orgs/list_spec.rb +0 -62
  496. data/spec/github/client/orgs/members/conceal_spec.rb +0 -36
  497. data/spec/github/client/orgs/members/delete_spec.rb +0 -34
  498. data/spec/github/client/orgs/members/list_spec.rb +0 -82
  499. data/spec/github/client/orgs/members/member_spec.rb +0 -66
  500. data/spec/github/client/orgs/members/publicize_spec.rb +0 -36
  501. data/spec/github/client/orgs/members_spec.rb +0 -5
  502. data/spec/github/client/orgs/teams/add_member_spec.rb +0 -40
  503. data/spec/github/client/orgs/teams/add_repo_spec.rb +0 -39
  504. data/spec/github/client/orgs/teams/create_spec.rb +0 -58
  505. data/spec/github/client/orgs/teams/delete_spec.rb +0 -35
  506. data/spec/github/client/orgs/teams/edit_spec.rb +0 -57
  507. data/spec/github/client/orgs/teams/get_spec.rb +0 -44
  508. data/spec/github/client/orgs/teams/list_members_spec.rb +0 -49
  509. data/spec/github/client/orgs/teams/list_repos_spec.rb +0 -49
  510. data/spec/github/client/orgs/teams/list_spec.rb +0 -72
  511. data/spec/github/client/orgs/teams/remove_member_spec.rb +0 -39
  512. data/spec/github/client/orgs/teams/remove_repo_spec.rb +0 -39
  513. data/spec/github/client/orgs/teams/team_member_spec.rb +0 -41
  514. data/spec/github/client/orgs/teams/team_repo_spec.rb +0 -42
  515. data/spec/github/client/orgs/teams_spec.rb +0 -7
  516. data/spec/github/client/pull_requests/comments/create_spec.rb +0 -58
  517. data/spec/github/client/pull_requests/comments/delete_spec.rb +0 -35
  518. data/spec/github/client/pull_requests/comments/edit_spec.rb +0 -50
  519. data/spec/github/client/pull_requests/comments/get_spec.rb +0 -51
  520. data/spec/github/client/pull_requests/comments/list_spec.rb +0 -76
  521. data/spec/github/client/pull_requests/comments_spec.rb +0 -11
  522. data/spec/github/client/pull_requests/commits_spec.rb +0 -50
  523. data/spec/github/client/pull_requests/create_spec.rb +0 -55
  524. data/spec/github/client/pull_requests/files_spec.rb +0 -50
  525. data/spec/github/client/pull_requests/get_spec.rb +0 -48
  526. data/spec/github/client/pull_requests/list_spec.rb +0 -53
  527. data/spec/github/client/pull_requests/merge_spec.rb +0 -44
  528. data/spec/github/client/pull_requests/merged_spec.rb +0 -38
  529. data/spec/github/client/pull_requests/update_spec.rb +0 -55
  530. data/spec/github/client/repos/assets/delete_spec.rb +0 -39
  531. data/spec/github/client/repos/assets/edit_spec.rb +0 -40
  532. data/spec/github/client/repos/assets/get_spec.rb +0 -44
  533. data/spec/github/client/repos/assets/list_spec.rb +0 -54
  534. data/spec/github/client/repos/assets/upload_spec.rb +0 -43
  535. data/spec/github/client/repos/branch_spec.rb +0 -41
  536. data/spec/github/client/repos/branches_spec.rb +0 -53
  537. data/spec/github/client/repos/collaborators/add_spec.rb +0 -38
  538. data/spec/github/client/repos/collaborators/get_spec.rb +0 -49
  539. data/spec/github/client/repos/collaborators/list_spec.rb +0 -54
  540. data/spec/github/client/repos/collaborators/remove_spec.rb +0 -38
  541. data/spec/github/client/repos/collaborators_spec.rb +0 -7
  542. data/spec/github/client/repos/comments/create_spec.rb +0 -59
  543. data/spec/github/client/repos/comments/delete_spec.rb +0 -42
  544. data/spec/github/client/repos/comments/get_spec.rb +0 -51
  545. data/spec/github/client/repos/comments/list_spec.rb +0 -94
  546. data/spec/github/client/repos/comments/update_spec.rb +0 -47
  547. data/spec/github/client/repos/commits/compare_spec.rb +0 -36
  548. data/spec/github/client/repos/commits/get_spec.rb +0 -49
  549. data/spec/github/client/repos/commits/list_spec.rb +0 -51
  550. data/spec/github/client/repos/contents/archive_spec.rb +0 -38
  551. data/spec/github/client/repos/contents/create_spec.rb +0 -41
  552. data/spec/github/client/repos/contents/delete_spec.rb +0 -55
  553. data/spec/github/client/repos/contents/get_spec.rb +0 -35
  554. data/spec/github/client/repos/contents/readme_spec.rb +0 -30
  555. data/spec/github/client/repos/contributors_spec.rb +0 -58
  556. data/spec/github/client/repos/create_spec.rb +0 -77
  557. data/spec/github/client/repos/delete_spec.rb +0 -37
  558. data/spec/github/client/repos/deployments/create_spec.rb +0 -54
  559. data/spec/github/client/repos/deployments/create_status_spec.rb +0 -54
  560. data/spec/github/client/repos/deployments/list_spec.rb +0 -51
  561. data/spec/github/client/repos/deployments/statuses_spec.rb +0 -49
  562. data/spec/github/client/repos/downloads/delete_spec.rb +0 -44
  563. data/spec/github/client/repos/downloads/get_spec.rb +0 -52
  564. data/spec/github/client/repos/downloads/list_spec.rb +0 -54
  565. data/spec/github/client/repos/downloads_spec.rb +0 -13
  566. data/spec/github/client/repos/edit_spec.rb +0 -59
  567. data/spec/github/client/repos/forks/create_spec.rb +0 -44
  568. data/spec/github/client/repos/forks/list_spec.rb +0 -53
  569. data/spec/github/client/repos/get_spec.rb +0 -50
  570. data/spec/github/client/repos/hooks/create_spec.rb +0 -67
  571. data/spec/github/client/repos/hooks/delete_spec.rb +0 -39
  572. data/spec/github/client/repos/hooks/edit_spec.rb +0 -76
  573. data/spec/github/client/repos/hooks/get_spec.rb +0 -48
  574. data/spec/github/client/repos/hooks/list_spec.rb +0 -53
  575. data/spec/github/client/repos/hooks/ping_spec.rb +0 -39
  576. data/spec/github/client/repos/hooks/test_spec.rb +0 -39
  577. data/spec/github/client/repos/hooks_spec.rb +0 -13
  578. data/spec/github/client/repos/keys/create_spec.rb +0 -49
  579. data/spec/github/client/repos/keys/delete_spec.rb +0 -39
  580. data/spec/github/client/repos/keys/get_spec.rb +0 -44
  581. data/spec/github/client/repos/keys/list_spec.rb +0 -53
  582. data/spec/github/client/repos/keys_spec.rb +0 -9
  583. data/spec/github/client/repos/languages_spec.rb +0 -61
  584. data/spec/github/client/repos/list_spec.rb +0 -120
  585. data/spec/github/client/repos/merging/merge_spec.rb +0 -59
  586. data/spec/github/client/repos/pub_sub_hubbub/subscribe_service_spec.rb +0 -26
  587. data/spec/github/client/repos/pub_sub_hubbub/subscribe_spec.rb +0 -46
  588. data/spec/github/client/repos/pub_sub_hubbub/unsubscribe_service_spec.rb +0 -20
  589. data/spec/github/client/repos/pub_sub_hubbub/unsubscribe_spec.rb +0 -58
  590. data/spec/github/client/repos/releases/create_spec.rb +0 -43
  591. data/spec/github/client/repos/releases/delete_spec.rb +0 -39
  592. data/spec/github/client/repos/releases/edit_spec.rb +0 -39
  593. data/spec/github/client/repos/releases/get_spec.rb +0 -44
  594. data/spec/github/client/repos/releases/list_spec.rb +0 -53
  595. data/spec/github/client/repos/statistics/code_frequency_spec.rb +0 -25
  596. data/spec/github/client/repos/statistics/commit_activity_spec.rb +0 -29
  597. data/spec/github/client/repos/statistics/contributors_spec.rb +0 -29
  598. data/spec/github/client/repos/statistics/participation_spec.rb +0 -25
  599. data/spec/github/client/repos/statistics/punch_card_spec.rb +0 -25
  600. data/spec/github/client/repos/statuses/create_spec.rb +0 -56
  601. data/spec/github/client/repos/statuses/list_spec.rb +0 -53
  602. data/spec/github/client/repos/statuses_spec.rb +0 -11
  603. data/spec/github/client/repos/tags_spec.rb +0 -59
  604. data/spec/github/client/repos/teams_spec.rb +0 -59
  605. data/spec/github/client/scopes/list_spec.rb +0 -33
  606. data/spec/github/client/search/code_spec.rb +0 -38
  607. data/spec/github/client/search/issues_spec.rb +0 -38
  608. data/spec/github/client/search/legacy/email_spec.rb +0 -34
  609. data/spec/github/client/search/legacy/issues_spec.rb +0 -39
  610. data/spec/github/client/search/legacy/repos_spec.rb +0 -36
  611. data/spec/github/client/search/legacy/users_spec.rb +0 -36
  612. data/spec/github/client/search/repos_spec.rb +0 -38
  613. data/spec/github/client/search/users_spec.rb +0 -38
  614. data/spec/github/client/users/emails/add_spec.rb +0 -33
  615. data/spec/github/client/users/emails/delete_spec.rb +0 -33
  616. data/spec/github/client/users/emails/list_spec.rb +0 -52
  617. data/spec/github/client/users/followers/follow_spec.rb +0 -33
  618. data/spec/github/client/users/followers/following_spec.rb +0 -65
  619. data/spec/github/client/users/followers/is_following_spec.rb +0 -41
  620. data/spec/github/client/users/followers/list_spec.rb +0 -62
  621. data/spec/github/client/users/followers/unfollow_spec.rb +0 -33
  622. data/spec/github/client/users/get_spec.rb +0 -61
  623. data/spec/github/client/users/keys/create_spec.rb +0 -51
  624. data/spec/github/client/users/keys/delete_spec.rb +0 -37
  625. data/spec/github/client/users/keys/get_spec.rb +0 -50
  626. data/spec/github/client/users/keys/list_spec.rb +0 -77
  627. data/spec/github/client/users/keys/update_spec.rb +0 -56
  628. data/spec/github/client/users/list_spec.rb +0 -45
  629. data/spec/github/client/users/update_spec.rb +0 -56
  630. data/spec/github/client_spec.rb +0 -33
  631. data/spec/github/configuration_spec.rb +0 -56
  632. data/spec/github/configure_spec.rb +0 -15
  633. data/spec/github/core_ext/deep_merge_spec.rb +0 -23
  634. data/spec/github/core_ext/hash_spec.rb +0 -76
  635. data/spec/github/deprecation_spec.rb +0 -32
  636. data/spec/github/error/client_error_spec.rb +0 -50
  637. data/spec/github/error/invalid_options_spec.rb +0 -21
  638. data/spec/github/error/required_params_spec.rb +0 -21
  639. data/spec/github/error/service_error/parse_body_spec.rb +0 -38
  640. data/spec/github/error/service_error/parse_response_spec.rb +0 -38
  641. data/spec/github/error/service_error_spec.rb +0 -43
  642. data/spec/github/error/unknown_media_spec.rb +0 -21
  643. data/spec/github/error/unknown_value_spec.rb +0 -21
  644. data/spec/github/error/validations_spec.rb +0 -21
  645. data/spec/github/mime_type_spec.rb +0 -41
  646. data/spec/github/normalizer_spec.rb +0 -34
  647. data/spec/github/page_links_spec.rb +0 -35
  648. data/spec/github/paged_request_spec.rb +0 -45
  649. data/spec/github/pagination/iterator/number_spec.rb +0 -123
  650. data/spec/github/pagination/iterator/sha_spec.rb +0 -66
  651. data/spec/github/parameter_filter_spec.rb +0 -34
  652. data/spec/github/params_hash_spec.rb +0 -97
  653. data/spec/github/request/endpoint_spec.rb +0 -22
  654. data/spec/github/request/jsonize_spec.rb +0 -89
  655. data/spec/github/request/oauth2_spec.rb +0 -72
  656. data/spec/github/request/request_spec.rb +0 -36
  657. data/spec/github/request_spec.rb +0 -41
  658. data/spec/github/response_wrapper/eql_spec.rb +0 -92
  659. data/spec/github/response_wrapper/headers_spec.rb +0 -40
  660. data/spec/github/response_wrapper/overwrites_spec.rb +0 -19
  661. data/spec/github/response_wrapper_spec.rb +0 -104
  662. data/spec/github/stack_spec.rb +0 -26
  663. data/spec/github/utils/url_spec.rb +0 -50
  664. data/spec/github/validations/format_spec.rb +0 -42
  665. data/spec/github/validations/presence_spec.rb +0 -34
  666. data/spec/github/validations/required_spec.rb +0 -28
  667. data/spec/github/validations/token_spec.rb +0 -19
  668. data/spec/github/validations_spec.rb +0 -25
  669. data/spec/github_spec.rb +0 -12
  670. data/spec/integration/activity_spec.rb +0 -18
  671. data/spec/integration/arguments_spec.rb +0 -74
  672. data/spec/integration/authorizations_spec.rb +0 -11
  673. data/spec/integration/gists_spec.rb +0 -13
  674. data/spec/integration/git_data_spec.rb +0 -19
  675. data/spec/integration/issues_spec.rb +0 -21
  676. data/spec/integration/multiple_invocations_spec.rb +0 -42
  677. data/spec/integration/options_spec.rb +0 -116
  678. data/spec/integration/orgs_spec.rb +0 -15
  679. data/spec/integration/pull_requests_spec.rb +0 -13
  680. data/spec/integration/repos_spec.rb +0 -37
  681. data/spec/integration/search_spec.rb +0 -12
  682. data/spec/integration/users_spec.rb +0 -16
  683. data/spec/shared/api_interface_behaviour.rb +0 -15
  684. data/spec/shared/array_of_resources_behaviour.rb +0 -15
  685. data/spec/shared/request_failure_behaviour.rb +0 -16
  686. data/spec/spec_helper.rb +0 -101
  687. data/spec/support/authentication.rb +0 -9
  688. data/spec/support/base.rb +0 -24
  689. data/spec/support/file_ops.rb +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d26348e58869906a79e2dfc0c48dfa954108eac
4
- data.tar.gz: 825111954c6cd0c7d9a54fd3b266f095abdddec3
3
+ metadata.gz: cff15a176a3ab3a5fc89519f2fadd76cd7c3a334
4
+ data.tar.gz: d7e862b6cb3b09203d71a95ab43ae062183eb3fe
5
5
  SHA512:
6
- metadata.gz: 108dfe9e60966232c63e19b23dff3fdd9b2309ef8118bc28fe115625f8593bdbaf1838fa288a0a88846069d8249894775a3a0e1230424c40de5966606a26d451
7
- data.tar.gz: f82977eb6dfd356e52b946435eca533b6896668181cb1a804f69c6db8546bebd03cebd9bce2a25a25f757071950823a9f19fe5763a48d49a8458e2ff52407100
6
+ metadata.gz: f39bd5c587a1e6db6c3f072f53ddbb682c7b34373217a9d72f050fa424bbb32805a8d4110daf375b10edeeda596feae8644aa86c15317844ad17369f5030f75d
7
+ data.tar.gz: 8e678463209d56ab1e5076a3bc54068624a96d9b931cb0fef40b8f04c01ad87e3e24c44783428de5350aa8475da9a9377b9a033aff56a1404638dd3c9929e218
data/README.md CHANGED
@@ -1,17 +1,19 @@
1
1
  [![Application icon](https://github.com/peter-murach/github/raw/master/icons/github_api.png)][icon]
2
2
  [icon]: https://github.com/peter-murach/github/raw/master/icons/github_api.png
3
3
  # github_api
4
- [![Gem Version](https://badge.fury.io/rb/github_api.png)][gem]
5
- [![Build Status](https://secure.travis-ci.org/peter-murach/github.png?branch=master)][travis]
4
+ [![Gem Version](https://badge.fury.io/rb/github_api.svg)][gem]
5
+ [![Build Status](https://secure.travis-ci.org/peter-murach/github.svg?branch=master)][travis]
6
+ [![Code Climate](https://codeclimate.com/github/peter-murach/github/badges/gpa.svg)][codeclimate]
7
+ [![Coverage Status](https://coveralls.io/repos/peter-murach/github/badge.svg?branch=master)][coverage]
8
+ [![Inline docs](http://inch-ci.org/github/peter-murach/github.svg)][inchpages]
6
9
  [![Dependency Status](https://gemnasium.com/peter-murach/github.png?travis)][gemnasium]
7
- [![Code Climate](https://codeclimate.com/github/peter-murach/github.png)][codeclimate]
8
- [![Coverage Status](https://coveralls.io/repos/peter-murach/github/badge.png?branch=master)][coveralls]
9
10
 
10
11
  [gem]: http://badge.fury.io/rb/github_api
11
12
  [travis]: http://travis-ci.org/peter-murach/github
12
- [gemnasium]: https://gemnasium.com/peter-murach/github
13
13
  [codeclimate]: https://codeclimate.com/github/peter-murach/github
14
- [coveralls]: https://coveralls.io/r/peter-murach/github
14
+ [coverage]: https://coveralls.io/r/peter-murach/github
15
+ [inchpages]: http://inch-ci.org/github/peter-murach/github
16
+ [gemnasium]: https://gemnasium.com/peter-murach/github
15
17
 
16
18
  [Website](http://peter-murach.github.io/github/) | [Wiki](https://github.com/peter-murach/github/wiki) | [RDocs](http://rubydoc.info/github/peter-murach/github/master/frames)
17
19
 
@@ -596,11 +598,7 @@ A Rails controller that allows a user to authorize their GitHub account and then
596
598
  ```ruby
597
599
  class GithubController < ApplicationController
598
600
 
599
- attr_accessor :github
600
- private :github
601
-
602
601
  def authorize
603
- github = Github.new client_id: '...', client_secret: '...'
604
602
  address = github.authorize_url redirect_uri: 'http://...', scope: 'repo'
605
603
  redirect_to address
606
604
  end
@@ -610,6 +608,12 @@ class GithubController < ApplicationController
610
608
  access_token = github.get_token authorization_code
611
609
  access_token.token # => returns token value
612
610
  end
611
+
612
+ private
613
+
614
+ def github
615
+ @github ||= Github.new client_id: '...', client_secret: '...'
616
+ end
613
617
  end
614
618
  ```
615
619
 
@@ -621,7 +625,7 @@ In order to be able to create/update/remove files you need to use Contents API l
621
625
  contents = Github::Client::Repos::Contents.new oauth_token: '...'
622
626
  ```
623
627
 
624
- Having instantiaed the contents, to create a file do:
628
+ Having instantiated the contents, to create a file do:
625
629
 
626
630
  ```ruby
627
631
  contents.create 'username', 'repo_name', 'full_path_to/file.ext',
@@ -143,7 +143,7 @@ module Github
143
143
  # @example
144
144
  # github = Github.new
145
145
  # github.issues.labels.remove 'user-name', 'repo-name', 'issue-number',
146
- # lable_name: 'label-name'
146
+ # label_name: 'label-name'
147
147
  #
148
148
  # Remove all labels from an issue
149
149
  #
@@ -33,7 +33,7 @@ module Github
33
33
  #
34
34
  # @example
35
35
  # github = Github.new
36
- # github.collaborators.add 'user', 'repo', 'username'
36
+ # github.repos.collaborators.add 'user', 'repo', 'username'
37
37
  #
38
38
  # @example
39
39
  # collaborators = Github::Repos::Collaborators.new
@@ -20,7 +20,8 @@ module Github
20
20
  # github = Github.new
21
21
  # github.repos.contents.readme 'user-name', 'repo-name'
22
22
  #
23
- # content = Github::Repos;:Contents.new user: 'user-name', 'repo-name'
23
+ # @example
24
+ # content = Github::Client::Repos::Contents.new user: 'user-name', repo: 'repo-name'
24
25
  # content.readme
25
26
  #
26
27
  # @api public
@@ -61,6 +61,7 @@ module Github
61
61
  connection_options = current_options.merge(request_options)
62
62
  conn = connection(api, connection_options)
63
63
 
64
+ self.path = Utils::Url.normalize(self.path)
64
65
  if conn.path_prefix != '/' && self.path.index(conn.path_prefix) != 0
65
66
  self.path = (conn.path_prefix + self.path).gsub(/\/(\/)*/, '/')
66
67
  end
@@ -16,6 +16,8 @@ module Github
16
16
 
17
17
  def unescape(s) CGI.unescape(s.to_s) end
18
18
 
19
+ def normalize(s) Addressable::URI.parse(s.to_s).normalize.path end
20
+
19
21
  def build_query(params)
20
22
  params.map { |k, v|
21
23
  if v.class == Array
@@ -4,7 +4,7 @@ module Github
4
4
  module VERSION
5
5
  MAJOR = 0
6
6
  MINOR = 12
7
- PATCH = 3
7
+ PATCH = 4
8
8
  BUILD = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.');
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Murach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-07 00:00:00.000000000 Z
11
+ date: 2015-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '>='
32
32
  - !ruby/object:Gem::Version
33
- version: '3.3'
33
+ version: '3.4'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
- version: '3.3'
40
+ version: '3.4'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -98,14 +98,14 @@ dependencies:
98
98
  requirements:
99
99
  - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: 1.6.3
101
+ version: 1.6.6
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ~>
107
107
  - !ruby/object:Gem::Version
108
- version: 1.6.3
108
+ version: 1.6.6
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: descendants_tracker
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -141,269 +141,10 @@ description: ' Ruby client that supports all of the GitHub API methods. It''s bu
141
141
  email: ''
142
142
  executables: []
143
143
  extensions: []
144
- extra_rdoc_files: []
144
+ extra_rdoc_files:
145
+ - LICENSE.txt
146
+ - README.md
145
147
  files:
146
- - Rakefile
147
- - features/activity/events.feature
148
- - features/activity/notifications.feature
149
- - features/activity/starring.feature
150
- - features/activity/watching.feature
151
- - features/arguments_parsing.feature
152
- - features/auto_pagination.feature
153
- - features/cassettes/activity/events/issue.json
154
- - features/cassettes/activity/events/network.json
155
- - features/cassettes/activity/events/org.json
156
- - features/cassettes/activity/events/performed.json
157
- - features/cassettes/activity/events/public.json
158
- - features/cassettes/activity/events/received.json
159
- - features/cassettes/activity/events/repo.json
160
- - features/cassettes/activity/notifications/list_user.json
161
- - features/cassettes/activity/starring/list.json
162
- - features/cassettes/activity/starring/star.json
163
- - features/cassettes/activity/starring/starred.json
164
- - features/cassettes/activity/starring/starring.json
165
- - features/cassettes/activity/starring/unstar.json
166
- - features/cassettes/activity/watching/create.json
167
- - features/cassettes/activity/watching/delete.json
168
- - features/cassettes/activity/watching/list.json
169
- - features/cassettes/activity/watching/subscribed.json
170
- - features/cassettes/activity/watching/unwatch.json
171
- - features/cassettes/activity/watching/watch.json
172
- - features/cassettes/activity/watching/watched.json
173
- - features/cassettes/activity/watching/watching.json
174
- - features/cassettes/arguments/orgs/get.json
175
- - features/cassettes/arguments/pulls/get.json
176
- - features/cassettes/arguments/repo_commits/get.json
177
- - features/cassettes/auto_pagination/repos/get.json
178
- - features/cassettes/auto_pagination/repos/global_list.json
179
- - features/cassettes/auto_pagination/repos/list.json
180
- - features/cassettes/emojis/list.json
181
- - features/cassettes/errors/repos/create.json
182
- - features/cassettes/gists/comments/all.json
183
- - features/cassettes/gists/comments/first.json
184
- - features/cassettes/gists/fork.json
185
- - features/cassettes/gists/gist.json
186
- - features/cassettes/gists/gists/commits.json
187
- - features/cassettes/gists/gists/forks.json
188
- - features/cassettes/gists/gists/public_all.json
189
- - features/cassettes/gists/gists/starred.json
190
- - features/cassettes/gists/gists/user_all.json
191
- - features/cassettes/gists/star.json
192
- - features/cassettes/gists/starred.json
193
- - features/cassettes/gists/unstar.json
194
- - features/cassettes/git_data/commits/get.json
195
- - features/cassettes/git_data/references/all.json
196
- - features/cassettes/git_data/references/all_tags.json
197
- - features/cassettes/git_data/references/one.json
198
- - features/cassettes/gitignore/get.json
199
- - features/cassettes/gitignore/get_raw.json
200
- - features/cassettes/gitignore/list.json
201
- - features/cassettes/issues/assignees/ckeck.json
202
- - features/cassettes/issues/assignees/ckeck_not.json
203
- - features/cassettes/issues/assignees/list.json
204
- - features/cassettes/issues/comments/create.json
205
- - features/cassettes/issues/comments/delete.json
206
- - features/cassettes/issues/comments/edit.json
207
- - features/cassettes/issues/comments/get.json
208
- - features/cassettes/issues/comments/list_issue.json
209
- - features/cassettes/issues/comments/list_repo.json
210
- - features/cassettes/issues/create.json
211
- - features/cassettes/issues/edit.json
212
- - features/cassettes/issues/events/get.json
213
- - features/cassettes/issues/events/list_issue.json
214
- - features/cassettes/issues/events/list_repo.json
215
- - features/cassettes/issues/get.json
216
- - features/cassettes/issues/labels/add.json
217
- - features/cassettes/issues/labels/create.json
218
- - features/cassettes/issues/labels/delete.json
219
- - features/cassettes/issues/labels/get.json
220
- - features/cassettes/issues/labels/list_issue.json
221
- - features/cassettes/issues/labels/list_milestone.json
222
- - features/cassettes/issues/labels/list_repo.json
223
- - features/cassettes/issues/labels/remove_all.json
224
- - features/cassettes/issues/labels/remove_one.json
225
- - features/cassettes/issues/labels/replace.json
226
- - features/cassettes/issues/labels/update.json
227
- - features/cassettes/issues/list/repo.json
228
- - features/cassettes/issues/list/user.json
229
- - features/cassettes/issues/milestones/create.json
230
- - features/cassettes/issues/milestones/delete.json
231
- - features/cassettes/issues/milestones/get.json
232
- - features/cassettes/issues/milestones/list.json
233
- - features/cassettes/issues/milestones/update.json
234
- - features/cassettes/markdown/render.json
235
- - features/cassettes/markdown/render_raw.json
236
- - features/cassettes/media/get_default.json
237
- - features/cassettes/media/get_full_json.json
238
- - features/cassettes/media/get_html_json.json
239
- - features/cassettes/media/get_raw_json.json
240
- - features/cassettes/media/get_text_json.json
241
- - features/cassettes/meta/get.json
242
- - features/cassettes/orgs/get.json
243
- - features/cassettes/orgs/list/oauth_user.json
244
- - features/cassettes/orgs/list/user.json
245
- - features/cassettes/orgs/members/list.json
246
- - features/cassettes/orgs/members/list_public.json
247
- - features/cassettes/orgs/members/member_false.json
248
- - features/cassettes/orgs/members/member_public_false.json
249
- - features/cassettes/orgs/members/member_public_true.json
250
- - features/cassettes/pagination/issues/list/first.json
251
- - features/cassettes/pagination/issues/list/last.json
252
- - features/cassettes/pagination/issues/list/lastest.json
253
- - features/cassettes/pagination/issues/list/next.json
254
- - features/cassettes/pagination/issues/list/prev.json
255
- - features/cassettes/pagination/repos/commits/list.json
256
- - features/cassettes/pagination/repos/commits/next.json
257
- - features/cassettes/pagination/repos/commits/sha/next.json
258
- - features/cassettes/pagination/repos/commits/sha.json
259
- - features/cassettes/pagination/repos/diff/next.json
260
- - features/cassettes/pagination/repos/diff.json
261
- - features/cassettes/pagination/repos/list/next.json
262
- - features/cassettes/pagination/repos/list.json
263
- - features/cassettes/pagination/repos/per_page/each_page.json
264
- - features/cassettes/pagination/repos/per_page/first.json
265
- - features/cassettes/pull_requests/comments/list_pull.json
266
- - features/cassettes/pull_requests/comments/list_repo.json
267
- - features/cassettes/pull_requests/create.json
268
- - features/cassettes/pull_requests/get.json
269
- - features/cassettes/pull_requests/list.json
270
- - features/cassettes/pull_requests/merge.json
271
- - features/cassettes/pull_requests/merged.json
272
- - features/cassettes/ratelimit/get.json
273
- - features/cassettes/ratelimit/get_remaining.json
274
- - features/cassettes/ratelimit/get_reset.json
275
- - features/cassettes/repos/assets/delete.json
276
- - features/cassettes/repos/assets/edit.json
277
- - features/cassettes/repos/assets/get.json
278
- - features/cassettes/repos/assets/list.json
279
- - features/cassettes/repos/assets/upload.json
280
- - features/cassettes/repos/branch.json
281
- - features/cassettes/repos/branch_mutation_one.json
282
- - features/cassettes/repos/branch_mutation_two.json
283
- - features/cassettes/repos/branches.json
284
- - features/cassettes/repos/comments/list.json
285
- - features/cassettes/repos/commits/compare.json
286
- - features/cassettes/repos/commits/get.json
287
- - features/cassettes/repos/commits/list.json
288
- - features/cassettes/repos/contents/archive.json
289
- - features/cassettes/repos/contents/create.json
290
- - features/cassettes/repos/contents/delete.json
291
- - features/cassettes/repos/contents/get.json
292
- - features/cassettes/repos/contents/readme.json
293
- - features/cassettes/repos/contents/update.json
294
- - features/cassettes/repos/create.json
295
- - features/cassettes/repos/deployments/create.json
296
- - features/cassettes/repos/deployments/create_status.json
297
- - features/cassettes/repos/deployments/list.json
298
- - features/cassettes/repos/deployments/list_statuses.json
299
- - features/cassettes/repos/forks/list.json
300
- - features/cassettes/repos/forks/list_sort.json
301
- - features/cassettes/repos/get.json
302
- - features/cassettes/repos/languages.json
303
- - features/cassettes/repos/list.json
304
- - features/cassettes/repos/list_org.json
305
- - features/cassettes/repos/list_org_instance.json
306
- - features/cassettes/repos/list_repos.json
307
- - features/cassettes/repos/pages/get.json
308
- - features/cassettes/repos/pages/list_builds.json
309
- - features/cassettes/repos/releases/create.json
310
- - features/cassettes/repos/releases/delete.json
311
- - features/cassettes/repos/releases/edit.json
312
- - features/cassettes/repos/releases/get.json
313
- - features/cassettes/repos/releases/list.json
314
- - features/cassettes/repos/stats/commits.json
315
- - features/cassettes/repos/stats/contribs.json
316
- - features/cassettes/repos/stats/frequency.json
317
- - features/cassettes/repos/stats/participation.json
318
- - features/cassettes/repos/stats/punch.json
319
- - features/cassettes/repos/statuses/list.json
320
- - features/cassettes/repos/statuses/list_combined.json
321
- - features/cassettes/repos/tags.json
322
- - features/cassettes/say/custom.json
323
- - features/cassettes/say/random.json
324
- - features/cassettes/search/code.json
325
- - features/cassettes/search/code_query.json
326
- - features/cassettes/search/code_unicode.json
327
- - features/cassettes/search/issues.json
328
- - features/cassettes/search/legacy/email.json
329
- - features/cassettes/search/legacy/issues.json
330
- - features/cassettes/search/legacy/repos.json
331
- - features/cassettes/search/legacy/users.json
332
- - features/cassettes/search/legacy/users_keyword.json
333
- - features/cassettes/search/repos.json
334
- - features/cassettes/search/users.json
335
- - features/cassettes/search/users_keyword.json
336
- - features/cassettes/users/all.json
337
- - features/cassettes/users/emails/add.json
338
- - features/cassettes/users/emails/all.json
339
- - features/cassettes/users/emails/delete.json
340
- - features/cassettes/users/followers/follow.json
341
- - features/cassettes/users/followers/following.json
342
- - features/cassettes/users/followers/following_.json
343
- - features/cassettes/users/followers/following_another.json
344
- - features/cassettes/users/followers/list.json
345
- - features/cassettes/users/followers/unfollow.json
346
- - features/cassettes/users/get/oauth.json
347
- - features/cassettes/users/get/oauth.yml
348
- - features/cassettes/users/get/user.json
349
- - features/cassettes/users/get/user.yml
350
- - features/cassettes/users/keys/create.json
351
- - features/cassettes/users/keys/delete.json
352
- - features/cassettes/users/keys/user.json
353
- - features/cassettes/users/keys/user.yml
354
- - features/cassettes/users/keys/user_all.json
355
- - features/cassettes/users/keys/user_all.yml
356
- - features/emojis.feature
357
- - features/error_codes.feature
358
- - features/gists/comments.feature
359
- - features/gists.feature
360
- - features/git_data/commmits.feature
361
- - features/git_data/references.feature
362
- - features/github_api.feature
363
- - features/gitignore.feature
364
- - features/issues/assignees.feature
365
- - features/issues/comments.feature
366
- - features/issues/events.feature
367
- - features/issues/labels.feature
368
- - features/issues/milestones.feature
369
- - features/issues.feature
370
- - features/markdown.feature
371
- - features/media_type.feature
372
- - features/meta.feature
373
- - features/options.feature
374
- - features/orgs/members.feature
375
- - features/orgs.feature
376
- - features/pagination.feature
377
- - features/pull_requests/comments.feature
378
- - features/pull_requests.feature
379
- - features/rate_limit.feature
380
- - features/README.rdoc
381
- - features/repos/assets.feature
382
- - features/repos/comments.feature
383
- - features/repos/commits.feature
384
- - features/repos/contents.feature
385
- - features/repos/deployments.feature
386
- - features/repos/forks.feature
387
- - features/repos/pages.feature
388
- - features/repos/releases.feature
389
- - features/repos/statistics.feature
390
- - features/repos/statuses.feature
391
- - features/repos.feature
392
- - features/say.feature
393
- - features/search/legacy.feature
394
- - features/search.feature
395
- - features/settings.yml
396
- - features/settings.yml.sample
397
- - features/step_definitions/common_steps.rb
398
- - features/step_definitions/github_api_steps.rb
399
- - features/support/env.rb
400
- - features/support/helpers.rb
401
- - features/support/settings.rb
402
- - features/support/vcr.rb
403
- - features/users/emails.feature
404
- - features/users/followers.feature
405
- - features/users/keys.feature
406
- - features/users.feature
407
148
  - lib/github_api/api/actions.rb
408
149
  - lib/github_api/api/arguments.rb
409
150
  - lib/github_api/api/config/property.rb
@@ -527,427 +268,8 @@ files:
527
268
  - lib/github_api/validations.rb
528
269
  - lib/github_api/version.rb
529
270
  - lib/github_api.rb
530
- - spec/coverage_adapter.rb
531
- - spec/fixtures/activity/notifications.json
532
- - spec/fixtures/activity/subscribed.json
533
- - spec/fixtures/activity/threads.json
534
- - spec/fixtures/auths/authorization.json
535
- - spec/fixtures/auths/authorizations.json
536
- - spec/fixtures/auths/check.json
537
- - spec/fixtures/events/events.json
538
- - spec/fixtures/gists/comment.json
539
- - spec/fixtures/gists/comments.json
540
- - spec/fixtures/gists/gist.json
541
- - spec/fixtures/gists/gists.json
542
- - spec/fixtures/git_data/blob.json
543
- - spec/fixtures/git_data/blob_sha.json
544
- - spec/fixtures/git_data/commit.json
545
- - spec/fixtures/git_data/reference.json
546
- - spec/fixtures/git_data/references.json
547
- - spec/fixtures/git_data/tag.json
548
- - spec/fixtures/git_data/tree.json
549
- - spec/fixtures/gitignore/template.json
550
- - spec/fixtures/gitignore/template_raw
551
- - spec/fixtures/gitignore/templates.json
552
- - spec/fixtures/issues/comment.json
553
- - spec/fixtures/issues/comments.json
554
- - spec/fixtures/issues/event.json
555
- - spec/fixtures/issues/events.json
556
- - spec/fixtures/issues/issue.json
557
- - spec/fixtures/issues/issues.json
558
- - spec/fixtures/issues/label.json
559
- - spec/fixtures/issues/labels.json
560
- - spec/fixtures/issues/milestone.json
561
- - spec/fixtures/issues/milestones.json
562
- - spec/fixtures/orgs/members.json
563
- - spec/fixtures/orgs/org.json
564
- - spec/fixtures/orgs/orgs.json
565
- - spec/fixtures/orgs/team.json
566
- - spec/fixtures/orgs/team_repos.json
567
- - spec/fixtures/orgs/teams.json
568
- - spec/fixtures/pull_requests/comment.json
569
- - spec/fixtures/pull_requests/comments.json
570
- - spec/fixtures/pull_requests/commits.json
571
- - spec/fixtures/pull_requests/files.json
572
- - spec/fixtures/pull_requests/merge_failure.json
573
- - spec/fixtures/pull_requests/merge_success.json
574
- - spec/fixtures/pull_requests/pull_request.json
575
- - spec/fixtures/pull_requests/pull_requests.json
576
- - spec/fixtures/repos/asset.json
577
- - spec/fixtures/repos/assets.json
578
- - spec/fixtures/repos/assignees.json
579
- - spec/fixtures/repos/branch.json
580
- - spec/fixtures/repos/branches.json
581
- - spec/fixtures/repos/collaborators.json
582
- - spec/fixtures/repos/commit.json
583
- - spec/fixtures/repos/commit_activity.json
584
- - spec/fixtures/repos/commit_comment.json
585
- - spec/fixtures/repos/commit_comments.json
586
- - spec/fixtures/repos/commit_comparison.json
587
- - spec/fixtures/repos/commits.json
588
- - spec/fixtures/repos/content.json
589
- - spec/fixtures/repos/content_created.json
590
- - spec/fixtures/repos/content_deleted.json
591
- - spec/fixtures/repos/contribs.json
592
- - spec/fixtures/repos/contributors.json
593
- - spec/fixtures/repos/deployment.json
594
- - spec/fixtures/repos/deployment_status.json
595
- - spec/fixtures/repos/deployment_statuses.json
596
- - spec/fixtures/repos/deployments.json
597
- - spec/fixtures/repos/download.json
598
- - spec/fixtures/repos/download_s3.json
599
- - spec/fixtures/repos/downloads.json
600
- - spec/fixtures/repos/fork.json
601
- - spec/fixtures/repos/forks.json
602
- - spec/fixtures/repos/frequency.json
603
- - spec/fixtures/repos/hook.json
604
- - spec/fixtures/repos/hooks.json
605
- - spec/fixtures/repos/key.json
606
- - spec/fixtures/repos/keys.json
607
- - spec/fixtures/repos/languages.json
608
- - spec/fixtures/repos/merge.json
609
- - spec/fixtures/repos/participation.json
610
- - spec/fixtures/repos/punch_card.json
611
- - spec/fixtures/repos/readme.json
612
- - spec/fixtures/repos/release.json
613
- - spec/fixtures/repos/releases.json
614
- - spec/fixtures/repos/repo.json
615
- - spec/fixtures/repos/repo_comments.json
616
- - spec/fixtures/repos/repos.json
617
- - spec/fixtures/repos/repos_sorted_by_pushed.json
618
- - spec/fixtures/repos/stargazers.json
619
- - spec/fixtures/repos/starred.json
620
- - spec/fixtures/repos/status.json
621
- - spec/fixtures/repos/statuses.json
622
- - spec/fixtures/repos/tags.json
623
- - spec/fixtures/repos/teams.json
624
- - spec/fixtures/repos/watched.json
625
- - spec/fixtures/repos/watchers.json
626
- - spec/fixtures/search/code.json
627
- - spec/fixtures/search/email.json
628
- - spec/fixtures/search/issues.json
629
- - spec/fixtures/search/issues_legacy.json
630
- - spec/fixtures/search/repos.json
631
- - spec/fixtures/search/repos_legacy.json
632
- - spec/fixtures/search/users.json
633
- - spec/fixtures/search/users_legacy.json
634
- - spec/fixtures/users/emails.json
635
- - spec/fixtures/users/followers.json
636
- - spec/fixtures/users/key.json
637
- - spec/fixtures/users/keys.json
638
- - spec/fixtures/users/user.json
639
- - spec/fixtures/users/users.json
640
- - spec/github/api/actions_spec.rb
641
- - spec/github/api/arguments/dsl_spec.rb
642
- - spec/github/api/arguments/parse_spec.rb
643
- - spec/github/api/callbacks_spec.rb
644
- - spec/github/api/namespace_spec.rb
645
- - spec/github/api/property_spec.rb
646
- - spec/github/api/set_spec.rb
647
- - spec/github/api/with_spec.rb
648
- - spec/github/api_factory_spec.rb
649
- - spec/github/api_spec.rb
650
- - spec/github/authorization_spec.rb
651
- - spec/github/client/activity/events/issue_spec.rb
652
- - spec/github/client/activity/events/network_spec.rb
653
- - spec/github/client/activity/events/org_spec.rb
654
- - spec/github/client/activity/events/performed_spec.rb
655
- - spec/github/client/activity/events/public_spec.rb
656
- - spec/github/client/activity/events/received_spec.rb
657
- - spec/github/client/activity/events/repository_spec.rb
658
- - spec/github/client/activity/events/user_org_spec.rb
659
- - spec/github/client/activity/notifications/create_spec.rb
660
- - spec/github/client/activity/notifications/delete_spec.rb
661
- - spec/github/client/activity/notifications/get_spec.rb
662
- - spec/github/client/activity/notifications/list_spec.rb
663
- - spec/github/client/activity/notifications/mark_spec.rb
664
- - spec/github/client/activity/notifications/subscribed_spec.rb
665
- - spec/github/client/activity/starring/list_spec.rb
666
- - spec/github/client/activity/starring/star_spec.rb
667
- - spec/github/client/activity/starring/starred_spec.rb
668
- - spec/github/client/activity/starring/starring_spec.rb
669
- - spec/github/client/activity/starring/unstar_spec.rb
670
- - spec/github/client/activity/watching/list_spec.rb
671
- - spec/github/client/activity/watching/unwatch_spec.rb
672
- - spec/github/client/activity/watching/watch_spec.rb
673
- - spec/github/client/activity/watching/watched_spec.rb
674
- - spec/github/client/activity/watching/watching_spec.rb
675
- - spec/github/client/authorizations/app/check_spec.rb
676
- - spec/github/client/authorizations/app/create_spec.rb
677
- - spec/github/client/authorizations/app/delete_spec.rb
678
- - spec/github/client/authorizations/create_spec.rb
679
- - spec/github/client/authorizations/delete_spec.rb
680
- - spec/github/client/authorizations/get_spec.rb
681
- - spec/github/client/authorizations/list_spec.rb
682
- - spec/github/client/authorizations/two_factor_spec.rb
683
- - spec/github/client/authorizations/update_spec.rb
684
- - spec/github/client/gists/comments/create_spec.rb
685
- - spec/github/client/gists/comments/delete_spec.rb
686
- - spec/github/client/gists/comments/edit_spec.rb
687
- - spec/github/client/gists/comments/get_spec.rb
688
- - spec/github/client/gists/comments/list_spec.rb
689
- - spec/github/client/gists/comments_spec.rb
690
- - spec/github/client/gists/create_spec.rb
691
- - spec/github/client/gists/delete_spec.rb
692
- - spec/github/client/gists/edit_spec.rb
693
- - spec/github/client/gists/fork_spec.rb
694
- - spec/github/client/gists/get_spec.rb
695
- - spec/github/client/gists/is_starred_spec.rb
696
- - spec/github/client/gists/list_spec.rb
697
- - spec/github/client/gists/star_spec.rb
698
- - spec/github/client/gists/starred_spec.rb
699
- - spec/github/client/gists/unstar_spec.rb
700
- - spec/github/client/git_data/blobs/create_spec.rb
701
- - spec/github/client/git_data/blobs/get_spec.rb
702
- - spec/github/client/git_data/blobs_spec.rb
703
- - spec/github/client/git_data/commits/create_spec.rb
704
- - spec/github/client/git_data/commits/get_spec.rb
705
- - spec/github/client/git_data/commits_spec.rb
706
- - spec/github/client/git_data/references/create_spec.rb
707
- - spec/github/client/git_data/references/delete_spec.rb
708
- - spec/github/client/git_data/references/get_spec.rb
709
- - spec/github/client/git_data/references/list_spec.rb
710
- - spec/github/client/git_data/references/update_spec.rb
711
- - spec/github/client/git_data/references_spec.rb
712
- - spec/github/client/git_data/tags/create_spec.rb
713
- - spec/github/client/git_data/tags/get_spec.rb
714
- - spec/github/client/git_data/tags_spec.rb
715
- - spec/github/client/git_data/trees/create_spec.rb
716
- - spec/github/client/git_data/trees/get_spec.rb
717
- - spec/github/client/git_data/trees_spec.rb
718
- - spec/github/client/gitignore/get_spec.rb
719
- - spec/github/client/gitignore/list_spec.rb
720
- - spec/github/client/issues/assignees/check_spec.rb
721
- - spec/github/client/issues/assignees/list_spec.rb
722
- - spec/github/client/issues/assignees_spec.rb
723
- - spec/github/client/issues/comments/create_spec.rb
724
- - spec/github/client/issues/comments/delete_spec.rb
725
- - spec/github/client/issues/comments/edit_spec.rb
726
- - spec/github/client/issues/comments/get_spec.rb
727
- - spec/github/client/issues/comments/list_spec.rb
728
- - spec/github/client/issues/comments_spec.rb
729
- - spec/github/client/issues/create_spec.rb
730
- - spec/github/client/issues/edit_spec.rb
731
- - spec/github/client/issues/events/get_spec.rb
732
- - spec/github/client/issues/events/list_spec.rb
733
- - spec/github/client/issues/events_spec.rb
734
- - spec/github/client/issues/get_spec.rb
735
- - spec/github/client/issues/labels/add_spec.rb
736
- - spec/github/client/issues/labels/create_spec.rb
737
- - spec/github/client/issues/labels/delete_spec.rb
738
- - spec/github/client/issues/labels/get_spec.rb
739
- - spec/github/client/issues/labels/list_spec.rb
740
- - spec/github/client/issues/labels/remove_spec.rb
741
- - spec/github/client/issues/labels/replace_spec.rb
742
- - spec/github/client/issues/labels/update_spec.rb
743
- - spec/github/client/issues/labels_spec.rb
744
- - spec/github/client/issues/list_spec.rb
745
- - spec/github/client/issues/milestones/create_spec.rb
746
- - spec/github/client/issues/milestones/delete_spec.rb
747
- - spec/github/client/issues/milestones/get_spec.rb
748
- - spec/github/client/issues/milestones/list_spec.rb
749
- - spec/github/client/issues/milestones/update_spec.rb
750
- - spec/github/client/issues/milestones_spec.rb
751
- - spec/github/client/orgs/edit_spec.rb
752
- - spec/github/client/orgs/get_spec.rb
753
- - spec/github/client/orgs/list_spec.rb
754
- - spec/github/client/orgs/members/conceal_spec.rb
755
- - spec/github/client/orgs/members/delete_spec.rb
756
- - spec/github/client/orgs/members/list_spec.rb
757
- - spec/github/client/orgs/members/member_spec.rb
758
- - spec/github/client/orgs/members/publicize_spec.rb
759
- - spec/github/client/orgs/members_spec.rb
760
- - spec/github/client/orgs/teams/add_member_spec.rb
761
- - spec/github/client/orgs/teams/add_repo_spec.rb
762
- - spec/github/client/orgs/teams/create_spec.rb
763
- - spec/github/client/orgs/teams/delete_spec.rb
764
- - spec/github/client/orgs/teams/edit_spec.rb
765
- - spec/github/client/orgs/teams/get_spec.rb
766
- - spec/github/client/orgs/teams/list_members_spec.rb
767
- - spec/github/client/orgs/teams/list_repos_spec.rb
768
- - spec/github/client/orgs/teams/list_spec.rb
769
- - spec/github/client/orgs/teams/remove_member_spec.rb
770
- - spec/github/client/orgs/teams/remove_repo_spec.rb
771
- - spec/github/client/orgs/teams/team_member_spec.rb
772
- - spec/github/client/orgs/teams/team_repo_spec.rb
773
- - spec/github/client/orgs/teams_spec.rb
774
- - spec/github/client/pull_requests/comments/create_spec.rb
775
- - spec/github/client/pull_requests/comments/delete_spec.rb
776
- - spec/github/client/pull_requests/comments/edit_spec.rb
777
- - spec/github/client/pull_requests/comments/get_spec.rb
778
- - spec/github/client/pull_requests/comments/list_spec.rb
779
- - spec/github/client/pull_requests/comments_spec.rb
780
- - spec/github/client/pull_requests/commits_spec.rb
781
- - spec/github/client/pull_requests/create_spec.rb
782
- - spec/github/client/pull_requests/files_spec.rb
783
- - spec/github/client/pull_requests/get_spec.rb
784
- - spec/github/client/pull_requests/list_spec.rb
785
- - spec/github/client/pull_requests/merge_spec.rb
786
- - spec/github/client/pull_requests/merged_spec.rb
787
- - spec/github/client/pull_requests/update_spec.rb
788
- - spec/github/client/repos/assets/delete_spec.rb
789
- - spec/github/client/repos/assets/edit_spec.rb
790
- - spec/github/client/repos/assets/get_spec.rb
791
- - spec/github/client/repos/assets/list_spec.rb
792
- - spec/github/client/repos/assets/upload_spec.rb
793
- - spec/github/client/repos/branch_spec.rb
794
- - spec/github/client/repos/branches_spec.rb
795
- - spec/github/client/repos/collaborators/add_spec.rb
796
- - spec/github/client/repos/collaborators/get_spec.rb
797
- - spec/github/client/repos/collaborators/list_spec.rb
798
- - spec/github/client/repos/collaborators/remove_spec.rb
799
- - spec/github/client/repos/collaborators_spec.rb
800
- - spec/github/client/repos/comments/create_spec.rb
801
- - spec/github/client/repos/comments/delete_spec.rb
802
- - spec/github/client/repos/comments/get_spec.rb
803
- - spec/github/client/repos/comments/list_spec.rb
804
- - spec/github/client/repos/comments/update_spec.rb
805
- - spec/github/client/repos/commits/compare_spec.rb
806
- - spec/github/client/repos/commits/get_spec.rb
807
- - spec/github/client/repos/commits/list_spec.rb
808
- - spec/github/client/repos/contents/archive_spec.rb
809
- - spec/github/client/repos/contents/create_spec.rb
810
- - spec/github/client/repos/contents/delete_spec.rb
811
- - spec/github/client/repos/contents/get_spec.rb
812
- - spec/github/client/repos/contents/readme_spec.rb
813
- - spec/github/client/repos/contributors_spec.rb
814
- - spec/github/client/repos/create_spec.rb
815
- - spec/github/client/repos/delete_spec.rb
816
- - spec/github/client/repos/deployments/create_spec.rb
817
- - spec/github/client/repos/deployments/create_status_spec.rb
818
- - spec/github/client/repos/deployments/list_spec.rb
819
- - spec/github/client/repos/deployments/statuses_spec.rb
820
- - spec/github/client/repos/downloads/delete_spec.rb
821
- - spec/github/client/repos/downloads/get_spec.rb
822
- - spec/github/client/repos/downloads/list_spec.rb
823
- - spec/github/client/repos/downloads_spec.rb
824
- - spec/github/client/repos/edit_spec.rb
825
- - spec/github/client/repos/forks/create_spec.rb
826
- - spec/github/client/repos/forks/list_spec.rb
827
- - spec/github/client/repos/get_spec.rb
828
- - spec/github/client/repos/hooks/create_spec.rb
829
- - spec/github/client/repos/hooks/delete_spec.rb
830
- - spec/github/client/repos/hooks/edit_spec.rb
831
- - spec/github/client/repos/hooks/get_spec.rb
832
- - spec/github/client/repos/hooks/list_spec.rb
833
- - spec/github/client/repos/hooks/ping_spec.rb
834
- - spec/github/client/repos/hooks/test_spec.rb
835
- - spec/github/client/repos/hooks_spec.rb
836
- - spec/github/client/repos/keys/create_spec.rb
837
- - spec/github/client/repos/keys/delete_spec.rb
838
- - spec/github/client/repos/keys/get_spec.rb
839
- - spec/github/client/repos/keys/list_spec.rb
840
- - spec/github/client/repos/keys_spec.rb
841
- - spec/github/client/repos/languages_spec.rb
842
- - spec/github/client/repos/list_spec.rb
843
- - spec/github/client/repos/merging/merge_spec.rb
844
- - spec/github/client/repos/pub_sub_hubbub/subscribe_service_spec.rb
845
- - spec/github/client/repos/pub_sub_hubbub/subscribe_spec.rb
846
- - spec/github/client/repos/pub_sub_hubbub/unsubscribe_service_spec.rb
847
- - spec/github/client/repos/pub_sub_hubbub/unsubscribe_spec.rb
848
- - spec/github/client/repos/releases/create_spec.rb
849
- - spec/github/client/repos/releases/delete_spec.rb
850
- - spec/github/client/repos/releases/edit_spec.rb
851
- - spec/github/client/repos/releases/get_spec.rb
852
- - spec/github/client/repos/releases/list_spec.rb
853
- - spec/github/client/repos/statistics/code_frequency_spec.rb
854
- - spec/github/client/repos/statistics/commit_activity_spec.rb
855
- - spec/github/client/repos/statistics/contributors_spec.rb
856
- - spec/github/client/repos/statistics/participation_spec.rb
857
- - spec/github/client/repos/statistics/punch_card_spec.rb
858
- - spec/github/client/repos/statuses/create_spec.rb
859
- - spec/github/client/repos/statuses/list_spec.rb
860
- - spec/github/client/repos/statuses_spec.rb
861
- - spec/github/client/repos/tags_spec.rb
862
- - spec/github/client/repos/teams_spec.rb
863
- - spec/github/client/scopes/list_spec.rb
864
- - spec/github/client/search/code_spec.rb
865
- - spec/github/client/search/issues_spec.rb
866
- - spec/github/client/search/legacy/email_spec.rb
867
- - spec/github/client/search/legacy/issues_spec.rb
868
- - spec/github/client/search/legacy/repos_spec.rb
869
- - spec/github/client/search/legacy/users_spec.rb
870
- - spec/github/client/search/repos_spec.rb
871
- - spec/github/client/search/users_spec.rb
872
- - spec/github/client/users/emails/add_spec.rb
873
- - spec/github/client/users/emails/delete_spec.rb
874
- - spec/github/client/users/emails/list_spec.rb
875
- - spec/github/client/users/followers/follow_spec.rb
876
- - spec/github/client/users/followers/following_spec.rb
877
- - spec/github/client/users/followers/is_following_spec.rb
878
- - spec/github/client/users/followers/list_spec.rb
879
- - spec/github/client/users/followers/unfollow_spec.rb
880
- - spec/github/client/users/get_spec.rb
881
- - spec/github/client/users/keys/create_spec.rb
882
- - spec/github/client/users/keys/delete_spec.rb
883
- - spec/github/client/users/keys/get_spec.rb
884
- - spec/github/client/users/keys/list_spec.rb
885
- - spec/github/client/users/keys/update_spec.rb
886
- - spec/github/client/users/list_spec.rb
887
- - spec/github/client/users/update_spec.rb
888
- - spec/github/client_spec.rb
889
- - spec/github/configuration_spec.rb
890
- - spec/github/configure_spec.rb
891
- - spec/github/core_ext/deep_merge_spec.rb
892
- - spec/github/core_ext/hash_spec.rb
893
- - spec/github/deprecation_spec.rb
894
- - spec/github/error/client_error_spec.rb
895
- - spec/github/error/invalid_options_spec.rb
896
- - spec/github/error/required_params_spec.rb
897
- - spec/github/error/service_error/parse_body_spec.rb
898
- - spec/github/error/service_error/parse_response_spec.rb
899
- - spec/github/error/service_error_spec.rb
900
- - spec/github/error/unknown_media_spec.rb
901
- - spec/github/error/unknown_value_spec.rb
902
- - spec/github/error/validations_spec.rb
903
- - spec/github/mime_type_spec.rb
904
- - spec/github/normalizer_spec.rb
905
- - spec/github/page_links_spec.rb
906
- - spec/github/paged_request_spec.rb
907
- - spec/github/pagination/iterator/number_spec.rb
908
- - spec/github/pagination/iterator/sha_spec.rb
909
- - spec/github/parameter_filter_spec.rb
910
- - spec/github/params_hash_spec.rb
911
- - spec/github/request/endpoint_spec.rb
912
- - spec/github/request/jsonize_spec.rb
913
- - spec/github/request/oauth2_spec.rb
914
- - spec/github/request/request_spec.rb
915
- - spec/github/request_spec.rb
916
- - spec/github/response_wrapper/eql_spec.rb
917
- - spec/github/response_wrapper/headers_spec.rb
918
- - spec/github/response_wrapper/overwrites_spec.rb
919
- - spec/github/response_wrapper_spec.rb
920
- - spec/github/stack_spec.rb
921
- - spec/github/utils/url_spec.rb
922
- - spec/github/validations/format_spec.rb
923
- - spec/github/validations/presence_spec.rb
924
- - spec/github/validations/required_spec.rb
925
- - spec/github/validations/token_spec.rb
926
- - spec/github/validations_spec.rb
927
- - spec/github_spec.rb
928
- - spec/integration/activity_spec.rb
929
- - spec/integration/arguments_spec.rb
930
- - spec/integration/authorizations_spec.rb
931
- - spec/integration/gists_spec.rb
932
- - spec/integration/git_data_spec.rb
933
- - spec/integration/issues_spec.rb
934
- - spec/integration/multiple_invocations_spec.rb
935
- - spec/integration/options_spec.rb
936
- - spec/integration/orgs_spec.rb
937
- - spec/integration/pull_requests_spec.rb
938
- - spec/integration/repos_spec.rb
939
- - spec/integration/search_spec.rb
940
- - spec/integration/users_spec.rb
941
- - spec/README.rdoc
942
- - spec/shared/api_interface_behaviour.rb
943
- - spec/shared/array_of_resources_behaviour.rb
944
- - spec/shared/request_failure_behaviour.rb
945
- - spec/spec_helper.rb
946
- - spec/support/authentication.rb
947
- - spec/support/base.rb
948
- - spec/support/file_ops.rb
949
- - README.md
950
271
  - LICENSE.txt
272
+ - README.md
951
273
  homepage: http://peter-murach.github.io/github/
952
274
  licenses:
953
275
  - MIT
@@ -960,7 +282,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
960
282
  requirements:
961
283
  - - '>='
962
284
  - !ruby/object:Gem::Version
963
- version: '0'
285
+ version: 1.9.2
964
286
  required_rubygems_version: !ruby/object:Gem::Requirement
965
287
  requirements:
966
288
  - - '>='