{"action":"created","comment":{"url":"https://api.github.com/repos/bem-site/gorshochek/pulls/comments/52168630","id":52168630,"diff_hunk":"@@ -202,29 +201,14 @@ export default class Model {\n              * Для остальных полей нужно провести проверку и выставить значения по умолчанию\n              *\n              */\n-            page.url = page.url + (_.endsWith(page.url, '/') ? '' : '/');\n \n-            page.aliases = page.aliases || []; // массив алиасов\n-            page.view = page.view || 'post'; // поле представления страницы\n-            page.published = !!page.published;\n+            page.aliases || (page.aliases = []); // массив алиасов\n+            page.published = typeof page.published === 'undefined' ? true : !!page.published;","path":"src/model.js","position":137,"original_position":137,"commit_id":"2e963de9b1ccae6f21ac2b8b380b7683e00bef31","original_commit_id":"2e963de9b1ccae6f21ac2b8b380b7683e00bef31","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2016-02-08T13:35:29Z","updated_at":"2016-02-08T13:35:29Z","html_url":"https://github.com/bem-site/gorshochek/pull/20#discussion_r52168630","pull_request_url":"https://api.github.com/repos/bem-site/gorshochek/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/bem-site/gorshochek/pulls/comments/52168630"},"html":{"href":"https://github.com/bem-site/gorshochek/pull/20#discussion_r52168630"},"pull_request":{"href":"https://api.github.com/repos/bem-site/gorshochek/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/bem-site/gorshochek/pulls/20","id":58609593,"html_url":"https://github.com/bem-site/gorshochek/pull/20","diff_url":"https://github.com/bem-site/gorshochek/pull/20.diff","patch_url":"https://github.com/bem-site/gorshochek/pull/20.patch","issue_url":"https://api.github.com/repos/bem-site/gorshochek/issues/20","number":20,"state":"open","locked":false,"title":"Review WIP","user":{"login":"tadatuta","id":475746,"avatar_url":"https://avatars.githubusercontent.com/u/475746?v=3","gravatar_id":"","url":"https://api.github.com/users/tadatuta","html_url":"https://github.com/tadatuta","followers_url":"https://api.github.com/users/tadatuta/followers","following_url":"https://api.github.com/users/tadatuta/following{/other_user}","gists_url":"https://api.github.com/users/tadatuta/gists{/gist_id}","starred_url":"https://api.github.com/users/tadatuta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadatuta/subscriptions","organizations_url":"https://api.github.com/users/tadatuta/orgs","repos_url":"https://api.github.com/users/tadatuta/repos","events_url":"https://api.github.com/users/tadatuta/events{/privacy}","received_events_url":"https://api.github.com/users/tadatuta/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-08T13:34:51Z","updated_at":"2016-02-08T13:35:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fad9d1f5866bb0f5f3ab8fe359f4ba16b2eb86ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bem-site/gorshochek/pulls/20/commits","review_comments_url":"https://api.github.com/repos/bem-site/gorshochek/pulls/20/comments","review_comment_url":"https://api.github.com/repos/bem-site/gorshochek/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bem-site/gorshochek/issues/20/comments","statuses_url":"https://api.github.com/repos/bem-site/gorshochek/statuses/2e963de9b1ccae6f21ac2b8b380b7683e00bef31","head":{"label":"bem-site:review2","ref":"review2","sha":"2e963de9b1ccae6f21ac2b8b380b7683e00bef31","user":{"login":"bem-site","id":10230255,"avatar_url":"https://avatars.githubusercontent.com/u/10230255?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-site","html_url":"https://github.com/bem-site","followers_url":"https://api.github.com/users/bem-site/followers","following_url":"https://api.github.com/users/bem-site/following{/other_user}","gists_url":"https://api.github.com/users/bem-site/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-site/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-site/subscriptions","organizations_url":"https://api.github.com/users/bem-site/orgs","repos_url":"https://api.github.com/users/bem-site/repos","events_url":"https://api.github.com/users/bem-site/events{/privacy}","received_events_url":"https://api.github.com/users/bem-site/received_events","type":"Organization","site_admin":false},"repo":{"id":34843810,"name":"gorshochek","full_name":"bem-site/gorshochek","owner":{"login":"bem-site","id":10230255,"avatar_url":"https://avatars.githubusercontent.com/u/10230255?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-site","html_url":"https://github.com/bem-site","followers_url":"https://api.github.com/users/bem-site/followers","following_url":"https://api.github.com/users/bem-site/following{/other_user}","gists_url":"https://api.github.com/users/bem-site/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-site/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-site/subscriptions","organizations_url":"https://api.github.com/users/bem-site/orgs","repos_url":"https://api.github.com/users/bem-site/repos","events_url":"https://api.github.com/users/bem-site/events{/privacy}","received_events_url":"https://api.github.com/users/bem-site/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem-site/gorshochek","description":"Core data builder for bem-site","fork":false,"url":"https://api.github.com/repos/bem-site/gorshochek","forks_url":"https://api.github.com/repos/bem-site/gorshochek/forks","keys_url":"https://api.github.com/repos/bem-site/gorshochek/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem-site/gorshochek/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem-site/gorshochek/teams","hooks_url":"https://api.github.com/repos/bem-site/gorshochek/hooks","issue_events_url":"https://api.github.com/repos/bem-site/gorshochek/issues/events{/number}","events_url":"https://api.github.com/repos/bem-site/gorshochek/events","assignees_url":"https://api.github.com/repos/bem-site/gorshochek/assignees{/user}","branches_url":"https://api.github.com/repos/bem-site/gorshochek/branches{/branch}","tags_url":"https://api.github.com/repos/bem-site/gorshochek/tags","blobs_url":"https://api.github.com/repos/bem-site/gorshochek/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem-site/gorshochek/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem-site/gorshochek/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem-site/gorshochek/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem-site/gorshochek/statuses/{sha}","languages_url":"https://api.github.com/repos/bem-site/gorshochek/languages","stargazers_url":"https://api.github.com/repos/bem-site/gorshochek/stargazers","contributors_url":"https://api.github.com/repos/bem-site/gorshochek/contributors","subscribers_url":"https://api.github.com/repos/bem-site/gorshochek/subscribers","subscription_url":"https://api.github.com/repos/bem-site/gorshochek/subscription","commits_url":"https://api.github.com/repos/bem-site/gorshochek/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem-site/gorshochek/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem-site/gorshochek/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem-site/gorshochek/issues/comments{/number}","contents_url":"https://api.github.com/repos/bem-site/gorshochek/contents/{+path}","compare_url":"https://api.github.com/repos/bem-site/gorshochek/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem-site/gorshochek/merges","archive_url":"https://api.github.com/repos/bem-site/gorshochek/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem-site/gorshochek/downloads","issues_url":"https://api.github.com/repos/bem-site/gorshochek/issues{/number}","pulls_url":"https://api.github.com/repos/bem-site/gorshochek/pulls{/number}","milestones_url":"https://api.github.com/repos/bem-site/gorshochek/milestones{/number}","notifications_url":"https://api.github.com/repos/bem-site/gorshochek/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem-site/gorshochek/labels{/name}","releases_url":"https://api.github.com/repos/bem-site/gorshochek/releases{/id}","deployments_url":"https://api.github.com/repos/bem-site/gorshochek/deployments","created_at":"2015-04-30T08:39:50Z","updated_at":"2016-01-17T21:55:03Z","pushed_at":"2016-02-08T13:34:52Z","git_url":"git://github.com/bem-site/gorshochek.git","ssh_url":"git@github.com:bem-site/gorshochek.git","clone_url":"https://github.com/bem-site/gorshochek.git","svn_url":"https://github.com/bem-site/gorshochek","homepage":null,"size":742,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"bem-site:master","ref":"master","sha":"eb9720b1bc379cf38790aef4f596fc8aa8906a09","user":{"login":"bem-site","id":10230255,"avatar_url":"https://avatars.githubusercontent.com/u/10230255?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-site","html_url":"https://github.com/bem-site","followers_url":"https://api.github.com/users/bem-site/followers","following_url":"https://api.github.com/users/bem-site/following{/other_user}","gists_url":"https://api.github.com/users/bem-site/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-site/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-site/subscriptions","organizations_url":"https://api.github.com/users/bem-site/orgs","repos_url":"https://api.github.com/users/bem-site/repos","events_url":"https://api.github.com/users/bem-site/events{/privacy}","received_events_url":"https://api.github.com/users/bem-site/received_events","type":"Organization","site_admin":false},"repo":{"id":34843810,"name":"gorshochek","full_name":"bem-site/gorshochek","owner":{"login":"bem-site","id":10230255,"avatar_url":"https://avatars.githubusercontent.com/u/10230255?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-site","html_url":"https://github.com/bem-site","followers_url":"https://api.github.com/users/bem-site/followers","following_url":"https://api.github.com/users/bem-site/following{/other_user}","gists_url":"https://api.github.com/users/bem-site/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-site/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-site/subscriptions","organizations_url":"https://api.github.com/users/bem-site/orgs","repos_url":"https://api.github.com/users/bem-site/repos","events_url":"https://api.github.com/users/bem-site/events{/privacy}","received_events_url":"https://api.github.com/users/bem-site/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem-site/gorshochek","description":"Core data builder for bem-site","fork":false,"url":"https://api.github.com/repos/bem-site/gorshochek","forks_url":"https://api.github.com/repos/bem-site/gorshochek/forks","keys_url":"https://api.github.com/repos/bem-site/gorshochek/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem-site/gorshochek/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem-site/gorshochek/teams","hooks_url":"https://api.github.com/repos/bem-site/gorshochek/hooks","issue_events_url":"https://api.github.com/repos/bem-site/gorshochek/issues/events{/number}","events_url":"https://api.github.com/repos/bem-site/gorshochek/events","assignees_url":"https://api.github.com/repos/bem-site/gorshochek/assignees{/user}","branches_url":"https://api.github.com/repos/bem-site/gorshochek/branches{/branch}","tags_url":"https://api.github.com/repos/bem-site/gorshochek/tags","blobs_url":"https://api.github.com/repos/bem-site/gorshochek/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem-site/gorshochek/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem-site/gorshochek/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem-site/gorshochek/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem-site/gorshochek/statuses/{sha}","languages_url":"https://api.github.com/repos/bem-site/gorshochek/languages","stargazers_url":"https://api.github.com/repos/bem-site/gorshochek/stargazers","contributors_url":"https://api.github.com/repos/bem-site/gorshochek/contributors","subscribers_url":"https://api.github.com/repos/bem-site/gorshochek/subscribers","subscription_url":"https://api.github.com/repos/bem-site/gorshochek/subscription","commits_url":"https://api.github.com/repos/bem-site/gorshochek/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem-site/gorshochek/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem-site/gorshochek/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem-site/gorshochek/issues/comments{/number}","contents_url":"https://api.github.com/repos/bem-site/gorshochek/contents/{+path}","compare_url":"https://api.github.com/repos/bem-site/gorshochek/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem-site/gorshochek/merges","archive_url":"https://api.github.com/repos/bem-site/gorshochek/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem-site/gorshochek/downloads","issues_url":"https://api.github.com/repos/bem-site/gorshochek/issues{/number}","pulls_url":"https://api.github.com/repos/bem-site/gorshochek/pulls{/number}","milestones_url":"https://api.github.com/repos/bem-site/gorshochek/milestones{/number}","notifications_url":"https://api.github.com/repos/bem-site/gorshochek/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem-site/gorshochek/labels{/name}","releases_url":"https://api.github.com/repos/bem-site/gorshochek/releases{/id}","deployments_url":"https://api.github.com/repos/bem-site/gorshochek/deployments","created_at":"2015-04-30T08:39:50Z","updated_at":"2016-01-17T21:55:03Z","pushed_at":"2016-02-08T13:34:52Z","git_url":"git://github.com/bem-site/gorshochek.git","ssh_url":"git@github.com:bem-site/gorshochek.git","clone_url":"https://github.com/bem-site/gorshochek.git","svn_url":"https://github.com/bem-site/gorshochek","homepage":null,"size":742,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bem-site/gorshochek/pulls/20"},"html":{"href":"https://github.com/bem-site/gorshochek/pull/20"},"issue":{"href":"https://api.github.com/repos/bem-site/gorshochek/issues/20"},"comments":{"href":"https://api.github.com/repos/bem-site/gorshochek/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/bem-site/gorshochek/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/bem-site/gorshochek/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bem-site/gorshochek/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/bem-site/gorshochek/statuses/2e963de9b1ccae6f21ac2b8b380b7683e00bef31"}}}}