{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/JohanObrink/rethink-migrate/pulls/30","id":85608492,"html_url":"https://github.com/JohanObrink/rethink-migrate/pull/30","diff_url":"https://github.com/JohanObrink/rethink-migrate/pull/30.diff","patch_url":"https://github.com/JohanObrink/rethink-migrate/pull/30.patch","issue_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/30","number":30,"state":"open","locked":false,"title":"Read configuration from rethink-migrate-file.js","user":{"login":"snmgian","id":73134,"avatar_url":"https://avatars.githubusercontent.com/u/73134?v=3","gravatar_id":"","url":"https://api.github.com/users/snmgian","html_url":"https://github.com/snmgian","followers_url":"https://api.github.com/users/snmgian/followers","following_url":"https://api.github.com/users/snmgian/following{/other_user}","gists_url":"https://api.github.com/users/snmgian/gists{/gist_id}","starred_url":"https://api.github.com/users/snmgian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snmgian/subscriptions","organizations_url":"https://api.github.com/users/snmgian/orgs","repos_url":"https://api.github.com/users/snmgian/repos","events_url":"https://api.github.com/users/snmgian/events{/privacy}","received_events_url":"https://api.github.com/users/snmgian/received_events","type":"User","site_admin":false},"body":"Following the same idea as `knex` so you could have:\r\n\r\n```javascript\r\nrequire('dotenv').config();\r\n\r\nmodule.exports = {\r\n  host: process.env.RETHINK_HOST,\r\n  port: process.env.RETHINK_PORT,\r\n  db: process.env.RETHINK_DB\r\n};\r\n```","created_at":"2016-09-16T17:15:13Z","updated_at":"2016-09-16T17:15:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/pulls/30/commits","review_comments_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/pulls/30/comments","review_comment_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/30/comments","statuses_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/statuses/52fa6cb57a29d3138fb1aac5b9657266b417d6a9","head":{"label":"snmgian:feature/rethink-migrate-file","ref":"feature/rethink-migrate-file","sha":"52fa6cb57a29d3138fb1aac5b9657266b417d6a9","user":{"login":"snmgian","id":73134,"avatar_url":"https://avatars.githubusercontent.com/u/73134?v=3","gravatar_id":"","url":"https://api.github.com/users/snmgian","html_url":"https://github.com/snmgian","followers_url":"https://api.github.com/users/snmgian/followers","following_url":"https://api.github.com/users/snmgian/following{/other_user}","gists_url":"https://api.github.com/users/snmgian/gists{/gist_id}","starred_url":"https://api.github.com/users/snmgian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snmgian/subscriptions","organizations_url":"https://api.github.com/users/snmgian/orgs","repos_url":"https://api.github.com/users/snmgian/repos","events_url":"https://api.github.com/users/snmgian/events{/privacy}","received_events_url":"https://api.github.com/users/snmgian/received_events","type":"User","site_admin":false},"repo":{"id":68391266,"name":"rethink-migrate","full_name":"snmgian/rethink-migrate","owner":{"login":"snmgian","id":73134,"avatar_url":"https://avatars.githubusercontent.com/u/73134?v=3","gravatar_id":"","url":"https://api.github.com/users/snmgian","html_url":"https://github.com/snmgian","followers_url":"https://api.github.com/users/snmgian/followers","following_url":"https://api.github.com/users/snmgian/following{/other_user}","gists_url":"https://api.github.com/users/snmgian/gists{/gist_id}","starred_url":"https://api.github.com/users/snmgian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snmgian/subscriptions","organizations_url":"https://api.github.com/users/snmgian/orgs","repos_url":"https://api.github.com/users/snmgian/repos","events_url":"https://api.github.com/users/snmgian/events{/privacy}","received_events_url":"https://api.github.com/users/snmgian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/snmgian/rethink-migrate","description":"A migration tool for rethink db","fork":true,"url":"https://api.github.com/repos/snmgian/rethink-migrate","forks_url":"https://api.github.com/repos/snmgian/rethink-migrate/forks","keys_url":"https://api.github.com/repos/snmgian/rethink-migrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snmgian/rethink-migrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snmgian/rethink-migrate/teams","hooks_url":"https://api.github.com/repos/snmgian/rethink-migrate/hooks","issue_events_url":"https://api.github.com/repos/snmgian/rethink-migrate/issues/events{/number}","events_url":"https://api.github.com/repos/snmgian/rethink-migrate/events","assignees_url":"https://api.github.com/repos/snmgian/rethink-migrate/assignees{/user}","branches_url":"https://api.github.com/repos/snmgian/rethink-migrate/branches{/branch}","tags_url":"https://api.github.com/repos/snmgian/rethink-migrate/tags","blobs_url":"https://api.github.com/repos/snmgian/rethink-migrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snmgian/rethink-migrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snmgian/rethink-migrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/snmgian/rethink-migrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snmgian/rethink-migrate/statuses/{sha}","languages_url":"https://api.github.com/repos/snmgian/rethink-migrate/languages","stargazers_url":"https://api.github.com/repos/snmgian/rethink-migrate/stargazers","contributors_url":"https://api.github.com/repos/snmgian/rethink-migrate/contributors","subscribers_url":"https://api.github.com/repos/snmgian/rethink-migrate/subscribers","subscription_url":"https://api.github.com/repos/snmgian/rethink-migrate/subscription","commits_url":"https://api.github.com/repos/snmgian/rethink-migrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/snmgian/rethink-migrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/snmgian/rethink-migrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/snmgian/rethink-migrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/snmgian/rethink-migrate/contents/{+path}","compare_url":"https://api.github.com/repos/snmgian/rethink-migrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snmgian/rethink-migrate/merges","archive_url":"https://api.github.com/repos/snmgian/rethink-migrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snmgian/rethink-migrate/downloads","issues_url":"https://api.github.com/repos/snmgian/rethink-migrate/issues{/number}","pulls_url":"https://api.github.com/repos/snmgian/rethink-migrate/pulls{/number}","milestones_url":"https://api.github.com/repos/snmgian/rethink-migrate/milestones{/number}","notifications_url":"https://api.github.com/repos/snmgian/rethink-migrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snmgian/rethink-migrate/labels{/name}","releases_url":"https://api.github.com/repos/snmgian/rethink-migrate/releases{/id}","deployments_url":"https://api.github.com/repos/snmgian/rethink-migrate/deployments","created_at":"2016-09-16T15:23:19Z","updated_at":"2016-09-16T15:23:20Z","pushed_at":"2016-09-16T16:56:01Z","git_url":"git://github.com/snmgian/rethink-migrate.git","ssh_url":"git@github.com:snmgian/rethink-migrate.git","clone_url":"https://github.com/snmgian/rethink-migrate.git","svn_url":"https://github.com/snmgian/rethink-migrate","homepage":null,"size":57,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"JohanObrink:master","ref":"master","sha":"67e6e7d3d299356b5741dcc4087b05cf3159427a","user":{"login":"JohanObrink","id":548783,"avatar_url":"https://avatars.githubusercontent.com/u/548783?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanObrink","html_url":"https://github.com/JohanObrink","followers_url":"https://api.github.com/users/JohanObrink/followers","following_url":"https://api.github.com/users/JohanObrink/following{/other_user}","gists_url":"https://api.github.com/users/JohanObrink/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanObrink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanObrink/subscriptions","organizations_url":"https://api.github.com/users/JohanObrink/orgs","repos_url":"https://api.github.com/users/JohanObrink/repos","events_url":"https://api.github.com/users/JohanObrink/events{/privacy}","received_events_url":"https://api.github.com/users/JohanObrink/received_events","type":"User","site_admin":false},"repo":{"id":43708418,"name":"rethink-migrate","full_name":"JohanObrink/rethink-migrate","owner":{"login":"JohanObrink","id":548783,"avatar_url":"https://avatars.githubusercontent.com/u/548783?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanObrink","html_url":"https://github.com/JohanObrink","followers_url":"https://api.github.com/users/JohanObrink/followers","following_url":"https://api.github.com/users/JohanObrink/following{/other_user}","gists_url":"https://api.github.com/users/JohanObrink/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanObrink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanObrink/subscriptions","organizations_url":"https://api.github.com/users/JohanObrink/orgs","repos_url":"https://api.github.com/users/JohanObrink/repos","events_url":"https://api.github.com/users/JohanObrink/events{/privacy}","received_events_url":"https://api.github.com/users/JohanObrink/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JohanObrink/rethink-migrate","description":"A migration tool for rethink db","fork":false,"url":"https://api.github.com/repos/JohanObrink/rethink-migrate","forks_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/forks","keys_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/teams","hooks_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/hooks","issue_events_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/events{/number}","events_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/events","assignees_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/assignees{/user}","branches_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/branches{/branch}","tags_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/tags","blobs_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/statuses/{sha}","languages_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/languages","stargazers_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/stargazers","contributors_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/contributors","subscribers_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/subscribers","subscription_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/subscription","commits_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/contents/{+path}","compare_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/merges","archive_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/downloads","issues_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues{/number}","pulls_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/pulls{/number}","milestones_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/milestones{/number}","notifications_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/labels{/name}","releases_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/releases{/id}","deployments_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/deployments","created_at":"2015-10-05T19:29:08Z","updated_at":"2016-09-15T04:43:36Z","pushed_at":"2016-09-16T17:15:13Z","git_url":"git://github.com/JohanObrink/rethink-migrate.git","ssh_url":"git@github.com:JohanObrink/rethink-migrate.git","clone_url":"https://github.com/JohanObrink/rethink-migrate.git","svn_url":"https://github.com/JohanObrink/rethink-migrate","homepage":null,"size":57,"stargazers_count":26,"watchers_count":26,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":15,"forks":12,"open_issues":15,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JohanObrink/rethink-migrate/pulls/30"},"html":{"href":"https://github.com/JohanObrink/rethink-migrate/pull/30"},"issue":{"href":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/30"},"comments":{"href":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/JohanObrink/rethink-migrate/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/JohanObrink/rethink-migrate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JohanObrink/rethink-migrate/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/JohanObrink/rethink-migrate/statuses/52fa6cb57a29d3138fb1aac5b9657266b417d6a9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":37,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"snmgian"}}