{"action":"created","comment":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/43676954","id":43676954,"diff_hunk":"@@ -0,0 +1,22 @@\n+require 'textmood'\n+\n+class Analyzer\n+\t\n+\tdef initialize(texts)\n+\t\t@tm = TextMood.new(language: \"ru\")\n+\t\t@comment = texts\n+\tend\n+\n+\tdef reviews_comments\n+\t\tscore_one = @comment.map do |comm|\n+\t\t\t(@tm.analyze(comm) + 2) \n+\t\tend\n+\tend","path":"2015/AndreiVinokur/home work 3/lib/Analyzer.rb","position":14,"original_position":14,"commit_id":"5b7749008d00719378d8453d400a0554bb4d2d79","original_commit_id":"5b7749008d00719378d8453d400a0554bb4d2d79","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":"Tab detected.","created_at":"2015-11-02T20:24:15Z","updated_at":"2015-11-02T20:24:15Z","html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/361#discussion_r43676954","pull_request_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/361","_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/43676954"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/361#discussion_r43676954"},"pull_request":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/361"}}},"pull_request":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/361","id":49474797,"html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/361","diff_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/361.diff","patch_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/361.patch","issue_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/361","number":361,"state":"open","locked":false,"title":"home work 3","user":{"login":"Gobestvini","id":10104101,"avatar_url":"https://avatars.githubusercontent.com/u/10104101?v=3","gravatar_id":"","url":"https://api.github.com/users/Gobestvini","html_url":"https://github.com/Gobestvini","followers_url":"https://api.github.com/users/Gobestvini/followers","following_url":"https://api.github.com/users/Gobestvini/following{/other_user}","gists_url":"https://api.github.com/users/Gobestvini/gists{/gist_id}","starred_url":"https://api.github.com/users/Gobestvini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gobestvini/subscriptions","organizations_url":"https://api.github.com/users/Gobestvini/orgs","repos_url":"https://api.github.com/users/Gobestvini/repos","events_url":"https://api.github.com/users/Gobestvini/events{/privacy}","received_events_url":"https://api.github.com/users/Gobestvini/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-02T19:33:39Z","updated_at":"2015-11-02T20:24:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"986465c197d9c08781654e7c10ca7afaf3a5b50a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/361/commits","review_comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/361/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/361/comments","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/5b7749008d00719378d8453d400a0554bb4d2d79","head":{"label":"Gobestvini:master","ref":"master","sha":"5b7749008d00719378d8453d400a0554bb4d2d79","user":{"login":"Gobestvini","id":10104101,"avatar_url":"https://avatars.githubusercontent.com/u/10104101?v=3","gravatar_id":"","url":"https://api.github.com/users/Gobestvini","html_url":"https://github.com/Gobestvini","followers_url":"https://api.github.com/users/Gobestvini/followers","following_url":"https://api.github.com/users/Gobestvini/following{/other_user}","gists_url":"https://api.github.com/users/Gobestvini/gists{/gist_id}","starred_url":"https://api.github.com/users/Gobestvini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gobestvini/subscriptions","organizations_url":"https://api.github.com/users/Gobestvini/orgs","repos_url":"https://api.github.com/users/Gobestvini/repos","events_url":"https://api.github.com/users/Gobestvini/events{/privacy}","received_events_url":"https://api.github.com/users/Gobestvini/received_events","type":"User","site_admin":false},"repo":{"id":44126796,"name":"bsuir-courses","full_name":"Gobestvini/bsuir-courses","owner":{"login":"Gobestvini","id":10104101,"avatar_url":"https://avatars.githubusercontent.com/u/10104101?v=3","gravatar_id":"","url":"https://api.github.com/users/Gobestvini","html_url":"https://github.com/Gobestvini","followers_url":"https://api.github.com/users/Gobestvini/followers","following_url":"https://api.github.com/users/Gobestvini/following{/other_user}","gists_url":"https://api.github.com/users/Gobestvini/gists{/gist_id}","starred_url":"https://api.github.com/users/Gobestvini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gobestvini/subscriptions","organizations_url":"https://api.github.com/users/Gobestvini/orgs","repos_url":"https://api.github.com/users/Gobestvini/repos","events_url":"https://api.github.com/users/Gobestvini/events{/privacy}","received_events_url":"https://api.github.com/users/Gobestvini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gobestvini/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":true,"url":"https://api.github.com/repos/Gobestvini/bsuir-courses","forks_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/forks","keys_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/events","assignees_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/merges","archive_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/Gobestvini/bsuir-courses/releases{/id}","created_at":"2015-10-12T18:39:21Z","updated_at":"2015-10-12T18:39:22Z","pushed_at":"2015-11-02T20:24:07Z","git_url":"git://github.com/Gobestvini/bsuir-courses.git","ssh_url":"git@github.com:Gobestvini/bsuir-courses.git","clone_url":"https://github.com/Gobestvini/bsuir-courses.git","svn_url":"https://github.com/Gobestvini/bsuir-courses","homepage":null,"size":559,"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":"1051f68e470ac1f0dff8b4782e48ebba10d5e7bc","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}","created_at":"2013-11-14T19:55:12Z","updated_at":"2015-11-02T16:35:38Z","pushed_at":"2015-11-02T20:24:07Z","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":6541,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":21,"forks":138,"open_issues":21,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/361"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/361"},"issue":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/361"},"comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/361/comments"},"review_comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/361/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/361/commits"},"statuses":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/5b7749008d00719378d8453d400a0554bb4d2d79"}}}}