{"action":"created","comment":{"url":"https://api.github.com/repos/anti-k-camino/tutu/pulls/comments/63950949","id":63950949,"diff_hunk":"@@ -0,0 +1,6 @@\n+  <% arr = @train.wagons.where(types:str) %>\n+  <%= coupe = arr.size %>\n+  <strong> || верхних полок : </strong>\n+  <%= arr.inject(0) {|acc, iter| acc += iter.upper }%>\n+   <strong> нижних полок : </strong>\n+  <%= arr.inject(0) {|acc, iter| acc += iter.lower }%><br>","path":"app/views/trains/_sits_count.html.erb","position":6,"original_position":6,"commit_id":"56a3e14e2bd032ba193ea11a80ecd8545a76bc22","original_commit_id":"56a3e14e2bd032ba193ea11a80ecd8545a76bc22","user":{"login":"anti-k-camino","id":18531087,"avatar_url":"https://avatars.githubusercontent.com/u/18531087?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-k-camino","html_url":"https://github.com/anti-k-camino","followers_url":"https://api.github.com/users/anti-k-camino/followers","following_url":"https://api.github.com/users/anti-k-camino/following{/other_user}","gists_url":"https://api.github.com/users/anti-k-camino/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-k-camino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-k-camino/subscriptions","organizations_url":"https://api.github.com/users/anti-k-camino/orgs","repos_url":"https://api.github.com/users/anti-k-camino/repos","events_url":"https://api.github.com/users/anti-k-camino/events{/privacy}","received_events_url":"https://api.github.com/users/anti-k-camino/received_events","type":"User","site_admin":false},"body":"Так я вроде исправил, может просто не закомитил.","created_at":"2016-05-19T20:42:09Z","updated_at":"2016-05-19T20:42:09Z","html_url":"https://github.com/anti-k-camino/tutu/pull/1#discussion_r63950949","pull_request_url":"https://api.github.com/repos/anti-k-camino/tutu/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/anti-k-camino/tutu/pulls/comments/63950949"},"html":{"href":"https://github.com/anti-k-camino/tutu/pull/1#discussion_r63950949"},"pull_request":{"href":"https://api.github.com/repos/anti-k-camino/tutu/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/anti-k-camino/tutu/pulls/1","id":70586652,"html_url":"https://github.com/anti-k-camino/tutu/pull/1","diff_url":"https://github.com/anti-k-camino/tutu/pull/1.diff","patch_url":"https://github.com/anti-k-camino/tutu/pull/1.patch","issue_url":"https://api.github.com/repos/anti-k-camino/tutu/issues/1","number":1,"state":"open","locked":false,"title":"New branch","user":{"login":"anti-k-camino","id":18531087,"avatar_url":"https://avatars.githubusercontent.com/u/18531087?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-k-camino","html_url":"https://github.com/anti-k-camino","followers_url":"https://api.github.com/users/anti-k-camino/followers","following_url":"https://api.github.com/users/anti-k-camino/following{/other_user}","gists_url":"https://api.github.com/users/anti-k-camino/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-k-camino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-k-camino/subscriptions","organizations_url":"https://api.github.com/users/anti-k-camino/orgs","repos_url":"https://api.github.com/users/anti-k-camino/repos","events_url":"https://api.github.com/users/anti-k-camino/events{/privacy}","received_events_url":"https://api.github.com/users/anti-k-camino/received_events","type":"User","site_admin":false},"body":"First try","created_at":"2016-05-18T19:37:47Z","updated_at":"2016-05-19T20:42:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc84c93cf0264032750a95d63ce1e9e0cd89a09c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/anti-k-camino/tutu/pulls/1/commits","review_comments_url":"https://api.github.com/repos/anti-k-camino/tutu/pulls/1/comments","review_comment_url":"https://api.github.com/repos/anti-k-camino/tutu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anti-k-camino/tutu/issues/1/comments","statuses_url":"https://api.github.com/repos/anti-k-camino/tutu/statuses/56a3e14e2bd032ba193ea11a80ecd8545a76bc22","head":{"label":"anti-k-camino:new_branch","ref":"new_branch","sha":"56a3e14e2bd032ba193ea11a80ecd8545a76bc22","user":{"login":"anti-k-camino","id":18531087,"avatar_url":"https://avatars.githubusercontent.com/u/18531087?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-k-camino","html_url":"https://github.com/anti-k-camino","followers_url":"https://api.github.com/users/anti-k-camino/followers","following_url":"https://api.github.com/users/anti-k-camino/following{/other_user}","gists_url":"https://api.github.com/users/anti-k-camino/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-k-camino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-k-camino/subscriptions","organizations_url":"https://api.github.com/users/anti-k-camino/orgs","repos_url":"https://api.github.com/users/anti-k-camino/repos","events_url":"https://api.github.com/users/anti-k-camino/events{/privacy}","received_events_url":"https://api.github.com/users/anti-k-camino/received_events","type":"User","site_admin":false},"repo":{"id":58540651,"name":"tutu","full_name":"anti-k-camino/tutu","owner":{"login":"anti-k-camino","id":18531087,"avatar_url":"https://avatars.githubusercontent.com/u/18531087?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-k-camino","html_url":"https://github.com/anti-k-camino","followers_url":"https://api.github.com/users/anti-k-camino/followers","following_url":"https://api.github.com/users/anti-k-camino/following{/other_user}","gists_url":"https://api.github.com/users/anti-k-camino/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-k-camino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-k-camino/subscriptions","organizations_url":"https://api.github.com/users/anti-k-camino/orgs","repos_url":"https://api.github.com/users/anti-k-camino/repos","events_url":"https://api.github.com/users/anti-k-camino/events{/privacy}","received_events_url":"https://api.github.com/users/anti-k-camino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anti-k-camino/tutu","description":"railway station","fork":false,"url":"https://api.github.com/repos/anti-k-camino/tutu","forks_url":"https://api.github.com/repos/anti-k-camino/tutu/forks","keys_url":"https://api.github.com/repos/anti-k-camino/tutu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anti-k-camino/tutu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anti-k-camino/tutu/teams","hooks_url":"https://api.github.com/repos/anti-k-camino/tutu/hooks","issue_events_url":"https://api.github.com/repos/anti-k-camino/tutu/issues/events{/number}","events_url":"https://api.github.com/repos/anti-k-camino/tutu/events","assignees_url":"https://api.github.com/repos/anti-k-camino/tutu/assignees{/user}","branches_url":"https://api.github.com/repos/anti-k-camino/tutu/branches{/branch}","tags_url":"https://api.github.com/repos/anti-k-camino/tutu/tags","blobs_url":"https://api.github.com/repos/anti-k-camino/tutu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anti-k-camino/tutu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anti-k-camino/tutu/git/refs{/sha}","trees_url":"https://api.github.com/repos/anti-k-camino/tutu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anti-k-camino/tutu/statuses/{sha}","languages_url":"https://api.github.com/repos/anti-k-camino/tutu/languages","stargazers_url":"https://api.github.com/repos/anti-k-camino/tutu/stargazers","contributors_url":"https://api.github.com/repos/anti-k-camino/tutu/contributors","subscribers_url":"https://api.github.com/repos/anti-k-camino/tutu/subscribers","subscription_url":"https://api.github.com/repos/anti-k-camino/tutu/subscription","commits_url":"https://api.github.com/repos/anti-k-camino/tutu/commits{/sha}","git_commits_url":"https://api.github.com/repos/anti-k-camino/tutu/git/commits{/sha}","comments_url":"https://api.github.com/repos/anti-k-camino/tutu/comments{/number}","issue_comment_url":"https://api.github.com/repos/anti-k-camino/tutu/issues/comments{/number}","contents_url":"https://api.github.com/repos/anti-k-camino/tutu/contents/{+path}","compare_url":"https://api.github.com/repos/anti-k-camino/tutu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anti-k-camino/tutu/merges","archive_url":"https://api.github.com/repos/anti-k-camino/tutu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anti-k-camino/tutu/downloads","issues_url":"https://api.github.com/repos/anti-k-camino/tutu/issues{/number}","pulls_url":"https://api.github.com/repos/anti-k-camino/tutu/pulls{/number}","milestones_url":"https://api.github.com/repos/anti-k-camino/tutu/milestones{/number}","notifications_url":"https://api.github.com/repos/anti-k-camino/tutu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anti-k-camino/tutu/labels{/name}","releases_url":"https://api.github.com/repos/anti-k-camino/tutu/releases{/id}","deployments_url":"https://api.github.com/repos/anti-k-camino/tutu/deployments","created_at":"2016-05-11T11:52:38Z","updated_at":"2016-05-11T13:22:10Z","pushed_at":"2016-05-19T13:43:17Z","git_url":"git://github.com/anti-k-camino/tutu.git","ssh_url":"git@github.com:anti-k-camino/tutu.git","clone_url":"https://github.com/anti-k-camino/tutu.git","svn_url":"https://github.com/anti-k-camino/tutu","homepage":null,"size":66,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"anti-k-camino:master","ref":"master","sha":"040316a12ff54d662a920c20e3cbed108aa81000","user":{"login":"anti-k-camino","id":18531087,"avatar_url":"https://avatars.githubusercontent.com/u/18531087?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-k-camino","html_url":"https://github.com/anti-k-camino","followers_url":"https://api.github.com/users/anti-k-camino/followers","following_url":"https://api.github.com/users/anti-k-camino/following{/other_user}","gists_url":"https://api.github.com/users/anti-k-camino/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-k-camino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-k-camino/subscriptions","organizations_url":"https://api.github.com/users/anti-k-camino/orgs","repos_url":"https://api.github.com/users/anti-k-camino/repos","events_url":"https://api.github.com/users/anti-k-camino/events{/privacy}","received_events_url":"https://api.github.com/users/anti-k-camino/received_events","type":"User","site_admin":false},"repo":{"id":58540651,"name":"tutu","full_name":"anti-k-camino/tutu","owner":{"login":"anti-k-camino","id":18531087,"avatar_url":"https://avatars.githubusercontent.com/u/18531087?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-k-camino","html_url":"https://github.com/anti-k-camino","followers_url":"https://api.github.com/users/anti-k-camino/followers","following_url":"https://api.github.com/users/anti-k-camino/following{/other_user}","gists_url":"https://api.github.com/users/anti-k-camino/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-k-camino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-k-camino/subscriptions","organizations_url":"https://api.github.com/users/anti-k-camino/orgs","repos_url":"https://api.github.com/users/anti-k-camino/repos","events_url":"https://api.github.com/users/anti-k-camino/events{/privacy}","received_events_url":"https://api.github.com/users/anti-k-camino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anti-k-camino/tutu","description":"railway station","fork":false,"url":"https://api.github.com/repos/anti-k-camino/tutu","forks_url":"https://api.github.com/repos/anti-k-camino/tutu/forks","keys_url":"https://api.github.com/repos/anti-k-camino/tutu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anti-k-camino/tutu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anti-k-camino/tutu/teams","hooks_url":"https://api.github.com/repos/anti-k-camino/tutu/hooks","issue_events_url":"https://api.github.com/repos/anti-k-camino/tutu/issues/events{/number}","events_url":"https://api.github.com/repos/anti-k-camino/tutu/events","assignees_url":"https://api.github.com/repos/anti-k-camino/tutu/assignees{/user}","branches_url":"https://api.github.com/repos/anti-k-camino/tutu/branches{/branch}","tags_url":"https://api.github.com/repos/anti-k-camino/tutu/tags","blobs_url":"https://api.github.com/repos/anti-k-camino/tutu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anti-k-camino/tutu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anti-k-camino/tutu/git/refs{/sha}","trees_url":"https://api.github.com/repos/anti-k-camino/tutu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anti-k-camino/tutu/statuses/{sha}","languages_url":"https://api.github.com/repos/anti-k-camino/tutu/languages","stargazers_url":"https://api.github.com/repos/anti-k-camino/tutu/stargazers","contributors_url":"https://api.github.com/repos/anti-k-camino/tutu/contributors","subscribers_url":"https://api.github.com/repos/anti-k-camino/tutu/subscribers","subscription_url":"https://api.github.com/repos/anti-k-camino/tutu/subscription","commits_url":"https://api.github.com/repos/anti-k-camino/tutu/commits{/sha}","git_commits_url":"https://api.github.com/repos/anti-k-camino/tutu/git/commits{/sha}","comments_url":"https://api.github.com/repos/anti-k-camino/tutu/comments{/number}","issue_comment_url":"https://api.github.com/repos/anti-k-camino/tutu/issues/comments{/number}","contents_url":"https://api.github.com/repos/anti-k-camino/tutu/contents/{+path}","compare_url":"https://api.github.com/repos/anti-k-camino/tutu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anti-k-camino/tutu/merges","archive_url":"https://api.github.com/repos/anti-k-camino/tutu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anti-k-camino/tutu/downloads","issues_url":"https://api.github.com/repos/anti-k-camino/tutu/issues{/number}","pulls_url":"https://api.github.com/repos/anti-k-camino/tutu/pulls{/number}","milestones_url":"https://api.github.com/repos/anti-k-camino/tutu/milestones{/number}","notifications_url":"https://api.github.com/repos/anti-k-camino/tutu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anti-k-camino/tutu/labels{/name}","releases_url":"https://api.github.com/repos/anti-k-camino/tutu/releases{/id}","deployments_url":"https://api.github.com/repos/anti-k-camino/tutu/deployments","created_at":"2016-05-11T11:52:38Z","updated_at":"2016-05-11T13:22:10Z","pushed_at":"2016-05-19T13:43:17Z","git_url":"git://github.com/anti-k-camino/tutu.git","ssh_url":"git@github.com:anti-k-camino/tutu.git","clone_url":"https://github.com/anti-k-camino/tutu.git","svn_url":"https://github.com/anti-k-camino/tutu","homepage":null,"size":66,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anti-k-camino/tutu/pulls/1"},"html":{"href":"https://github.com/anti-k-camino/tutu/pull/1"},"issue":{"href":"https://api.github.com/repos/anti-k-camino/tutu/issues/1"},"comments":{"href":"https://api.github.com/repos/anti-k-camino/tutu/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/anti-k-camino/tutu/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/anti-k-camino/tutu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anti-k-camino/tutu/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/anti-k-camino/tutu/statuses/56a3e14e2bd032ba193ea11a80ecd8545a76bc22"}}}}