octokit 1.25.0 → 2.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (502) hide show
  1. data/Rakefile +10 -7
  2. data/lib/octokit.rb +22 -15
  3. data/lib/octokit/arguments.rb +14 -0
  4. data/lib/octokit/authentication.rb +48 -25
  5. data/lib/octokit/client.rb +245 -44
  6. data/lib/octokit/client/authorizations.rb +36 -10
  7. data/lib/octokit/client/commit_comments.rb +96 -0
  8. data/lib/octokit/client/commits.rb +152 -94
  9. data/lib/octokit/client/contents.rb +32 -24
  10. data/lib/octokit/client/downloads.rb +11 -7
  11. data/lib/octokit/client/emojis.rb +3 -1
  12. data/lib/octokit/client/events.rb +62 -18
  13. data/lib/octokit/client/gists.rb +27 -26
  14. data/lib/octokit/client/gitignore.rb +7 -3
  15. data/lib/octokit/client/issues.rb +43 -71
  16. data/lib/octokit/client/labels.rb +24 -20
  17. data/lib/octokit/client/legacy_search.rb +78 -0
  18. data/lib/octokit/client/markdown.rb +6 -1
  19. data/lib/octokit/client/meta.rb +21 -0
  20. data/lib/octokit/client/milestones.rb +13 -9
  21. data/lib/octokit/client/notifications.rb +24 -64
  22. data/lib/octokit/client/objects.rb +17 -12
  23. data/lib/octokit/client/organizations.rb +43 -52
  24. data/lib/octokit/client/pub_sub_hubbub.rb +68 -8
  25. data/lib/octokit/client/{pulls.rb → pull_requests.rb} +65 -41
  26. data/lib/octokit/client/rate_limit.rb +42 -8
  27. data/lib/octokit/client/refs.rb +16 -10
  28. data/lib/octokit/client/repositories.rb +73 -124
  29. data/lib/octokit/client/say.rb +7 -1
  30. data/lib/octokit/client/service_status.rb +39 -0
  31. data/lib/octokit/client/stats.rb +12 -6
  32. data/lib/octokit/client/statuses.rb +8 -29
  33. data/lib/octokit/client/users.rb +56 -75
  34. data/lib/octokit/configurable.rb +117 -0
  35. data/lib/octokit/default.rb +140 -0
  36. data/lib/octokit/error.rb +6 -5
  37. data/lib/octokit/gist.rb +11 -0
  38. data/lib/octokit/rate_limit.rb +22 -0
  39. data/lib/octokit/repo_arguments.rb +19 -0
  40. data/lib/octokit/repository.rb +11 -4
  41. data/lib/octokit/response/raise_error.rb +35 -0
  42. data/lib/octokit/version.rb +5 -1
  43. data/octokit.gemspec +4 -9
  44. data/spec/cassettes/Octokit_Client/_get/handles_query_params.json +1 -0
  45. data/spec/cassettes/Octokit_Client/_head/handles_query_params.json +1 -0
  46. data/spec/cassettes/Octokit_Client/_last_response/caches_the_last_agent_response.json +1 -0
  47. data/spec/cassettes/Octokit_Client/authentication/when_token_authenticated/fetches_and_memoizes_login.json +1 -0
  48. data/spec/cassettes/Octokit_Client/auto_pagination/fetches_all_the_pages.json +1 -0
  49. data/spec/cassettes/Octokit_Client/error_handling/raises_on_404.json +1 -0
  50. data/spec/cassettes/Octokit_Client_Authorizations/_authorization/returns_a_single_authorization.json +1 -0
  51. data/spec/cassettes/Octokit_Client_Authorizations/_authorizations/lists_existing_authorizations.json +1 -0
  52. data/spec/cassettes/Octokit_Client_Authorizations/_create_authorization/creates_a_new_authorization_with_options.json +1 -0
  53. data/spec/cassettes/Octokit_Client_Authorizations/_create_authorization/creates_an_API_authorization.json +1 -0
  54. data/spec/cassettes/Octokit_Client_Authorizations/_scopes/checks_the_scopes_on_a_one-off_token.json +1 -0
  55. data/spec/cassettes/Octokit_Client_Authorizations/_scopes/checks_the_scopes_on_the_current_token.json +1 -0
  56. data/spec/cassettes/Octokit_Client_Authorizations/_update_authorization/updates_and_existing_authorization.json +1 -0
  57. data/spec/cassettes/Octokit_Client_CommitComments/_commit_comment/returns_a_single_commit_comment.json +1 -0
  58. data/spec/cassettes/Octokit_Client_CommitComments/_commit_comments/returns_a_list_of_comments_for_a_specific_commit.json +1 -0
  59. data/spec/cassettes/Octokit_Client_CommitComments/_create_commit_comment/creates_a_commit_comment.json +1 -0
  60. data/spec/cassettes/Octokit_Client_CommitComments/_delete_commit_comment/deletes_a_commit_comment.json +1 -0
  61. data/spec/cassettes/Octokit_Client_CommitComments/_list_commit_comments/returns_a_list_of_all_commit_comments.json +1 -0
  62. data/spec/cassettes/Octokit_Client_CommitComments/_update_commit_comment/updates_a_commit_comment.json +1 -0
  63. data/spec/cassettes/Octokit_Client_Commits/_commit/returns_a_commit.json +1 -0
  64. data/spec/cassettes/Octokit_Client_Commits/_commits/handles_branch_or_sha_argument.json +1 -0
  65. data/spec/cassettes/Octokit_Client_Commits/_commits/handles_the_sha_option.json +1 -0
  66. data/spec/cassettes/Octokit_Client_Commits/_commits/returns_all_commits.json +1 -0
  67. data/spec/cassettes/Octokit_Client_Commits/_commits_before/handles_branch_or_sha_argument.json +1 -0
  68. data/spec/cassettes/Octokit_Client_Commits/_commits_before/handles_the_sha_option.json +1 -0
  69. data/spec/cassettes/Octokit_Client_Commits/_commits_before/returns_all_commits_until_the_specified_date.json +1 -0
  70. data/spec/cassettes/Octokit_Client_Commits/_commits_between/handles_branch_or_sha_argument.json +1 -0
  71. data/spec/cassettes/Octokit_Client_Commits/_commits_between/handles_the_sha_option.json +1 -0
  72. data/spec/cassettes/Octokit_Client_Commits/_commits_between/returns_all_commits_until_the_specified_date.json +1 -0
  73. data/spec/cassettes/Octokit_Client_Commits/_commits_on/handles_branch_or_sha_argument.json +1 -0
  74. data/spec/cassettes/Octokit_Client_Commits/_commits_on/handles_the_sha_option.json +1 -0
  75. data/spec/cassettes/Octokit_Client_Commits/_commits_on/returns_all_commits_on_the_specified_date.json +1 -0
  76. data/spec/cassettes/Octokit_Client_Commits/_commits_since/handles_branch_or_sha_argument.json +1 -0
  77. data/spec/cassettes/Octokit_Client_Commits/_commits_since/handles_the_sha_option.json +1 -0
  78. data/spec/cassettes/Octokit_Client_Commits/_commits_since/returns_all_commits_since_the_specified_date.json +1 -0
  79. data/spec/cassettes/Octokit_Client_Commits/_compare/returns_a_comparison.json +1 -0
  80. data/spec/cassettes/Octokit_Client_Commits/_create_commit/creates_a_commit.json +1 -0
  81. data/spec/cassettes/Octokit_Client_Commits/_merge/merges_a_branch_into_another.json +1 -0
  82. data/spec/cassettes/Octokit_Client_Contents/_archive_link/returns_the_headers_of_the_request.json +1 -0
  83. data/spec/cassettes/Octokit_Client_Contents/_contents/returns_the_contents_of_a_file.json +1 -0
  84. data/spec/cassettes/Octokit_Client_Contents/_create_contents/creates_contents_from_File_object.json +1 -0
  85. data/spec/cassettes/Octokit_Client_Contents/_create_contents/creates_contents_from_file_path.json +1 -0
  86. data/spec/cassettes/Octokit_Client_Contents/_create_contents/creates_repository_contents_at_a_path.json +1 -0
  87. data/spec/cassettes/Octokit_Client_Contents/_delete_contents/deletes_repository_contents_at_a_path.json +1 -0
  88. data/spec/cassettes/Octokit_Client_Contents/_readme/returns_the_default_readme.json +1 -0
  89. data/spec/cassettes/Octokit_Client_Contents/_update_contents/updates_repository_contents_at_a_path.json +1 -0
  90. data/spec/cassettes/Octokit_Client_Downloads/_download/gets_a_single_download.json +1 -0
  91. data/spec/cassettes/Octokit_Client_Downloads/_downloads/lists_available_downloads.json +1 -0
  92. data/spec/cassettes/Octokit_Client_Downloads/methods_that_require_a_download/_create_download/creates_a_download_resource.json +1 -0
  93. data/spec/cassettes/Octokit_Client_Downloads/methods_that_require_a_download/_create_download/posts_to_an_S3_url.json +1 -0
  94. data/spec/cassettes/Octokit_Client_Downloads/methods_that_require_a_download/_delete_download/deletes_a_download.json +1 -0
  95. data/spec/cassettes/Octokit_Client_Emojis/_emojis/returns_all_github_emojis.json +1 -0
  96. data/spec/cassettes/Octokit_Client_Events/_issue_event/lists_issue_events_for_a_repository.json +1 -0
  97. data/spec/cassettes/Octokit_Client_Events/_issue_events/lists_issue_events_for_a_repository.json +1 -0
  98. data/spec/cassettes/Octokit_Client_Events/_organization_events/returns_all_events_for_an_organization.json +1 -0
  99. data/spec/cassettes/Octokit_Client_Events/_organization_public_events/returns_an_organization_s_public_events.json +1 -0
  100. data/spec/cassettes/Octokit_Client_Events/_public_events/returns_all_public_events.json +1 -0
  101. data/spec/cassettes/Octokit_Client_Events/_received_events/returns_all_user_received_events.json +1 -0
  102. data/spec/cassettes/Octokit_Client_Events/_received_public_events/returns_public_user_received_events.json +1 -0
  103. data/spec/cassettes/Octokit_Client_Events/_repo_issue_events/lists_issue_events_for_a_repository.json +1 -0
  104. data/spec/cassettes/Octokit_Client_Events/_repository_events/returns_events_for_a_repository.json +1 -0
  105. data/spec/cassettes/Octokit_Client_Events/_repository_network_events/returns_events_for_a_repository_s_network.json +1 -0
  106. data/spec/cassettes/Octokit_Client_Events/_user_events/returns_all_user_events.json +1 -0
  107. data/spec/cassettes/Octokit_Client_Events/_user_public_events/returns_public_events_performed_by_a_user.json +1 -0
  108. data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_gist/returns_the_gist_by_ID.json +1 -0
  109. data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_gists/with_username_passed/returns_a_list_of_gists.json +1 -0
  110. data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_gists/without_a_username_passed/returns_a_list_of_gists.json +1 -0
  111. data/spec/cassettes/Octokit_Client_Gists/unauthenticated/_public_gists/returns_public_gists.json +1 -0
  112. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_create_gist/creates_a_new_gist.json +1 -0
  113. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_create_gist_comment/creates_a_gist_comment.json +1 -0
  114. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_delete_gist/deletes_an_existing_gist.json +1 -0
  115. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_delete_gist_comment/deletes_a_gist_comment.json +1 -0
  116. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_edit_gist/edit_an_existing_gist.json +1 -0
  117. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_fork_gist/forks_an_existing_gist.json +1 -0
  118. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_comment/returns_a_gist_comment.json +1 -0
  119. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_comments/returns_the_list_of_gist_comments.json +1 -0
  120. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_starred_/is_not_starred.json +1 -0
  121. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gist_starred_/is_starred.json +1 -0
  122. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_gists/returns_a_list_of_gists.json +1 -0
  123. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_star_gist/stars_an_existing_gist.json +1 -0
  124. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_starred_gists/returns_the_user_s_starred_gists.json +1 -0
  125. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_unstar_gist/unstars_an_existing_gist.json +1 -0
  126. data/spec/cassettes/Octokit_Client_Gists/when_authenticated/_update_gist_comment/updates_a_gist_comment.json +1 -0
  127. data/spec/cassettes/Octokit_Client_Gitignore/_gitignore_template/returns_the_ruby_gitignore_template.json +1 -0
  128. data/spec/cassettes/Octokit_Client_Gitignore/_gitignore_templates/returns_all_gitignore_templates.json +1 -0
  129. data/spec/cassettes/Octokit_Client_Issues/_create_issue/creates_an_issue.json +1 -0
  130. data/spec/cassettes/Octokit_Client_Issues/_create_issue/creates_an_issue_with_delimited_labels.json +1 -0
  131. data/spec/cassettes/Octokit_Client_Issues/_create_issue/creates_an_issue_with_labels_array.json +1 -0
  132. data/spec/cassettes/Octokit_Client_Issues/_issue_comment/returns_a_single_comment_for_an_issue.json +1 -0
  133. data/spec/cassettes/Octokit_Client_Issues/_issue_comments/returns_comments_for_an_issue.json +1 -0
  134. data/spec/cassettes/Octokit_Client_Issues/_list_issues/returns_dashboard_issues_for_the_authenticated_user.json +1 -0
  135. data/spec/cassettes/Octokit_Client_Issues/_list_issues/returns_issues_for_a_repository.json +1 -0
  136. data/spec/cassettes/Octokit_Client_Issues/_org_issues/returns_issues_for_the_organization_for_the_authenticated_user.json +1 -0
  137. data/spec/cassettes/Octokit_Client_Issues/_repository_issues_comments/returns_comments_for_all_issues_in_a_repository.json +1 -0
  138. data/spec/cassettes/Octokit_Client_Issues/_user_issues/returns_issues_for_the_authenticated_user_for_owned_and_member_repos.json +1 -0
  139. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_add_comment/adds_a_comment.json +1 -0
  140. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_close_issue/closes_an_issue.json +1 -0
  141. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_issue/returns_a_full_issue.json +1 -0
  142. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_issue/returns_an_issue.json +1 -0
  143. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_reopen_issue/reopens_an_issue.json +1 -0
  144. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/_update_issue/updates_an_issue.json +1 -0
  145. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/methods_requiring_a_new_issue_comment/_delete_comment/deletes_an_existing_comment.json +1 -0
  146. data/spec/cassettes/Octokit_Client_Issues/methods_requiring_a_new_issue/methods_requiring_a_new_issue_comment/_update_comment/updates_an_existing_comment.json +1 -0
  147. data/spec/cassettes/Octokit_Client_Labels/_add_label/adds_a_label_with_a_color.json +1 -0
  148. data/spec/cassettes/Octokit_Client_Labels/_add_label/adds_a_label_with_default_color.json +1 -0
  149. data/spec/cassettes/Octokit_Client_Labels/_delete_label_/deletes_a_label_from_the_repository.json +1 -0
  150. data/spec/cassettes/Octokit_Client_Labels/_label/returns_a_single_label.json +1 -0
  151. data/spec/cassettes/Octokit_Client_Labels/_labels/returns_labels.json +1 -0
  152. data/spec/cassettes/Octokit_Client_Labels/_lables_for_milestone/returns_all_labels_for_a_repository.json +1 -0
  153. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_add_labels_to_an_issue/adds_labels_to_a_given_issue.json +1 -0
  154. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_labels_for_issue/returns_all_labels_for_a_given_issue.json +1 -0
  155. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_remove_all_labels/removes_all_labels_from_the_specified_issue.json +1 -0
  156. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_remove_label/removes_a_label_from_the_specified_issue.json +1 -0
  157. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_issue/_replace_all_labels/replaces_all_labels_for_an_issue.json +1 -0
  158. data/spec/cassettes/Octokit_Client_Labels/methods_requiring_a_new_label/_update_label/updates_a_label_with_a_new_color.json +1 -0
  159. data/spec/cassettes/Octokit_Client_LegacySearch/_legacy_search_issues/returns_matching_issues.json +1 -0
  160. data/spec/cassettes/Octokit_Client_LegacySearch/_legacy_search_repos/returns_matching_repositories.json +1 -0
  161. data/spec/cassettes/Octokit_Client_LegacySearch/_legacy_search_users/returns_matching_username.json +1 -0
  162. data/spec/cassettes/Octokit_Client_Markdown/_markdown/renders_markdown.json +1 -0
  163. data/spec/cassettes/Octokit_Client_Meta/_github_meta/returns_meta_information_about_github.json +1 -0
  164. data/spec/cassettes/Octokit_Client_Milestones/_list_milestones/lists_milestones_belonging_to_repository.json +1 -0
  165. data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_create_milestone/creates_a_milestone.json +1 -0
  166. data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_delete_milestone/deletes_a_milestone_from_a_repository.json +1 -0
  167. data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_milestone/gets_a_single_milestone_belonging_to_repository.json +1 -0
  168. data/spec/cassettes/Octokit_Client_Milestones/methods_that_need_a_milestone/_update_milestone/updates_a_milestone.json +1 -0
  169. data/spec/cassettes/Octokit_Client_Notifications/_mark_notifications_as_read/returns_true_when_notifications_are_marked_as_read.json +1 -0
  170. data/spec/cassettes/Octokit_Client_Notifications/_mark_repository_notifications_as_read/returns_true_when_notifications_for_a_repo_are_marked_as_read.json +1 -0
  171. data/spec/cassettes/Octokit_Client_Notifications/_notifications/lists_the_notifications_for_the_current_user.json +1 -0
  172. data/spec/cassettes/Octokit_Client_Notifications/_repository_notifications/lists_all_notifications_for_a_repository.json +1 -0
  173. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_delete_thread_subscription/returns_true_with_successful_thread_deletion.json +1 -0
  174. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_mark_thread_as_read/marks_a_thread_as_read.json +1 -0
  175. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_thread_notifications/returns_notifications_for_a_specific_thread.json +1 -0
  176. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_thread_subscription/returns_a_thread_subscription.json +1 -0
  177. data/spec/cassettes/Octokit_Client_Notifications/methods_that_need_a_thread_context/_update_thread_subscription/updates_a_thread_subscription.json +1 -0
  178. data/spec/cassettes/Octokit_Client_Objects/_blob/returns_a_blob.json +1 -0
  179. data/spec/cassettes/Octokit_Client_Objects/_create_blob/creates_a_blob.json +1 -0
  180. data/spec/cassettes/Octokit_Client_Objects/_create_tag/creates_a_tag.json +1 -0
  181. data/spec/cassettes/Octokit_Client_Objects/_create_tree/creates_a_tree.json +1 -0
  182. data/spec/cassettes/Octokit_Client_Objects/_tag/returns_a_tag.json +1 -0
  183. data/spec/cassettes/Octokit_Client_Objects/_tree/gets_a_tree.json +1 -0
  184. data/spec/cassettes/Octokit_Client_Objects/_tree/gets_a_tree_recursively.json +1 -0
  185. data/spec/cassettes/Octokit_Client_Organizations/_organization/returns_an_organization.json +1 -0
  186. data/spec/cassettes/Octokit_Client_Organizations/_organization_member_/checks_organization_membership.json +1 -0
  187. data/spec/cassettes/Octokit_Client_Organizations/_organization_members/returns_all_public_members_of_an_organization.json +1 -0
  188. data/spec/cassettes/Octokit_Client_Organizations/_organization_public_member_/checks_publicized_org_membership.json +1 -0
  189. data/spec/cassettes/Octokit_Client_Organizations/_organization_repositories/returns_all_public_repositories_for_an_organization.json +1 -0
  190. data/spec/cassettes/Octokit_Client_Organizations/_organization_teams/returns_all_teams_for_an_organization.json +1 -0
  191. data/spec/cassettes/Octokit_Client_Organizations/_organizations/returns_all_organizations_for_a_user.json +1 -0
  192. data/spec/cassettes/Octokit_Client_Organizations/_organizations/returns_all_organizations_for_the_authenticated_user.json +1 -0
  193. data/spec/cassettes/Octokit_Client_Organizations/_update_organization/updates_an_organization.json +1 -0
  194. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_add_team_member/adds_a_team_member.json +1 -0
  195. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_add_team_repository/adds_a_team_repository.json +1 -0
  196. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_create_team/creates_a_team.json +1 -0
  197. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_delete_team/deletes_a_team.json +1 -0
  198. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_publicize_membership/publicizes_membership.json +1 -0
  199. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_remove_team_member/removes_a_team_member.json +1 -0
  200. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_remove_team_repository/removes_a_team_repository.json +1 -0
  201. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team/returns_a_team.json +1 -0
  202. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team_member_/checks_if_a_user_is_member_of_a_team.json +1 -0
  203. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team_members/returns_team_members.json +1 -0
  204. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_team_repositories/returns_team_repositories.json +1 -0
  205. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_unpublicize_membership/unpublicizes_membership.json +1 -0
  206. data/spec/cassettes/Octokit_Client_Organizations/methods_that_require_a_new_team/_update_team/updates_a_team.json +1 -0
  207. data/spec/cassettes/Octokit_Client_PubSubHubbub/_subscribe/raises_an_error_when_topic_is_not_recognized.json +1 -0
  208. data/spec/cassettes/Octokit_Client_PubSubHubbub/_subscribe/subscribes_to_pull_events.json +1 -0
  209. data/spec/cassettes/Octokit_Client_PubSubHubbub/_subscribe_service_hook/subscribes_to_pull_events_on_specified_topic.json +1 -0
  210. data/spec/cassettes/Octokit_Client_PubSubHubbub/_unsubscribe/unsubscribes_from_pull_events.json +1 -0
  211. data/spec/cassettes/Octokit_Client_PubSubHubbub/unsubscribe_service_hook/unsubscribes_to_stop_receiving_events_on_specified_topic.json +1 -0
  212. data/spec/cassettes/Octokit_Client_PullRequests/_create_pull_request_for_issue/creates_a_pull_request_and_attach_it_to_an_existing_issue.json +1 -0
  213. data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_comment/returns_a_comment_on_a_pull_request.json +1 -0
  214. data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_comments/returns_the_comments_for_a_pull_request.json +1 -0
  215. data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_commits/returns_the_commits_for_a_pull_request.json +1 -0
  216. data/spec/cassettes/Octokit_Client_PullRequests/_pull_request_files/lists_files_for_a_pull_request.json +1 -0
  217. data/spec/cassettes/Octokit_Client_PullRequests/_pull_requests/returns_all_pull_requests.json +1 -0
  218. data/spec/cassettes/Octokit_Client_PullRequests/_pull_requests_comments/returns_all_comments_on_all_pull_requests.json +1 -0
  219. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_close_pull_request/closes_a_pull_request.json +1 -0
  220. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_create_pull_request/creates_a_pull_request.json +1 -0
  221. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_merge_pull_request/merges_the_pull_request.json +1 -0
  222. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_pull_merged_/returns_whether_the_pull_request_has_been_merged.json +1 -0
  223. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_pull_request/returns_a_pull_request.json +1 -0
  224. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/_update_pull_request/updates_a_pull_request.json +1 -0
  225. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/methods_requiring_a_pull_request_comment/_create_pull_request_comment/creates_a_new_comment_on_a_pull_request.json +1 -0
  226. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/methods_requiring_a_pull_request_comment/_create_pull_request_comment_reply/creates_a_new_reply_to_a_pull_request_comment.json +1 -0
  227. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/methods_requiring_a_pull_request_comment/_delete_pull_request_comment/deletes_a_pull_request_comment.json +1 -0
  228. data/spec/cassettes/Octokit_Client_PullRequests/methods_that_require_a_new_pull/methods_requiring_a_pull_request_comment/_update_pull_request_comment/updates_a_pull_request_comment.json +1 -0
  229. data/spec/cassettes/Octokit_Client_Refs/_ref/returns_a_tags_ref.json +1 -0
  230. data/spec/cassettes/Octokit_Client_Refs/_refs/returns_all_refs.json +1 -0
  231. data/spec/cassettes/Octokit_Client_Refs/_refs/returns_all_tag_refs.json +1 -0
  232. data/spec/cassettes/Octokit_Client_Refs/methods_that_require_a_ref/_create_ref/creates_a_ref.json +1 -0
  233. data/spec/cassettes/Octokit_Client_Refs/methods_that_require_a_ref/_delete_ref/deletes_an_existing_ref.json +1 -0
  234. data/spec/cassettes/Octokit_Client_Refs/methods_that_require_a_ref/_update_ref/updates_a_ref.json +1 -0
  235. data/spec/cassettes/Octokit_Client_Repositories/_all_repositories/returns_all_repositories_on_github.json +1 -0
  236. data/spec/cassettes/Octokit_Client_Repositories/_assignees/lists_all_the_available_assignees_owner_collaborators_.json +1 -0
  237. data/spec/cassettes/Octokit_Client_Repositories/_branches/returns_a_repository_s_branches.json +1 -0
  238. data/spec/cassettes/Octokit_Client_Repositories/_branches/returns_a_single_branch.json +1 -0
  239. data/spec/cassettes/Octokit_Client_Repositories/_check_assignee/checks_to_see_if_a_particular_user_is_an_assignee_for_a_repository.json +1 -0
  240. data/spec/cassettes/Octokit_Client_Repositories/_collaborators/returns_a_repository_s_collaborators.json +1 -0
  241. data/spec/cassettes/Octokit_Client_Repositories/_contributors/returns_repository_contributors.json +1 -0
  242. data/spec/cassettes/Octokit_Client_Repositories/_contributors/returns_repository_contributors_excluding_anonymous.json +1 -0
  243. data/spec/cassettes/Octokit_Client_Repositories/_create_repository/creates_a_repository_for_an_organization.json +1 -0
  244. data/spec/cassettes/Octokit_Client_Repositories/_delete_subscription/returns_true_when_repo_subscription_deleted.json +1 -0
  245. data/spec/cassettes/Octokit_Client_Repositories/_fork/forks_a_repository.json +1 -0
  246. data/spec/cassettes/Octokit_Client_Repositories/_languages/returns_a_repository_s_languages.json +1 -0
  247. data/spec/cassettes/Octokit_Client_Repositories/_network/returns_a_repository_s_network.json +1 -0
  248. data/spec/cassettes/Octokit_Client_Repositories/_repositories/returns_a_user_s_repositories.json +1 -0
  249. data/spec/cassettes/Octokit_Client_Repositories/_repositories/returns_authenticated_user_s_repositories.json +1 -0
  250. data/spec/cassettes/Octokit_Client_Repositories/_repository/returns_the_matching_repository.json +1 -0
  251. data/spec/cassettes/Octokit_Client_Repositories/_repository_/returns_false_if_the_repository_doesn_t_exist.json +1 -0
  252. data/spec/cassettes/Octokit_Client_Repositories/_repository_/returns_true_if_the_repository_exists.json +1 -0
  253. data/spec/cassettes/Octokit_Client_Repositories/_star/stars_a_repository.json +1 -0
  254. data/spec/cassettes/Octokit_Client_Repositories/_stargazers/returns_all_repository_stargazers.json +1 -0
  255. data/spec/cassettes/Octokit_Client_Repositories/_subscribers/lists_all_the_users_watching_the_repository.json +1 -0
  256. data/spec/cassettes/Octokit_Client_Repositories/_subscription/returns_a_repository_subscription.json +1 -0
  257. data/spec/cassettes/Octokit_Client_Repositories/_tags/returns_a_repository_s_tags.json +1 -0
  258. data/spec/cassettes/Octokit_Client_Repositories/_unstar/unstars_a_repository.json +1 -0
  259. data/spec/cassettes/Octokit_Client_Repositories/_unwatch/unwatches_a_repository.json +1 -0
  260. data/spec/cassettes/Octokit_Client_Repositories/_update_subscription/updates_a_repository_subscription.json +1 -0
  261. data/spec/cassettes/Octokit_Client_Repositories/_watch/watches_a_repository.json +1 -0
  262. data/spec/cassettes/Octokit_Client_Repositories/_watchers/returns_all_repository_watchers.json +1 -0
  263. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_add_collaborator/adds_a_repository_collaborators.json +1 -0
  264. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_create_repository/creates_a_repository.json +1 -0
  265. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_delete_repository/deletes_a_repository.json +1 -0
  266. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_deploy_keys/returns_a_repository_s_deploy_keys.json +1 -0
  267. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_hooks/returns_a_repository_s_hooks.json +1 -0
  268. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_remove_collaborator/removes_a_repository_collaborators.json +1 -0
  269. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_repository_teams/returns_all_repository_teams.json +1 -0
  270. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/_update_repository/updates_the_matching_repository.json +1 -0
  271. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_requiring_an_existing_deploy_key/_add_deploy_key/adds_a_repository_deploy_keys.json +1 -0
  272. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_create_hook/creates_a_hook.json +1 -0
  273. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_edit_hook/edits_a_hook.json +1 -0
  274. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_hook/returns_a_repository_s_single_hook.json +1 -0
  275. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_remove_hook/removes_a_hook.json +1 -0
  276. data/spec/cassettes/Octokit_Client_Repositories/methods_that_require_a_new_repo/methods_that_need_an_existing_hook/_test_hook/tests_a_hook.json +1 -0
  277. data/spec/cassettes/Octokit_Client_Say/_say/returns_an_ASCII_octocat.json +1 -0
  278. data/spec/cassettes/Octokit_Client_Say/_say/returns_an_ASCII_octocat_with_custom_text.json +1 -0
  279. data/spec/cassettes/Octokit_Client_ServiceStatus/_github_status/returns_the_current_system_status.json +1 -0
  280. data/spec/cassettes/Octokit_Client_ServiceStatus/_github_status/returns_the_most_recent_status_messages.json +1 -0
  281. data/spec/cassettes/Octokit_Client_ServiceStatus/_github_status_last_message/returns_the_last_human_message.json +1 -0
  282. data/spec/cassettes/Octokit_Client_Stats/_code_frequency_stats/returns_the_code_frequency_stats.json +1 -0
  283. data/spec/cassettes/Octokit_Client_Stats/_commit_activity_stats/returns_the_commit_activity_stats.json +1 -0
  284. data/spec/cassettes/Octokit_Client_Stats/_contributors_stats/returns_contributors_and_their_contribution_stats.json +1 -0
  285. data/spec/cassettes/Octokit_Client_Stats/_participation_stats/returns_the_owner_and_contributor_participation_stats.json +1 -0
  286. data/spec/cassettes/Octokit_Client_Stats/_punch_card_stats/returns_commit_count_by_hour_punch_card_stats.json +1 -0
  287. data/spec/cassettes/Octokit_Client_Statuses/_create_status/creates_status.json +1 -0
  288. data/spec/cassettes/Octokit_Client_Statuses/_statuses/lists_commit_statuses.json +1 -0
  289. data/spec/cassettes/Octokit_Client_Users/_add_email/adds_an_email_address.json +1 -0
  290. data/spec/cassettes/Octokit_Client_Users/_all_users/returns_all_GitHub_users.json +1 -0
  291. data/spec/cassettes/Octokit_Client_Users/_emails/returns_email_addresses.json +1 -0
  292. data/spec/cassettes/Octokit_Client_Users/_follow/follows_a_user.json +1 -0
  293. data/spec/cassettes/Octokit_Client_Users/_followers/returns_followers_for_a_user.json +1 -0
  294. data/spec/cassettes/Octokit_Client_Users/_followers/returns_the_authenticated_user_s_followers.json +1 -0
  295. data/spec/cassettes/Octokit_Client_Users/_following/returns_following_for_a_user.json +1 -0
  296. data/spec/cassettes/Octokit_Client_Users/_following/returns_the_authenticated_user_s_following.json +1 -0
  297. data/spec/cassettes/Octokit_Client_Users/_follows_/checks_if_the_authenticated_user_follows_another.json +1 -0
  298. data/spec/cassettes/Octokit_Client_Users/_keys/returns_public_keys_for_the_authenticated_user.json +1 -0
  299. data/spec/cassettes/Octokit_Client_Users/_remove_email/removes_an_email_address.json +1 -0
  300. data/spec/cassettes/Octokit_Client_Users/_starred/returns_starred_repositories_for_a_user.json +1 -0
  301. data/spec/cassettes/Octokit_Client_Users/_starred/returns_starred_repositories_for_the_authenticated_user.json +1 -0
  302. data/spec/cassettes/Octokit_Client_Users/_starred_/checks_if_the_authenticated_user_has_starred_a_repository.json +1 -0
  303. data/spec/cassettes/Octokit_Client_Users/_subscriptions/returns_the_repositories_a_user_watches_for_notifications.json +1 -0
  304. data/spec/cassettes/Octokit_Client_Users/_subscriptions/returns_the_repositories_the_authenticated_user_watches_for_notifications.json +1 -0
  305. data/spec/cassettes/Octokit_Client_Users/_unfollow/unfollows_a_user.json +1 -0
  306. data/spec/cassettes/Octokit_Client_Users/_update_user/updates_a_user_profile.json +1 -0
  307. data/spec/cassettes/Octokit_Client_Users/_user/returns_a_user.json +1 -0
  308. data/spec/cassettes/Octokit_Client_Users/_user/returns_the_authenticated_user.json +1 -0
  309. data/spec/cassettes/Octokit_Client_Users/_user_keys/returns_public_keys_for_another_user.json +1 -0
  310. data/spec/cassettes/Octokit_Client_Users/_validate_credentials/validates_username_and_password.json +1 -0
  311. data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_add_key/adds_a_public_key.json +1 -0
  312. data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_key/returns_a_public_key.json +1 -0
  313. data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_remove_key/removes_a_public_key.json +1 -0
  314. data/spec/cassettes/Octokit_Client_Users/methods_requiring_an_existing_public_key/_update_key/updates_a_public_key.json +1 -0
  315. data/spec/cassettes/delete_authorization.json +1 -0
  316. data/spec/cassettes/rate_limit.json +1 -0
  317. data/spec/cassettes/root.json +1 -0
  318. data/spec/fixtures/user.json +29 -18
  319. data/spec/fixtures/{user_token.json → web_flow_token.json} +0 -0
  320. data/spec/helper.rb +49 -22
  321. data/spec/octokit/client/authorizations_spec.rb +69 -80
  322. data/spec/octokit/client/commit_comments_spec.rb +62 -0
  323. data/spec/octokit/client/commits_spec.rb +93 -226
  324. data/spec/octokit/client/contents_spec.rb +64 -119
  325. data/spec/octokit/client/downloads_spec.rb +34 -38
  326. data/spec/octokit/client/emojis_spec.rb +5 -11
  327. data/spec/octokit/client/events_spec.rb +67 -51
  328. data/spec/octokit/client/gists_spec.rb +148 -142
  329. data/spec/octokit/client/gitignore_spec.rb +11 -14
  330. data/spec/octokit/client/issues_spec.rb +129 -161
  331. data/spec/octokit/client/labels_spec.rb +81 -114
  332. data/spec/octokit/client/legacy_search_spec.rb +42 -0
  333. data/spec/octokit/client/markdown_spec.rb +9 -12
  334. data/spec/octokit/client/meta_spec.rb +14 -0
  335. data/spec/octokit/client/milestones_spec.rb +40 -48
  336. data/spec/octokit/client/notifications_spec.rb +57 -113
  337. data/spec/octokit/client/objects_spec.rb +36 -74
  338. data/spec/octokit/client/organizations_spec.rb +140 -262
  339. data/spec/octokit/client/pub_sub_hubbub_spec.rb +58 -49
  340. data/spec/octokit/client/pull_requests_spec.rb +186 -0
  341. data/spec/octokit/client/rate_limit_spec.rb +40 -0
  342. data/spec/octokit/client/refs_spec.rb +47 -56
  343. data/spec/octokit/client/repositories_spec.rb +301 -438
  344. data/spec/octokit/client/say_spec.rb +8 -22
  345. data/spec/octokit/client/service_status_spec.rb +37 -0
  346. data/spec/octokit/client/stats_spec.rb +82 -32
  347. data/spec/octokit/client/statuses_spec.rb +11 -51
  348. data/spec/octokit/client/users_spec.rb +144 -348
  349. data/spec/octokit/client_spec.rb +345 -195
  350. data/spec/octokit/rate_limit_spec.rb +25 -0
  351. data/spec/octokit_spec.rb +31 -15
  352. metadata +585 -387
  353. data/lib/faraday/response/raise_octokit_error.rb +0 -25
  354. data/lib/octokit/client/github.rb +0 -19
  355. data/lib/octokit/client/pub_sub_hubbub/service_hooks.rb +0 -37
  356. data/lib/octokit/configuration.rb +0 -77
  357. data/lib/octokit/connection.rb +0 -53
  358. data/lib/octokit/request.rb +0 -110
  359. data/spec/faraday/response_spec.rb +0 -63
  360. data/spec/fixtures/all_repositories.json +0 -122
  361. data/spec/fixtures/all_users.json +0 -34
  362. data/spec/fixtures/authorization.json +0 -16
  363. data/spec/fixtures/authorizations.json +0 -66
  364. data/spec/fixtures/blob.json +0 -7
  365. data/spec/fixtures/blob_create.json +0 -3
  366. data/spec/fixtures/branches.json +0 -16
  367. data/spec/fixtures/code_frequency_stats.json +0 -897
  368. data/spec/fixtures/collaborators.json +0 -62
  369. data/spec/fixtures/comment.json +0 -14
  370. data/spec/fixtures/comments.json +0 -44
  371. data/spec/fixtures/commit.json +0 -50
  372. data/spec/fixtures/commit_activity_stats.json +0 -678
  373. data/spec/fixtures/commit_comment.json +0 -19
  374. data/spec/fixtures/commit_comment_create.json +0 -19
  375. data/spec/fixtures/commit_comment_update.json +0 -19
  376. data/spec/fixtures/commit_comments.json +0 -78
  377. data/spec/fixtures/commit_create.json +0 -25
  378. data/spec/fixtures/commits.json +0 -1414
  379. data/spec/fixtures/compare.json +0 -98
  380. data/spec/fixtures/contents.json +0 -14
  381. data/spec/fixtures/contributor_stats.json +0 -2196
  382. data/spec/fixtures/contributors.json +0 -891
  383. data/spec/fixtures/create_content.json +0 -44
  384. data/spec/fixtures/delete_content.json +0 -30
  385. data/spec/fixtures/download.json +0 -11
  386. data/spec/fixtures/download_create.json +0 -21
  387. data/spec/fixtures/downloads.json +0 -35
  388. data/spec/fixtures/emails.json +0 -4
  389. data/spec/fixtures/emojis.json +0 -500
  390. data/spec/fixtures/followers.json +0 -212
  391. data/spec/fixtures/following.json +0 -209
  392. data/spec/fixtures/forks.json +0 -872
  393. data/spec/fixtures/gist.json +0 -51
  394. data/spec/fixtures/gist_comment.json +0 -19
  395. data/spec/fixtures/gist_comment_create.json +0 -19
  396. data/spec/fixtures/gist_comment_update.json +0 -19
  397. data/spec/fixtures/gist_comments.json +0 -40
  398. data/spec/fixtures/gists.json +0 -548
  399. data/spec/fixtures/github_meta.json +0 -9
  400. data/spec/fixtures/github_status.json +0 -4
  401. data/spec/fixtures/github_status_last_message.json +0 -5
  402. data/spec/fixtures/github_status_messages.json +0 -12
  403. data/spec/fixtures/gitignore_template_ruby.json +0 -4
  404. data/spec/fixtures/gitignore_templates.json +0 -78
  405. data/spec/fixtures/hook.json +0 -18
  406. data/spec/fixtures/hooks.json +0 -70
  407. data/spec/fixtures/issue.json +0 -35
  408. data/spec/fixtures/issue_closed.json +0 -35
  409. data/spec/fixtures/issue_event.json +0 -42
  410. data/spec/fixtures/issue_events.json +0 -72
  411. data/spec/fixtures/issue_full.json +0 -38
  412. data/spec/fixtures/issues.json +0 -1562
  413. data/spec/fixtures/label.json +0 -5
  414. data/spec/fixtures/labels.json +0 -17
  415. data/spec/fixtures/languages.json +0 -5
  416. data/spec/fixtures/legacy/issues.json +0 -49
  417. data/spec/fixtures/legacy/repositories.json +0 -173
  418. data/spec/fixtures/legacy/users.json +0 -24
  419. data/spec/fixtures/list_commit_comments.json +0 -572
  420. data/spec/fixtures/markdown_gfm +0 -1
  421. data/spec/fixtures/merge.json +0 -47
  422. data/spec/fixtures/milestone.json +0 -11
  423. data/spec/fixtures/milestones.json +0 -28
  424. data/spec/fixtures/not_found.json +0 -3
  425. data/spec/fixtures/notification_thread.json +0 -32
  426. data/spec/fixtures/notifications.json +0 -32
  427. data/spec/fixtures/org_issues.json +0 -710
  428. data/spec/fixtures/organization-repositories.json +0 -4292
  429. data/spec/fixtures/organization-repository.json +0 -42
  430. data/spec/fixtures/organization.json +0 -18
  431. data/spec/fixtures/organization_events.json +0 -61
  432. data/spec/fixtures/organization_members.json +0 -576
  433. data/spec/fixtures/organization_public_events.json +0 -61
  434. data/spec/fixtures/organization_team_members.json +0 -16
  435. data/spec/fixtures/organization_team_repos.json +0 -62
  436. data/spec/fixtures/organizations.json +0 -44
  437. data/spec/fixtures/participation_stats.json +0 -110
  438. data/spec/fixtures/public_events.json +0 -1104
  439. data/spec/fixtures/public_gists.json +0 -968
  440. data/spec/fixtures/public_key.json +0 -5
  441. data/spec/fixtures/public_key_update.json +0 -5
  442. data/spec/fixtures/public_keys.json +0 -7
  443. data/spec/fixtures/pull_created.json +0 -138
  444. data/spec/fixtures/pull_request.json +0 -138
  445. data/spec/fixtures/pull_request_comment.json +0 -35
  446. data/spec/fixtures/pull_request_comment_create.json +0 -35
  447. data/spec/fixtures/pull_request_comment_reply.json +0 -35
  448. data/spec/fixtures/pull_request_comment_update.json +0 -35
  449. data/spec/fixtures/pull_request_comments.json +0 -35
  450. data/spec/fixtures/pull_request_commits.json +0 -45
  451. data/spec/fixtures/pull_request_files.json +0 -35
  452. data/spec/fixtures/pull_request_merged.json +0 -5
  453. data/spec/fixtures/pull_requests.json +0 -187
  454. data/spec/fixtures/pull_requests_comments.json +0 -82
  455. data/spec/fixtures/pull_update.json +0 -138
  456. data/spec/fixtures/punch_card_stats.json +0 -842
  457. data/spec/fixtures/readme.json +0 -14
  458. data/spec/fixtures/ref.json +0 -9
  459. data/spec/fixtures/ref_create.json +0 -29
  460. data/spec/fixtures/ref_update.json +0 -11
  461. data/spec/fixtures/refs.json +0 -38
  462. data/spec/fixtures/refs_tags.json +0 -29
  463. data/spec/fixtures/repo_assignees.json +0 -30
  464. data/spec/fixtures/repo_events.json +0 -1652
  465. data/spec/fixtures/repo_issues_events.json +0 -128
  466. data/spec/fixtures/repositories.json +0 -872
  467. data/spec/fixtures/repository.json +0 -34
  468. data/spec/fixtures/repository_issues_comments.json +0 -52
  469. data/spec/fixtures/repository_network_events.json +0 -155
  470. data/spec/fixtures/repository_notifications.json +0 -32
  471. data/spec/fixtures/say.txt +0 -22
  472. data/spec/fixtures/say_custom.txt +0 -22
  473. data/spec/fixtures/stargazers.json +0 -212
  474. data/spec/fixtures/starred.json +0 -1114
  475. data/spec/fixtures/starred_gists.json +0 -30
  476. data/spec/fixtures/status.json +0 -16
  477. data/spec/fixtures/statuses.json +0 -34
  478. data/spec/fixtures/subscribers.json +0 -9
  479. data/spec/fixtures/subscription.json +0 -8
  480. data/spec/fixtures/subscription_update.json +0 -8
  481. data/spec/fixtures/subscriptions.json +0 -39
  482. data/spec/fixtures/tag.json +0 -16
  483. data/spec/fixtures/tag_create.json +0 -16
  484. data/spec/fixtures/tags.json +0 -173
  485. data/spec/fixtures/team.json +0 -8
  486. data/spec/fixtures/teams.json +0 -12
  487. data/spec/fixtures/thread_subscription.json +0 -8
  488. data/spec/fixtures/thread_subscription_update.json +0 -8
  489. data/spec/fixtures/tree.json +0 -112
  490. data/spec/fixtures/tree_create.json +0 -14
  491. data/spec/fixtures/update_content.json +0 -44
  492. data/spec/fixtures/user_events.json +0 -101
  493. data/spec/fixtures/user_issues.json +0 -710
  494. data/spec/fixtures/user_performed_public_events.json +0 -78
  495. data/spec/fixtures/user_public_events.json +0 -78
  496. data/spec/fixtures/validation_failed.json +0 -11
  497. data/spec/fixtures/watched.json +0 -1022
  498. data/spec/fixtures/watchers.json +0 -182
  499. data/spec/octokit/client/github_spec.rb +0 -19
  500. data/spec/octokit/client/issue_events_spec.rb +0 -30
  501. data/spec/octokit/client/pub_sub_hubbub/service_hooks_spec.rb +0 -48
  502. data/spec/octokit/client/pulls_spec.rb +0 -210
@@ -1,14 +0,0 @@
1
- {
2
- "_links": {
3
- "html": "https://github.com/pengwynn/octokit/blob/master/README.md",
4
- "self": "https://api.github.com/repos/pengwynn/octokit/contents/README.md",
5
- "git": "https://api.github.com/repos/pengwynn/octokit/git/blobs/f8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 5354,
12
- "name": "README.md",
13
- "path": "README.md"
14
- }
@@ -1,9 +0,0 @@
1
- {
2
- "object": {
3
- "sha": "0591c7b765779ea8797f0f0b9222299e600393ca",
4
- "type": "tag",
5
- "url": "https://api.github.com/repos/sferik/rails_admin/git/tags/0591c7b765779ea8797f0f0b9222299e600393ca"
6
- },
7
- "ref": "refs/tags/v0.0.3",
8
- "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/tags/v0.0.3"
9
- }
@@ -1,29 +0,0 @@
1
- [
2
- {
3
- "ref": "refs/heads/master",
4
- "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/master",
5
- "object": {
6
- "type": "commit",
7
- "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd",
8
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd"
9
- }
10
- },
11
- {
12
- "ref": "refs/heads/gh-pages",
13
- "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/gh-pages",
14
- "object": {
15
- "type": "commit",
16
- "sha": "612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac",
17
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac"
18
- }
19
- },
20
- {
21
- "ref": "refs/tags/v0.0.1",
22
- "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/tags/v0.0.1",
23
- "object": {
24
- "type": "tag",
25
- "sha": "940bd336248efae0f9ee5bc7b2d5c985887b16ac",
26
- "url": "https://api.github.com/repos/octocat/Hello-World/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac"
27
- }
28
- }
29
- ]
@@ -1,11 +0,0 @@
1
- [
2
- {
3
- "ref": "refs/heads/sc/featureA",
4
- "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/sc/featureA",
5
- "object": {
6
- "type": "commit",
7
- "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd",
8
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd"
9
- }
10
- }
11
- ]
@@ -1,38 +0,0 @@
1
- [
2
- {
3
- "object": {
4
- "sha": "19453d77913e5cc92dd836294bcb6e7ceb4d2a7f",
5
- "type": "commit",
6
- "url": "https://api.github.com/repos/sferik/rails_admin/git/commits/19453d77913e5cc92dd836294bcb6e7ceb4d2a7f"
7
- },
8
- "ref": "refs/heads/actions",
9
- "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/heads/actions"
10
- },
11
- {
12
- "object": {
13
- "sha": "1cb0628eea5be6120c4bfcbe609b3cea5f246290",
14
- "type": "commit",
15
- "url": "https://api.github.com/repos/sferik/rails_admin/git/commits/1cb0628eea5be6120c4bfcbe609b3cea5f246290"
16
- },
17
- "ref": "refs/heads/activo",
18
- "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/heads/activo"
19
- },
20
- {
21
- "object": {
22
- "sha": "acfa1e5d2bf3c80a511d3d2ea6dcd60169d5c564",
23
- "type": "commit",
24
- "url": "https://api.github.com/repos/sferik/rails_admin/git/commits/acfa1e5d2bf3c80a511d3d2ea6dcd60169d5c564"
25
- },
26
- "ref": "refs/heads/associated-collection-refact",
27
- "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/heads/associated-collection-refact"
28
- },
29
- {
30
- "object": {
31
- "sha": "14cdd3be4ada38f8e6974935f806c8de170abf11",
32
- "type": "commit",
33
- "url": "https://api.github.com/repos/sferik/rails_admin/git/commits/14cdd3be4ada38f8e6974935f806c8de170abf11"
34
- },
35
- "ref": "refs/heads/dsl-refactoring",
36
- "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/heads/dsl-refactoring"
37
- }
38
- ]
@@ -1,29 +0,0 @@
1
- [
2
- {
3
- "object": {
4
- "sha": "69edc0b0ac7dfa2780a39c113b54718b6defe081",
5
- "type": "tag",
6
- "url": "https://api.github.com/repos/sferik/rails_admin/git/tags/69edc0b0ac7dfa2780a39c113b54718b6defe081"
7
- },
8
- "ref": "refs/tags/v0.0.1",
9
- "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/tags/v0.0.1"
10
- },
11
- {
12
- "object": {
13
- "sha": "daa8d377587115484ab4f06272a9242436ab615c",
14
- "type": "tag",
15
- "url": "https://api.github.com/repos/sferik/rails_admin/git/tags/daa8d377587115484ab4f06272a9242436ab615c"
16
- },
17
- "ref": "refs/tags/v0.0.2",
18
- "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/tags/v0.0.2"
19
- },
20
- {
21
- "object": {
22
- "sha": "0591c7b765779ea8797f0f0b9222299e600393ca",
23
- "type": "tag",
24
- "url": "https://api.github.com/repos/sferik/rails_admin/git/tags/0591c7b765779ea8797f0f0b9222299e600393ca"
25
- },
26
- "ref": "refs/tags/v0.0.3",
27
- "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/tags/v0.0.3"
28
- }
29
- ]
@@ -1,30 +0,0 @@
1
- [
2
- {
3
- "gravatar_id": "6490beb544d67d937dfb99a6b3ed6e44",
4
- "avatar_url": "https://secure.gravatar.com/avatar/6490beb544d67d937dfb99a6b3ed6e44?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
5
- "login": "adamstac",
6
- "url": "https://api.github.com/users/adamstac",
7
- "id": 2933
8
- },
9
- {
10
- "gravatar_id": "dfb3948650131e4f0385c3328187cfca",
11
- "avatar_url": "https://secure.gravatar.com/avatar/dfb3948650131e4f0385c3328187cfca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
12
- "login": "ctshryock",
13
- "url": "https://api.github.com/users/ctshryock",
14
- "id": 61721
15
- },
16
- {
17
- "gravatar_id": "7e19cd5486b5d6dc1ef90e671ba52ae0",
18
- "avatar_url": "https://secure.gravatar.com/avatar/7e19cd5486b5d6dc1ef90e671ba52ae0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
19
- "login": "pengwynn",
20
- "url": "https://api.github.com/users/pengwynn",
21
- "id": 865
22
- },
23
- {
24
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
25
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
26
- "login": "sferik",
27
- "url": "https://api.github.com/users/sferik",
28
- "id": 10308
29
- }
30
- ]
@@ -1,1652 +0,0 @@
1
- [
2
- {
3
- "actor": {
4
- "gravatar_id": "5834104e2a5c757c33586a0968c097ba",
5
- "id": 841673,
6
- "login": "wildDAlex",
7
- "url": "https://api.github.com/users/wildDAlex"
8
- },
9
- "created_at": "2012-01-21T10:27:24Z",
10
- "id": "1513284402",
11
- "org": {
12
- "url": "https://api.github.com/orgs/"
13
- },
14
- "payload": {
15
- "action": "opened",
16
- "issue": {
17
- "assignee": null,
18
- "body": "After updating to latest version catch a bug, when all edit-action doesn't works. \r\n\r\n```\r\nNoMethodError in Rails_admin/main#edit\r\n\r\nShowing /home/gadfgdfgd/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rails_admin-d381ac95b1ea/app/views/rails_admin/main/_form_filtering_multiselect.html.haml where line #32 raised:\r\n\r\nundefined method `title' for #<Personality:0x007f5e4c625190>\r\n\r\nExtracted source (around line #32):\r\n\r\n29: - if authorized? :new, config.abstract_model\r\n30: - path_hash = { :model_name => config.abstract_model.to_param, :modal => true }\r\n31: - path_hash.merge!({ :associations => { field.inverse_of => (form.object.id || 'new') } }) if field.inverse_of\r\n32: = link_to wording_for(:link, :new, config.abstract_model), '#', :data => { :link => new_path(path_hash) }, :class => \"create btn\", :style => 'margin-left:10px' \r\n33: \r\n34: = form.javascript_for(field) do\r\n35: :plain\r\n```",
19
- "closed_at": null,
20
- "comments": 0,
21
- "created_at": "2012-01-21T10:27:24Z",
22
- "html_url": "https://github.com/sferik/rails_admin/issues/938",
23
- "id": 2920762,
24
- "labels": [],
25
- "milestone": null,
26
- "number": 938,
27
- "pull_request": {
28
- "diff_url": null,
29
- "html_url": null,
30
- "patch_url": null
31
- },
32
- "state": "open",
33
- "title": "NoMethodError in Rails_admin/main#edit ",
34
- "updated_at": "2012-01-21T10:27:24Z",
35
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/938",
36
- "user": {
37
- "avatar_url": "https://secure.gravatar.com/avatar/5834104e2a5c757c33586a0968c097ba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
38
- "gravatar_id": "5834104e2a5c757c33586a0968c097ba",
39
- "id": 841673,
40
- "login": "wildDAlex",
41
- "url": "https://api.github.com/users/wildDAlex"
42
- }
43
- }
44
- },
45
- "public": true,
46
- "repo": {
47
- "id": 810796,
48
- "name": "sferik/rails_admin",
49
- "url": "https://api.github.com/repos/sferik/rails_admin"
50
- },
51
- "type": "IssuesEvent"
52
- },
53
- {
54
- "actor": {
55
- "gravatar_id": "c830b700b5183b16c3c0a7fd76da12d9",
56
- "id": 244316,
57
- "login": "nathanpsouza",
58
- "url": "https://api.github.com/users/nathanpsouza"
59
- },
60
- "created_at": "2012-01-21T06:24:42Z",
61
- "id": "1513265963",
62
- "org": {
63
- "url": "https://api.github.com/orgs/"
64
- },
65
- "payload": {
66
- "forkee": {
67
- "clone_url": "https://github.com/nathanpsouza/rails_admin.git",
68
- "created_at": "2012-01-21T06:24:41Z",
69
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
70
- "fork": true,
71
- "forks": 0,
72
- "git_url": "git://github.com/nathanpsouza/rails_admin.git",
73
- "has_downloads": true,
74
- "has_issues": false,
75
- "has_wiki": true,
76
- "homepage": "",
77
- "html_url": "https://github.com/nathanpsouza/rails_admin",
78
- "id": 3232500,
79
- "language": "Ruby",
80
- "master_branch": null,
81
- "mirror_url": null,
82
- "name": "rails_admin",
83
- "open_issues": 0,
84
- "owner": {
85
- "avatar_url": "https://secure.gravatar.com/avatar/c830b700b5183b16c3c0a7fd76da12d9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
86
- "gravatar_id": "c830b700b5183b16c3c0a7fd76da12d9",
87
- "id": 244316,
88
- "login": "nathanpsouza",
89
- "url": "https://api.github.com/users/nathanpsouza"
90
- },
91
- "private": false,
92
- "public": true,
93
- "pushed_at": "2012-01-20T16:20:43Z",
94
- "size": 420,
95
- "ssh_url": "git@github.com:nathanpsouza/rails_admin.git",
96
- "svn_url": "https://github.com/nathanpsouza/rails_admin",
97
- "updated_at": "2012-01-21T06:24:41Z",
98
- "url": "https://api.github.com/repos/nathanpsouza/rails_admin",
99
- "watchers": 1
100
- }
101
- },
102
- "public": true,
103
- "repo": {
104
- "id": 810796,
105
- "name": "sferik/rails_admin",
106
- "url": "https://api.github.com/repos/sferik/rails_admin"
107
- },
108
- "type": "ForkEvent"
109
- },
110
- {
111
- "actor": {
112
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
113
- "id": 12294,
114
- "login": "reinkcar",
115
- "url": "https://api.github.com/users/reinkcar"
116
- },
117
- "created_at": "2012-01-21T00:09:29Z",
118
- "id": "1513226679",
119
- "org": {
120
- "url": "https://api.github.com/orgs/"
121
- },
122
- "payload": {
123
- "action": "closed",
124
- "issue": {
125
- "assignee": null,
126
- "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
127
- "closed_at": "2012-01-21T00:09:27Z",
128
- "comments": 2,
129
- "created_at": "2012-01-20T14:36:57Z",
130
- "html_url": "https://github.com/sferik/rails_admin/issues/934",
131
- "id": 2911854,
132
- "labels": [],
133
- "milestone": null,
134
- "number": 934,
135
- "pull_request": {
136
- "diff_url": null,
137
- "html_url": null,
138
- "patch_url": null
139
- },
140
- "state": "closed",
141
- "title": "Error caused by wording_for",
142
- "updated_at": "2012-01-21T00:09:27Z",
143
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
144
- "user": {
145
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
146
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
147
- "id": 12294,
148
- "login": "reinkcar",
149
- "url": "https://api.github.com/users/reinkcar"
150
- }
151
- }
152
- },
153
- "public": true,
154
- "repo": {
155
- "id": 810796,
156
- "name": "sferik/rails_admin",
157
- "url": "https://api.github.com/repos/sferik/rails_admin"
158
- },
159
- "type": "IssuesEvent"
160
- },
161
- {
162
- "actor": {
163
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
164
- "id": 12294,
165
- "login": "reinkcar",
166
- "url": "https://api.github.com/users/reinkcar"
167
- },
168
- "created_at": "2012-01-21T00:09:29Z",
169
- "id": "1513226684",
170
- "org": {
171
- "url": "https://api.github.com/orgs/"
172
- },
173
- "payload": {
174
- "action": "created",
175
- "comment": {
176
- "body": "Hi,\r\n\r\nfor #2: I've submitted a fix (#937)\r\nfor #1: Error seems to be caused by another gem I've used.\r\n\r\nClosing.\r\n\r\n",
177
- "created_at": "2012-01-21T00:09:27Z",
178
- "id": 3592970,
179
- "updated_at": "2012-01-21T00:09:27Z",
180
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3592970",
181
- "user": {
182
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
183
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
184
- "id": 12294,
185
- "login": "reinkcar",
186
- "url": "https://api.github.com/users/reinkcar"
187
- }
188
- },
189
- "issue": {
190
- "assignee": null,
191
- "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
192
- "closed_at": "2012-01-21T00:09:27Z",
193
- "comments": 2,
194
- "created_at": "2012-01-20T14:36:57Z",
195
- "html_url": "https://github.com/sferik/rails_admin/issues/934",
196
- "id": 2911854,
197
- "labels": [],
198
- "milestone": null,
199
- "number": 934,
200
- "pull_request": {
201
- "diff_url": null,
202
- "html_url": null,
203
- "patch_url": null
204
- },
205
- "state": "closed",
206
- "title": "Error caused by wording_for",
207
- "updated_at": "2012-01-21T00:09:27Z",
208
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
209
- "user": {
210
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
211
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
212
- "id": 12294,
213
- "login": "reinkcar",
214
- "url": "https://api.github.com/users/reinkcar"
215
- }
216
- }
217
- },
218
- "public": true,
219
- "repo": {
220
- "id": 810796,
221
- "name": "sferik/rails_admin",
222
- "url": "https://api.github.com/repos/sferik/rails_admin"
223
- },
224
- "type": "IssueCommentEvent"
225
- },
226
- {
227
- "actor": {
228
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
229
- "id": 12294,
230
- "login": "reinkcar",
231
- "url": "https://api.github.com/users/reinkcar"
232
- },
233
- "created_at": "2012-01-20T23:45:05Z",
234
- "id": "1513221979",
235
- "org": {
236
- "url": "https://api.github.com/orgs/"
237
- },
238
- "payload": {
239
- "action": "opened",
240
- "number": 937,
241
- "pull_request": {
242
- "_links": {
243
- "comments": {
244
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/937/comments"
245
- },
246
- "html": {
247
- "href": "https://github.com/sferik/rails_admin/pull/937"
248
- },
249
- "review_comments": {
250
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/937/comments"
251
- },
252
- "self": {
253
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/937"
254
- }
255
- },
256
- "additions": 1,
257
- "base": {
258
- "label": "sferik:master",
259
- "ref": "master",
260
- "repo": {
261
- "clone_url": "https://github.com/sferik/rails_admin.git",
262
- "created_at": "2010-08-01T17:01:00Z",
263
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
264
- "fork": false,
265
- "forks": 535,
266
- "git_url": "git://github.com/sferik/rails_admin.git",
267
- "has_downloads": true,
268
- "has_issues": true,
269
- "has_wiki": true,
270
- "homepage": "",
271
- "html_url": "https://github.com/sferik/rails_admin",
272
- "id": 810796,
273
- "language": "Ruby",
274
- "master_branch": null,
275
- "mirror_url": null,
276
- "name": "rails_admin",
277
- "open_issues": 59,
278
- "owner": {
279
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
280
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
281
- "id": 10308,
282
- "login": "sferik",
283
- "url": "https://api.github.com/users/sferik"
284
- },
285
- "private": false,
286
- "pushed_at": "2012-01-20T16:20:43Z",
287
- "size": 420,
288
- "ssh_url": "git@github.com:sferik/rails_admin.git",
289
- "svn_url": "https://github.com/sferik/rails_admin",
290
- "updated_at": "2012-01-20T16:20:43Z",
291
- "url": "https://api.github.com/repos/sferik/rails_admin",
292
- "watchers": 2722
293
- },
294
- "sha": "d381ac95b1ea1a33c3b1671ff513e91879c324c4",
295
- "user": {
296
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
297
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
298
- "id": 10308,
299
- "login": "sferik",
300
- "url": "https://api.github.com/users/sferik"
301
- }
302
- },
303
- "body": "wording_for now checks, if object is an instance of abstract_model.model",
304
- "changed_files": 1,
305
- "closed_at": null,
306
- "comments": 0,
307
- "commits": 2,
308
- "created_at": "2012-01-20T23:45:04Z",
309
- "deletions": 1,
310
- "diff_url": "https://github.com/sferik/rails_admin/pull/937.diff",
311
- "head": {
312
- "label": "reinkcar:master",
313
- "ref": "master",
314
- "repo": {
315
- "clone_url": "https://github.com/reinkcar/rails_admin.git",
316
- "created_at": "2011-11-08T19:48:51Z",
317
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
318
- "fork": true,
319
- "forks": 0,
320
- "git_url": "git://github.com/reinkcar/rails_admin.git",
321
- "has_downloads": true,
322
- "has_issues": false,
323
- "has_wiki": true,
324
- "homepage": "",
325
- "html_url": "https://github.com/reinkcar/rails_admin",
326
- "id": 2736456,
327
- "language": "Ruby",
328
- "master_branch": null,
329
- "mirror_url": null,
330
- "name": "rails_admin",
331
- "open_issues": 0,
332
- "owner": {
333
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
334
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
335
- "id": 12294,
336
- "login": "reinkcar",
337
- "url": "https://api.github.com/users/reinkcar"
338
- },
339
- "private": false,
340
- "pushed_at": "2012-01-20T23:38:03Z",
341
- "size": 2712,
342
- "ssh_url": "git@github.com:reinkcar/rails_admin.git",
343
- "svn_url": "https://github.com/reinkcar/rails_admin",
344
- "updated_at": "2012-01-20T23:38:03Z",
345
- "url": "https://api.github.com/repos/reinkcar/rails_admin",
346
- "watchers": 1
347
- },
348
- "sha": "de3cadb81c34ce9ec4f0ce69a0a8742eb87039d5",
349
- "user": {
350
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
351
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
352
- "id": 12294,
353
- "login": "reinkcar",
354
- "url": "https://api.github.com/users/reinkcar"
355
- }
356
- },
357
- "html_url": "https://github.com/sferik/rails_admin/pull/937",
358
- "id": 718281,
359
- "issue_url": "https://github.com/sferik/rails_admin/issues/937",
360
- "mergeable": null,
361
- "merged": false,
362
- "merged_at": null,
363
- "merged_by": null,
364
- "number": 937,
365
- "patch_url": "https://github.com/sferik/rails_admin/pull/937.patch",
366
- "review_comments": 0,
367
- "state": "open",
368
- "title": "Fix for Issue #934 / Bug in wording_for",
369
- "updated_at": "2012-01-20T23:45:04Z",
370
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/937",
371
- "user": {
372
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
373
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
374
- "id": 12294,
375
- "login": "reinkcar",
376
- "url": "https://api.github.com/users/reinkcar"
377
- }
378
- }
379
- },
380
- "public": true,
381
- "repo": {
382
- "id": 810796,
383
- "name": "sferik/rails_admin",
384
- "url": "https://api.github.com/repos/sferik/rails_admin"
385
- },
386
- "type": "PullRequestEvent"
387
- },
388
- {
389
- "actor": {
390
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
391
- "id": 10308,
392
- "login": "sferik",
393
- "url": "https://api.github.com/users/sferik"
394
- },
395
- "created_at": "2012-01-20T21:46:45Z",
396
- "id": "1513194035",
397
- "org": {
398
- "url": "https://api.github.com/orgs/"
399
- },
400
- "payload": {
401
- "comment": {
402
- "body": "Okay, now that you've explained it, it makes sense, but big decisions like this need to be brought up for discussion before they're made.",
403
- "commit_id": "135a4693fa231dd0fa0438a20bf4835be75f2772",
404
- "created_at": "2012-01-20T21:46:45Z",
405
- "html_url": "https://github.com/sferik/rails_admin/commit/135a4693fa#commitcomment-887427",
406
- "id": 887427,
407
- "line": null,
408
- "path": null,
409
- "position": null,
410
- "updated_at": "2012-01-20T21:46:45Z",
411
- "url": "https://api.github.com/repos/sferik/rails_admin/comments/887427",
412
- "user": {
413
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
414
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
415
- "id": 10308,
416
- "login": "sferik",
417
- "url": "https://api.github.com/users/sferik"
418
- }
419
- }
420
- },
421
- "public": true,
422
- "repo": {
423
- "id": 810796,
424
- "name": "sferik/rails_admin",
425
- "url": "https://api.github.com/repos/sferik/rails_admin"
426
- },
427
- "type": "CommitCommentEvent"
428
- },
429
- {
430
- "actor": {
431
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
432
- "id": 26794,
433
- "login": "bbenezech",
434
- "url": "https://api.github.com/users/bbenezech"
435
- },
436
- "created_at": "2012-01-20T21:41:48Z",
437
- "id": "1513192790",
438
- "org": {
439
- "url": "https://api.github.com/orgs/"
440
- },
441
- "payload": {
442
- "action": "created",
443
- "comment": {
444
- "body": "Sucks! We need some integration testing with JS to tackle this kind of regressions..\r\nCan you test on the dummy app to see if it's specific to your app? I'm not on my workstation atm.",
445
- "created_at": "2012-01-20T21:41:48Z",
446
- "id": 3591063,
447
- "updated_at": "2012-01-20T21:41:48Z",
448
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3591063",
449
- "user": {
450
- "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
451
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
452
- "id": 26794,
453
- "login": "bbenezech",
454
- "url": "https://api.github.com/users/bbenezech"
455
- }
456
- },
457
- "issue": {
458
- "assignee": null,
459
- "body": "My remote form modals for both belong_to and has_many through association are no longer working for me. Let's say I'm editing a Post in my system which has_many tags through taggings (polymorphic on the taggable). When I click \"add tag\" it takes me into editing the current post in modal form. Not creating a new tag! When I double click on an existing tag, however, it let's me edit it.\r\n\r\nNow let's say I edit something with a belongs_to relationship. I can neither add a new nor edit the existing association in the dropdown or it takes me to editing the current selected object in the model.\r\n\r\nWha's weirder is when I close out the model, I get some weird html bugs where it will clone the association boxes on the page and break them.\r\n\r\nThis happens for me in all 3 web browsers. Chrome, Firefox, and Safari.\r\n\r\nI've tried clearing out everything in my rails_admin initializer so it just uses the model definitions. Still not working.\r\n\r\nLet me know what you need from me to help debug more.\r\n\r\n",
460
- "closed_at": null,
461
- "comments": 1,
462
- "created_at": "2012-01-20T20:57:00Z",
463
- "html_url": "https://github.com/sferik/rails_admin/issues/936",
464
- "id": 2916704,
465
- "labels": [],
466
- "milestone": null,
467
- "number": 936,
468
- "pull_request": {
469
- "diff_url": null,
470
- "html_url": null,
471
- "patch_url": null
472
- },
473
- "state": "open",
474
- "title": "Remote Form Modals on \"Create\" no longer working",
475
- "updated_at": "2012-01-20T21:41:48Z",
476
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/936",
477
- "user": {
478
- "avatar_url": "https://secure.gravatar.com/avatar/52fbfdf72bf76e14d1961931849b8bbf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
479
- "gravatar_id": "52fbfdf72bf76e14d1961931849b8bbf",
480
- "id": 852746,
481
- "login": "mediavine",
482
- "url": "https://api.github.com/users/mediavine"
483
- }
484
- }
485
- },
486
- "public": true,
487
- "repo": {
488
- "id": 810796,
489
- "name": "sferik/rails_admin",
490
- "url": "https://api.github.com/repos/sferik/rails_admin"
491
- },
492
- "type": "IssueCommentEvent"
493
- },
494
- {
495
- "actor": {
496
- "gravatar_id": "52fbfdf72bf76e14d1961931849b8bbf",
497
- "id": 852746,
498
- "login": "mediavine",
499
- "url": "https://api.github.com/users/mediavine"
500
- },
501
- "created_at": "2012-01-20T20:57:00Z",
502
- "id": "1513176989",
503
- "org": {
504
- "url": "https://api.github.com/orgs/"
505
- },
506
- "payload": {
507
- "action": "opened",
508
- "issue": {
509
- "assignee": null,
510
- "body": "My remote form modals for both belong_to and has_many through association are no longer working for me. Let's say I'm editing a Post in my system which has_many tags through taggings (polymorphic on the taggable). When I click \"add tag\" it takes me into editing the current post in modal form. Not creating a new tag! When I double click on an existing tag, however, it let's me edit it.\r\n\r\nNow let's say I edit something with a belongs_to relationship. I can neither add a new nor edit the existing association in the dropdown or it takes me to editing the current selected object in the model.\r\n\r\nWha's weirder is when I close out the model, I get some weird html bugs where it will clone the association boxes on the page and break them.\r\n\r\nThis happens for me in all 3 web browsers. Chrome, Firefox, and Safari.\r\n\r\nI've tried clearing out everything in my rails_admin initializer so it just uses the model definitions. Still not working.\r\n\r\nLet me know what you need from me to help debug more.\r\n\r\n",
511
- "closed_at": null,
512
- "comments": 0,
513
- "created_at": "2012-01-20T20:57:00Z",
514
- "html_url": "https://github.com/sferik/rails_admin/issues/936",
515
- "id": 2916704,
516
- "labels": [],
517
- "milestone": null,
518
- "number": 936,
519
- "pull_request": {
520
- "diff_url": null,
521
- "html_url": null,
522
- "patch_url": null
523
- },
524
- "state": "open",
525
- "title": "Remote Form Modals on \"Create\" no longer working",
526
- "updated_at": "2012-01-20T20:57:00Z",
527
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/936",
528
- "user": {
529
- "avatar_url": "https://secure.gravatar.com/avatar/52fbfdf72bf76e14d1961931849b8bbf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
530
- "gravatar_id": "52fbfdf72bf76e14d1961931849b8bbf",
531
- "id": 852746,
532
- "login": "mediavine",
533
- "url": "https://api.github.com/users/mediavine"
534
- }
535
- }
536
- },
537
- "public": true,
538
- "repo": {
539
- "id": 810796,
540
- "name": "sferik/rails_admin",
541
- "url": "https://api.github.com/repos/sferik/rails_admin"
542
- },
543
- "type": "IssuesEvent"
544
- },
545
- {
546
- "actor": {
547
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
548
- "id": 26794,
549
- "login": "bbenezech",
550
- "url": "https://api.github.com/users/bbenezech"
551
- },
552
- "created_at": "2012-01-20T20:34:46Z",
553
- "id": "1513171403",
554
- "org": {
555
- "url": "https://api.github.com/orgs/"
556
- },
557
- "payload": {
558
- "comment": {
559
- "body": "Devise translations don't belong here, it's plain old duplication. Lot of them are totally outdated.\r\n\r\nAbout the rest, wasn't much I could do.\r\nBecause of the refact., 80% keys changed. Couldn't just leave that mess, or just reset all translations with english. It was the right time to move it to the wiki.\r\n\r\nLoud thinking:\r\n\r\n* I18n adds a lot of overhead (adding keys in 20 files, noise when searching/refactoring, pull requests)\r\n* RailsAdmin is maturing, we can't leave unmaintained code inside, it gives a wrong message about the quality of the software. And we can't maintain 20 languages we don't know or just rely on PR that we can't review\r\n* It's too awkward to officially support some translation in the codebase and not another. Now, officially supported is neutral English, copy and translate it to your needs, go wiki for example in your language, share&maintain your own if you like\r\n* Since actions are dynamic, any custom code or plugin will add it's own keys, there is no such thing as 'the right translation'\r\n* I18n is not only translation, it is also configuration, do your own cooking\r\n",
560
- "commit_id": "135a4693fa231dd0fa0438a20bf4835be75f2772",
561
- "created_at": "2012-01-20T20:34:46Z",
562
- "html_url": "https://github.com/sferik/rails_admin/commit/135a4693fa#commitcomment-887240",
563
- "id": 887240,
564
- "line": null,
565
- "path": null,
566
- "position": null,
567
- "updated_at": "2012-01-20T20:34:46Z",
568
- "url": "https://api.github.com/repos/sferik/rails_admin/comments/887240",
569
- "user": {
570
- "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
571
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
572
- "id": 26794,
573
- "login": "bbenezech",
574
- "url": "https://api.github.com/users/bbenezech"
575
- }
576
- }
577
- },
578
- "public": true,
579
- "repo": {
580
- "id": 810796,
581
- "name": "sferik/rails_admin",
582
- "url": "https://api.github.com/repos/sferik/rails_admin"
583
- },
584
- "type": "CommitCommentEvent"
585
- },
586
- {
587
- "actor": {
588
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
589
- "id": 10308,
590
- "login": "sferik",
591
- "url": "https://api.github.com/users/sferik"
592
- },
593
- "created_at": "2012-01-20T16:47:14Z",
594
- "id": "1513112467",
595
- "org": {
596
- "url": "https://api.github.com/orgs/"
597
- },
598
- "payload": {
599
- "comment": {
600
- "body": "I'm just seeing this commit now. Was this really the best solution to the problem. Why are translations in the wiki better than translations in the codebase? If you think it's too much of a maintenance burden, then we should just add more maintainers who are responsible just for maintaining translations.\r\n\r\nIf general, I'd prefer you if you brought issues like this up for discussion before committing them to master. This commit breaks the app for a large number of our international users. :(",
601
- "commit_id": "135a4693fa231dd0fa0438a20bf4835be75f2772",
602
- "created_at": "2012-01-20T16:47:14Z",
603
- "html_url": "https://github.com/sferik/rails_admin/commit/135a4693fa#commitcomment-886554",
604
- "id": 886554,
605
- "line": null,
606
- "path": null,
607
- "position": null,
608
- "updated_at": "2012-01-20T16:47:14Z",
609
- "url": "https://api.github.com/repos/sferik/rails_admin/comments/886554",
610
- "user": {
611
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
612
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
613
- "id": 10308,
614
- "login": "sferik",
615
- "url": "https://api.github.com/users/sferik"
616
- }
617
- }
618
- },
619
- "public": true,
620
- "repo": {
621
- "id": 810796,
622
- "name": "sferik/rails_admin",
623
- "url": "https://api.github.com/repos/sferik/rails_admin"
624
- },
625
- "type": "CommitCommentEvent"
626
- },
627
- {
628
- "actor": {
629
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
630
- "id": 26794,
631
- "login": "bbenezech",
632
- "url": "https://api.github.com/users/bbenezech"
633
- },
634
- "created_at": "2012-01-20T16:20:46Z",
635
- "id": "1513105167",
636
- "org": {
637
- "url": "https://api.github.com/orgs/"
638
- },
639
- "payload": {
640
- "commits": [
641
- {
642
- "author": {
643
- "email": "benoit.benezech@gmail.com",
644
- "name": "Benoit B\u00e9n\u00e9zech"
645
- },
646
- "message": "Update README.md",
647
- "sha": "d381ac95b1ea1a33c3b1671ff513e91879c324c4",
648
- "url": "https://api.github.com/repos/sferik/rails_admin/commits/d381ac95b1ea1a33c3b1671ff513e91879c324c4"
649
- }
650
- ],
651
- "head": "d381ac95b1ea1a33c3b1671ff513e91879c324c4",
652
- "push_id": 58423090,
653
- "ref": "refs/heads/master",
654
- "size": 1
655
- },
656
- "public": true,
657
- "repo": {
658
- "id": 810796,
659
- "name": "sferik/rails_admin",
660
- "url": "https://api.github.com/repos/sferik/rails_admin"
661
- },
662
- "type": "PushEvent"
663
- },
664
- {
665
- "actor": {
666
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
667
- "id": 26794,
668
- "login": "bbenezech",
669
- "url": "https://api.github.com/users/bbenezech"
670
- },
671
- "created_at": "2012-01-20T16:19:05Z",
672
- "id": "1513104683",
673
- "org": {
674
- "url": "https://api.github.com/orgs/"
675
- },
676
- "payload": {
677
- "commits": [
678
- {
679
- "author": {
680
- "email": "benoit.benezech@gmail.com",
681
- "name": "Benoit B\u00e9n\u00e9zech"
682
- },
683
- "message": "test is not necessary anymore (visible not checked if bindings are absents)",
684
- "sha": "7d175815851bcc1f2e700f27d6a9d81bb4d9163d",
685
- "url": "https://api.github.com/repos/sferik/rails_admin/commits/7d175815851bcc1f2e700f27d6a9d81bb4d9163d"
686
- }
687
- ],
688
- "head": "7d175815851bcc1f2e700f27d6a9d81bb4d9163d",
689
- "push_id": 58422798,
690
- "ref": "refs/heads/master",
691
- "size": 1
692
- },
693
- "public": true,
694
- "repo": {
695
- "id": 810796,
696
- "name": "sferik/rails_admin",
697
- "url": "https://api.github.com/repos/sferik/rails_admin"
698
- },
699
- "type": "PushEvent"
700
- },
701
- {
702
- "actor": {
703
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
704
- "id": 26794,
705
- "login": "bbenezech",
706
- "url": "https://api.github.com/users/bbenezech"
707
- },
708
- "created_at": "2012-01-20T16:17:46Z",
709
- "id": "1513104297",
710
- "org": {
711
- "url": "https://api.github.com/orgs/"
712
- },
713
- "payload": {
714
- "pages": [
715
- {
716
- "action": "edited",
717
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
718
- "page_name": "Actions",
719
- "sha": "3cb2f0b02d0b00c12fd24af7add2608d5b0d6c0f",
720
- "summary": null,
721
- "title": "Actions"
722
- }
723
- ]
724
- },
725
- "public": true,
726
- "repo": {
727
- "id": 810796,
728
- "name": "sferik/rails_admin",
729
- "url": "https://api.github.com/repos/sferik/rails_admin"
730
- },
731
- "type": "GollumEvent"
732
- },
733
- {
734
- "actor": {
735
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
736
- "id": 26794,
737
- "login": "bbenezech",
738
- "url": "https://api.github.com/users/bbenezech"
739
- },
740
- "created_at": "2012-01-20T16:16:50Z",
741
- "id": "1513104045",
742
- "org": {
743
- "url": "https://api.github.com/orgs/"
744
- },
745
- "payload": {
746
- "pages": [
747
- {
748
- "action": "edited",
749
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
750
- "page_name": "Actions",
751
- "sha": "9267814055198113f937127bb71874f3f93713bb",
752
- "summary": null,
753
- "title": "Actions"
754
- }
755
- ]
756
- },
757
- "public": true,
758
- "repo": {
759
- "id": 810796,
760
- "name": "sferik/rails_admin",
761
- "url": "https://api.github.com/repos/sferik/rails_admin"
762
- },
763
- "type": "GollumEvent"
764
- },
765
- {
766
- "actor": {
767
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
768
- "id": 26794,
769
- "login": "bbenezech",
770
- "url": "https://api.github.com/users/bbenezech"
771
- },
772
- "created_at": "2012-01-20T16:15:40Z",
773
- "id": "1513103710",
774
- "org": {
775
- "url": "https://api.github.com/orgs/"
776
- },
777
- "payload": {
778
- "pages": [
779
- {
780
- "action": "edited",
781
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
782
- "page_name": "Actions",
783
- "sha": "3c4a708fd2c3ec8b646d5b1915f59d8b3819ff73",
784
- "summary": null,
785
- "title": "Actions"
786
- }
787
- ]
788
- },
789
- "public": true,
790
- "repo": {
791
- "id": 810796,
792
- "name": "sferik/rails_admin",
793
- "url": "https://api.github.com/repos/sferik/rails_admin"
794
- },
795
- "type": "GollumEvent"
796
- },
797
- {
798
- "actor": {
799
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
800
- "id": 26794,
801
- "login": "bbenezech",
802
- "url": "https://api.github.com/users/bbenezech"
803
- },
804
- "created_at": "2012-01-20T16:15:12Z",
805
- "id": "1513103575",
806
- "org": {
807
- "url": "https://api.github.com/orgs/"
808
- },
809
- "payload": {
810
- "pages": [
811
- {
812
- "action": "edited",
813
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
814
- "page_name": "Actions",
815
- "sha": "fc7985ea8bc2033ddadfbc51b97d8d84830f5170",
816
- "summary": null,
817
- "title": "Actions"
818
- }
819
- ]
820
- },
821
- "public": true,
822
- "repo": {
823
- "id": 810796,
824
- "name": "sferik/rails_admin",
825
- "url": "https://api.github.com/repos/sferik/rails_admin"
826
- },
827
- "type": "GollumEvent"
828
- },
829
- {
830
- "actor": {
831
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
832
- "id": 26794,
833
- "login": "bbenezech",
834
- "url": "https://api.github.com/users/bbenezech"
835
- },
836
- "created_at": "2012-01-20T16:14:20Z",
837
- "id": "1513103328",
838
- "org": {
839
- "url": "https://api.github.com/orgs/"
840
- },
841
- "payload": {
842
- "pages": [
843
- {
844
- "action": "edited",
845
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
846
- "page_name": "Actions",
847
- "sha": "4f8779696a3a794f4a0ebdd615f51f8437453882",
848
- "summary": null,
849
- "title": "Actions"
850
- }
851
- ]
852
- },
853
- "public": true,
854
- "repo": {
855
- "id": 810796,
856
- "name": "sferik/rails_admin",
857
- "url": "https://api.github.com/repos/sferik/rails_admin"
858
- },
859
- "type": "GollumEvent"
860
- },
861
- {
862
- "actor": {
863
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
864
- "id": 26794,
865
- "login": "bbenezech",
866
- "url": "https://api.github.com/users/bbenezech"
867
- },
868
- "created_at": "2012-01-20T16:13:39Z",
869
- "id": "1513103119",
870
- "org": {
871
- "url": "https://api.github.com/orgs/"
872
- },
873
- "payload": {
874
- "pages": [
875
- {
876
- "action": "edited",
877
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
878
- "page_name": "Actions",
879
- "sha": "fe36f71b19845fe10f389dc784bb8ea1328bc2c4",
880
- "summary": null,
881
- "title": "Actions"
882
- }
883
- ]
884
- },
885
- "public": true,
886
- "repo": {
887
- "id": 810796,
888
- "name": "sferik/rails_admin",
889
- "url": "https://api.github.com/repos/sferik/rails_admin"
890
- },
891
- "type": "GollumEvent"
892
- },
893
- {
894
- "actor": {
895
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
896
- "id": 26794,
897
- "login": "bbenezech",
898
- "url": "https://api.github.com/users/bbenezech"
899
- },
900
- "created_at": "2012-01-20T16:12:27Z",
901
- "id": "1513102773",
902
- "org": {
903
- "url": "https://api.github.com/orgs/"
904
- },
905
- "payload": {
906
- "pages": [
907
- {
908
- "action": "edited",
909
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
910
- "page_name": "Actions",
911
- "sha": "91361f5733f617b59ea290d8780bdd0fec404a4d",
912
- "summary": null,
913
- "title": "Actions"
914
- }
915
- ]
916
- },
917
- "public": true,
918
- "repo": {
919
- "id": 810796,
920
- "name": "sferik/rails_admin",
921
- "url": "https://api.github.com/repos/sferik/rails_admin"
922
- },
923
- "type": "GollumEvent"
924
- },
925
- {
926
- "actor": {
927
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
928
- "id": 26794,
929
- "login": "bbenezech",
930
- "url": "https://api.github.com/users/bbenezech"
931
- },
932
- "created_at": "2012-01-20T16:12:17Z",
933
- "id": "1513102731",
934
- "org": {
935
- "url": "https://api.github.com/orgs/"
936
- },
937
- "payload": {
938
- "pages": [
939
- {
940
- "action": "edited",
941
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
942
- "page_name": "Actions",
943
- "sha": "4be985fd23cbd0e34335f0a41962cbd4f68bcbd3",
944
- "summary": null,
945
- "title": "Actions"
946
- }
947
- ]
948
- },
949
- "public": true,
950
- "repo": {
951
- "id": 810796,
952
- "name": "sferik/rails_admin",
953
- "url": "https://api.github.com/repos/sferik/rails_admin"
954
- },
955
- "type": "GollumEvent"
956
- },
957
- {
958
- "actor": {
959
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
960
- "id": 26794,
961
- "login": "bbenezech",
962
- "url": "https://api.github.com/users/bbenezech"
963
- },
964
- "created_at": "2012-01-20T16:11:54Z",
965
- "id": "1513102628",
966
- "org": {
967
- "url": "https://api.github.com/orgs/"
968
- },
969
- "payload": {
970
- "pages": [
971
- {
972
- "action": "edited",
973
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
974
- "page_name": "Actions",
975
- "sha": "ae7bf058a4cb983f4fa9d5ebdfb6ebdf4221cfe6",
976
- "summary": null,
977
- "title": "Actions"
978
- }
979
- ]
980
- },
981
- "public": true,
982
- "repo": {
983
- "id": 810796,
984
- "name": "sferik/rails_admin",
985
- "url": "https://api.github.com/repos/sferik/rails_admin"
986
- },
987
- "type": "GollumEvent"
988
- },
989
- {
990
- "actor": {
991
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
992
- "id": 26794,
993
- "login": "bbenezech",
994
- "url": "https://api.github.com/users/bbenezech"
995
- },
996
- "created_at": "2012-01-20T16:11:36Z",
997
- "id": "1513102556",
998
- "org": {
999
- "url": "https://api.github.com/orgs/"
1000
- },
1001
- "payload": {
1002
- "pages": [
1003
- {
1004
- "action": "edited",
1005
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
1006
- "page_name": "Actions",
1007
- "sha": "f19b36b09a0da4887cc625572e06c5bc595e2536",
1008
- "summary": null,
1009
- "title": "Actions"
1010
- }
1011
- ]
1012
- },
1013
- "public": true,
1014
- "repo": {
1015
- "id": 810796,
1016
- "name": "sferik/rails_admin",
1017
- "url": "https://api.github.com/repos/sferik/rails_admin"
1018
- },
1019
- "type": "GollumEvent"
1020
- },
1021
- {
1022
- "actor": {
1023
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1024
- "id": 26794,
1025
- "login": "bbenezech",
1026
- "url": "https://api.github.com/users/bbenezech"
1027
- },
1028
- "created_at": "2012-01-20T15:44:29Z",
1029
- "id": "1513095161",
1030
- "org": {
1031
- "url": "https://api.github.com/orgs/"
1032
- },
1033
- "payload": {
1034
- "action": "closed",
1035
- "number": 935,
1036
- "pull_request": {
1037
- "_links": {
1038
- "comments": {
1039
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/935/comments"
1040
- },
1041
- "html": {
1042
- "href": "https://github.com/sferik/rails_admin/pull/935"
1043
- },
1044
- "review_comments": {
1045
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935/comments"
1046
- },
1047
- "self": {
1048
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935"
1049
- }
1050
- },
1051
- "additions": 129,
1052
- "base": {
1053
- "label": "sferik:master",
1054
- "ref": "master",
1055
- "repo": {
1056
- "clone_url": "https://github.com/sferik/rails_admin.git",
1057
- "created_at": "2010-08-01T17:01:00Z",
1058
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1059
- "fork": false,
1060
- "forks": 535,
1061
- "git_url": "git://github.com/sferik/rails_admin.git",
1062
- "has_downloads": true,
1063
- "has_issues": true,
1064
- "has_wiki": true,
1065
- "homepage": "",
1066
- "html_url": "https://github.com/sferik/rails_admin",
1067
- "id": 810796,
1068
- "language": "Ruby",
1069
- "master_branch": null,
1070
- "mirror_url": null,
1071
- "name": "rails_admin",
1072
- "open_issues": 57,
1073
- "owner": {
1074
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1075
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1076
- "id": 10308,
1077
- "login": "sferik",
1078
- "url": "https://api.github.com/users/sferik"
1079
- },
1080
- "private": false,
1081
- "pushed_at": "2012-01-20T15:33:48Z",
1082
- "size": 420,
1083
- "ssh_url": "git@github.com:sferik/rails_admin.git",
1084
- "svn_url": "https://github.com/sferik/rails_admin",
1085
- "updated_at": "2012-01-20T15:33:49Z",
1086
- "url": "https://api.github.com/repos/sferik/rails_admin",
1087
- "watchers": 2722
1088
- },
1089
- "sha": "34ac333dbdc8b1af2da24323caf04229cfa2ee67",
1090
- "user": {
1091
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1092
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1093
- "id": 10308,
1094
- "login": "sferik",
1095
- "url": "https://api.github.com/users/sferik"
1096
- }
1097
- },
1098
- "body": "Hi.\r\n\r\nI created initial russian translation for your great app.",
1099
- "changed_files": 1,
1100
- "closed_at": "2012-01-20T15:44:28Z",
1101
- "comments": 1,
1102
- "commits": 1,
1103
- "created_at": "2012-01-20T14:42:02Z",
1104
- "deletions": 0,
1105
- "diff_url": "https://github.com/sferik/rails_admin/pull/935.diff",
1106
- "head": {
1107
- "label": "msamoylov:master",
1108
- "ref": "master",
1109
- "repo": {
1110
- "clone_url": "https://github.com/msamoylov/rails_admin.git",
1111
- "created_at": "2012-01-20T14:18:02Z",
1112
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1113
- "fork": true,
1114
- "forks": 0,
1115
- "git_url": "git://github.com/msamoylov/rails_admin.git",
1116
- "has_downloads": true,
1117
- "has_issues": false,
1118
- "has_wiki": true,
1119
- "homepage": "",
1120
- "html_url": "https://github.com/msamoylov/rails_admin",
1121
- "id": 3226804,
1122
- "language": "Ruby",
1123
- "master_branch": null,
1124
- "mirror_url": null,
1125
- "name": "rails_admin",
1126
- "open_issues": 0,
1127
- "owner": {
1128
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1129
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1130
- "id": 106813,
1131
- "login": "msamoylov",
1132
- "url": "https://api.github.com/users/msamoylov"
1133
- },
1134
- "private": false,
1135
- "pushed_at": "2012-01-20T14:39:06Z",
1136
- "size": 172,
1137
- "ssh_url": "git@github.com:msamoylov/rails_admin.git",
1138
- "svn_url": "https://github.com/msamoylov/rails_admin",
1139
- "updated_at": "2012-01-20T14:39:07Z",
1140
- "url": "https://api.github.com/repos/msamoylov/rails_admin",
1141
- "watchers": 1
1142
- },
1143
- "sha": "955e420f390175c2467621857d242a53baf7e10e",
1144
- "user": {
1145
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1146
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1147
- "id": 106813,
1148
- "login": "msamoylov",
1149
- "url": "https://api.github.com/users/msamoylov"
1150
- }
1151
- },
1152
- "html_url": "https://github.com/sferik/rails_admin/pull/935",
1153
- "id": 715511,
1154
- "issue_url": "https://github.com/sferik/rails_admin/issues/935",
1155
- "mergeable": true,
1156
- "merged": false,
1157
- "merged_at": null,
1158
- "merged_by": null,
1159
- "number": 935,
1160
- "patch_url": "https://github.com/sferik/rails_admin/pull/935.patch",
1161
- "review_comments": 0,
1162
- "state": "closed",
1163
- "title": "Initial russian translation",
1164
- "updated_at": "2012-01-20T15:44:28Z",
1165
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/935",
1166
- "user": {
1167
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1168
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1169
- "id": 106813,
1170
- "login": "msamoylov",
1171
- "url": "https://api.github.com/users/msamoylov"
1172
- }
1173
- }
1174
- },
1175
- "public": true,
1176
- "repo": {
1177
- "id": 810796,
1178
- "name": "sferik/rails_admin",
1179
- "url": "https://api.github.com/repos/sferik/rails_admin"
1180
- },
1181
- "type": "PullRequestEvent"
1182
- },
1183
- {
1184
- "actor": {
1185
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1186
- "id": 26794,
1187
- "login": "bbenezech",
1188
- "url": "https://api.github.com/users/bbenezech"
1189
- },
1190
- "created_at": "2012-01-20T15:44:29Z",
1191
- "id": "1513095159",
1192
- "org": {
1193
- "url": "https://api.github.com/orgs/"
1194
- },
1195
- "payload": {
1196
- "action": "created",
1197
- "comment": {
1198
- "body": "Hi Michael,\r\n\r\nThank you very much for your time!\r\n\r\nCan you add it to the wiki instead? Translations are not included in codebase anymore, because of maintenance limitations.\r\n\r\nhttps://github.com/sferik/rails_admin/wiki/Translations\r\n\r\nThanks again!",
1199
- "created_at": "2012-01-20T15:44:28Z",
1200
- "id": 3585405,
1201
- "updated_at": "2012-01-20T15:44:28Z",
1202
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3585405",
1203
- "user": {
1204
- "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1205
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1206
- "id": 26794,
1207
- "login": "bbenezech",
1208
- "url": "https://api.github.com/users/bbenezech"
1209
- }
1210
- },
1211
- "issue": {
1212
- "assignee": null,
1213
- "body": "Hi.\r\n\r\nI created initial russian translation for your great app.",
1214
- "closed_at": "2012-01-20T15:44:28Z",
1215
- "comments": 1,
1216
- "created_at": "2012-01-20T14:42:02Z",
1217
- "html_url": "https://github.com/sferik/rails_admin/issues/935",
1218
- "id": 2911903,
1219
- "labels": [],
1220
- "milestone": null,
1221
- "number": 935,
1222
- "pull_request": {
1223
- "diff_url": "https://github.com/sferik/rails_admin/pull/935.diff",
1224
- "html_url": "https://github.com/sferik/rails_admin/pull/935",
1225
- "patch_url": "https://github.com/sferik/rails_admin/pull/935.patch"
1226
- },
1227
- "state": "closed",
1228
- "title": "Initial russian translation",
1229
- "updated_at": "2012-01-20T15:44:28Z",
1230
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/935",
1231
- "user": {
1232
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1233
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1234
- "id": 106813,
1235
- "login": "msamoylov",
1236
- "url": "https://api.github.com/users/msamoylov"
1237
- }
1238
- }
1239
- },
1240
- "public": true,
1241
- "repo": {
1242
- "id": 810796,
1243
- "name": "sferik/rails_admin",
1244
- "url": "https://api.github.com/repos/sferik/rails_admin"
1245
- },
1246
- "type": "IssueCommentEvent"
1247
- },
1248
- {
1249
- "actor": {
1250
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1251
- "id": 26794,
1252
- "login": "bbenezech",
1253
- "url": "https://api.github.com/users/bbenezech"
1254
- },
1255
- "created_at": "2012-01-20T15:41:35Z",
1256
- "id": "1513094437",
1257
- "org": {
1258
- "url": "https://api.github.com/orgs/"
1259
- },
1260
- "payload": {
1261
- "action": "created",
1262
- "comment": {
1263
- "body": "Hi Carsten,\r\n\r\nAbout 1, `model_config.object_label_method` should return at least `:rails_admin_default_object_label_method` (which is mixed in `ActiveRecord::Base` at application start-up) if your model does not respond to any of the `Config.label_methods`.\r\nPlease provide a failing spec, I don't get the issue.\r\n\r\nAbout 2, wording_for should not try to use `object_label_method` of a different model anymore, it should be fixed in HEAD.\r\nCan you try and report back?",
1264
- "created_at": "2012-01-20T15:41:35Z",
1265
- "id": 3585352,
1266
- "updated_at": "2012-01-20T15:41:35Z",
1267
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3585352",
1268
- "user": {
1269
- "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1270
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1271
- "id": 26794,
1272
- "login": "bbenezech",
1273
- "url": "https://api.github.com/users/bbenezech"
1274
- }
1275
- },
1276
- "issue": {
1277
- "assignee": null,
1278
- "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
1279
- "closed_at": null,
1280
- "comments": 1,
1281
- "created_at": "2012-01-20T14:36:57Z",
1282
- "html_url": "https://github.com/sferik/rails_admin/issues/934",
1283
- "id": 2911854,
1284
- "labels": [],
1285
- "milestone": null,
1286
- "number": 934,
1287
- "pull_request": {
1288
- "diff_url": null,
1289
- "html_url": null,
1290
- "patch_url": null
1291
- },
1292
- "state": "open",
1293
- "title": "Error caused by wording_for",
1294
- "updated_at": "2012-01-20T15:41:35Z",
1295
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
1296
- "user": {
1297
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1298
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
1299
- "id": 12294,
1300
- "login": "reinkcar",
1301
- "url": "https://api.github.com/users/reinkcar"
1302
- }
1303
- }
1304
- },
1305
- "public": true,
1306
- "repo": {
1307
- "id": 810796,
1308
- "name": "sferik/rails_admin",
1309
- "url": "https://api.github.com/repos/sferik/rails_admin"
1310
- },
1311
- "type": "IssueCommentEvent"
1312
- },
1313
- {
1314
- "actor": {
1315
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1316
- "id": 26794,
1317
- "login": "bbenezech",
1318
- "url": "https://api.github.com/users/bbenezech"
1319
- },
1320
- "created_at": "2012-01-20T15:33:51Z",
1321
- "id": "1513092255",
1322
- "org": {
1323
- "url": "https://api.github.com/orgs/"
1324
- },
1325
- "payload": {
1326
- "commits": [
1327
- {
1328
- "author": {
1329
- "email": "benoit.benezech@gmail.com",
1330
- "name": "Benoit Be\u0301ne\u0301zech"
1331
- },
1332
- "message": "added specs for actions",
1333
- "sha": "5469bcc7dcc0d4f71cadea3abd7cee20a2b1220a",
1334
- "url": "https://api.github.com/repos/sferik/rails_admin/commits/5469bcc7dcc0d4f71cadea3abd7cee20a2b1220a"
1335
- }
1336
- ],
1337
- "head": "5469bcc7dcc0d4f71cadea3abd7cee20a2b1220a",
1338
- "push_id": 58414877,
1339
- "ref": "refs/heads/master",
1340
- "size": 1
1341
- },
1342
- "public": true,
1343
- "repo": {
1344
- "id": 810796,
1345
- "name": "sferik/rails_admin",
1346
- "url": "https://api.github.com/repos/sferik/rails_admin"
1347
- },
1348
- "type": "PushEvent"
1349
- },
1350
- {
1351
- "actor": {
1352
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1353
- "id": 106813,
1354
- "login": "msamoylov",
1355
- "url": "https://api.github.com/users/msamoylov"
1356
- },
1357
- "created_at": "2012-01-20T14:42:03Z",
1358
- "id": "1513079075",
1359
- "org": {
1360
- "url": "https://api.github.com/orgs/"
1361
- },
1362
- "payload": {
1363
- "action": "opened",
1364
- "number": 935,
1365
- "pull_request": {
1366
- "_links": {
1367
- "comments": {
1368
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/935/comments"
1369
- },
1370
- "html": {
1371
- "href": "https://github.com/sferik/rails_admin/pull/935"
1372
- },
1373
- "review_comments": {
1374
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935/comments"
1375
- },
1376
- "self": {
1377
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935"
1378
- }
1379
- },
1380
- "additions": 129,
1381
- "base": {
1382
- "label": "sferik:master",
1383
- "ref": "master",
1384
- "repo": {
1385
- "clone_url": "https://github.com/sferik/rails_admin.git",
1386
- "created_at": "2010-08-01T17:01:00Z",
1387
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1388
- "fork": false,
1389
- "forks": 535,
1390
- "git_url": "git://github.com/sferik/rails_admin.git",
1391
- "has_downloads": true,
1392
- "has_issues": true,
1393
- "has_wiki": true,
1394
- "homepage": "",
1395
- "html_url": "https://github.com/sferik/rails_admin",
1396
- "id": 810796,
1397
- "language": "Ruby",
1398
- "master_branch": null,
1399
- "mirror_url": null,
1400
- "name": "rails_admin",
1401
- "open_issues": 58,
1402
- "owner": {
1403
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1404
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1405
- "id": 10308,
1406
- "login": "sferik",
1407
- "url": "https://api.github.com/users/sferik"
1408
- },
1409
- "private": false,
1410
- "pushed_at": "2012-01-19T15:39:58Z",
1411
- "size": 432,
1412
- "ssh_url": "git@github.com:sferik/rails_admin.git",
1413
- "svn_url": "https://github.com/sferik/rails_admin",
1414
- "updated_at": "2012-01-20T14:30:30Z",
1415
- "url": "https://api.github.com/repos/sferik/rails_admin",
1416
- "watchers": 2724
1417
- },
1418
- "sha": "34ac333dbdc8b1af2da24323caf04229cfa2ee67",
1419
- "user": {
1420
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1421
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1422
- "id": 10308,
1423
- "login": "sferik",
1424
- "url": "https://api.github.com/users/sferik"
1425
- }
1426
- },
1427
- "body": "Hi.\r\n\r\nI created initial russian translation for your great app.",
1428
- "changed_files": 1,
1429
- "closed_at": null,
1430
- "comments": 0,
1431
- "commits": 1,
1432
- "created_at": "2012-01-20T14:42:02Z",
1433
- "deletions": 0,
1434
- "diff_url": "https://github.com/sferik/rails_admin/pull/935.diff",
1435
- "head": {
1436
- "label": "msamoylov:master",
1437
- "ref": "master",
1438
- "repo": {
1439
- "clone_url": "https://github.com/msamoylov/rails_admin.git",
1440
- "created_at": "2012-01-20T14:18:02Z",
1441
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1442
- "fork": true,
1443
- "forks": 0,
1444
- "git_url": "git://github.com/msamoylov/rails_admin.git",
1445
- "has_downloads": true,
1446
- "has_issues": false,
1447
- "has_wiki": true,
1448
- "homepage": "",
1449
- "html_url": "https://github.com/msamoylov/rails_admin",
1450
- "id": 3226804,
1451
- "language": "Ruby",
1452
- "master_branch": null,
1453
- "mirror_url": null,
1454
- "name": "rails_admin",
1455
- "open_issues": 0,
1456
- "owner": {
1457
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1458
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1459
- "id": 106813,
1460
- "login": "msamoylov",
1461
- "url": "https://api.github.com/users/msamoylov"
1462
- },
1463
- "private": false,
1464
- "pushed_at": "2012-01-20T14:39:06Z",
1465
- "size": 172,
1466
- "ssh_url": "git@github.com:msamoylov/rails_admin.git",
1467
- "svn_url": "https://github.com/msamoylov/rails_admin",
1468
- "updated_at": "2012-01-20T14:39:07Z",
1469
- "url": "https://api.github.com/repos/msamoylov/rails_admin",
1470
- "watchers": 1
1471
- },
1472
- "sha": "955e420f390175c2467621857d242a53baf7e10e",
1473
- "user": {
1474
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1475
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1476
- "id": 106813,
1477
- "login": "msamoylov",
1478
- "url": "https://api.github.com/users/msamoylov"
1479
- }
1480
- },
1481
- "html_url": "https://github.com/sferik/rails_admin/pull/935",
1482
- "id": 715511,
1483
- "issue_url": "https://github.com/sferik/rails_admin/issues/935",
1484
- "mergeable": null,
1485
- "merged": false,
1486
- "merged_at": null,
1487
- "merged_by": null,
1488
- "number": 935,
1489
- "patch_url": "https://github.com/sferik/rails_admin/pull/935.patch",
1490
- "review_comments": 0,
1491
- "state": "open",
1492
- "title": "Initial russian translation",
1493
- "updated_at": "2012-01-20T14:42:02Z",
1494
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/935",
1495
- "user": {
1496
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1497
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1498
- "id": 106813,
1499
- "login": "msamoylov",
1500
- "url": "https://api.github.com/users/msamoylov"
1501
- }
1502
- }
1503
- },
1504
- "public": true,
1505
- "repo": {
1506
- "id": 810796,
1507
- "name": "sferik/rails_admin",
1508
- "url": "https://api.github.com/repos/sferik/rails_admin"
1509
- },
1510
- "type": "PullRequestEvent"
1511
- },
1512
- {
1513
- "actor": {
1514
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
1515
- "id": 12294,
1516
- "login": "reinkcar",
1517
- "url": "https://api.github.com/users/reinkcar"
1518
- },
1519
- "created_at": "2012-01-20T14:37:00Z",
1520
- "id": "1513077908",
1521
- "org": {
1522
- "url": "https://api.github.com/orgs/"
1523
- },
1524
- "payload": {
1525
- "action": "opened",
1526
- "issue": {
1527
- "assignee": null,
1528
- "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
1529
- "closed_at": null,
1530
- "comments": 0,
1531
- "created_at": "2012-01-20T14:36:57Z",
1532
- "html_url": "https://github.com/sferik/rails_admin/issues/934",
1533
- "id": 2911854,
1534
- "labels": [],
1535
- "milestone": null,
1536
- "number": 934,
1537
- "pull_request": {
1538
- "diff_url": null,
1539
- "html_url": null,
1540
- "patch_url": null
1541
- },
1542
- "state": "open",
1543
- "title": "Error caused by wording_for",
1544
- "updated_at": "2012-01-20T14:36:57Z",
1545
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
1546
- "user": {
1547
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1548
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
1549
- "id": 12294,
1550
- "login": "reinkcar",
1551
- "url": "https://api.github.com/users/reinkcar"
1552
- }
1553
- }
1554
- },
1555
- "public": true,
1556
- "repo": {
1557
- "id": 810796,
1558
- "name": "sferik/rails_admin",
1559
- "url": "https://api.github.com/repos/sferik/rails_admin"
1560
- },
1561
- "type": "IssuesEvent"
1562
- },
1563
- {
1564
- "actor": {
1565
- "gravatar_id": "3d889804514d950384b9ab4cd4a73a23",
1566
- "id": 26083,
1567
- "login": "Knack",
1568
- "url": "https://api.github.com/users/Knack"
1569
- },
1570
- "created_at": "2012-01-20T14:34:00Z",
1571
- "id": "1513077210",
1572
- "org": {
1573
- "url": "https://api.github.com/orgs/"
1574
- },
1575
- "payload": {
1576
- "pages": [
1577
- {
1578
- "action": "edited",
1579
- "html_url": "https://github.com/sferik/rails_admin/wiki/Translations",
1580
- "page_name": "Translations",
1581
- "sha": "c047cdaaa86de93d2f43d17c6ab2de274eacca9b",
1582
- "summary": null,
1583
- "title": "Translations"
1584
- }
1585
- ]
1586
- },
1587
- "public": true,
1588
- "repo": {
1589
- "id": 810796,
1590
- "name": "sferik/rails_admin",
1591
- "url": "https://api.github.com/repos/sferik/rails_admin"
1592
- },
1593
- "type": "GollumEvent"
1594
- },
1595
- {
1596
- "actor": {
1597
- "gravatar_id": "cd34bec6e1d5c13962d370a28ea73208",
1598
- "id": 404647,
1599
- "login": "bowmande",
1600
- "url": "https://api.github.com/users/bowmande"
1601
- },
1602
- "created_at": "2012-01-20T14:30:31Z",
1603
- "id": "1513076383",
1604
- "org": {
1605
- "url": "https://api.github.com/orgs/"
1606
- },
1607
- "payload": {
1608
- "forkee": {
1609
- "clone_url": "https://github.com/bowmande/rails_admin.git",
1610
- "created_at": "2012-01-20T14:30:30Z",
1611
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1612
- "fork": true,
1613
- "forks": 0,
1614
- "git_url": "git://github.com/bowmande/rails_admin.git",
1615
- "has_downloads": true,
1616
- "has_issues": false,
1617
- "has_wiki": true,
1618
- "homepage": "",
1619
- "html_url": "https://github.com/bowmande/rails_admin",
1620
- "id": 3226882,
1621
- "language": "Ruby",
1622
- "master_branch": null,
1623
- "mirror_url": null,
1624
- "name": "rails_admin",
1625
- "open_issues": 0,
1626
- "owner": {
1627
- "avatar_url": "https://secure.gravatar.com/avatar/cd34bec6e1d5c13962d370a28ea73208?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1628
- "gravatar_id": "cd34bec6e1d5c13962d370a28ea73208",
1629
- "id": 404647,
1630
- "login": "bowmande",
1631
- "url": "https://api.github.com/users/bowmande"
1632
- },
1633
- "private": false,
1634
- "public": true,
1635
- "pushed_at": "2012-01-19T15:39:58Z",
1636
- "size": 432,
1637
- "ssh_url": "git@github.com:bowmande/rails_admin.git",
1638
- "svn_url": "https://github.com/bowmande/rails_admin",
1639
- "updated_at": "2012-01-20T14:30:30Z",
1640
- "url": "https://api.github.com/repos/bowmande/rails_admin",
1641
- "watchers": 1
1642
- }
1643
- },
1644
- "public": true,
1645
- "repo": {
1646
- "id": 810796,
1647
- "name": "sferik/rails_admin",
1648
- "url": "https://api.github.com/repos/sferik/rails_admin"
1649
- },
1650
- "type": "ForkEvent"
1651
- }
1652
- ]