{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/robconery/massive-js/pulls/28","id":30690912,"html_url":"https://github.com/robconery/massive-js/pull/28","diff_url":"https://github.com/robconery/massive-js/pull/28.diff","patch_url":"https://github.com/robconery/massive-js/pull/28.patch","issue_url":"https://api.github.com/repos/robconery/massive-js/issues/28","number":28,"state":"open","locked":false,"title":"Couple of fixes to finding db folder:","user":{"login":"dpen2000","id":396538,"avatar_url":"https://avatars.githubusercontent.com/u/396538?v=3","gravatar_id":"","url":"https://api.github.com/users/dpen2000","html_url":"https://github.com/dpen2000","followers_url":"https://api.github.com/users/dpen2000/followers","following_url":"https://api.github.com/users/dpen2000/following{/other_user}","gists_url":"https://api.github.com/users/dpen2000/gists{/gist_id}","starred_url":"https://api.github.com/users/dpen2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpen2000/subscriptions","organizations_url":"https://api.github.com/users/dpen2000/orgs","repos_url":"https://api.github.com/users/dpen2000/repos","events_url":"https://api.github.com/users/dpen2000/events{/privacy}","received_events_url":"https://api.github.com/users/dpen2000/received_events","type":"User","site_admin":false},"body":"1. Use process.cwd() so db folder is looked for in root of user's application (rather than where the massive-js module is under node_modules)\r\n2. Catch error when reading list of dirs under db if db doesn't exist\r\n\r\nHope these are okay. ","created_at":"2015-03-07T00:03:53Z","updated_at":"2015-03-07T00:03:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robconery/massive-js/pulls/28/commits","review_comments_url":"https://api.github.com/repos/robconery/massive-js/pulls/28/comments","review_comment_url":"https://api.github.com/repos/robconery/massive-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robconery/massive-js/issues/28/comments","statuses_url":"https://api.github.com/repos/robconery/massive-js/statuses/0dfcf6ea5e97c4314bbf1d7ca1655f27594da3cc","head":{"label":"dpen2000:DbFolderFixes","ref":"DbFolderFixes","sha":"0dfcf6ea5e97c4314bbf1d7ca1655f27594da3cc","user":{"login":"dpen2000","id":396538,"avatar_url":"https://avatars.githubusercontent.com/u/396538?v=3","gravatar_id":"","url":"https://api.github.com/users/dpen2000","html_url":"https://github.com/dpen2000","followers_url":"https://api.github.com/users/dpen2000/followers","following_url":"https://api.github.com/users/dpen2000/following{/other_user}","gists_url":"https://api.github.com/users/dpen2000/gists{/gist_id}","starred_url":"https://api.github.com/users/dpen2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpen2000/subscriptions","organizations_url":"https://api.github.com/users/dpen2000/orgs","repos_url":"https://api.github.com/users/dpen2000/repos","events_url":"https://api.github.com/users/dpen2000/events{/privacy}","received_events_url":"https://api.github.com/users/dpen2000/received_events","type":"User","site_admin":false},"repo":{"id":31794488,"name":"massive-js","full_name":"dpen2000/massive-js","owner":{"login":"dpen2000","id":396538,"avatar_url":"https://avatars.githubusercontent.com/u/396538?v=3","gravatar_id":"","url":"https://api.github.com/users/dpen2000","html_url":"https://github.com/dpen2000","followers_url":"https://api.github.com/users/dpen2000/followers","following_url":"https://api.github.com/users/dpen2000/following{/other_user}","gists_url":"https://api.github.com/users/dpen2000/gists{/gist_id}","starred_url":"https://api.github.com/users/dpen2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpen2000/subscriptions","organizations_url":"https://api.github.com/users/dpen2000/orgs","repos_url":"https://api.github.com/users/dpen2000/repos","events_url":"https://api.github.com/users/dpen2000/events{/privacy}","received_events_url":"https://api.github.com/users/dpen2000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dpen2000/massive-js","description":"A simple relational data access tool for NodeJS. ","fork":true,"url":"https://api.github.com/repos/dpen2000/massive-js","forks_url":"https://api.github.com/repos/dpen2000/massive-js/forks","keys_url":"https://api.github.com/repos/dpen2000/massive-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dpen2000/massive-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dpen2000/massive-js/teams","hooks_url":"https://api.github.com/repos/dpen2000/massive-js/hooks","issue_events_url":"https://api.github.com/repos/dpen2000/massive-js/issues/events{/number}","events_url":"https://api.github.com/repos/dpen2000/massive-js/events","assignees_url":"https://api.github.com/repos/dpen2000/massive-js/assignees{/user}","branches_url":"https://api.github.com/repos/dpen2000/massive-js/branches{/branch}","tags_url":"https://api.github.com/repos/dpen2000/massive-js/tags","blobs_url":"https://api.github.com/repos/dpen2000/massive-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dpen2000/massive-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dpen2000/massive-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/dpen2000/massive-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dpen2000/massive-js/statuses/{sha}","languages_url":"https://api.github.com/repos/dpen2000/massive-js/languages","stargazers_url":"https://api.github.com/repos/dpen2000/massive-js/stargazers","contributors_url":"https://api.github.com/repos/dpen2000/massive-js/contributors","subscribers_url":"https://api.github.com/repos/dpen2000/massive-js/subscribers","subscription_url":"https://api.github.com/repos/dpen2000/massive-js/subscription","commits_url":"https://api.github.com/repos/dpen2000/massive-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/dpen2000/massive-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/dpen2000/massive-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/dpen2000/massive-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/dpen2000/massive-js/contents/{+path}","compare_url":"https://api.github.com/repos/dpen2000/massive-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dpen2000/massive-js/merges","archive_url":"https://api.github.com/repos/dpen2000/massive-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dpen2000/massive-js/downloads","issues_url":"https://api.github.com/repos/dpen2000/massive-js/issues{/number}","pulls_url":"https://api.github.com/repos/dpen2000/massive-js/pulls{/number}","milestones_url":"https://api.github.com/repos/dpen2000/massive-js/milestones{/number}","notifications_url":"https://api.github.com/repos/dpen2000/massive-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dpen2000/massive-js/labels{/name}","releases_url":"https://api.github.com/repos/dpen2000/massive-js/releases{/id}","created_at":"2015-03-06T23:53:50Z","updated_at":"2015-03-06T23:53:50Z","pushed_at":"2015-03-07T00:02:20Z","git_url":"git://github.com/dpen2000/massive-js.git","ssh_url":"git@github.com:dpen2000/massive-js.git","clone_url":"https://github.com/dpen2000/massive-js.git","svn_url":"https://github.com/dpen2000/massive-js","homepage":"","size":449,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"robconery:master","ref":"master","sha":"fa97511bd1c3e5350877eb5ef8c6afd920445458","user":{"login":"robconery","id":78586,"avatar_url":"https://avatars.githubusercontent.com/u/78586?v=3","gravatar_id":"","url":"https://api.github.com/users/robconery","html_url":"https://github.com/robconery","followers_url":"https://api.github.com/users/robconery/followers","following_url":"https://api.github.com/users/robconery/following{/other_user}","gists_url":"https://api.github.com/users/robconery/gists{/gist_id}","starred_url":"https://api.github.com/users/robconery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robconery/subscriptions","organizations_url":"https://api.github.com/users/robconery/orgs","repos_url":"https://api.github.com/users/robconery/repos","events_url":"https://api.github.com/users/robconery/events{/privacy}","received_events_url":"https://api.github.com/users/robconery/received_events","type":"User","site_admin":false},"repo":{"id":4154667,"name":"massive-js","full_name":"robconery/massive-js","owner":{"login":"robconery","id":78586,"avatar_url":"https://avatars.githubusercontent.com/u/78586?v=3","gravatar_id":"","url":"https://api.github.com/users/robconery","html_url":"https://github.com/robconery","followers_url":"https://api.github.com/users/robconery/followers","following_url":"https://api.github.com/users/robconery/following{/other_user}","gists_url":"https://api.github.com/users/robconery/gists{/gist_id}","starred_url":"https://api.github.com/users/robconery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robconery/subscriptions","organizations_url":"https://api.github.com/users/robconery/orgs","repos_url":"https://api.github.com/users/robconery/repos","events_url":"https://api.github.com/users/robconery/events{/privacy}","received_events_url":"https://api.github.com/users/robconery/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robconery/massive-js","description":"A simple relational data access tool for NodeJS. ","fork":false,"url":"https://api.github.com/repos/robconery/massive-js","forks_url":"https://api.github.com/repos/robconery/massive-js/forks","keys_url":"https://api.github.com/repos/robconery/massive-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robconery/massive-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robconery/massive-js/teams","hooks_url":"https://api.github.com/repos/robconery/massive-js/hooks","issue_events_url":"https://api.github.com/repos/robconery/massive-js/issues/events{/number}","events_url":"https://api.github.com/repos/robconery/massive-js/events","assignees_url":"https://api.github.com/repos/robconery/massive-js/assignees{/user}","branches_url":"https://api.github.com/repos/robconery/massive-js/branches{/branch}","tags_url":"https://api.github.com/repos/robconery/massive-js/tags","blobs_url":"https://api.github.com/repos/robconery/massive-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robconery/massive-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robconery/massive-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/robconery/massive-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robconery/massive-js/statuses/{sha}","languages_url":"https://api.github.com/repos/robconery/massive-js/languages","stargazers_url":"https://api.github.com/repos/robconery/massive-js/stargazers","contributors_url":"https://api.github.com/repos/robconery/massive-js/contributors","subscribers_url":"https://api.github.com/repos/robconery/massive-js/subscribers","subscription_url":"https://api.github.com/repos/robconery/massive-js/subscription","commits_url":"https://api.github.com/repos/robconery/massive-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/robconery/massive-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/robconery/massive-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/robconery/massive-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/robconery/massive-js/contents/{+path}","compare_url":"https://api.github.com/repos/robconery/massive-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robconery/massive-js/merges","archive_url":"https://api.github.com/repos/robconery/massive-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robconery/massive-js/downloads","issues_url":"https://api.github.com/repos/robconery/massive-js/issues{/number}","pulls_url":"https://api.github.com/repos/robconery/massive-js/pulls{/number}","milestones_url":"https://api.github.com/repos/robconery/massive-js/milestones{/number}","notifications_url":"https://api.github.com/repos/robconery/massive-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robconery/massive-js/labels{/name}","releases_url":"https://api.github.com/repos/robconery/massive-js/releases{/id}","created_at":"2012-04-27T03:25:03Z","updated_at":"2015-03-06T22:04:52Z","pushed_at":"2015-03-06T21:10:01Z","git_url":"git://github.com/robconery/massive-js.git","ssh_url":"git@github.com:robconery/massive-js.git","clone_url":"https://github.com/robconery/massive-js.git","svn_url":"https://github.com/robconery/massive-js","homepage":"","size":449,"stargazers_count":147,"watchers_count":147,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":19,"mirror_url":null,"open_issues_count":2,"forks":19,"open_issues":2,"watchers":147,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robconery/massive-js/pulls/28"},"html":{"href":"https://github.com/robconery/massive-js/pull/28"},"issue":{"href":"https://api.github.com/repos/robconery/massive-js/issues/28"},"comments":{"href":"https://api.github.com/repos/robconery/massive-js/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/robconery/massive-js/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/robconery/massive-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robconery/massive-js/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/robconery/massive-js/statuses/0dfcf6ea5e97c4314bbf1d7ca1655f27594da3cc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":4,"changed_files":1}}