{"action":"opened","number":488,"pull_request":{"url":"https://api.github.com/repos/mislav/will_paginate/pulls/488","id":73935362,"html_url":"https://github.com/mislav/will_paginate/pull/488","diff_url":"https://github.com/mislav/will_paginate/pull/488.diff","patch_url":"https://github.com/mislav/will_paginate/pull/488.patch","issue_url":"https://api.github.com/repos/mislav/will_paginate/issues/488","number":488,"state":"open","locked":false,"title":"fix total_pages when per_page is 0 and collection is not empty","user":{"login":"adbatista","id":485381,"avatar_url":"https://avatars.githubusercontent.com/u/485381?v=3","gravatar_id":"","url":"https://api.github.com/users/adbatista","html_url":"https://github.com/adbatista","followers_url":"https://api.github.com/users/adbatista/followers","following_url":"https://api.github.com/users/adbatista/following{/other_user}","gists_url":"https://api.github.com/users/adbatista/gists{/gist_id}","starred_url":"https://api.github.com/users/adbatista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adbatista/subscriptions","organizations_url":"https://api.github.com/users/adbatista/orgs","repos_url":"https://api.github.com/users/adbatista/repos","events_url":"https://api.github.com/users/adbatista/events{/privacy}","received_events_url":"https://api.github.com/users/adbatista/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-15T15:42:17Z","updated_at":"2016-06-15T15:42:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mislav/will_paginate/pulls/488/commits","review_comments_url":"https://api.github.com/repos/mislav/will_paginate/pulls/488/comments","review_comment_url":"https://api.github.com/repos/mislav/will_paginate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mislav/will_paginate/issues/488/comments","statuses_url":"https://api.github.com/repos/mislav/will_paginate/statuses/920bca176f841539fc68600546a2ab946b64f4a5","head":{"label":"adbatista:master","ref":"master","sha":"920bca176f841539fc68600546a2ab946b64f4a5","user":{"login":"adbatista","id":485381,"avatar_url":"https://avatars.githubusercontent.com/u/485381?v=3","gravatar_id":"","url":"https://api.github.com/users/adbatista","html_url":"https://github.com/adbatista","followers_url":"https://api.github.com/users/adbatista/followers","following_url":"https://api.github.com/users/adbatista/following{/other_user}","gists_url":"https://api.github.com/users/adbatista/gists{/gist_id}","starred_url":"https://api.github.com/users/adbatista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adbatista/subscriptions","organizations_url":"https://api.github.com/users/adbatista/orgs","repos_url":"https://api.github.com/users/adbatista/repos","events_url":"https://api.github.com/users/adbatista/events{/privacy}","received_events_url":"https://api.github.com/users/adbatista/received_events","type":"User","site_admin":false},"repo":{"id":61151996,"name":"will_paginate","full_name":"adbatista/will_paginate","owner":{"login":"adbatista","id":485381,"avatar_url":"https://avatars.githubusercontent.com/u/485381?v=3","gravatar_id":"","url":"https://api.github.com/users/adbatista","html_url":"https://github.com/adbatista","followers_url":"https://api.github.com/users/adbatista/followers","following_url":"https://api.github.com/users/adbatista/following{/other_user}","gists_url":"https://api.github.com/users/adbatista/gists{/gist_id}","starred_url":"https://api.github.com/users/adbatista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adbatista/subscriptions","organizations_url":"https://api.github.com/users/adbatista/orgs","repos_url":"https://api.github.com/users/adbatista/repos","events_url":"https://api.github.com/users/adbatista/events{/privacy}","received_events_url":"https://api.github.com/users/adbatista/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adbatista/will_paginate","description":"Pagination library for Rails, Sinatra, Merb, DataMapper, and more","fork":true,"url":"https://api.github.com/repos/adbatista/will_paginate","forks_url":"https://api.github.com/repos/adbatista/will_paginate/forks","keys_url":"https://api.github.com/repos/adbatista/will_paginate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adbatista/will_paginate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adbatista/will_paginate/teams","hooks_url":"https://api.github.com/repos/adbatista/will_paginate/hooks","issue_events_url":"https://api.github.com/repos/adbatista/will_paginate/issues/events{/number}","events_url":"https://api.github.com/repos/adbatista/will_paginate/events","assignees_url":"https://api.github.com/repos/adbatista/will_paginate/assignees{/user}","branches_url":"https://api.github.com/repos/adbatista/will_paginate/branches{/branch}","tags_url":"https://api.github.com/repos/adbatista/will_paginate/tags","blobs_url":"https://api.github.com/repos/adbatista/will_paginate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adbatista/will_paginate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adbatista/will_paginate/git/refs{/sha}","trees_url":"https://api.github.com/repos/adbatista/will_paginate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adbatista/will_paginate/statuses/{sha}","languages_url":"https://api.github.com/repos/adbatista/will_paginate/languages","stargazers_url":"https://api.github.com/repos/adbatista/will_paginate/stargazers","contributors_url":"https://api.github.com/repos/adbatista/will_paginate/contributors","subscribers_url":"https://api.github.com/repos/adbatista/will_paginate/subscribers","subscription_url":"https://api.github.com/repos/adbatista/will_paginate/subscription","commits_url":"https://api.github.com/repos/adbatista/will_paginate/commits{/sha}","git_commits_url":"https://api.github.com/repos/adbatista/will_paginate/git/commits{/sha}","comments_url":"https://api.github.com/repos/adbatista/will_paginate/comments{/number}","issue_comment_url":"https://api.github.com/repos/adbatista/will_paginate/issues/comments{/number}","contents_url":"https://api.github.com/repos/adbatista/will_paginate/contents/{+path}","compare_url":"https://api.github.com/repos/adbatista/will_paginate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adbatista/will_paginate/merges","archive_url":"https://api.github.com/repos/adbatista/will_paginate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adbatista/will_paginate/downloads","issues_url":"https://api.github.com/repos/adbatista/will_paginate/issues{/number}","pulls_url":"https://api.github.com/repos/adbatista/will_paginate/pulls{/number}","milestones_url":"https://api.github.com/repos/adbatista/will_paginate/milestones{/number}","notifications_url":"https://api.github.com/repos/adbatista/will_paginate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adbatista/will_paginate/labels{/name}","releases_url":"https://api.github.com/repos/adbatista/will_paginate/releases{/id}","deployments_url":"https://api.github.com/repos/adbatista/will_paginate/deployments","created_at":"2016-06-14T20:01:18Z","updated_at":"2016-06-14T20:01:20Z","pushed_at":"2016-06-15T15:41:18Z","git_url":"git://github.com/adbatista/will_paginate.git","ssh_url":"git@github.com:adbatista/will_paginate.git","clone_url":"https://github.com/adbatista/will_paginate.git","svn_url":"https://github.com/adbatista/will_paginate","homepage":"http://github.com/mislav/will_paginate/wikis","size":1041,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mislav:master","ref":"master","sha":"5d92ee219d4a941a18c0de8a24a11973548495ac","user":{"login":"mislav","id":887,"avatar_url":"https://avatars.githubusercontent.com/u/887?v=3","gravatar_id":"","url":"https://api.github.com/users/mislav","html_url":"https://github.com/mislav","followers_url":"https://api.github.com/users/mislav/followers","following_url":"https://api.github.com/users/mislav/following{/other_user}","gists_url":"https://api.github.com/users/mislav/gists{/gist_id}","starred_url":"https://api.github.com/users/mislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislav/subscriptions","organizations_url":"https://api.github.com/users/mislav/orgs","repos_url":"https://api.github.com/users/mislav/repos","events_url":"https://api.github.com/users/mislav/events{/privacy}","received_events_url":"https://api.github.com/users/mislav/received_events","type":"User","site_admin":true},"repo":{"id":1227,"name":"will_paginate","full_name":"mislav/will_paginate","owner":{"login":"mislav","id":887,"avatar_url":"https://avatars.githubusercontent.com/u/887?v=3","gravatar_id":"","url":"https://api.github.com/users/mislav","html_url":"https://github.com/mislav","followers_url":"https://api.github.com/users/mislav/followers","following_url":"https://api.github.com/users/mislav/following{/other_user}","gists_url":"https://api.github.com/users/mislav/gists{/gist_id}","starred_url":"https://api.github.com/users/mislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislav/subscriptions","organizations_url":"https://api.github.com/users/mislav/orgs","repos_url":"https://api.github.com/users/mislav/repos","events_url":"https://api.github.com/users/mislav/events{/privacy}","received_events_url":"https://api.github.com/users/mislav/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/mislav/will_paginate","description":"Pagination library for Rails, Sinatra, Merb, DataMapper, and more","fork":false,"url":"https://api.github.com/repos/mislav/will_paginate","forks_url":"https://api.github.com/repos/mislav/will_paginate/forks","keys_url":"https://api.github.com/repos/mislav/will_paginate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mislav/will_paginate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mislav/will_paginate/teams","hooks_url":"https://api.github.com/repos/mislav/will_paginate/hooks","issue_events_url":"https://api.github.com/repos/mislav/will_paginate/issues/events{/number}","events_url":"https://api.github.com/repos/mislav/will_paginate/events","assignees_url":"https://api.github.com/repos/mislav/will_paginate/assignees{/user}","branches_url":"https://api.github.com/repos/mislav/will_paginate/branches{/branch}","tags_url":"https://api.github.com/repos/mislav/will_paginate/tags","blobs_url":"https://api.github.com/repos/mislav/will_paginate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mislav/will_paginate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mislav/will_paginate/git/refs{/sha}","trees_url":"https://api.github.com/repos/mislav/will_paginate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mislav/will_paginate/statuses/{sha}","languages_url":"https://api.github.com/repos/mislav/will_paginate/languages","stargazers_url":"https://api.github.com/repos/mislav/will_paginate/stargazers","contributors_url":"https://api.github.com/repos/mislav/will_paginate/contributors","subscribers_url":"https://api.github.com/repos/mislav/will_paginate/subscribers","subscription_url":"https://api.github.com/repos/mislav/will_paginate/subscription","commits_url":"https://api.github.com/repos/mislav/will_paginate/commits{/sha}","git_commits_url":"https://api.github.com/repos/mislav/will_paginate/git/commits{/sha}","comments_url":"https://api.github.com/repos/mislav/will_paginate/comments{/number}","issue_comment_url":"https://api.github.com/repos/mislav/will_paginate/issues/comments{/number}","contents_url":"https://api.github.com/repos/mislav/will_paginate/contents/{+path}","compare_url":"https://api.github.com/repos/mislav/will_paginate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mislav/will_paginate/merges","archive_url":"https://api.github.com/repos/mislav/will_paginate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mislav/will_paginate/downloads","issues_url":"https://api.github.com/repos/mislav/will_paginate/issues{/number}","pulls_url":"https://api.github.com/repos/mislav/will_paginate/pulls{/number}","milestones_url":"https://api.github.com/repos/mislav/will_paginate/milestones{/number}","notifications_url":"https://api.github.com/repos/mislav/will_paginate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mislav/will_paginate/labels{/name}","releases_url":"https://api.github.com/repos/mislav/will_paginate/releases{/id}","deployments_url":"https://api.github.com/repos/mislav/will_paginate/deployments","created_at":"2008-02-25T20:21:40Z","updated_at":"2016-06-15T11:15:20Z","pushed_at":"2016-06-14T22:57:59Z","git_url":"git://github.com/mislav/will_paginate.git","ssh_url":"git@github.com:mislav/will_paginate.git","clone_url":"https://github.com/mislav/will_paginate.git","svn_url":"https://github.com/mislav/will_paginate","homepage":"http://github.com/mislav/will_paginate/wikis","size":1613,"stargazers_count":4746,"watchers_count":4746,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":770,"mirror_url":null,"open_issues_count":123,"forks":770,"open_issues":123,"watchers":4746,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mislav/will_paginate/pulls/488"},"html":{"href":"https://github.com/mislav/will_paginate/pull/488"},"issue":{"href":"https://api.github.com/repos/mislav/will_paginate/issues/488"},"comments":{"href":"https://api.github.com/repos/mislav/will_paginate/issues/488/comments"},"review_comments":{"href":"https://api.github.com/repos/mislav/will_paginate/pulls/488/comments"},"review_comment":{"href":"https://api.github.com/repos/mislav/will_paginate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mislav/will_paginate/pulls/488/commits"},"statuses":{"href":"https://api.github.com/repos/mislav/will_paginate/statuses/920bca176f841539fc68600546a2ab946b64f4a5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":11,"changed_files":2}}
{"actor":{"display_login":"adbatista"}}