{"action":"created","comment":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/169165860","pull_request_review_id":97649137,"id":169165860,"diff_hunk":"@@ -1,72 +1,72 @@\n-def special_text_and_extra_parameter\r\n-    puts \"Please, input one more operand for you RPN expression\"\r\n-    temp_parameter = gets.chomp.to_f\r\n-end\r\n-def push_to_rpn_form(rpn_form, temp )\r\n-  rpn_form.push(temp)\r\n-end\r\n-def make_rpn_input(operands_count = 0, operators_count = 0, rpn_form = [])\r\n-  while ((operands_count - operators_count != 1) || (operands_count == 1))\r\n-    temp = gets.chomp\r\n-    push_to_rpn_form(rpn_form, temp)\r\n-    case temp\r\n-    when /\\d/\r\n-      operands_count += 1\r\n-    when \"-\", \"/\", \"*\", \"+\", \"!\"\r\n-      operators_count += 1\r\n-    end\r\n-  end\r\n-  rpn_form\r\n-end\r\n-def push_performed_bit_changing(result)\r\n-  count_of_changes = result.pop.to_f\r\n-  number_for_changing = result.pop.to_i\r\n-  result.push(special_operation(number_for_changing, count_of_changes))\r\n-end\r\n-def perform_bit_changing(result)\r\n-  if result.size < 2\r\n-    result.push(special_text_and_extra_parameter)\r\n-  end\r\n-  push_performed_bit_changing(result)\r\n-end\r\n-def calculate_operations(result, element)\r\n-  first_operand = result.pop\r\n-  second_operand = result.pop\r\n-  result.push(first_operand.send(element, second_operand))\r\n-end\r\n-def special_operation(number, count_of_changes)\r\n-  result = number.to_s(2).reverse\r\n-  temp = 0\r\n-  string_counter = 0\r\n-  result.each_char do |i|\r\n-    if ((i == '1') && (temp < count_of_changes))\r\n-      result[string_counter] = '0'\r\n-      temp += 1\r\n-      string_counter += 1\r\n-    else\r\n-      result[string_counter] = i\r\n-          string_counter += 1\r\n-    end\r\n-  end\r\n-  result = result.reverse\r\n-  integer_res = Integer(\"0b\" + result)\r\n-end\r\n-def main\r\n-  rpn_form = make_rpn_input\r\n-  result = []\r\n-  rpn_form.each do |element|\r\n-    case element\r\n-    when /\\d/\r\n-      result.push(element.to_f)\r\n-    when \"-\", \"/\", \"*\", \"+\"\r\n-      if result.size < 2\r\n-        result.push(special_text_and_extra_parameter)\r\n-      end\r\n-      calculate_operations(result, element)\r\n-    when \"!\"\r\n-      perform_bit_changing(result)\r\n-    end\r\n-  end\r\n-  result\r\n-end\r\n-puts main\r\n+def special_text_and_extra_parameter\n+    puts \"Please, input one more operand for you RPN expression\"\n+    temp_parameter = gets.chomp.to_f\n+end\n+def push_to_rpn_form(rpn_form, temp )","path":"2016/TatchihinKirill/rubyroid_first.rb","position":77,"original_position":77,"commit_id":"12e1a21215d0852f36ac33a17de818afbf55441b","original_commit_id":"12e1a21215d0852f36ac33a17de818afbf55441b","user":{"login":"houndci-bot","id":6697940,"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":"Use empty lines between method definitions.<br>Space inside parentheses detected.","created_at":"2018-02-19T20:26:16Z","updated_at":"2018-02-19T20:26:17Z","html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/764#discussion_r169165860","pull_request_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/764","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/169165860"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/764#discussion_r169165860"},"pull_request":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/764"}}},"pull_request":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/764","id":170046245,"html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/764","diff_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/764.diff","patch_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/764.patch","issue_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/764","number":764,"state":"open","locked":false,"title":"\\(*_*)/","user":{"login":"kirymi","id":36638292,"avatar_url":"https://avatars1.githubusercontent.com/u/36638292?v=4","gravatar_id":"","url":"https://api.github.com/users/kirymi","html_url":"https://github.com/kirymi","followers_url":"https://api.github.com/users/kirymi/followers","following_url":"https://api.github.com/users/kirymi/following{/other_user}","gists_url":"https://api.github.com/users/kirymi/gists{/gist_id}","starred_url":"https://api.github.com/users/kirymi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirymi/subscriptions","organizations_url":"https://api.github.com/users/kirymi/orgs","repos_url":"https://api.github.com/users/kirymi/repos","events_url":"https://api.github.com/users/kirymi/events{/privacy}","received_events_url":"https://api.github.com/users/kirymi/received_events","type":"User","site_admin":false},"body":"## Фамилия Имя\r\nПритыченко Юлия\r\n\r\n## Email\r\njuliasnoww@mail.ru\r\n\r\n## Номер домашнего задания\r\n1\r\n\r\n## Ссылка на видео с демо работы\r\nhttps://www.youtube.com/watch?v=CroOC2aGbVg&feature=youtu.be\r\n\r\n## Комментарии\r\nХотела сделать красоту, но не знаю как.\r\n","created_at":"2018-02-19T20:24:57Z","updated_at":"2018-02-19T20:26:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bbde5f88d8cf838020a152e3c8c5b385a279fe2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/764/commits","review_comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/764/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/764/comments","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/12e1a21215d0852f36ac33a17de818afbf55441b","head":{"label":"kirymi:homework-1","ref":"homework-1","sha":"12e1a21215d0852f36ac33a17de818afbf55441b","user":{"login":"kirymi","id":36638292,"avatar_url":"https://avatars1.githubusercontent.com/u/36638292?v=4","gravatar_id":"","url":"https://api.github.com/users/kirymi","html_url":"https://github.com/kirymi","followers_url":"https://api.github.com/users/kirymi/followers","following_url":"https://api.github.com/users/kirymi/following{/other_user}","gists_url":"https://api.github.com/users/kirymi/gists{/gist_id}","starred_url":"https://api.github.com/users/kirymi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirymi/subscriptions","organizations_url":"https://api.github.com/users/kirymi/orgs","repos_url":"https://api.github.com/users/kirymi/repos","events_url":"https://api.github.com/users/kirymi/events{/privacy}","received_events_url":"https://api.github.com/users/kirymi/received_events","type":"User","site_admin":false},"repo":{"id":122087802,"name":"bsuir-courses","full_name":"kirymi/bsuir-courses","owner":{"login":"kirymi","id":36638292,"avatar_url":"https://avatars1.githubusercontent.com/u/36638292?v=4","gravatar_id":"","url":"https://api.github.com/users/kirymi","html_url":"https://github.com/kirymi","followers_url":"https://api.github.com/users/kirymi/followers","following_url":"https://api.github.com/users/kirymi/following{/other_user}","gists_url":"https://api.github.com/users/kirymi/gists{/gist_id}","starred_url":"https://api.github.com/users/kirymi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirymi/subscriptions","organizations_url":"https://api.github.com/users/kirymi/orgs","repos_url":"https://api.github.com/users/kirymi/repos","events_url":"https://api.github.com/users/kirymi/events{/privacy}","received_events_url":"https://api.github.com/users/kirymi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kirymi/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":true,"url":"https://api.github.com/repos/kirymi/bsuir-courses","forks_url":"https://api.github.com/repos/kirymi/bsuir-courses/forks","keys_url":"https://api.github.com/repos/kirymi/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kirymi/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kirymi/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/kirymi/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/kirymi/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/kirymi/bsuir-courses/events","assignees_url":"https://api.github.com/repos/kirymi/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/kirymi/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/kirymi/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/kirymi/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kirymi/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kirymi/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/kirymi/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kirymi/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/kirymi/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/kirymi/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/kirymi/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/kirymi/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/kirymi/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/kirymi/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/kirymi/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/kirymi/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/kirymi/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/kirymi/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/kirymi/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kirymi/bsuir-courses/merges","archive_url":"https://api.github.com/repos/kirymi/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kirymi/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/kirymi/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/kirymi/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/kirymi/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/kirymi/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kirymi/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/kirymi/bsuir-courses/releases{/id}","deployments_url":"https://api.github.com/repos/kirymi/bsuir-courses/deployments","created_at":"2018-02-19T16:14:43Z","updated_at":"2018-02-19T16:14:50Z","pushed_at":"2018-02-19T19:21:37Z","git_url":"git://github.com/kirymi/bsuir-courses.git","ssh_url":"git@github.com:kirymi/bsuir-courses.git","clone_url":"https://github.com/kirymi/bsuir-courses.git","svn_url":"https://github.com/kirymi/bsuir-courses","homepage":null,"size":41179,"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":"rubyroidlabs:master","ref":"master","sha":"36aff2e09d1ef839aa81906fb4366e391ac872ed","user":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars1.githubusercontent.com/u/5137565?v=4","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://avatars1.githubusercontent.com/u/5137565?v=4","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":"2018-02-19T11:51:33Z","pushed_at":"2018-02-19T20:24:58Z","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":41205,"stargazers_count":37,"watchers_count":37,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":219,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":219,"open_issues":8,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/764"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/764"},"issue":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/764"},"comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/764/comments"},"review_comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/764/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/764/commits"},"statuses":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/12e1a21215d0852f36ac33a17de818afbf55441b"}},"author_association":"NONE"}}
{"actor":{"display_login":"houndci-bot"}}