{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/goldfire/democracy.js/pulls/1","id":65186403,"html_url":"https://github.com/goldfire/democracy.js/pull/1","diff_url":"https://github.com/goldfire/democracy.js/pull/1.diff","patch_url":"https://github.com/goldfire/democracy.js/pull/1.patch","issue_url":"https://api.github.com/repos/goldfire/democracy.js/issues/1","number":1,"state":"open","locked":false,"title":"handle custom messaging between nodes","user":{"login":"raffaeleguidi","id":134353,"avatar_url":"https://avatars.githubusercontent.com/u/134353?v=3","gravatar_id":"","url":"https://api.github.com/users/raffaeleguidi","html_url":"https://github.com/raffaeleguidi","followers_url":"https://api.github.com/users/raffaeleguidi/followers","following_url":"https://api.github.com/users/raffaeleguidi/following{/other_user}","gists_url":"https://api.github.com/users/raffaeleguidi/gists{/gist_id}","starred_url":"https://api.github.com/users/raffaeleguidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffaeleguidi/subscriptions","organizations_url":"https://api.github.com/users/raffaeleguidi/orgs","repos_url":"https://api.github.com/users/raffaeleguidi/repos","events_url":"https://api.github.com/users/raffaeleguidi/events{/privacy}","received_events_url":"https://api.github.com/users/raffaeleguidi/received_events","type":"User","site_admin":false},"body":"I added two lines of code that allow nodes to communicate with each other with custom events - the use case I'm working on is a distributed monitoring and remediation system in which all nodes monitor services but only one (the elected master) are allowed to execute remediation actions.\r\nThese two lines of code simply allow not-\"election\" related events to pass through the framework and reach the nodes. \r\nAre you interested in pulling it in the master branch and publishing it in npm (after having reviewed it, of course)?\r\n\r\nRegards,\r\n    Raffaele ","created_at":"2016-04-04T17:58:45Z","updated_at":"2016-04-04T17:58:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/goldfire/democracy.js/pulls/1/commits","review_comments_url":"https://api.github.com/repos/goldfire/democracy.js/pulls/1/comments","review_comment_url":"https://api.github.com/repos/goldfire/democracy.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/goldfire/democracy.js/issues/1/comments","statuses_url":"https://api.github.com/repos/goldfire/democracy.js/statuses/437e46e06ac399234567df67db4758c1d69df8db","head":{"label":"raffaeleguidi:master","ref":"master","sha":"437e46e06ac399234567df67db4758c1d69df8db","user":{"login":"raffaeleguidi","id":134353,"avatar_url":"https://avatars.githubusercontent.com/u/134353?v=3","gravatar_id":"","url":"https://api.github.com/users/raffaeleguidi","html_url":"https://github.com/raffaeleguidi","followers_url":"https://api.github.com/users/raffaeleguidi/followers","following_url":"https://api.github.com/users/raffaeleguidi/following{/other_user}","gists_url":"https://api.github.com/users/raffaeleguidi/gists{/gist_id}","starred_url":"https://api.github.com/users/raffaeleguidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffaeleguidi/subscriptions","organizations_url":"https://api.github.com/users/raffaeleguidi/orgs","repos_url":"https://api.github.com/users/raffaeleguidi/repos","events_url":"https://api.github.com/users/raffaeleguidi/events{/privacy}","received_events_url":"https://api.github.com/users/raffaeleguidi/received_events","type":"User","site_admin":false},"repo":{"id":55430924,"name":"democracy.js","full_name":"raffaeleguidi/democracy.js","owner":{"login":"raffaeleguidi","id":134353,"avatar_url":"https://avatars.githubusercontent.com/u/134353?v=3","gravatar_id":"","url":"https://api.github.com/users/raffaeleguidi","html_url":"https://github.com/raffaeleguidi","followers_url":"https://api.github.com/users/raffaeleguidi/followers","following_url":"https://api.github.com/users/raffaeleguidi/following{/other_user}","gists_url":"https://api.github.com/users/raffaeleguidi/gists{/gist_id}","starred_url":"https://api.github.com/users/raffaeleguidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffaeleguidi/subscriptions","organizations_url":"https://api.github.com/users/raffaeleguidi/orgs","repos_url":"https://api.github.com/users/raffaeleguidi/repos","events_url":"https://api.github.com/users/raffaeleguidi/events{/privacy}","received_events_url":"https://api.github.com/users/raffaeleguidi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raffaeleguidi/democracy.js","description":"Node.js unicast discovery and master-slave elections.","fork":true,"url":"https://api.github.com/repos/raffaeleguidi/democracy.js","forks_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/forks","keys_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/teams","hooks_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/hooks","issue_events_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/issues/events{/number}","events_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/events","assignees_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/assignees{/user}","branches_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/branches{/branch}","tags_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/tags","blobs_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/statuses/{sha}","languages_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/languages","stargazers_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/stargazers","contributors_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/contributors","subscribers_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/subscribers","subscription_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/subscription","commits_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/contents/{+path}","compare_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/merges","archive_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/downloads","issues_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/issues{/number}","pulls_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/pulls{/number}","milestones_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/milestones{/number}","notifications_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/labels{/name}","releases_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/releases{/id}","deployments_url":"https://api.github.com/repos/raffaeleguidi/democracy.js/deployments","created_at":"2016-04-04T17:28:13Z","updated_at":"2016-04-04T17:28:14Z","pushed_at":"2016-04-04T17:51:00Z","git_url":"git://github.com/raffaeleguidi/democracy.js.git","ssh_url":"git@github.com:raffaeleguidi/democracy.js.git","clone_url":"https://github.com/raffaeleguidi/democracy.js.git","svn_url":"https://github.com/raffaeleguidi/democracy.js","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"goldfire:master","ref":"master","sha":"dd5c0867f0c951dbd181c62e917ef800a34bbc56","user":{"login":"goldfire","id":882005,"avatar_url":"https://avatars.githubusercontent.com/u/882005?v=3","gravatar_id":"","url":"https://api.github.com/users/goldfire","html_url":"https://github.com/goldfire","followers_url":"https://api.github.com/users/goldfire/followers","following_url":"https://api.github.com/users/goldfire/following{/other_user}","gists_url":"https://api.github.com/users/goldfire/gists{/gist_id}","starred_url":"https://api.github.com/users/goldfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldfire/subscriptions","organizations_url":"https://api.github.com/users/goldfire/orgs","repos_url":"https://api.github.com/users/goldfire/repos","events_url":"https://api.github.com/users/goldfire/events{/privacy}","received_events_url":"https://api.github.com/users/goldfire/received_events","type":"User","site_admin":false},"repo":{"id":50931037,"name":"democracy.js","full_name":"goldfire/democracy.js","owner":{"login":"goldfire","id":882005,"avatar_url":"https://avatars.githubusercontent.com/u/882005?v=3","gravatar_id":"","url":"https://api.github.com/users/goldfire","html_url":"https://github.com/goldfire","followers_url":"https://api.github.com/users/goldfire/followers","following_url":"https://api.github.com/users/goldfire/following{/other_user}","gists_url":"https://api.github.com/users/goldfire/gists{/gist_id}","starred_url":"https://api.github.com/users/goldfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldfire/subscriptions","organizations_url":"https://api.github.com/users/goldfire/orgs","repos_url":"https://api.github.com/users/goldfire/repos","events_url":"https://api.github.com/users/goldfire/events{/privacy}","received_events_url":"https://api.github.com/users/goldfire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goldfire/democracy.js","description":"Node.js unicast discovery and master-slave elections.","fork":false,"url":"https://api.github.com/repos/goldfire/democracy.js","forks_url":"https://api.github.com/repos/goldfire/democracy.js/forks","keys_url":"https://api.github.com/repos/goldfire/democracy.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goldfire/democracy.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goldfire/democracy.js/teams","hooks_url":"https://api.github.com/repos/goldfire/democracy.js/hooks","issue_events_url":"https://api.github.com/repos/goldfire/democracy.js/issues/events{/number}","events_url":"https://api.github.com/repos/goldfire/democracy.js/events","assignees_url":"https://api.github.com/repos/goldfire/democracy.js/assignees{/user}","branches_url":"https://api.github.com/repos/goldfire/democracy.js/branches{/branch}","tags_url":"https://api.github.com/repos/goldfire/democracy.js/tags","blobs_url":"https://api.github.com/repos/goldfire/democracy.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goldfire/democracy.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goldfire/democracy.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/goldfire/democracy.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goldfire/democracy.js/statuses/{sha}","languages_url":"https://api.github.com/repos/goldfire/democracy.js/languages","stargazers_url":"https://api.github.com/repos/goldfire/democracy.js/stargazers","contributors_url":"https://api.github.com/repos/goldfire/democracy.js/contributors","subscribers_url":"https://api.github.com/repos/goldfire/democracy.js/subscribers","subscription_url":"https://api.github.com/repos/goldfire/democracy.js/subscription","commits_url":"https://api.github.com/repos/goldfire/democracy.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/goldfire/democracy.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/goldfire/democracy.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/goldfire/democracy.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/goldfire/democracy.js/contents/{+path}","compare_url":"https://api.github.com/repos/goldfire/democracy.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goldfire/democracy.js/merges","archive_url":"https://api.github.com/repos/goldfire/democracy.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goldfire/democracy.js/downloads","issues_url":"https://api.github.com/repos/goldfire/democracy.js/issues{/number}","pulls_url":"https://api.github.com/repos/goldfire/democracy.js/pulls{/number}","milestones_url":"https://api.github.com/repos/goldfire/democracy.js/milestones{/number}","notifications_url":"https://api.github.com/repos/goldfire/democracy.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goldfire/democracy.js/labels{/name}","releases_url":"https://api.github.com/repos/goldfire/democracy.js/releases{/id}","deployments_url":"https://api.github.com/repos/goldfire/democracy.js/deployments","created_at":"2016-02-02T15:41:14Z","updated_at":"2016-03-01T07:20:32Z","pushed_at":"2016-02-02T23:42:10Z","git_url":"git://github.com/goldfire/democracy.js.git","ssh_url":"git@github.com:goldfire/democracy.js.git","clone_url":"https://github.com/goldfire/democracy.js.git","svn_url":"https://github.com/goldfire/democracy.js","homepage":null,"size":10,"stargazers_count":39,"watchers_count":39,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/goldfire/democracy.js/pulls/1"},"html":{"href":"https://github.com/goldfire/democracy.js/pull/1"},"issue":{"href":"https://api.github.com/repos/goldfire/democracy.js/issues/1"},"comments":{"href":"https://api.github.com/repos/goldfire/democracy.js/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/goldfire/democracy.js/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/goldfire/democracy.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/goldfire/democracy.js/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/goldfire/democracy.js/statuses/437e46e06ac399234567df67db4758c1d69df8db"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":15,"deletions":1,"changed_files":2}}