{"action":"created","comment":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/84450275","pull_request_review_id":5228531,"id":84450275,"diff_hunk":"@@ -0,0 +1,29 @@\n+stack = []\n+number = 0\n+\n+loop do\n+  a = gets.chomp\n+  if a =~ /\\d/\n+    stack.push(a.to_i)\n+    number += 1\n+  elsif ['*', '-', '+', '/'].include?(a)\n+    x1 = stack.pop.to_i\n+    x2 = stack.pop.to_i\n+    number -= 1\n+    case a\n+    when '+'\n+      result = x2 + x1\n+    when '-'\n+      result = x2 - x1\n+    when '*'\n+      result = x2 * x1\n+    when '/'\n+      result = x2 / x1\n+    end\n+    stack.push(result)\n+    break if number == 1\n+  else \n+    puts 'Error !!!!'","path":"2016/AnastasiaLazarenok/1/calculator.rb","position":26,"original_position":26,"commit_id":"79a313cd3a53c12979121f1ef102697c100e7cf7","original_commit_id":"79a313cd3a53c12979121f1ef102697c100e7cf7","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-10-21T09:50:15Z","updated_at":"2016-10-21T09:50:16Z","html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/467#discussion_r84450275","pull_request_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/467","_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/84450275"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/467#discussion_r84450275"},"pull_request":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/467"}}},"pull_request":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/467","id":90286597,"html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/467","diff_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/467.diff","patch_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/467.patch","issue_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/467","number":467,"state":"open","locked":false,"title":"Homework 1","user":{"login":"AnastasiaLazarenok","id":15114305,"avatar_url":"https://avatars.githubusercontent.com/u/15114305?v=3","gravatar_id":"","url":"https://api.github.com/users/AnastasiaLazarenok","html_url":"https://github.com/AnastasiaLazarenok","followers_url":"https://api.github.com/users/AnastasiaLazarenok/followers","following_url":"https://api.github.com/users/AnastasiaLazarenok/following{/other_user}","gists_url":"https://api.github.com/users/AnastasiaLazarenok/gists{/gist_id}","starred_url":"https://api.github.com/users/AnastasiaLazarenok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnastasiaLazarenok/subscriptions","organizations_url":"https://api.github.com/users/AnastasiaLazarenok/orgs","repos_url":"https://api.github.com/users/AnastasiaLazarenok/repos","events_url":"https://api.github.com/users/AnastasiaLazarenok/events{/privacy}","received_events_url":"https://api.github.com/users/AnastasiaLazarenok/received_events","type":"User","site_admin":false},"body":"## Фамилия Имя\r\nАнастасия Лазарёнок\r\n\r\n## Email\r\nAnastasiaLazarenok@gmail.com\r\n\r\n## Номер домашнего задания\r\n0\r\n\r\n## Ссылка на видео с демо работы\r\n\r\n## Комментарии\r\n-> работает только с целыми числами\r\n-> доп.задание не делала, т.к пока что не поняла как))\r\n","created_at":"2016-10-20T21:41:13Z","updated_at":"2016-10-21T09:50:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19a88d6281618ebce23f3a8d65fd6d7046742e0c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/467/commits","review_comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/467/comments","review_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/467/comments","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/79a313cd3a53c12979121f1ef102697c100e7cf7","head":{"label":"AnastasiaLazarenok:homework-1","ref":"homework-1","sha":"79a313cd3a53c12979121f1ef102697c100e7cf7","user":{"login":"AnastasiaLazarenok","id":15114305,"avatar_url":"https://avatars.githubusercontent.com/u/15114305?v=3","gravatar_id":"","url":"https://api.github.com/users/AnastasiaLazarenok","html_url":"https://github.com/AnastasiaLazarenok","followers_url":"https://api.github.com/users/AnastasiaLazarenok/followers","following_url":"https://api.github.com/users/AnastasiaLazarenok/following{/other_user}","gists_url":"https://api.github.com/users/AnastasiaLazarenok/gists{/gist_id}","starred_url":"https://api.github.com/users/AnastasiaLazarenok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnastasiaLazarenok/subscriptions","organizations_url":"https://api.github.com/users/AnastasiaLazarenok/orgs","repos_url":"https://api.github.com/users/AnastasiaLazarenok/repos","events_url":"https://api.github.com/users/AnastasiaLazarenok/events{/privacy}","received_events_url":"https://api.github.com/users/AnastasiaLazarenok/received_events","type":"User","site_admin":false},"repo":{"id":71500108,"name":"bsuir-courses","full_name":"AnastasiaLazarenok/bsuir-courses","owner":{"login":"AnastasiaLazarenok","id":15114305,"avatar_url":"https://avatars.githubusercontent.com/u/15114305?v=3","gravatar_id":"","url":"https://api.github.com/users/AnastasiaLazarenok","html_url":"https://github.com/AnastasiaLazarenok","followers_url":"https://api.github.com/users/AnastasiaLazarenok/followers","following_url":"https://api.github.com/users/AnastasiaLazarenok/following{/other_user}","gists_url":"https://api.github.com/users/AnastasiaLazarenok/gists{/gist_id}","starred_url":"https://api.github.com/users/AnastasiaLazarenok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnastasiaLazarenok/subscriptions","organizations_url":"https://api.github.com/users/AnastasiaLazarenok/orgs","repos_url":"https://api.github.com/users/AnastasiaLazarenok/repos","events_url":"https://api.github.com/users/AnastasiaLazarenok/events{/privacy}","received_events_url":"https://api.github.com/users/AnastasiaLazarenok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AnastasiaLazarenok/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":true,"url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses","forks_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/forks","keys_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/events","assignees_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/merges","archive_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/releases{/id}","deployments_url":"https://api.github.com/repos/AnastasiaLazarenok/bsuir-courses/deployments","created_at":"2016-10-20T20:08:00Z","updated_at":"2016-10-20T20:08:02Z","pushed_at":"2016-10-21T09:50:05Z","git_url":"git://github.com/AnastasiaLazarenok/bsuir-courses.git","ssh_url":"git@github.com:AnastasiaLazarenok/bsuir-courses.git","clone_url":"https://github.com/AnastasiaLazarenok/bsuir-courses.git","svn_url":"https://github.com/AnastasiaLazarenok/bsuir-courses","homepage":null,"size":2091,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubyroidlabs:master","ref":"master","sha":"0905d12a4d190033b2deb5018045912133108137","user":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":14405320,"name":"bsuir-courses","full_name":"rubyroidlabs/bsuir-courses","owner":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubyroidlabs/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":false,"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses","forks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/forks","keys_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/events","assignees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/merges","archive_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/releases{/id}","deployments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/deployments","created_at":"2013-11-14T19:55:12Z","updated_at":"2016-10-20T18:54:42Z","pushed_at":"2016-10-21T09:50:05Z","git_url":"git://github.com/rubyroidlabs/bsuir-courses.git","ssh_url":"git@github.com:rubyroidlabs/bsuir-courses.git","clone_url":"https://github.com/rubyroidlabs/bsuir-courses.git","svn_url":"https://github.com/rubyroidlabs/bsuir-courses","homepage":null,"size":6865,"stargazers_count":27,"watchers_count":27,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":172,"mirror_url":null,"open_issues_count":50,"forks":172,"open_issues":50,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/467"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/467"},"issue":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/467"},"comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/467/comments"},"review_comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/467/comments"},"review_comment":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/467/commits"},"statuses":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/79a313cd3a53c12979121f1ef102697c100e7cf7"}}}}
{"actor":{"display_login":"houndci-bot"}}