{"action":"created","comment":{"url":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/comments/202541446","pull_request_review_id":137265155,"id":202541446,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjU0MTQ0Ng==","diff_hunk":"@@ -0,0 +1,99 @@\n+require 'russian_obscenity'\n+\n+# Class for our tasks\n+class Rapper\n+  attr_reader :name, :battles, :bad_words, :total_words, :total_rounds, :average_bad\n+\n+  def initialize(rapper_name, rapper_battle)\n+    @name = rapper_name\n+    @battles = [rapper_battle]\n+    @bad_words = 0\n+    @total_words = 0\n+    @total_rounds = 0\n+    @average_bad = 0\n+  end\n+\n+  def push_one_battle(some_battle)\n+    battles.push(some_battle)\n+  end\n+\n+  def print\n+    puts name.ljust(23) + '| ' + battles_to_s + '| ' + bad_words_to_s + '| ' + average_bad_to_s + '| ' + average_rounds\n+  end\n+\n+  def choose_better_name(other_name)\n+    @name = name.length > other_name.length ? other_name : name\n+  end\n+\n+  def count_words","path":"2346/2/class_rapper.rb","position":28,"original_position":28,"commit_id":"711eb48699408a9b9667ccb50375afdf8da5c686","original_commit_id":"711eb48699408a9b9667ccb50375afdf8da5c686","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":"TooManyStatements: Rapper#count_words has approx 8 statements. [More info](https://github.com/troessner/reek/blob/master/docs/Too-Many-Statements.md).","created_at":"2018-07-15T12:16:52Z","updated_at":"2018-07-15T12:16:53Z","html_url":"https://github.com/misterOlrox/summer-2018/pull/18#discussion_r202541446","pull_request_url":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/18","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/comments/202541446"},"html":{"href":"https://github.com/misterOlrox/summer-2018/pull/18#discussion_r202541446"},"pull_request":{"href":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/18","id":201495277,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNDk1Mjc3","html_url":"https://github.com/misterOlrox/summer-2018/pull/18","diff_url":"https://github.com/misterOlrox/summer-2018/pull/18.diff","patch_url":"https://github.com/misterOlrox/summer-2018/pull/18.patch","issue_url":"https://api.github.com/repos/misterOlrox/summer-2018/issues/18","number":18,"state":"open","locked":false,"title":"created new files","user":{"login":"misterOlrox","id":40821490,"node_id":"MDQ6VXNlcjQwODIxNDkw","avatar_url":"https://avatars0.githubusercontent.com/u/40821490?v=4","gravatar_id":"","url":"https://api.github.com/users/misterOlrox","html_url":"https://github.com/misterOlrox","followers_url":"https://api.github.com/users/misterOlrox/followers","following_url":"https://api.github.com/users/misterOlrox/following{/other_user}","gists_url":"https://api.github.com/users/misterOlrox/gists{/gist_id}","starred_url":"https://api.github.com/users/misterOlrox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterOlrox/subscriptions","organizations_url":"https://api.github.com/users/misterOlrox/orgs","repos_url":"https://api.github.com/users/misterOlrox/repos","events_url":"https://api.github.com/users/misterOlrox/events{/privacy}","received_events_url":"https://api.github.com/users/misterOlrox/received_events","type":"User","site_admin":false},"body":"\r\n","created_at":"2018-07-15T12:16:39Z","updated_at":"2018-07-15T12:16:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9dc4a8bb09fb2ff25fab2a6b503370bf818297ea","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/18/commits","review_comments_url":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/18/comments","review_comment_url":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/comments{/number}","comments_url":"https://api.github.com/repos/misterOlrox/summer-2018/issues/18/comments","statuses_url":"https://api.github.com/repos/misterOlrox/summer-2018/statuses/711eb48699408a9b9667ccb50375afdf8da5c686","head":{"label":"misterOlrox:taskBranch2","ref":"taskBranch2","sha":"711eb48699408a9b9667ccb50375afdf8da5c686","user":{"login":"misterOlrox","id":40821490,"node_id":"MDQ6VXNlcjQwODIxNDkw","avatar_url":"https://avatars0.githubusercontent.com/u/40821490?v=4","gravatar_id":"","url":"https://api.github.com/users/misterOlrox","html_url":"https://github.com/misterOlrox","followers_url":"https://api.github.com/users/misterOlrox/followers","following_url":"https://api.github.com/users/misterOlrox/following{/other_user}","gists_url":"https://api.github.com/users/misterOlrox/gists{/gist_id}","starred_url":"https://api.github.com/users/misterOlrox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterOlrox/subscriptions","organizations_url":"https://api.github.com/users/misterOlrox/orgs","repos_url":"https://api.github.com/users/misterOlrox/repos","events_url":"https://api.github.com/users/misterOlrox/events{/privacy}","received_events_url":"https://api.github.com/users/misterOlrox/received_events","type":"User","site_admin":false},"repo":{"id":139936689,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5MzY2ODk=","name":"summer-2018","full_name":"misterOlrox/summer-2018","owner":{"login":"misterOlrox","id":40821490,"node_id":"MDQ6VXNlcjQwODIxNDkw","avatar_url":"https://avatars0.githubusercontent.com/u/40821490?v=4","gravatar_id":"","url":"https://api.github.com/users/misterOlrox","html_url":"https://github.com/misterOlrox","followers_url":"https://api.github.com/users/misterOlrox/followers","following_url":"https://api.github.com/users/misterOlrox/following{/other_user}","gists_url":"https://api.github.com/users/misterOlrox/gists{/gist_id}","starred_url":"https://api.github.com/users/misterOlrox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterOlrox/subscriptions","organizations_url":"https://api.github.com/users/misterOlrox/orgs","repos_url":"https://api.github.com/users/misterOlrox/repos","events_url":"https://api.github.com/users/misterOlrox/events{/privacy}","received_events_url":"https://api.github.com/users/misterOlrox/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/misterOlrox/summer-2018","description":null,"fork":true,"url":"https://api.github.com/repos/misterOlrox/summer-2018","forks_url":"https://api.github.com/repos/misterOlrox/summer-2018/forks","keys_url":"https://api.github.com/repos/misterOlrox/summer-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/misterOlrox/summer-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/misterOlrox/summer-2018/teams","hooks_url":"https://api.github.com/repos/misterOlrox/summer-2018/hooks","issue_events_url":"https://api.github.com/repos/misterOlrox/summer-2018/issues/events{/number}","events_url":"https://api.github.com/repos/misterOlrox/summer-2018/events","assignees_url":"https://api.github.com/repos/misterOlrox/summer-2018/assignees{/user}","branches_url":"https://api.github.com/repos/misterOlrox/summer-2018/branches{/branch}","tags_url":"https://api.github.com/repos/misterOlrox/summer-2018/tags","blobs_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/misterOlrox/summer-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/misterOlrox/summer-2018/languages","stargazers_url":"https://api.github.com/repos/misterOlrox/summer-2018/stargazers","contributors_url":"https://api.github.com/repos/misterOlrox/summer-2018/contributors","subscribers_url":"https://api.github.com/repos/misterOlrox/summer-2018/subscribers","subscription_url":"https://api.github.com/repos/misterOlrox/summer-2018/subscription","commits_url":"https://api.github.com/repos/misterOlrox/summer-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/misterOlrox/summer-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/misterOlrox/summer-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/misterOlrox/summer-2018/contents/{+path}","compare_url":"https://api.github.com/repos/misterOlrox/summer-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/misterOlrox/summer-2018/merges","archive_url":"https://api.github.com/repos/misterOlrox/summer-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/misterOlrox/summer-2018/downloads","issues_url":"https://api.github.com/repos/misterOlrox/summer-2018/issues{/number}","pulls_url":"https://api.github.com/repos/misterOlrox/summer-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/misterOlrox/summer-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/misterOlrox/summer-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/misterOlrox/summer-2018/labels{/name}","releases_url":"https://api.github.com/repos/misterOlrox/summer-2018/releases{/id}","deployments_url":"https://api.github.com/repos/misterOlrox/summer-2018/deployments","created_at":"2018-07-06T05:21:22Z","updated_at":"2018-07-13T08:55:55Z","pushed_at":"2018-07-15T12:16:40Z","git_url":"git://github.com/misterOlrox/summer-2018.git","ssh_url":"git@github.com:misterOlrox/summer-2018.git","clone_url":"https://github.com/misterOlrox/summer-2018.git","svn_url":"https://github.com/misterOlrox/summer-2018","homepage":null,"size":86897,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"misterOlrox:master","ref":"master","sha":"c61b6ba2ce32ed9c2129469a0404c9ff8e8a4722","user":{"login":"misterOlrox","id":40821490,"node_id":"MDQ6VXNlcjQwODIxNDkw","avatar_url":"https://avatars0.githubusercontent.com/u/40821490?v=4","gravatar_id":"","url":"https://api.github.com/users/misterOlrox","html_url":"https://github.com/misterOlrox","followers_url":"https://api.github.com/users/misterOlrox/followers","following_url":"https://api.github.com/users/misterOlrox/following{/other_user}","gists_url":"https://api.github.com/users/misterOlrox/gists{/gist_id}","starred_url":"https://api.github.com/users/misterOlrox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterOlrox/subscriptions","organizations_url":"https://api.github.com/users/misterOlrox/orgs","repos_url":"https://api.github.com/users/misterOlrox/repos","events_url":"https://api.github.com/users/misterOlrox/events{/privacy}","received_events_url":"https://api.github.com/users/misterOlrox/received_events","type":"User","site_admin":false},"repo":{"id":139936689,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5MzY2ODk=","name":"summer-2018","full_name":"misterOlrox/summer-2018","owner":{"login":"misterOlrox","id":40821490,"node_id":"MDQ6VXNlcjQwODIxNDkw","avatar_url":"https://avatars0.githubusercontent.com/u/40821490?v=4","gravatar_id":"","url":"https://api.github.com/users/misterOlrox","html_url":"https://github.com/misterOlrox","followers_url":"https://api.github.com/users/misterOlrox/followers","following_url":"https://api.github.com/users/misterOlrox/following{/other_user}","gists_url":"https://api.github.com/users/misterOlrox/gists{/gist_id}","starred_url":"https://api.github.com/users/misterOlrox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterOlrox/subscriptions","organizations_url":"https://api.github.com/users/misterOlrox/orgs","repos_url":"https://api.github.com/users/misterOlrox/repos","events_url":"https://api.github.com/users/misterOlrox/events{/privacy}","received_events_url":"https://api.github.com/users/misterOlrox/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/misterOlrox/summer-2018","description":null,"fork":true,"url":"https://api.github.com/repos/misterOlrox/summer-2018","forks_url":"https://api.github.com/repos/misterOlrox/summer-2018/forks","keys_url":"https://api.github.com/repos/misterOlrox/summer-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/misterOlrox/summer-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/misterOlrox/summer-2018/teams","hooks_url":"https://api.github.com/repos/misterOlrox/summer-2018/hooks","issue_events_url":"https://api.github.com/repos/misterOlrox/summer-2018/issues/events{/number}","events_url":"https://api.github.com/repos/misterOlrox/summer-2018/events","assignees_url":"https://api.github.com/repos/misterOlrox/summer-2018/assignees{/user}","branches_url":"https://api.github.com/repos/misterOlrox/summer-2018/branches{/branch}","tags_url":"https://api.github.com/repos/misterOlrox/summer-2018/tags","blobs_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/misterOlrox/summer-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/misterOlrox/summer-2018/languages","stargazers_url":"https://api.github.com/repos/misterOlrox/summer-2018/stargazers","contributors_url":"https://api.github.com/repos/misterOlrox/summer-2018/contributors","subscribers_url":"https://api.github.com/repos/misterOlrox/summer-2018/subscribers","subscription_url":"https://api.github.com/repos/misterOlrox/summer-2018/subscription","commits_url":"https://api.github.com/repos/misterOlrox/summer-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/misterOlrox/summer-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/misterOlrox/summer-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/misterOlrox/summer-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/misterOlrox/summer-2018/contents/{+path}","compare_url":"https://api.github.com/repos/misterOlrox/summer-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/misterOlrox/summer-2018/merges","archive_url":"https://api.github.com/repos/misterOlrox/summer-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/misterOlrox/summer-2018/downloads","issues_url":"https://api.github.com/repos/misterOlrox/summer-2018/issues{/number}","pulls_url":"https://api.github.com/repos/misterOlrox/summer-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/misterOlrox/summer-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/misterOlrox/summer-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/misterOlrox/summer-2018/labels{/name}","releases_url":"https://api.github.com/repos/misterOlrox/summer-2018/releases{/id}","deployments_url":"https://api.github.com/repos/misterOlrox/summer-2018/deployments","created_at":"2018-07-06T05:21:22Z","updated_at":"2018-07-13T08:55:55Z","pushed_at":"2018-07-15T12:16:40Z","git_url":"git://github.com/misterOlrox/summer-2018.git","ssh_url":"git@github.com:misterOlrox/summer-2018.git","clone_url":"https://github.com/misterOlrox/summer-2018.git","svn_url":"https://github.com/misterOlrox/summer-2018","homepage":null,"size":86897,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/18"},"html":{"href":"https://github.com/misterOlrox/summer-2018/pull/18"},"issue":{"href":"https://api.github.com/repos/misterOlrox/summer-2018/issues/18"},"comments":{"href":"https://api.github.com/repos/misterOlrox/summer-2018/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/misterOlrox/summer-2018/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/misterOlrox/summer-2018/statuses/711eb48699408a9b9667ccb50375afdf8da5c686"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}