{"action":"created","comment":{"url":"https://api.github.com/repos/nystromb/minimax-server/pulls/comments/49959644","id":49959644,"diff_hunk":"@@ -0,0 +1,37 @@\n+(ns minimax-server.router-spec\n+  (:import [scarvill.httpserver.response Response]\n+           [scarvill.httpserver.request Request RequestBuilder Method])\n+  (:require [speclj.core :refer :all]\n+            [minimax-server.router :refer :all]\n+            [clojure.string :as str]))\n+\n+(describe \"router\"\n+\n+  (defn request-with [current-player board]\n+    (-> (new RequestBuilder)","path":"spec/minimax_server/router_spec.clj","position":11,"original_position":11,"commit_id":"e5c84ab2e4303c2df1ef5b9e62365e004714ecec","original_commit_id":"e5c84ab2e4303c2df1ef5b9e62365e004714ecec","user":{"login":"aaronlahey","id":1595846,"avatar_url":"https://avatars.githubusercontent.com/u/1595846?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlahey","html_url":"https://github.com/aaronlahey","followers_url":"https://api.github.com/users/aaronlahey/followers","following_url":"https://api.github.com/users/aaronlahey/following{/other_user}","gists_url":"https://api.github.com/users/aaronlahey/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlahey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlahey/subscriptions","organizations_url":"https://api.github.com/users/aaronlahey/orgs","repos_url":"https://api.github.com/users/aaronlahey/repos","events_url":"https://api.github.com/users/aaronlahey/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlahey/received_events","type":"User","site_admin":false},"body":"use `doto` here.","created_at":"2016-01-18T03:23:46Z","updated_at":"2016-01-18T03:23:46Z","html_url":"https://github.com/nystromb/minimax-server/pull/2#discussion_r49959644","pull_request_url":"https://api.github.com/repos/nystromb/minimax-server/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/nystromb/minimax-server/pulls/comments/49959644"},"html":{"href":"https://github.com/nystromb/minimax-server/pull/2#discussion_r49959644"},"pull_request":{"href":"https://api.github.com/repos/nystromb/minimax-server/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/nystromb/minimax-server/pulls/2","id":56097406,"html_url":"https://github.com/nystromb/minimax-server/pull/2","diff_url":"https://github.com/nystromb/minimax-server/pull/2.diff","patch_url":"https://github.com/nystromb/minimax-server/pull/2.patch","issue_url":"https://api.github.com/repos/nystromb/minimax-server/issues/2","number":2,"state":"closed","locked":false,"title":"Implement minimax service router","user":{"login":"nystromb","id":10084285,"avatar_url":"https://avatars.githubusercontent.com/u/10084285?v=3","gravatar_id":"","url":"https://api.github.com/users/nystromb","html_url":"https://github.com/nystromb","followers_url":"https://api.github.com/users/nystromb/followers","following_url":"https://api.github.com/users/nystromb/following{/other_user}","gists_url":"https://api.github.com/users/nystromb/gists{/gist_id}","starred_url":"https://api.github.com/users/nystromb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nystromb/subscriptions","organizations_url":"https://api.github.com/users/nystromb/orgs","repos_url":"https://api.github.com/users/nystromb/repos","events_url":"https://api.github.com/users/nystromb/events{/privacy}","received_events_url":"https://api.github.com/users/nystromb/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-14T21:36:44Z","updated_at":"2016-01-18T03:23:46Z","closed_at":"2016-01-14T21:36:49Z","merged_at":"2016-01-14T21:36:49Z","merge_commit_sha":"83441f3f8cfbc02563f9c77d8ce05d9b3687e59b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nystromb/minimax-server/pulls/2/commits","review_comments_url":"https://api.github.com/repos/nystromb/minimax-server/pulls/2/comments","review_comment_url":"https://api.github.com/repos/nystromb/minimax-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nystromb/minimax-server/issues/2/comments","statuses_url":"https://api.github.com/repos/nystromb/minimax-server/statuses/e5c84ab2e4303c2df1ef5b9e62365e004714ecec","head":{"label":"nystromb:router","ref":"router","sha":"e5c84ab2e4303c2df1ef5b9e62365e004714ecec","user":{"login":"nystromb","id":10084285,"avatar_url":"https://avatars.githubusercontent.com/u/10084285?v=3","gravatar_id":"","url":"https://api.github.com/users/nystromb","html_url":"https://github.com/nystromb","followers_url":"https://api.github.com/users/nystromb/followers","following_url":"https://api.github.com/users/nystromb/following{/other_user}","gists_url":"https://api.github.com/users/nystromb/gists{/gist_id}","starred_url":"https://api.github.com/users/nystromb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nystromb/subscriptions","organizations_url":"https://api.github.com/users/nystromb/orgs","repos_url":"https://api.github.com/users/nystromb/repos","events_url":"https://api.github.com/users/nystromb/events{/privacy}","received_events_url":"https://api.github.com/users/nystromb/received_events","type":"User","site_admin":false},"repo":{"id":49598620,"name":"minimax-server","full_name":"nystromb/minimax-server","owner":{"login":"nystromb","id":10084285,"avatar_url":"https://avatars.githubusercontent.com/u/10084285?v=3","gravatar_id":"","url":"https://api.github.com/users/nystromb","html_url":"https://github.com/nystromb","followers_url":"https://api.github.com/users/nystromb/followers","following_url":"https://api.github.com/users/nystromb/following{/other_user}","gists_url":"https://api.github.com/users/nystromb/gists{/gist_id}","starred_url":"https://api.github.com/users/nystromb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nystromb/subscriptions","organizations_url":"https://api.github.com/users/nystromb/orgs","repos_url":"https://api.github.com/users/nystromb/repos","events_url":"https://api.github.com/users/nystromb/events{/privacy}","received_events_url":"https://api.github.com/users/nystromb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nystromb/minimax-server","description":"","fork":false,"url":"https://api.github.com/repos/nystromb/minimax-server","forks_url":"https://api.github.com/repos/nystromb/minimax-server/forks","keys_url":"https://api.github.com/repos/nystromb/minimax-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nystromb/minimax-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nystromb/minimax-server/teams","hooks_url":"https://api.github.com/repos/nystromb/minimax-server/hooks","issue_events_url":"https://api.github.com/repos/nystromb/minimax-server/issues/events{/number}","events_url":"https://api.github.com/repos/nystromb/minimax-server/events","assignees_url":"https://api.github.com/repos/nystromb/minimax-server/assignees{/user}","branches_url":"https://api.github.com/repos/nystromb/minimax-server/branches{/branch}","tags_url":"https://api.github.com/repos/nystromb/minimax-server/tags","blobs_url":"https://api.github.com/repos/nystromb/minimax-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nystromb/minimax-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nystromb/minimax-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nystromb/minimax-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nystromb/minimax-server/statuses/{sha}","languages_url":"https://api.github.com/repos/nystromb/minimax-server/languages","stargazers_url":"https://api.github.com/repos/nystromb/minimax-server/stargazers","contributors_url":"https://api.github.com/repos/nystromb/minimax-server/contributors","subscribers_url":"https://api.github.com/repos/nystromb/minimax-server/subscribers","subscription_url":"https://api.github.com/repos/nystromb/minimax-server/subscription","commits_url":"https://api.github.com/repos/nystromb/minimax-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nystromb/minimax-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nystromb/minimax-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nystromb/minimax-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nystromb/minimax-server/contents/{+path}","compare_url":"https://api.github.com/repos/nystromb/minimax-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nystromb/minimax-server/merges","archive_url":"https://api.github.com/repos/nystromb/minimax-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nystromb/minimax-server/downloads","issues_url":"https://api.github.com/repos/nystromb/minimax-server/issues{/number}","pulls_url":"https://api.github.com/repos/nystromb/minimax-server/pulls{/number}","milestones_url":"https://api.github.com/repos/nystromb/minimax-server/milestones{/number}","notifications_url":"https://api.github.com/repos/nystromb/minimax-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nystromb/minimax-server/labels{/name}","releases_url":"https://api.github.com/repos/nystromb/minimax-server/releases{/id}","created_at":"2016-01-13T20:06:45Z","updated_at":"2016-01-13T20:07:05Z","pushed_at":"2016-01-15T17:47:19Z","git_url":"git://github.com/nystromb/minimax-server.git","ssh_url":"git@github.com:nystromb/minimax-server.git","clone_url":"https://github.com/nystromb/minimax-server.git","svn_url":"https://github.com/nystromb/minimax-server","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"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":"nystromb:master","ref":"master","sha":"9d0b6ff30521ef3274b75fa366add60ced12007b","user":{"login":"nystromb","id":10084285,"avatar_url":"https://avatars.githubusercontent.com/u/10084285?v=3","gravatar_id":"","url":"https://api.github.com/users/nystromb","html_url":"https://github.com/nystromb","followers_url":"https://api.github.com/users/nystromb/followers","following_url":"https://api.github.com/users/nystromb/following{/other_user}","gists_url":"https://api.github.com/users/nystromb/gists{/gist_id}","starred_url":"https://api.github.com/users/nystromb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nystromb/subscriptions","organizations_url":"https://api.github.com/users/nystromb/orgs","repos_url":"https://api.github.com/users/nystromb/repos","events_url":"https://api.github.com/users/nystromb/events{/privacy}","received_events_url":"https://api.github.com/users/nystromb/received_events","type":"User","site_admin":false},"repo":{"id":49598620,"name":"minimax-server","full_name":"nystromb/minimax-server","owner":{"login":"nystromb","id":10084285,"avatar_url":"https://avatars.githubusercontent.com/u/10084285?v=3","gravatar_id":"","url":"https://api.github.com/users/nystromb","html_url":"https://github.com/nystromb","followers_url":"https://api.github.com/users/nystromb/followers","following_url":"https://api.github.com/users/nystromb/following{/other_user}","gists_url":"https://api.github.com/users/nystromb/gists{/gist_id}","starred_url":"https://api.github.com/users/nystromb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nystromb/subscriptions","organizations_url":"https://api.github.com/users/nystromb/orgs","repos_url":"https://api.github.com/users/nystromb/repos","events_url":"https://api.github.com/users/nystromb/events{/privacy}","received_events_url":"https://api.github.com/users/nystromb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nystromb/minimax-server","description":"","fork":false,"url":"https://api.github.com/repos/nystromb/minimax-server","forks_url":"https://api.github.com/repos/nystromb/minimax-server/forks","keys_url":"https://api.github.com/repos/nystromb/minimax-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nystromb/minimax-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nystromb/minimax-server/teams","hooks_url":"https://api.github.com/repos/nystromb/minimax-server/hooks","issue_events_url":"https://api.github.com/repos/nystromb/minimax-server/issues/events{/number}","events_url":"https://api.github.com/repos/nystromb/minimax-server/events","assignees_url":"https://api.github.com/repos/nystromb/minimax-server/assignees{/user}","branches_url":"https://api.github.com/repos/nystromb/minimax-server/branches{/branch}","tags_url":"https://api.github.com/repos/nystromb/minimax-server/tags","blobs_url":"https://api.github.com/repos/nystromb/minimax-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nystromb/minimax-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nystromb/minimax-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nystromb/minimax-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nystromb/minimax-server/statuses/{sha}","languages_url":"https://api.github.com/repos/nystromb/minimax-server/languages","stargazers_url":"https://api.github.com/repos/nystromb/minimax-server/stargazers","contributors_url":"https://api.github.com/repos/nystromb/minimax-server/contributors","subscribers_url":"https://api.github.com/repos/nystromb/minimax-server/subscribers","subscription_url":"https://api.github.com/repos/nystromb/minimax-server/subscription","commits_url":"https://api.github.com/repos/nystromb/minimax-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nystromb/minimax-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nystromb/minimax-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nystromb/minimax-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nystromb/minimax-server/contents/{+path}","compare_url":"https://api.github.com/repos/nystromb/minimax-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nystromb/minimax-server/merges","archive_url":"https://api.github.com/repos/nystromb/minimax-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nystromb/minimax-server/downloads","issues_url":"https://api.github.com/repos/nystromb/minimax-server/issues{/number}","pulls_url":"https://api.github.com/repos/nystromb/minimax-server/pulls{/number}","milestones_url":"https://api.github.com/repos/nystromb/minimax-server/milestones{/number}","notifications_url":"https://api.github.com/repos/nystromb/minimax-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nystromb/minimax-server/labels{/name}","releases_url":"https://api.github.com/repos/nystromb/minimax-server/releases{/id}","created_at":"2016-01-13T20:06:45Z","updated_at":"2016-01-13T20:07:05Z","pushed_at":"2016-01-15T17:47:19Z","git_url":"git://github.com/nystromb/minimax-server.git","ssh_url":"git@github.com:nystromb/minimax-server.git","clone_url":"https://github.com/nystromb/minimax-server.git","svn_url":"https://github.com/nystromb/minimax-server","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/nystromb/minimax-server/pulls/2"},"html":{"href":"https://github.com/nystromb/minimax-server/pull/2"},"issue":{"href":"https://api.github.com/repos/nystromb/minimax-server/issues/2"},"comments":{"href":"https://api.github.com/repos/nystromb/minimax-server/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/nystromb/minimax-server/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/nystromb/minimax-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nystromb/minimax-server/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/nystromb/minimax-server/statuses/e5c84ab2e4303c2df1ef5b9e62365e004714ecec"}}}}