{"action":"created","comment":{"url":"https://api.github.com/repos/codereviewers/codereviewer/pulls/comments/172101172","pull_request_review_id":101060156,"id":172101172,"diff_hunk":"@@ -1,34 +1,20 @@\n-require 'spec_helper'\n-\n-describe \"App\" do\n-  describe 'received get at' do\n-    describe '/' do\n-      it 'responds ok' do\n-        get '/'\n-\n-        expect(last_response).to be_ok\n-      end\n-\n-      it 'says hello world' do\n-        get '/'\n+# frozen_string_literal: true\n \n-        expect(last_response.body).to eq 'Hello world!'\n-      end\n-    end\n-  end\n+require 'spec_helper'\n \n+RSpec.describe 'App' do\n   describe 'received post at' do\n-    describe '/webhooks' do\n-      it 'responds ok' do\n-        post '/webhooks'\n+    describe '/' do\n+      it 'does not responds ok' do\n+        post '/'\n \n-        expect(last_response).to be_ok\n+        expect(last_response).not_to be_ok","path":"spec/app_spec.rb","position":32,"original_position":32,"commit_id":"f40d52025522febabcc34f5bcae5bbfc56c3b1fb","original_commit_id":"f40d52025522febabcc34f5bcae5bbfc56c3b1fb","user":{"login":"Dom-R","id":9275937,"avatar_url":"https://avatars3.githubusercontent.com/u/9275937?v=4","gravatar_id":"","url":"https://api.github.com/users/Dom-R","html_url":"https://github.com/Dom-R","followers_url":"https://api.github.com/users/Dom-R/followers","following_url":"https://api.github.com/users/Dom-R/following{/other_user}","gists_url":"https://api.github.com/users/Dom-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Dom-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dom-R/subscriptions","organizations_url":"https://api.github.com/users/Dom-R/orgs","repos_url":"https://api.github.com/users/Dom-R/repos","events_url":"https://api.github.com/users/Dom-R/events{/privacy}","received_events_url":"https://api.github.com/users/Dom-R/received_events","type":"User","site_admin":false},"body":"Since we currently only have UnknownRequest, all requests are going to return 412.\r\n\r\nThis spec is going to get better on the next PR, where we add a pull request handler.\r\n","created_at":"2018-03-05T06:47:04Z","updated_at":"2018-03-05T06:47:04Z","html_url":"https://github.com/codereviewers/codereviewer/pull/1#discussion_r172101172","pull_request_url":"https://api.github.com/repos/codereviewers/codereviewer/pulls/1","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/codereviewers/codereviewer/pulls/comments/172101172"},"html":{"href":"https://github.com/codereviewers/codereviewer/pull/1#discussion_r172101172"},"pull_request":{"href":"https://api.github.com/repos/codereviewers/codereviewer/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/codereviewers/codereviewer/pulls/1","id":172759270,"html_url":"https://github.com/codereviewers/codereviewer/pull/1","diff_url":"https://github.com/codereviewers/codereviewer/pull/1.diff","patch_url":"https://github.com/codereviewers/codereviewer/pull/1.patch","issue_url":"https://api.github.com/repos/codereviewers/codereviewer/issues/1","number":1,"state":"open","locked":false,"title":"Request Identificator","user":{"login":"Dom-R","id":9275937,"avatar_url":"https://avatars3.githubusercontent.com/u/9275937?v=4","gravatar_id":"","url":"https://api.github.com/users/Dom-R","html_url":"https://github.com/Dom-R","followers_url":"https://api.github.com/users/Dom-R/followers","following_url":"https://api.github.com/users/Dom-R/following{/other_user}","gists_url":"https://api.github.com/users/Dom-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Dom-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dom-R/subscriptions","organizations_url":"https://api.github.com/users/Dom-R/orgs","repos_url":"https://api.github.com/users/Dom-R/repos","events_url":"https://api.github.com/users/Dom-R/events{/privacy}","received_events_url":"https://api.github.com/users/Dom-R/received_events","type":"User","site_admin":false},"body":"* Reworked the Identificator, whose purpose is to identify the object most suitable to process the incoming request.\r\n* UnknownRequest returns 412 due to the upcoming header evaluation on the identificator (https://httpstatuses.com/412)\r\n* Reworked the routes\r\n","created_at":"2018-03-05T02:13:51Z","updated_at":"2018-03-05T06:47:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6a293b617a95a686439ddd15f0a117470e9725e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codereviewers/codereviewer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/codereviewers/codereviewer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/codereviewers/codereviewer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codereviewers/codereviewer/issues/1/comments","statuses_url":"https://api.github.com/repos/codereviewers/codereviewer/statuses/f40d52025522febabcc34f5bcae5bbfc56c3b1fb","head":{"label":"codereviewers:identificator","ref":"identificator","sha":"f40d52025522febabcc34f5bcae5bbfc56c3b1fb","user":{"login":"codereviewers","id":36747690,"avatar_url":"https://avatars1.githubusercontent.com/u/36747690?v=4","gravatar_id":"","url":"https://api.github.com/users/codereviewers","html_url":"https://github.com/codereviewers","followers_url":"https://api.github.com/users/codereviewers/followers","following_url":"https://api.github.com/users/codereviewers/following{/other_user}","gists_url":"https://api.github.com/users/codereviewers/gists{/gist_id}","starred_url":"https://api.github.com/users/codereviewers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codereviewers/subscriptions","organizations_url":"https://api.github.com/users/codereviewers/orgs","repos_url":"https://api.github.com/users/codereviewers/repos","events_url":"https://api.github.com/users/codereviewers/events{/privacy}","received_events_url":"https://api.github.com/users/codereviewers/received_events","type":"Organization","site_admin":false},"repo":{"id":122542900,"name":"codereviewer","full_name":"codereviewers/codereviewer","owner":{"login":"codereviewers","id":36747690,"avatar_url":"https://avatars1.githubusercontent.com/u/36747690?v=4","gravatar_id":"","url":"https://api.github.com/users/codereviewers","html_url":"https://github.com/codereviewers","followers_url":"https://api.github.com/users/codereviewers/followers","following_url":"https://api.github.com/users/codereviewers/following{/other_user}","gists_url":"https://api.github.com/users/codereviewers/gists{/gist_id}","starred_url":"https://api.github.com/users/codereviewers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codereviewers/subscriptions","organizations_url":"https://api.github.com/users/codereviewers/orgs","repos_url":"https://api.github.com/users/codereviewers/repos","events_url":"https://api.github.com/users/codereviewers/events{/privacy}","received_events_url":"https://api.github.com/users/codereviewers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codereviewers/codereviewer","description":"Code Review Bot","fork":false,"url":"https://api.github.com/repos/codereviewers/codereviewer","forks_url":"https://api.github.com/repos/codereviewers/codereviewer/forks","keys_url":"https://api.github.com/repos/codereviewers/codereviewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codereviewers/codereviewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codereviewers/codereviewer/teams","hooks_url":"https://api.github.com/repos/codereviewers/codereviewer/hooks","issue_events_url":"https://api.github.com/repos/codereviewers/codereviewer/issues/events{/number}","events_url":"https://api.github.com/repos/codereviewers/codereviewer/events","assignees_url":"https://api.github.com/repos/codereviewers/codereviewer/assignees{/user}","branches_url":"https://api.github.com/repos/codereviewers/codereviewer/branches{/branch}","tags_url":"https://api.github.com/repos/codereviewers/codereviewer/tags","blobs_url":"https://api.github.com/repos/codereviewers/codereviewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codereviewers/codereviewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codereviewers/codereviewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/codereviewers/codereviewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codereviewers/codereviewer/statuses/{sha}","languages_url":"https://api.github.com/repos/codereviewers/codereviewer/languages","stargazers_url":"https://api.github.com/repos/codereviewers/codereviewer/stargazers","contributors_url":"https://api.github.com/repos/codereviewers/codereviewer/contributors","subscribers_url":"https://api.github.com/repos/codereviewers/codereviewer/subscribers","subscription_url":"https://api.github.com/repos/codereviewers/codereviewer/subscription","commits_url":"https://api.github.com/repos/codereviewers/codereviewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/codereviewers/codereviewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/codereviewers/codereviewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/codereviewers/codereviewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/codereviewers/codereviewer/contents/{+path}","compare_url":"https://api.github.com/repos/codereviewers/codereviewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codereviewers/codereviewer/merges","archive_url":"https://api.github.com/repos/codereviewers/codereviewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codereviewers/codereviewer/downloads","issues_url":"https://api.github.com/repos/codereviewers/codereviewer/issues{/number}","pulls_url":"https://api.github.com/repos/codereviewers/codereviewer/pulls{/number}","milestones_url":"https://api.github.com/repos/codereviewers/codereviewer/milestones{/number}","notifications_url":"https://api.github.com/repos/codereviewers/codereviewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codereviewers/codereviewer/labels{/name}","releases_url":"https://api.github.com/repos/codereviewers/codereviewer/releases{/id}","deployments_url":"https://api.github.com/repos/codereviewers/codereviewer/deployments","created_at":"2018-02-22T22:27:09Z","updated_at":"2018-02-23T06:13:20Z","pushed_at":"2018-03-05T06:46:34Z","git_url":"git://github.com/codereviewers/codereviewer.git","ssh_url":"git@github.com:codereviewers/codereviewer.git","clone_url":"https://github.com/codereviewers/codereviewer.git","svn_url":"https://github.com/codereviewers/codereviewer","homepage":null,"size":18,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"codereviewers:master","ref":"master","sha":"2138cabd4fcd04337f67401175b55bc8db68f413","user":{"login":"codereviewers","id":36747690,"avatar_url":"https://avatars1.githubusercontent.com/u/36747690?v=4","gravatar_id":"","url":"https://api.github.com/users/codereviewers","html_url":"https://github.com/codereviewers","followers_url":"https://api.github.com/users/codereviewers/followers","following_url":"https://api.github.com/users/codereviewers/following{/other_user}","gists_url":"https://api.github.com/users/codereviewers/gists{/gist_id}","starred_url":"https://api.github.com/users/codereviewers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codereviewers/subscriptions","organizations_url":"https://api.github.com/users/codereviewers/orgs","repos_url":"https://api.github.com/users/codereviewers/repos","events_url":"https://api.github.com/users/codereviewers/events{/privacy}","received_events_url":"https://api.github.com/users/codereviewers/received_events","type":"Organization","site_admin":false},"repo":{"id":122542900,"name":"codereviewer","full_name":"codereviewers/codereviewer","owner":{"login":"codereviewers","id":36747690,"avatar_url":"https://avatars1.githubusercontent.com/u/36747690?v=4","gravatar_id":"","url":"https://api.github.com/users/codereviewers","html_url":"https://github.com/codereviewers","followers_url":"https://api.github.com/users/codereviewers/followers","following_url":"https://api.github.com/users/codereviewers/following{/other_user}","gists_url":"https://api.github.com/users/codereviewers/gists{/gist_id}","starred_url":"https://api.github.com/users/codereviewers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codereviewers/subscriptions","organizations_url":"https://api.github.com/users/codereviewers/orgs","repos_url":"https://api.github.com/users/codereviewers/repos","events_url":"https://api.github.com/users/codereviewers/events{/privacy}","received_events_url":"https://api.github.com/users/codereviewers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codereviewers/codereviewer","description":"Code Review Bot","fork":false,"url":"https://api.github.com/repos/codereviewers/codereviewer","forks_url":"https://api.github.com/repos/codereviewers/codereviewer/forks","keys_url":"https://api.github.com/repos/codereviewers/codereviewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codereviewers/codereviewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codereviewers/codereviewer/teams","hooks_url":"https://api.github.com/repos/codereviewers/codereviewer/hooks","issue_events_url":"https://api.github.com/repos/codereviewers/codereviewer/issues/events{/number}","events_url":"https://api.github.com/repos/codereviewers/codereviewer/events","assignees_url":"https://api.github.com/repos/codereviewers/codereviewer/assignees{/user}","branches_url":"https://api.github.com/repos/codereviewers/codereviewer/branches{/branch}","tags_url":"https://api.github.com/repos/codereviewers/codereviewer/tags","blobs_url":"https://api.github.com/repos/codereviewers/codereviewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codereviewers/codereviewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codereviewers/codereviewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/codereviewers/codereviewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codereviewers/codereviewer/statuses/{sha}","languages_url":"https://api.github.com/repos/codereviewers/codereviewer/languages","stargazers_url":"https://api.github.com/repos/codereviewers/codereviewer/stargazers","contributors_url":"https://api.github.com/repos/codereviewers/codereviewer/contributors","subscribers_url":"https://api.github.com/repos/codereviewers/codereviewer/subscribers","subscription_url":"https://api.github.com/repos/codereviewers/codereviewer/subscription","commits_url":"https://api.github.com/repos/codereviewers/codereviewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/codereviewers/codereviewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/codereviewers/codereviewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/codereviewers/codereviewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/codereviewers/codereviewer/contents/{+path}","compare_url":"https://api.github.com/repos/codereviewers/codereviewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codereviewers/codereviewer/merges","archive_url":"https://api.github.com/repos/codereviewers/codereviewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codereviewers/codereviewer/downloads","issues_url":"https://api.github.com/repos/codereviewers/codereviewer/issues{/number}","pulls_url":"https://api.github.com/repos/codereviewers/codereviewer/pulls{/number}","milestones_url":"https://api.github.com/repos/codereviewers/codereviewer/milestones{/number}","notifications_url":"https://api.github.com/repos/codereviewers/codereviewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codereviewers/codereviewer/labels{/name}","releases_url":"https://api.github.com/repos/codereviewers/codereviewer/releases{/id}","deployments_url":"https://api.github.com/repos/codereviewers/codereviewer/deployments","created_at":"2018-02-22T22:27:09Z","updated_at":"2018-02-23T06:13:20Z","pushed_at":"2018-03-05T06:46:34Z","git_url":"git://github.com/codereviewers/codereviewer.git","ssh_url":"git@github.com:codereviewers/codereviewer.git","clone_url":"https://github.com/codereviewers/codereviewer.git","svn_url":"https://github.com/codereviewers/codereviewer","homepage":null,"size":18,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codereviewers/codereviewer/pulls/1"},"html":{"href":"https://github.com/codereviewers/codereviewer/pull/1"},"issue":{"href":"https://api.github.com/repos/codereviewers/codereviewer/issues/1"},"comments":{"href":"https://api.github.com/repos/codereviewers/codereviewer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/codereviewers/codereviewer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/codereviewers/codereviewer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codereviewers/codereviewer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/codereviewers/codereviewer/statuses/f40d52025522febabcc34f5bcae5bbfc56c3b1fb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Dom-R"}}