{"action":"created","comment":{"url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments/200803158","pull_request_review_id":135194487,"id":200803158,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDgwMzE1OA==","diff_hunk":"@@ -0,0 +1,37 @@\n+# Triangle Project Code.\n+\n+# Triangle analyzes the lengths of the sides of a triangle\n+# (represented by a, b and c) and returns the type of triangle.\n+#\n+# It returns:\n+#   :equilateral  if all sides are equal\n+#   :isosceles    if exactly 2 sides are equal\n+#   :scalene      if no sides are equal\n+#\n+# The tests for this method can be found in\n+#   about_triangle_project.rb\n+# and\n+#   about_triangle_project_2.rb\n+#\n+def triangle(a, b, c)\n+  if a <= 0 || b <= 0 || c <= 0\n+    raise TriangleError, 'Sides must have positive length'\n+  end\n+\n+  sides = [a, b, c].sort\n+  unless sides[0] + sides[1] > sides[2]","path":"2256/1/koans/triangle.rb","position":22,"original_position":22,"commit_id":"cceef27e977709d5f10c8e0c20100aa8ad6dfff4","original_commit_id":"cceef27e977709d5f10c8e0c20100aa8ad6dfff4","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Style/IfUnlessModifier: Favor modifier unless usage when having a single-line body. Another good alternative is the usage of control flow &&/||.","created_at":"2018-07-07T05:32:07Z","updated_at":"2018-07-07T05:32:10Z","html_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/66#discussion_r200803158","pull_request_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/66","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments/200803158"},"html":{"href":"https://github.com/rubizza-survival-camp/summer-2018/pull/66#discussion_r200803158"},"pull_request":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/66","id":199881534,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5ODgxNTM0","html_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/66","diff_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/66.diff","patch_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/66.patch","issue_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/66","number":66,"state":"open","locked":false,"title":"2256 - 1","user":{"login":"v-kazantsev","id":32565699,"node_id":"MDQ6VXNlcjMyNTY1Njk5","avatar_url":"https://avatars0.githubusercontent.com/u/32565699?v=4","gravatar_id":"","url":"https://api.github.com/users/v-kazantsev","html_url":"https://github.com/v-kazantsev","followers_url":"https://api.github.com/users/v-kazantsev/followers","following_url":"https://api.github.com/users/v-kazantsev/following{/other_user}","gists_url":"https://api.github.com/users/v-kazantsev/gists{/gist_id}","starred_url":"https://api.github.com/users/v-kazantsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-kazantsev/subscriptions","organizations_url":"https://api.github.com/users/v-kazantsev/orgs","repos_url":"https://api.github.com/users/v-kazantsev/repos","events_url":"https://api.github.com/users/v-kazantsev/events{/privacy}","received_events_url":"https://api.github.com/users/v-kazantsev/received_events","type":"User","site_admin":false},"body":"## Номер\r\n2256\r\n\r\n## Номер задания\r\n1\r\n\r\n## Ссылка на видео с демо\r\nhttps://youtu.be/JjO7Y41j26k\r\n\r\n## Комментарии\r\n","created_at":"2018-07-07T05:31:38Z","updated_at":"2018-07-07T05:32:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77f80b41861a684c82af5bf3ad1be52fc9b9311f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/66/commits","review_comments_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/66/comments","review_comment_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/66/comments","statuses_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/statuses/cceef27e977709d5f10c8e0c20100aa8ad6dfff4","head":{"label":"v-kazantsev:1","ref":"1","sha":"cceef27e977709d5f10c8e0c20100aa8ad6dfff4","user":{"login":"v-kazantsev","id":32565699,"node_id":"MDQ6VXNlcjMyNTY1Njk5","avatar_url":"https://avatars0.githubusercontent.com/u/32565699?v=4","gravatar_id":"","url":"https://api.github.com/users/v-kazantsev","html_url":"https://github.com/v-kazantsev","followers_url":"https://api.github.com/users/v-kazantsev/followers","following_url":"https://api.github.com/users/v-kazantsev/following{/other_user}","gists_url":"https://api.github.com/users/v-kazantsev/gists{/gist_id}","starred_url":"https://api.github.com/users/v-kazantsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-kazantsev/subscriptions","organizations_url":"https://api.github.com/users/v-kazantsev/orgs","repos_url":"https://api.github.com/users/v-kazantsev/repos","events_url":"https://api.github.com/users/v-kazantsev/events{/privacy}","received_events_url":"https://api.github.com/users/v-kazantsev/received_events","type":"User","site_admin":false},"repo":{"id":139942934,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5NDI5MzQ=","name":"summer-2018","full_name":"v-kazantsev/summer-2018","owner":{"login":"v-kazantsev","id":32565699,"node_id":"MDQ6VXNlcjMyNTY1Njk5","avatar_url":"https://avatars0.githubusercontent.com/u/32565699?v=4","gravatar_id":"","url":"https://api.github.com/users/v-kazantsev","html_url":"https://github.com/v-kazantsev","followers_url":"https://api.github.com/users/v-kazantsev/followers","following_url":"https://api.github.com/users/v-kazantsev/following{/other_user}","gists_url":"https://api.github.com/users/v-kazantsev/gists{/gist_id}","starred_url":"https://api.github.com/users/v-kazantsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-kazantsev/subscriptions","organizations_url":"https://api.github.com/users/v-kazantsev/orgs","repos_url":"https://api.github.com/users/v-kazantsev/repos","events_url":"https://api.github.com/users/v-kazantsev/events{/privacy}","received_events_url":"https://api.github.com/users/v-kazantsev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/v-kazantsev/summer-2018","description":null,"fork":true,"url":"https://api.github.com/repos/v-kazantsev/summer-2018","forks_url":"https://api.github.com/repos/v-kazantsev/summer-2018/forks","keys_url":"https://api.github.com/repos/v-kazantsev/summer-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v-kazantsev/summer-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v-kazantsev/summer-2018/teams","hooks_url":"https://api.github.com/repos/v-kazantsev/summer-2018/hooks","issue_events_url":"https://api.github.com/repos/v-kazantsev/summer-2018/issues/events{/number}","events_url":"https://api.github.com/repos/v-kazantsev/summer-2018/events","assignees_url":"https://api.github.com/repos/v-kazantsev/summer-2018/assignees{/user}","branches_url":"https://api.github.com/repos/v-kazantsev/summer-2018/branches{/branch}","tags_url":"https://api.github.com/repos/v-kazantsev/summer-2018/tags","blobs_url":"https://api.github.com/repos/v-kazantsev/summer-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v-kazantsev/summer-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v-kazantsev/summer-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/v-kazantsev/summer-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v-kazantsev/summer-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/v-kazantsev/summer-2018/languages","stargazers_url":"https://api.github.com/repos/v-kazantsev/summer-2018/stargazers","contributors_url":"https://api.github.com/repos/v-kazantsev/summer-2018/contributors","subscribers_url":"https://api.github.com/repos/v-kazantsev/summer-2018/subscribers","subscription_url":"https://api.github.com/repos/v-kazantsev/summer-2018/subscription","commits_url":"https://api.github.com/repos/v-kazantsev/summer-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/v-kazantsev/summer-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/v-kazantsev/summer-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/v-kazantsev/summer-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/v-kazantsev/summer-2018/contents/{+path}","compare_url":"https://api.github.com/repos/v-kazantsev/summer-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v-kazantsev/summer-2018/merges","archive_url":"https://api.github.com/repos/v-kazantsev/summer-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v-kazantsev/summer-2018/downloads","issues_url":"https://api.github.com/repos/v-kazantsev/summer-2018/issues{/number}","pulls_url":"https://api.github.com/repos/v-kazantsev/summer-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/v-kazantsev/summer-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/v-kazantsev/summer-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v-kazantsev/summer-2018/labels{/name}","releases_url":"https://api.github.com/repos/v-kazantsev/summer-2018/releases{/id}","deployments_url":"https://api.github.com/repos/v-kazantsev/summer-2018/deployments","created_at":"2018-07-06T06:32:39Z","updated_at":"2018-07-06T06:32:41Z","pushed_at":"2018-07-07T05:28:35Z","git_url":"git://github.com/v-kazantsev/summer-2018.git","ssh_url":"git@github.com:v-kazantsev/summer-2018.git","clone_url":"https://github.com/v-kazantsev/summer-2018.git","svn_url":"https://github.com/v-kazantsev/summer-2018","homepage":null,"size":14195,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubizza-survival-camp:master","ref":"master","sha":"635cc0a0bac7209a83afcb105853371b1973d1bc","user":{"login":"rubizza-survival-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-survival-camp","html_url":"https://github.com/rubizza-survival-camp","followers_url":"https://api.github.com/users/rubizza-survival-camp/followers","following_url":"https://api.github.com/users/rubizza-survival-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-survival-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-survival-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-survival-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-survival-camp/orgs","repos_url":"https://api.github.com/users/rubizza-survival-camp/repos","events_url":"https://api.github.com/users/rubizza-survival-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-survival-camp/received_events","type":"Organization","site_admin":false},"repo":{"id":139868408,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4Njg0MDg=","name":"summer-2018","full_name":"rubizza-survival-camp/summer-2018","owner":{"login":"rubizza-survival-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-survival-camp","html_url":"https://github.com/rubizza-survival-camp","followers_url":"https://api.github.com/users/rubizza-survival-camp/followers","following_url":"https://api.github.com/users/rubizza-survival-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-survival-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-survival-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-survival-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-survival-camp/orgs","repos_url":"https://api.github.com/users/rubizza-survival-camp/repos","events_url":"https://api.github.com/users/rubizza-survival-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-survival-camp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubizza-survival-camp/summer-2018","description":null,"fork":false,"url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018","forks_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/forks","keys_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/teams","hooks_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/hooks","issue_events_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/events{/number}","events_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/events","assignees_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/assignees{/user}","branches_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/branches{/branch}","tags_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/tags","blobs_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/languages","stargazers_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/stargazers","contributors_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/contributors","subscribers_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/subscribers","subscription_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/subscription","commits_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/contents/{+path}","compare_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/merges","archive_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/downloads","issues_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues{/number}","pulls_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/labels{/name}","releases_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/releases{/id}","deployments_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/deployments","created_at":"2018-07-05T15:28:12Z","updated_at":"2018-07-06T18:39:11Z","pushed_at":"2018-07-07T05:31:39Z","git_url":"git://github.com/rubizza-survival-camp/summer-2018.git","ssh_url":"git@github.com:rubizza-survival-camp/summer-2018.git","clone_url":"https://github.com/rubizza-survival-camp/summer-2018.git","svn_url":"https://github.com/rubizza-survival-camp/summer-2018","homepage":null,"size":83974,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":14,"license":null,"forks":47,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/66"},"html":{"href":"https://github.com/rubizza-survival-camp/summer-2018/pull/66"},"issue":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/66"},"comments":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/statuses/cceef27e977709d5f10c8e0c20100aa8ad6dfff4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}