{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls/17","id":221130120,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMTMwMTIw","html_url":"https://github.com/RedMadRobot/RMR-swift-style-guide/pull/17","diff_url":"https://github.com/RedMadRobot/RMR-swift-style-guide/pull/17.diff","patch_url":"https://github.com/RedMadRobot/RMR-swift-style-guide/pull/17.patch","issue_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues/17","number":17,"state":"closed","locked":false,"title":"One condition in guard lets write whole expression in one line","user":{"login":"SergeyCHiP","id":2941633,"node_id":"MDQ6VXNlcjI5NDE2MzM=","avatar_url":"https://avatars2.githubusercontent.com/u/2941633?v=4","gravatar_id":"","url":"https://api.github.com/users/SergeyCHiP","html_url":"https://github.com/SergeyCHiP","followers_url":"https://api.github.com/users/SergeyCHiP/followers","following_url":"https://api.github.com/users/SergeyCHiP/following{/other_user}","gists_url":"https://api.github.com/users/SergeyCHiP/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeyCHiP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeyCHiP/subscriptions","organizations_url":"https://api.github.com/users/SergeyCHiP/orgs","repos_url":"https://api.github.com/users/SergeyCHiP/repos","events_url":"https://api.github.com/users/SergeyCHiP/events{/privacy}","received_events_url":"https://api.github.com/users/SergeyCHiP/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-08T14:05:52Z","updated_at":"2018-10-19T08:04:46Z","closed_at":"2018-10-19T08:04:46Z","merged_at":"2018-10-19T08:04:46Z","merge_commit_sha":"d399b13e691a7200eb9ace648cdaf694267ca81e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls/17/commits","review_comments_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls/17/comments","review_comment_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues/17/comments","statuses_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/statuses/4fe754a79d112a6850d107cfd52e69811dace04a","head":{"label":"RedMadRobot:bugfix/one-condition","ref":"bugfix/one-condition","sha":"4fe754a79d112a6850d107cfd52e69811dace04a","user":{"login":"RedMadRobot","id":463298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MzI5OA==","avatar_url":"https://avatars0.githubusercontent.com/u/463298?v=4","gravatar_id":"","url":"https://api.github.com/users/RedMadRobot","html_url":"https://github.com/RedMadRobot","followers_url":"https://api.github.com/users/RedMadRobot/followers","following_url":"https://api.github.com/users/RedMadRobot/following{/other_user}","gists_url":"https://api.github.com/users/RedMadRobot/gists{/gist_id}","starred_url":"https://api.github.com/users/RedMadRobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedMadRobot/subscriptions","organizations_url":"https://api.github.com/users/RedMadRobot/orgs","repos_url":"https://api.github.com/users/RedMadRobot/repos","events_url":"https://api.github.com/users/RedMadRobot/events{/privacy}","received_events_url":"https://api.github.com/users/RedMadRobot/received_events","type":"Organization","site_admin":false},"repo":{"id":64825629,"node_id":"MDEwOlJlcG9zaXRvcnk2NDgyNTYyOQ==","name":"RMR-swift-style-guide","full_name":"RedMadRobot/RMR-swift-style-guide","private":false,"owner":{"login":"RedMadRobot","id":463298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MzI5OA==","avatar_url":"https://avatars0.githubusercontent.com/u/463298?v=4","gravatar_id":"","url":"https://api.github.com/users/RedMadRobot","html_url":"https://github.com/RedMadRobot","followers_url":"https://api.github.com/users/RedMadRobot/followers","following_url":"https://api.github.com/users/RedMadRobot/following{/other_user}","gists_url":"https://api.github.com/users/RedMadRobot/gists{/gist_id}","starred_url":"https://api.github.com/users/RedMadRobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedMadRobot/subscriptions","organizations_url":"https://api.github.com/users/RedMadRobot/orgs","repos_url":"https://api.github.com/users/RedMadRobot/repos","events_url":"https://api.github.com/users/RedMadRobot/events{/privacy}","received_events_url":"https://api.github.com/users/RedMadRobot/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/RedMadRobot/RMR-swift-style-guide","description":"Code style guide for RedMadRobot. Originally is official Swift style guide for raywenderlich.com.","fork":true,"url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide","forks_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/forks","keys_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/teams","hooks_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/hooks","issue_events_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/events","assignees_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/tags","blobs_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/languages","stargazers_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/stargazers","contributors_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/contributors","subscribers_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/subscribers","subscription_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/subscription","commits_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/merges","archive_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/downloads","issues_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/deployments","created_at":"2016-08-03T07:35:16Z","updated_at":"2018-10-08T13:02:27Z","pushed_at":"2018-10-19T08:04:46Z","git_url":"git://github.com/RedMadRobot/RMR-swift-style-guide.git","ssh_url":"git@github.com:RedMadRobot/RMR-swift-style-guide.git","clone_url":"https://github.com/RedMadRobot/RMR-swift-style-guide.git","svn_url":"https://github.com/RedMadRobot/RMR-swift-style-guide","homepage":"","size":746,"stargazers_count":4,"watchers_count":4,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":3,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"RedMadRobot:master","ref":"master","sha":"6d9508ed9a6c94fcaea62f429e3db0f1dd3c0bb9","user":{"login":"RedMadRobot","id":463298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MzI5OA==","avatar_url":"https://avatars0.githubusercontent.com/u/463298?v=4","gravatar_id":"","url":"https://api.github.com/users/RedMadRobot","html_url":"https://github.com/RedMadRobot","followers_url":"https://api.github.com/users/RedMadRobot/followers","following_url":"https://api.github.com/users/RedMadRobot/following{/other_user}","gists_url":"https://api.github.com/users/RedMadRobot/gists{/gist_id}","starred_url":"https://api.github.com/users/RedMadRobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedMadRobot/subscriptions","organizations_url":"https://api.github.com/users/RedMadRobot/orgs","repos_url":"https://api.github.com/users/RedMadRobot/repos","events_url":"https://api.github.com/users/RedMadRobot/events{/privacy}","received_events_url":"https://api.github.com/users/RedMadRobot/received_events","type":"Organization","site_admin":false},"repo":{"id":64825629,"node_id":"MDEwOlJlcG9zaXRvcnk2NDgyNTYyOQ==","name":"RMR-swift-style-guide","full_name":"RedMadRobot/RMR-swift-style-guide","private":false,"owner":{"login":"RedMadRobot","id":463298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MzI5OA==","avatar_url":"https://avatars0.githubusercontent.com/u/463298?v=4","gravatar_id":"","url":"https://api.github.com/users/RedMadRobot","html_url":"https://github.com/RedMadRobot","followers_url":"https://api.github.com/users/RedMadRobot/followers","following_url":"https://api.github.com/users/RedMadRobot/following{/other_user}","gists_url":"https://api.github.com/users/RedMadRobot/gists{/gist_id}","starred_url":"https://api.github.com/users/RedMadRobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedMadRobot/subscriptions","organizations_url":"https://api.github.com/users/RedMadRobot/orgs","repos_url":"https://api.github.com/users/RedMadRobot/repos","events_url":"https://api.github.com/users/RedMadRobot/events{/privacy}","received_events_url":"https://api.github.com/users/RedMadRobot/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/RedMadRobot/RMR-swift-style-guide","description":"Code style guide for RedMadRobot. Originally is official Swift style guide for raywenderlich.com.","fork":true,"url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide","forks_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/forks","keys_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/teams","hooks_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/hooks","issue_events_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/events","assignees_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/tags","blobs_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/languages","stargazers_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/stargazers","contributors_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/contributors","subscribers_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/subscribers","subscription_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/subscription","commits_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/merges","archive_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/downloads","issues_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/deployments","created_at":"2016-08-03T07:35:16Z","updated_at":"2018-10-08T13:02:27Z","pushed_at":"2018-10-19T08:04:46Z","git_url":"git://github.com/RedMadRobot/RMR-swift-style-guide.git","ssh_url":"git@github.com:RedMadRobot/RMR-swift-style-guide.git","clone_url":"https://github.com/RedMadRobot/RMR-swift-style-guide.git","svn_url":"https://github.com/RedMadRobot/RMR-swift-style-guide","homepage":"","size":746,"stargazers_count":4,"watchers_count":4,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":3,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls/17"},"html":{"href":"https://github.com/RedMadRobot/RMR-swift-style-guide/pull/17"},"issue":{"href":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues/17"},"comments":{"href":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/RedMadRobot/RMR-swift-style-guide/statuses/4fe754a79d112a6850d107cfd52e69811dace04a"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"vani2","id":4734983,"node_id":"MDQ6VXNlcjQ3MzQ5ODM=","avatar_url":"https://avatars1.githubusercontent.com/u/4734983?v=4","gravatar_id":"","url":"https://api.github.com/users/vani2","html_url":"https://github.com/vani2","followers_url":"https://api.github.com/users/vani2/followers","following_url":"https://api.github.com/users/vani2/following{/other_user}","gists_url":"https://api.github.com/users/vani2/gists{/gist_id}","starred_url":"https://api.github.com/users/vani2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vani2/subscriptions","organizations_url":"https://api.github.com/users/vani2/orgs","repos_url":"https://api.github.com/users/vani2/repos","events_url":"https://api.github.com/users/vani2/events{/privacy}","received_events_url":"https://api.github.com/users/vani2/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"vani2"}}