{"action":"created","comment":{"url":"https://api.github.com/repos/esl/amoc/pulls/comments/42744709","id":42744709,"diff_hunk":"@@ -41,22 +47,26 @@ ping(Node) ->\n               pang\n     end.\n \n+-spec start(string(), file:filename()) -> ok.\n start(Host, Directory) ->\n     gen_server:call(?SERVER, {start, Host, Directory}).\n \n+-spec monitor_master(node()) -> ok.\n monitor_master(Node) ->\n     gen_server:call({?SERVER, Node}, {monitor_master, node()}).\n \n %% ------------------------------------------------------------------\n %% gen_server Function Definitions\n %% ------------------------------------------------------------------\n+-spec init([]) -> {ok, state()}.\n init([]) ->\n     schedule_timer(),\n     {ok, #state{to_ack = []}}.\n \n+-spec handle_call(command(), {pid(), any()}, state()) -> {reply, ok | pong, state()}.","path":"src/amoc_slave.erl","position":45,"original_position":45,"commit_id":"c071ae872eef1e824933bc57a83b328f2f217678","original_commit_id":"c071ae872eef1e824933bc57a83b328f2f217678","user":{"login":"gadgetci","id":10134338,"avatar_url":"https://avatars.githubusercontent.com/u/10134338?v=3","gravatar_id":"","url":"https://api.github.com/users/gadgetci","html_url":"https://github.com/gadgetci","followers_url":"https://api.github.com/users/gadgetci/followers","following_url":"https://api.github.com/users/gadgetci/following{/other_user}","gists_url":"https://api.github.com/users/gadgetci/gists{/gist_id}","starred_url":"https://api.github.com/users/gadgetci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadgetci/subscriptions","organizations_url":"https://api.github.com/users/gadgetci/orgs","repos_url":"https://api.github.com/users/gadgetci/repos","events_url":"https://api.github.com/users/gadgetci/events{/privacy}","received_events_url":"https://api.github.com/users/gadgetci/received_events","type":"User","site_admin":false},"body":"According to **Elvis**:\n> Line 66 is too long: -spec handle_call(command(), {pid(), any()}, state()) -> {reply, ok | pong, state()}..","created_at":"2015-10-22T13:04:16Z","updated_at":"2015-10-22T13:04:16Z","html_url":"https://github.com/esl/amoc/pull/7#discussion_r42744709","pull_request_url":"https://api.github.com/repos/esl/amoc/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/esl/amoc/pulls/comments/42744709"},"html":{"href":"https://github.com/esl/amoc/pull/7#discussion_r42744709"},"pull_request":{"href":"https://api.github.com/repos/esl/amoc/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/esl/amoc/pulls/7","id":45677371,"html_url":"https://github.com/esl/amoc/pull/7","diff_url":"https://github.com/esl/amoc/pull/7.diff","patch_url":"https://github.com/esl/amoc/pull/7.patch","issue_url":"https://api.github.com/repos/esl/amoc/issues/7","number":7,"state":"open","locked":false,"title":"Add dialyzer target","user":{"login":"ppikula","id":244143,"avatar_url":"https://avatars.githubusercontent.com/u/244143?v=3","gravatar_id":"","url":"https://api.github.com/users/ppikula","html_url":"https://github.com/ppikula","followers_url":"https://api.github.com/users/ppikula/followers","following_url":"https://api.github.com/users/ppikula/following{/other_user}","gists_url":"https://api.github.com/users/ppikula/gists{/gist_id}","starred_url":"https://api.github.com/users/ppikula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppikula/subscriptions","organizations_url":"https://api.github.com/users/ppikula/orgs","repos_url":"https://api.github.com/users/ppikula/repos","events_url":"https://api.github.com/users/ppikula/events{/privacy}","received_events_url":"https://api.github.com/users/ppikula/received_events","type":"User","site_admin":false},"body":"The idea of this PR is to add specs to all amoc's functions and testing in on Travis.","created_at":"2015-09-22T15:23:18Z","updated_at":"2015-10-22T13:04:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96e1e474004bf618ddf0677f0fb942aaeddac3dc","assignee":{"login":"ludwikbukowski","id":6969609,"avatar_url":"https://avatars.githubusercontent.com/u/6969609?v=3","gravatar_id":"","url":"https://api.github.com/users/ludwikbukowski","html_url":"https://github.com/ludwikbukowski","followers_url":"https://api.github.com/users/ludwikbukowski/followers","following_url":"https://api.github.com/users/ludwikbukowski/following{/other_user}","gists_url":"https://api.github.com/users/ludwikbukowski/gists{/gist_id}","starred_url":"https://api.github.com/users/ludwikbukowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludwikbukowski/subscriptions","organizations_url":"https://api.github.com/users/ludwikbukowski/orgs","repos_url":"https://api.github.com/users/ludwikbukowski/repos","events_url":"https://api.github.com/users/ludwikbukowski/events{/privacy}","received_events_url":"https://api.github.com/users/ludwikbukowski/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/esl/amoc/pulls/7/commits","review_comments_url":"https://api.github.com/repos/esl/amoc/pulls/7/comments","review_comment_url":"https://api.github.com/repos/esl/amoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esl/amoc/issues/7/comments","statuses_url":"https://api.github.com/repos/esl/amoc/statuses/c071ae872eef1e824933bc57a83b328f2f217678","head":{"label":"esl:dialyzer","ref":"dialyzer","sha":"c071ae872eef1e824933bc57a83b328f2f217678","user":{"login":"esl","id":283412,"avatar_url":"https://avatars.githubusercontent.com/u/283412?v=3","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"repo":{"id":30109806,"name":"amoc","full_name":"esl/amoc","owner":{"login":"esl","id":283412,"avatar_url":"https://avatars.githubusercontent.com/u/283412?v=3","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/esl/amoc","description":"amoc is a simple tool for running massively parallel XMPP tests","fork":false,"url":"https://api.github.com/repos/esl/amoc","forks_url":"https://api.github.com/repos/esl/amoc/forks","keys_url":"https://api.github.com/repos/esl/amoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esl/amoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esl/amoc/teams","hooks_url":"https://api.github.com/repos/esl/amoc/hooks","issue_events_url":"https://api.github.com/repos/esl/amoc/issues/events{/number}","events_url":"https://api.github.com/repos/esl/amoc/events","assignees_url":"https://api.github.com/repos/esl/amoc/assignees{/user}","branches_url":"https://api.github.com/repos/esl/amoc/branches{/branch}","tags_url":"https://api.github.com/repos/esl/amoc/tags","blobs_url":"https://api.github.com/repos/esl/amoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esl/amoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esl/amoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/esl/amoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esl/amoc/statuses/{sha}","languages_url":"https://api.github.com/repos/esl/amoc/languages","stargazers_url":"https://api.github.com/repos/esl/amoc/stargazers","contributors_url":"https://api.github.com/repos/esl/amoc/contributors","subscribers_url":"https://api.github.com/repos/esl/amoc/subscribers","subscription_url":"https://api.github.com/repos/esl/amoc/subscription","commits_url":"https://api.github.com/repos/esl/amoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/esl/amoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/esl/amoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/esl/amoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/esl/amoc/contents/{+path}","compare_url":"https://api.github.com/repos/esl/amoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esl/amoc/merges","archive_url":"https://api.github.com/repos/esl/amoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esl/amoc/downloads","issues_url":"https://api.github.com/repos/esl/amoc/issues{/number}","pulls_url":"https://api.github.com/repos/esl/amoc/pulls{/number}","milestones_url":"https://api.github.com/repos/esl/amoc/milestones{/number}","notifications_url":"https://api.github.com/repos/esl/amoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esl/amoc/labels{/name}","releases_url":"https://api.github.com/repos/esl/amoc/releases{/id}","created_at":"2015-01-31T10:57:07Z","updated_at":"2015-10-14T16:28:35Z","pushed_at":"2015-10-22T13:04:13Z","git_url":"git://github.com/esl/amoc.git","ssh_url":"git@github.com:esl/amoc.git","clone_url":"https://github.com/esl/amoc.git","svn_url":"https://github.com/esl/amoc","homepage":"","size":1323,"stargazers_count":23,"watchers_count":23,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":23,"default_branch":"master"}},"base":{"label":"esl:master","ref":"master","sha":"9f2b0d159888ed72f73ceb4b9de1cd5d402ab3f9","user":{"login":"esl","id":283412,"avatar_url":"https://avatars.githubusercontent.com/u/283412?v=3","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"repo":{"id":30109806,"name":"amoc","full_name":"esl/amoc","owner":{"login":"esl","id":283412,"avatar_url":"https://avatars.githubusercontent.com/u/283412?v=3","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/esl/amoc","description":"amoc is a simple tool for running massively parallel XMPP tests","fork":false,"url":"https://api.github.com/repos/esl/amoc","forks_url":"https://api.github.com/repos/esl/amoc/forks","keys_url":"https://api.github.com/repos/esl/amoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esl/amoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esl/amoc/teams","hooks_url":"https://api.github.com/repos/esl/amoc/hooks","issue_events_url":"https://api.github.com/repos/esl/amoc/issues/events{/number}","events_url":"https://api.github.com/repos/esl/amoc/events","assignees_url":"https://api.github.com/repos/esl/amoc/assignees{/user}","branches_url":"https://api.github.com/repos/esl/amoc/branches{/branch}","tags_url":"https://api.github.com/repos/esl/amoc/tags","blobs_url":"https://api.github.com/repos/esl/amoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esl/amoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esl/amoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/esl/amoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esl/amoc/statuses/{sha}","languages_url":"https://api.github.com/repos/esl/amoc/languages","stargazers_url":"https://api.github.com/repos/esl/amoc/stargazers","contributors_url":"https://api.github.com/repos/esl/amoc/contributors","subscribers_url":"https://api.github.com/repos/esl/amoc/subscribers","subscription_url":"https://api.github.com/repos/esl/amoc/subscription","commits_url":"https://api.github.com/repos/esl/amoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/esl/amoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/esl/amoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/esl/amoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/esl/amoc/contents/{+path}","compare_url":"https://api.github.com/repos/esl/amoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esl/amoc/merges","archive_url":"https://api.github.com/repos/esl/amoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esl/amoc/downloads","issues_url":"https://api.github.com/repos/esl/amoc/issues{/number}","pulls_url":"https://api.github.com/repos/esl/amoc/pulls{/number}","milestones_url":"https://api.github.com/repos/esl/amoc/milestones{/number}","notifications_url":"https://api.github.com/repos/esl/amoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esl/amoc/labels{/name}","releases_url":"https://api.github.com/repos/esl/amoc/releases{/id}","created_at":"2015-01-31T10:57:07Z","updated_at":"2015-10-14T16:28:35Z","pushed_at":"2015-10-22T13:04:13Z","git_url":"git://github.com/esl/amoc.git","ssh_url":"git@github.com:esl/amoc.git","clone_url":"https://github.com/esl/amoc.git","svn_url":"https://github.com/esl/amoc","homepage":"","size":1323,"stargazers_count":23,"watchers_count":23,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/esl/amoc/pulls/7"},"html":{"href":"https://github.com/esl/amoc/pull/7"},"issue":{"href":"https://api.github.com/repos/esl/amoc/issues/7"},"comments":{"href":"https://api.github.com/repos/esl/amoc/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/esl/amoc/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/esl/amoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esl/amoc/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/esl/amoc/statuses/c071ae872eef1e824933bc57a83b328f2f217678"}}}}