{"action":"opened","number":26,"pull_request":{"url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/pulls/26","id":171168169,"html_url":"https://github.com/BenEmdon/CenteredCollectionView/pull/26","diff_url":"https://github.com/BenEmdon/CenteredCollectionView/pull/26.diff","patch_url":"https://github.com/BenEmdon/CenteredCollectionView/pull/26.patch","issue_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/issues/26","number":26,"state":"open","locked":false,"title":"[Gardening] For Scope.","user":{"login":"h-yuya","id":15883589,"avatar_url":"https://avatars1.githubusercontent.com/u/15883589?v=4","gravatar_id":"","url":"https://api.github.com/users/h-yuya","html_url":"https://github.com/h-yuya","followers_url":"https://api.github.com/users/h-yuya/followers","following_url":"https://api.github.com/users/h-yuya/following{/other_user}","gists_url":"https://api.github.com/users/h-yuya/gists{/gist_id}","starred_url":"https://api.github.com/users/h-yuya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-yuya/subscriptions","organizations_url":"https://api.github.com/users/h-yuya/orgs","repos_url":"https://api.github.com/users/h-yuya/repos","events_url":"https://api.github.com/users/h-yuya/events{/privacy}","received_events_url":"https://api.github.com/users/h-yuya/received_events","type":"User","site_admin":false},"body":"Applied some refactors about scope.\r\n\r\nSome variables' scope were enough to be inner scope.\r\nDefining private function using private extension make your code more readable, I think.\r\n\r\nThank you,","created_at":"2018-02-24T08:17:34Z","updated_at":"2018-02-24T08:17:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/pulls/26/commits","review_comments_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/pulls/26/comments","review_comment_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/issues/26/comments","statuses_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/statuses/001ffa2bb9a188794a4af721ba714a48dbbc6310","head":{"label":"h-yuya:master","ref":"master","sha":"001ffa2bb9a188794a4af721ba714a48dbbc6310","user":{"login":"h-yuya","id":15883589,"avatar_url":"https://avatars1.githubusercontent.com/u/15883589?v=4","gravatar_id":"","url":"https://api.github.com/users/h-yuya","html_url":"https://github.com/h-yuya","followers_url":"https://api.github.com/users/h-yuya/followers","following_url":"https://api.github.com/users/h-yuya/following{/other_user}","gists_url":"https://api.github.com/users/h-yuya/gists{/gist_id}","starred_url":"https://api.github.com/users/h-yuya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-yuya/subscriptions","organizations_url":"https://api.github.com/users/h-yuya/orgs","repos_url":"https://api.github.com/users/h-yuya/repos","events_url":"https://api.github.com/users/h-yuya/events{/privacy}","received_events_url":"https://api.github.com/users/h-yuya/received_events","type":"User","site_admin":false},"repo":{"id":122716018,"name":"CenteredCollectionView","full_name":"h-yuya/CenteredCollectionView","owner":{"login":"h-yuya","id":15883589,"avatar_url":"https://avatars1.githubusercontent.com/u/15883589?v=4","gravatar_id":"","url":"https://api.github.com/users/h-yuya","html_url":"https://github.com/h-yuya","followers_url":"https://api.github.com/users/h-yuya/followers","following_url":"https://api.github.com/users/h-yuya/following{/other_user}","gists_url":"https://api.github.com/users/h-yuya/gists{/gist_id}","starred_url":"https://api.github.com/users/h-yuya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-yuya/subscriptions","organizations_url":"https://api.github.com/users/h-yuya/orgs","repos_url":"https://api.github.com/users/h-yuya/repos","events_url":"https://api.github.com/users/h-yuya/events{/privacy}","received_events_url":"https://api.github.com/users/h-yuya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/h-yuya/CenteredCollectionView","description":"A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift","fork":true,"url":"https://api.github.com/repos/h-yuya/CenteredCollectionView","forks_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/forks","keys_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/teams","hooks_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/hooks","issue_events_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/issues/events{/number}","events_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/events","assignees_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/assignees{/user}","branches_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/branches{/branch}","tags_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/tags","blobs_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/git/refs{/sha}","trees_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/statuses/{sha}","languages_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/languages","stargazers_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/stargazers","contributors_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/contributors","subscribers_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/subscribers","subscription_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/subscription","commits_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/commits{/sha}","git_commits_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/git/commits{/sha}","comments_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/comments{/number}","issue_comment_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/issues/comments{/number}","contents_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/contents/{+path}","compare_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/merges","archive_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/downloads","issues_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/issues{/number}","pulls_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/pulls{/number}","milestones_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/milestones{/number}","notifications_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/labels{/name}","releases_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/releases{/id}","deployments_url":"https://api.github.com/repos/h-yuya/CenteredCollectionView/deployments","created_at":"2018-02-24T07:36:26Z","updated_at":"2018-02-24T07:36:27Z","pushed_at":"2018-02-24T08:09:25Z","git_url":"git://github.com/h-yuya/CenteredCollectionView.git","ssh_url":"git@github.com:h-yuya/CenteredCollectionView.git","clone_url":"https://github.com/h-yuya/CenteredCollectionView.git","svn_url":"https://github.com/h-yuya/CenteredCollectionView","homepage":"","size":3858,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BenEmdon:master","ref":"master","sha":"344012dd8c8ae7df96aef61d8e31d7e233d1e15a","user":{"login":"BenEmdon","id":11095731,"avatar_url":"https://avatars0.githubusercontent.com/u/11095731?v=4","gravatar_id":"","url":"https://api.github.com/users/BenEmdon","html_url":"https://github.com/BenEmdon","followers_url":"https://api.github.com/users/BenEmdon/followers","following_url":"https://api.github.com/users/BenEmdon/following{/other_user}","gists_url":"https://api.github.com/users/BenEmdon/gists{/gist_id}","starred_url":"https://api.github.com/users/BenEmdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenEmdon/subscriptions","organizations_url":"https://api.github.com/users/BenEmdon/orgs","repos_url":"https://api.github.com/users/BenEmdon/repos","events_url":"https://api.github.com/users/BenEmdon/events{/privacy}","received_events_url":"https://api.github.com/users/BenEmdon/received_events","type":"User","site_admin":false},"repo":{"id":67263142,"name":"CenteredCollectionView","full_name":"BenEmdon/CenteredCollectionView","owner":{"login":"BenEmdon","id":11095731,"avatar_url":"https://avatars0.githubusercontent.com/u/11095731?v=4","gravatar_id":"","url":"https://api.github.com/users/BenEmdon","html_url":"https://github.com/BenEmdon","followers_url":"https://api.github.com/users/BenEmdon/followers","following_url":"https://api.github.com/users/BenEmdon/following{/other_user}","gists_url":"https://api.github.com/users/BenEmdon/gists{/gist_id}","starred_url":"https://api.github.com/users/BenEmdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenEmdon/subscriptions","organizations_url":"https://api.github.com/users/BenEmdon/orgs","repos_url":"https://api.github.com/users/BenEmdon/repos","events_url":"https://api.github.com/users/BenEmdon/events{/privacy}","received_events_url":"https://api.github.com/users/BenEmdon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BenEmdon/CenteredCollectionView","description":"A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift","fork":false,"url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView","forks_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/forks","keys_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/teams","hooks_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/hooks","issue_events_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/issues/events{/number}","events_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/events","assignees_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/assignees{/user}","branches_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/branches{/branch}","tags_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/tags","blobs_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/git/refs{/sha}","trees_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/statuses/{sha}","languages_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/languages","stargazers_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/stargazers","contributors_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/contributors","subscribers_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/subscribers","subscription_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/subscription","commits_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/commits{/sha}","git_commits_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/git/commits{/sha}","comments_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/comments{/number}","issue_comment_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/issues/comments{/number}","contents_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/contents/{+path}","compare_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/merges","archive_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/downloads","issues_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/issues{/number}","pulls_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/pulls{/number}","milestones_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/milestones{/number}","notifications_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/labels{/name}","releases_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/releases{/id}","deployments_url":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/deployments","created_at":"2016-09-03T00:42:11Z","updated_at":"2018-02-24T03:26:32Z","pushed_at":"2018-02-20T22:39:09Z","git_url":"git://github.com/BenEmdon/CenteredCollectionView.git","ssh_url":"git@github.com:BenEmdon/CenteredCollectionView.git","clone_url":"https://github.com/BenEmdon/CenteredCollectionView.git","svn_url":"https://github.com/BenEmdon/CenteredCollectionView","homepage":"","size":3858,"stargazers_count":321,"watchers_count":321,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":26,"open_issues":3,"watchers":321,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/pulls/26"},"html":{"href":"https://github.com/BenEmdon/CenteredCollectionView/pull/26"},"issue":{"href":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/issues/26"},"comments":{"href":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/BenEmdon/CenteredCollectionView/statuses/001ffa2bb9a188794a4af721ba714a48dbbc6310"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":69,"deletions":72,"changed_files":1}}
{"actor":{"display_login":"h-yuya"}}