{"action":"created","comment":{"url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments/201927111","pull_request_review_id":136522836,"id":201927111,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTkyNzExMQ==","diff_hunk":"@@ -0,0 +1,51 @@\n+require File.expand_path(File.dirname(__FILE__) + '/neo')\n+\n+# This class smells of :reek:UncommunicativeModuleName\n+class AboutNil < Neo::Koan\n+  # This method smells of :reek:UncommunicativeMethodName\n+  # This method smells of :reek:UncommunicativeVariableName\n+  # This method smells of :reek:TooManyStatements\n+  # This method smells of :reek:FeatureEnvy\n+  def test_nil_is_an_object\n+    assert_equal true, nil.is_a?(Object), 'Unlike NULL in other languages'\n+  end\n+\n+  # This method smells of :reek:UncommunicativeMethodName\n+  # This method smells of :reek:UncommunicativeVariableName\n+  # This method smells of :reek:TooManyStatements\n+  # This method smells of :reek:FeatureEnvy\n+  def test_you_dont_get_null_pointer_errors_when_calling_methods_on_nil\n+    # What happens when you call a method that doesn't exist.  The\n+    # following begin/rescue/end code block captures the exception and\n+    # make some assertions about it.\n+\n+    nil.some_method_nil_doesnt_know_about\n+  rescue Exception => ex\n+    # What exception has been caught?\n+    assert_equal NoMethodError, ex.class\n+\n+    # What message was attached to the exception?\n+    # (HINT: replace __ with part of the error message.)\n+    # assert_match(/\"no method\"/, ex.message)\n+    # the keyword here is not \"no method\" but rather \"undefined method\"\n+  end\n+\n+  # This method smells of :reek:UncommunicativeMethodName\n+  # This method smells of :reek:UncommunicativeVariableName\n+  # This method smells of :reek:TooManyStatements\n+  # This method smells of :reek:FeatureEnvy\n+  # This method smeels of :reek:NilCheck\n+  def test_nil_has_a_few_methods_defined_on_it\n+    assert_equal true, nil.nil?\n+    assert_equal '', nil.to_s\n+    assert_equal 'nil', nil.inspect\n+\n+  # THINK ABOUT IT:\n+  #\n+  # Is it better to use\n+  #    obj.nil?\n+  # or\n+  #    obj == nil\n+  # Why?\n+end","path":"2402/1/koans/about_nil.rb","position":50,"original_position":50,"commit_id":"6ca9823e3feb4868614c5ac73f90c5f6dbf4551a","original_commit_id":"6ca9823e3feb4868614c5ac73f90c5f6dbf4551a","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":"Layout/DefEndAlignment: end at 50, 0 is not aligned with def at 38, 2.","created_at":"2018-07-12T06:57:26Z","updated_at":"2018-07-12T06:57:28Z","html_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/204#discussion_r201927111","pull_request_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/204","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments/201927111"},"html":{"href":"https://github.com/rubizza-survival-camp/summer-2018/pull/204#discussion_r201927111"},"pull_request":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/204"}}},"pull_request":{"url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/204","id":200894326,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwODk0MzI2","html_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/204","diff_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/204.diff","patch_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/204.patch","issue_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/204","number":204,"state":"open","locked":false,"title":"2402-1","user":{"login":"dbakovich","id":25638731,"node_id":"MDQ6VXNlcjI1NjM4NzMx","avatar_url":"https://avatars2.githubusercontent.com/u/25638731?v=4","gravatar_id":"","url":"https://api.github.com/users/dbakovich","html_url":"https://github.com/dbakovich","followers_url":"https://api.github.com/users/dbakovich/followers","following_url":"https://api.github.com/users/dbakovich/following{/other_user}","gists_url":"https://api.github.com/users/dbakovich/gists{/gist_id}","starred_url":"https://api.github.com/users/dbakovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbakovich/subscriptions","organizations_url":"https://api.github.com/users/dbakovich/orgs","repos_url":"https://api.github.com/users/dbakovich/repos","events_url":"https://api.github.com/users/dbakovich/events{/privacy}","received_events_url":"https://api.github.com/users/dbakovich/received_events","type":"User","site_admin":false},"body":"## Номер\r\n2402\r\n\r\n## Номер задания\r\n1\r\n\r\n## Ссылка на видео с демо\r\nhttps://www.youtube.com/watch?v=pUAe0_Okxlg\r\n\r\n## Комментарии\r\n","created_at":"2018-07-12T05:52:06Z","updated_at":"2018-07-12T06:57:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f4718a2f5a24a6226dd408bcdee239abe20e0ec","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/204/commits","review_comments_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/204/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/204/comments","statuses_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/statuses/6ca9823e3feb4868614c5ac73f90c5f6dbf4551a","head":{"label":"dbakovich:2402-1","ref":"2402-1","sha":"6ca9823e3feb4868614c5ac73f90c5f6dbf4551a","user":{"login":"dbakovich","id":25638731,"node_id":"MDQ6VXNlcjI1NjM4NzMx","avatar_url":"https://avatars2.githubusercontent.com/u/25638731?v=4","gravatar_id":"","url":"https://api.github.com/users/dbakovich","html_url":"https://github.com/dbakovich","followers_url":"https://api.github.com/users/dbakovich/followers","following_url":"https://api.github.com/users/dbakovich/following{/other_user}","gists_url":"https://api.github.com/users/dbakovich/gists{/gist_id}","starred_url":"https://api.github.com/users/dbakovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbakovich/subscriptions","organizations_url":"https://api.github.com/users/dbakovich/orgs","repos_url":"https://api.github.com/users/dbakovich/repos","events_url":"https://api.github.com/users/dbakovich/events{/privacy}","received_events_url":"https://api.github.com/users/dbakovich/received_events","type":"User","site_admin":false},"repo":{"id":140575081,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1NzUwODE=","name":"summer-2018","full_name":"dbakovich/summer-2018","owner":{"login":"dbakovich","id":25638731,"node_id":"MDQ6VXNlcjI1NjM4NzMx","avatar_url":"https://avatars2.githubusercontent.com/u/25638731?v=4","gravatar_id":"","url":"https://api.github.com/users/dbakovich","html_url":"https://github.com/dbakovich","followers_url":"https://api.github.com/users/dbakovich/followers","following_url":"https://api.github.com/users/dbakovich/following{/other_user}","gists_url":"https://api.github.com/users/dbakovich/gists{/gist_id}","starred_url":"https://api.github.com/users/dbakovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbakovich/subscriptions","organizations_url":"https://api.github.com/users/dbakovich/orgs","repos_url":"https://api.github.com/users/dbakovich/repos","events_url":"https://api.github.com/users/dbakovich/events{/privacy}","received_events_url":"https://api.github.com/users/dbakovich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dbakovich/summer-2018","description":null,"fork":true,"url":"https://api.github.com/repos/dbakovich/summer-2018","forks_url":"https://api.github.com/repos/dbakovich/summer-2018/forks","keys_url":"https://api.github.com/repos/dbakovich/summer-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbakovich/summer-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbakovich/summer-2018/teams","hooks_url":"https://api.github.com/repos/dbakovich/summer-2018/hooks","issue_events_url":"https://api.github.com/repos/dbakovich/summer-2018/issues/events{/number}","events_url":"https://api.github.com/repos/dbakovich/summer-2018/events","assignees_url":"https://api.github.com/repos/dbakovich/summer-2018/assignees{/user}","branches_url":"https://api.github.com/repos/dbakovich/summer-2018/branches{/branch}","tags_url":"https://api.github.com/repos/dbakovich/summer-2018/tags","blobs_url":"https://api.github.com/repos/dbakovich/summer-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbakovich/summer-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbakovich/summer-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbakovich/summer-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbakovich/summer-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/dbakovich/summer-2018/languages","stargazers_url":"https://api.github.com/repos/dbakovich/summer-2018/stargazers","contributors_url":"https://api.github.com/repos/dbakovich/summer-2018/contributors","subscribers_url":"https://api.github.com/repos/dbakovich/summer-2018/subscribers","subscription_url":"https://api.github.com/repos/dbakovich/summer-2018/subscription","commits_url":"https://api.github.com/repos/dbakovich/summer-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbakovich/summer-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbakovich/summer-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbakovich/summer-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbakovich/summer-2018/contents/{+path}","compare_url":"https://api.github.com/repos/dbakovich/summer-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbakovich/summer-2018/merges","archive_url":"https://api.github.com/repos/dbakovich/summer-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbakovich/summer-2018/downloads","issues_url":"https://api.github.com/repos/dbakovich/summer-2018/issues{/number}","pulls_url":"https://api.github.com/repos/dbakovich/summer-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/dbakovich/summer-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/dbakovich/summer-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbakovich/summer-2018/labels{/name}","releases_url":"https://api.github.com/repos/dbakovich/summer-2018/releases{/id}","deployments_url":"https://api.github.com/repos/dbakovich/summer-2018/deployments","created_at":"2018-07-11T12:55:28Z","updated_at":"2018-07-11T12:55:31Z","pushed_at":"2018-07-12T06:56:35Z","git_url":"git://github.com/dbakovich/summer-2018.git","ssh_url":"git@github.com:dbakovich/summer-2018.git","clone_url":"https://github.com/dbakovich/summer-2018.git","svn_url":"https://github.com/dbakovich/summer-2018","homepage":null,"size":86373,"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":"4ef69f691a8f5ef71dd880046be086ce4627751a","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-11T21:41:35Z","pushed_at":"2018-07-12T06:56:36Z","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":86551,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"archived":false,"open_issues_count":28,"license":null,"forks":56,"open_issues":28,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/204"},"html":{"href":"https://github.com/rubizza-survival-camp/summer-2018/pull/204"},"issue":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/204"},"comments":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/204/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/204/commits"},"statuses":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/statuses/6ca9823e3feb4868614c5ac73f90c5f6dbf4551a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}