{"action":"opened","number":913,"pull_request":{"url":"https://api.github.com/repos/electrode-io/electrode-native/pulls/913","id":211950081,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExOTUwMDgx","html_url":"https://github.com/electrode-io/electrode-native/pull/913","diff_url":"https://github.com/electrode-io/electrode-native/pull/913.diff","patch_url":"https://github.com/electrode-io/electrode-native/pull/913.patch","issue_url":"https://api.github.com/repos/electrode-io/electrode-native/issues/913","number":913,"state":"open","locked":false,"title":"Refactor publishers and transformers factory","user":{"login":"belemaire","id":1390588,"node_id":"MDQ6VXNlcjEzOTA1ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1390588?v=4","gravatar_id":"","url":"https://api.github.com/users/belemaire","html_url":"https://github.com/belemaire","followers_url":"https://api.github.com/users/belemaire/followers","following_url":"https://api.github.com/users/belemaire/following{/other_user}","gists_url":"https://api.github.com/users/belemaire/gists{/gist_id}","starred_url":"https://api.github.com/users/belemaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belemaire/subscriptions","organizations_url":"https://api.github.com/users/belemaire/orgs","repos_url":"https://api.github.com/users/belemaire/repos","events_url":"https://api.github.com/users/belemaire/events{/privacy}","received_events_url":"https://api.github.com/users/belemaire/received_events","type":"User","site_admin":false},"body":"Refactor `getTransformer` and `getPublisher` (these methods were close duplicates) by introducing a new class `ModuleFactory` in `ern-core` which generalize the duplicated logic.\r\nBy the same occasion refactor the code to split it into smaller granular functions and unit test it fully.","created_at":"2018-08-30T04:09:05Z","updated_at":"2018-08-30T04:09:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/electrode-io/electrode-native/pulls/913/commits","review_comments_url":"https://api.github.com/repos/electrode-io/electrode-native/pulls/913/comments","review_comment_url":"https://api.github.com/repos/electrode-io/electrode-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/electrode-io/electrode-native/issues/913/comments","statuses_url":"https://api.github.com/repos/electrode-io/electrode-native/statuses/32fe7573d37d2e2625f2764a1cb6bd08bc357513","head":{"label":"belemaire:refactor-trans-pub","ref":"refactor-trans-pub","sha":"32fe7573d37d2e2625f2764a1cb6bd08bc357513","user":{"login":"belemaire","id":1390588,"node_id":"MDQ6VXNlcjEzOTA1ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1390588?v=4","gravatar_id":"","url":"https://api.github.com/users/belemaire","html_url":"https://github.com/belemaire","followers_url":"https://api.github.com/users/belemaire/followers","following_url":"https://api.github.com/users/belemaire/following{/other_user}","gists_url":"https://api.github.com/users/belemaire/gists{/gist_id}","starred_url":"https://api.github.com/users/belemaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belemaire/subscriptions","organizations_url":"https://api.github.com/users/belemaire/orgs","repos_url":"https://api.github.com/users/belemaire/repos","events_url":"https://api.github.com/users/belemaire/events{/privacy}","received_events_url":"https://api.github.com/users/belemaire/received_events","type":"User","site_admin":false},"repo":{"id":104793496,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ3OTM0OTY=","name":"electrode-native","full_name":"belemaire/electrode-native","owner":{"login":"belemaire","id":1390588,"node_id":"MDQ6VXNlcjEzOTA1ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1390588?v=4","gravatar_id":"","url":"https://api.github.com/users/belemaire","html_url":"https://github.com/belemaire","followers_url":"https://api.github.com/users/belemaire/followers","following_url":"https://api.github.com/users/belemaire/following{/other_user}","gists_url":"https://api.github.com/users/belemaire/gists{/gist_id}","starred_url":"https://api.github.com/users/belemaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belemaire/subscriptions","organizations_url":"https://api.github.com/users/belemaire/orgs","repos_url":"https://api.github.com/users/belemaire/repos","events_url":"https://api.github.com/users/belemaire/events{/privacy}","received_events_url":"https://api.github.com/users/belemaire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/belemaire/electrode-native","description":"Electrode React Native Platform","fork":true,"url":"https://api.github.com/repos/belemaire/electrode-native","forks_url":"https://api.github.com/repos/belemaire/electrode-native/forks","keys_url":"https://api.github.com/repos/belemaire/electrode-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/belemaire/electrode-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/belemaire/electrode-native/teams","hooks_url":"https://api.github.com/repos/belemaire/electrode-native/hooks","issue_events_url":"https://api.github.com/repos/belemaire/electrode-native/issues/events{/number}","events_url":"https://api.github.com/repos/belemaire/electrode-native/events","assignees_url":"https://api.github.com/repos/belemaire/electrode-native/assignees{/user}","branches_url":"https://api.github.com/repos/belemaire/electrode-native/branches{/branch}","tags_url":"https://api.github.com/repos/belemaire/electrode-native/tags","blobs_url":"https://api.github.com/repos/belemaire/electrode-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/belemaire/electrode-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/belemaire/electrode-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/belemaire/electrode-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/belemaire/electrode-native/statuses/{sha}","languages_url":"https://api.github.com/repos/belemaire/electrode-native/languages","stargazers_url":"https://api.github.com/repos/belemaire/electrode-native/stargazers","contributors_url":"https://api.github.com/repos/belemaire/electrode-native/contributors","subscribers_url":"https://api.github.com/repos/belemaire/electrode-native/subscribers","subscription_url":"https://api.github.com/repos/belemaire/electrode-native/subscription","commits_url":"https://api.github.com/repos/belemaire/electrode-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/belemaire/electrode-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/belemaire/electrode-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/belemaire/electrode-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/belemaire/electrode-native/contents/{+path}","compare_url":"https://api.github.com/repos/belemaire/electrode-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/belemaire/electrode-native/merges","archive_url":"https://api.github.com/repos/belemaire/electrode-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/belemaire/electrode-native/downloads","issues_url":"https://api.github.com/repos/belemaire/electrode-native/issues{/number}","pulls_url":"https://api.github.com/repos/belemaire/electrode-native/pulls{/number}","milestones_url":"https://api.github.com/repos/belemaire/electrode-native/milestones{/number}","notifications_url":"https://api.github.com/repos/belemaire/electrode-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/belemaire/electrode-native/labels{/name}","releases_url":"https://api.github.com/repos/belemaire/electrode-native/releases{/id}","deployments_url":"https://api.github.com/repos/belemaire/electrode-native/deployments","created_at":"2017-09-25T19:33:42Z","updated_at":"2017-10-16T17:11:15Z","pushed_at":"2018-08-30T04:05:40Z","git_url":"git://github.com/belemaire/electrode-native.git","ssh_url":"git@github.com:belemaire/electrode-native.git","clone_url":"https://github.com/belemaire/electrode-native.git","svn_url":"https://github.com/belemaire/electrode-native","homepage":null,"size":12562,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"electrode-io:master","ref":"master","sha":"49f1720cf05c0d29409ce5f4c502cfc00f9ddb2f","user":{"login":"electrode-io","id":20847973,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODQ3OTcz","avatar_url":"https://avatars1.githubusercontent.com/u/20847973?v=4","gravatar_id":"","url":"https://api.github.com/users/electrode-io","html_url":"https://github.com/electrode-io","followers_url":"https://api.github.com/users/electrode-io/followers","following_url":"https://api.github.com/users/electrode-io/following{/other_user}","gists_url":"https://api.github.com/users/electrode-io/gists{/gist_id}","starred_url":"https://api.github.com/users/electrode-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrode-io/subscriptions","organizations_url":"https://api.github.com/users/electrode-io/orgs","repos_url":"https://api.github.com/users/electrode-io/repos","events_url":"https://api.github.com/users/electrode-io/events{/privacy}","received_events_url":"https://api.github.com/users/electrode-io/received_events","type":"Organization","site_admin":false},"repo":{"id":98331207,"node_id":"MDEwOlJlcG9zaXRvcnk5ODMzMTIwNw==","name":"electrode-native","full_name":"electrode-io/electrode-native","owner":{"login":"electrode-io","id":20847973,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODQ3OTcz","avatar_url":"https://avatars1.githubusercontent.com/u/20847973?v=4","gravatar_id":"","url":"https://api.github.com/users/electrode-io","html_url":"https://github.com/electrode-io","followers_url":"https://api.github.com/users/electrode-io/followers","following_url":"https://api.github.com/users/electrode-io/following{/other_user}","gists_url":"https://api.github.com/users/electrode-io/gists{/gist_id}","starred_url":"https://api.github.com/users/electrode-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrode-io/subscriptions","organizations_url":"https://api.github.com/users/electrode-io/orgs","repos_url":"https://api.github.com/users/electrode-io/repos","events_url":"https://api.github.com/users/electrode-io/events{/privacy}","received_events_url":"https://api.github.com/users/electrode-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/electrode-io/electrode-native","description":"A platform for integrating React Native apps in existing mobile applications","fork":false,"url":"https://api.github.com/repos/electrode-io/electrode-native","forks_url":"https://api.github.com/repos/electrode-io/electrode-native/forks","keys_url":"https://api.github.com/repos/electrode-io/electrode-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/electrode-io/electrode-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/electrode-io/electrode-native/teams","hooks_url":"https://api.github.com/repos/electrode-io/electrode-native/hooks","issue_events_url":"https://api.github.com/repos/electrode-io/electrode-native/issues/events{/number}","events_url":"https://api.github.com/repos/electrode-io/electrode-native/events","assignees_url":"https://api.github.com/repos/electrode-io/electrode-native/assignees{/user}","branches_url":"https://api.github.com/repos/electrode-io/electrode-native/branches{/branch}","tags_url":"https://api.github.com/repos/electrode-io/electrode-native/tags","blobs_url":"https://api.github.com/repos/electrode-io/electrode-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/electrode-io/electrode-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/electrode-io/electrode-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/electrode-io/electrode-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/electrode-io/electrode-native/statuses/{sha}","languages_url":"https://api.github.com/repos/electrode-io/electrode-native/languages","stargazers_url":"https://api.github.com/repos/electrode-io/electrode-native/stargazers","contributors_url":"https://api.github.com/repos/electrode-io/electrode-native/contributors","subscribers_url":"https://api.github.com/repos/electrode-io/electrode-native/subscribers","subscription_url":"https://api.github.com/repos/electrode-io/electrode-native/subscription","commits_url":"https://api.github.com/repos/electrode-io/electrode-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/electrode-io/electrode-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/electrode-io/electrode-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/electrode-io/electrode-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/electrode-io/electrode-native/contents/{+path}","compare_url":"https://api.github.com/repos/electrode-io/electrode-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/electrode-io/electrode-native/merges","archive_url":"https://api.github.com/repos/electrode-io/electrode-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/electrode-io/electrode-native/downloads","issues_url":"https://api.github.com/repos/electrode-io/electrode-native/issues{/number}","pulls_url":"https://api.github.com/repos/electrode-io/electrode-native/pulls{/number}","milestones_url":"https://api.github.com/repos/electrode-io/electrode-native/milestones{/number}","notifications_url":"https://api.github.com/repos/electrode-io/electrode-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/electrode-io/electrode-native/labels{/name}","releases_url":"https://api.github.com/repos/electrode-io/electrode-native/releases{/id}","deployments_url":"https://api.github.com/repos/electrode-io/electrode-native/deployments","created_at":"2017-07-25T17:11:27Z","updated_at":"2018-08-29T03:14:44Z","pushed_at":"2018-08-29T21:48:11Z","git_url":"git://github.com/electrode-io/electrode-native.git","ssh_url":"git@github.com:electrode-io/electrode-native.git","clone_url":"https://github.com/electrode-io/electrode-native.git","svn_url":"https://github.com/electrode-io/electrode-native","homepage":"http://www.electrode.io/site/native.html","size":12371,"stargazers_count":417,"watchers_count":417,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":54,"open_issues":2,"watchers":417,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/electrode-io/electrode-native/pulls/913"},"html":{"href":"https://github.com/electrode-io/electrode-native/pull/913"},"issue":{"href":"https://api.github.com/repos/electrode-io/electrode-native/issues/913"},"comments":{"href":"https://api.github.com/repos/electrode-io/electrode-native/issues/913/comments"},"review_comments":{"href":"https://api.github.com/repos/electrode-io/electrode-native/pulls/913/comments"},"review_comment":{"href":"https://api.github.com/repos/electrode-io/electrode-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/electrode-io/electrode-native/pulls/913/commits"},"statuses":{"href":"https://api.github.com/repos/electrode-io/electrode-native/statuses/32fe7573d37d2e2625f2764a1cb6bd08bc357513"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":290,"deletions":124,"changed_files":10}}
{"actor":{"display_login":"belemaire"}}