{"action":"created","comment":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/comments/76111622","id":76111622,"diff_hunk":"@@ -1375,6 +1375,24 @@ describe('mongodb connector', function() {\n         _id: { type: geoDb.ObjectID, id: true },\n         location: { type: GeoPoint, index: true },\n       });\n+\n+      createPost = function(far) {","path":"test/mongodb.test.js","position":14,"original_position":14,"commit_id":"f218c2a6da430635d277f38d60373c26a08629ce","original_commit_id":"f218c2a6da430635d277f38d60373c26a08629ce","user":{"login":"superkhau","id":1617364,"avatar_url":"https://avatars.githubusercontent.com/u/1617364?v=3","gravatar_id":"","url":"https://api.github.com/users/superkhau","html_url":"https://github.com/superkhau","followers_url":"https://api.github.com/users/superkhau/followers","following_url":"https://api.github.com/users/superkhau/following{/other_user}","gists_url":"https://api.github.com/users/superkhau/gists{/gist_id}","starred_url":"https://api.github.com/users/superkhau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superkhau/subscriptions","organizations_url":"https://api.github.com/users/superkhau/orgs","repos_url":"https://api.github.com/users/superkhau/repos","events_url":"https://api.github.com/users/superkhau/events{/privacy}","received_events_url":"https://api.github.com/users/superkhau/received_events","type":"User","site_admin":false},"body":"move function out and share it with other tests `function createPost(isFar, coordinates) {`\r\n\r\nwhere coordinates are `{lat: i, lng: j}`\r\n\r\nthen reuse this shared func in all tests.","created_at":"2016-08-24T18:24:32Z","updated_at":"2016-08-24T18:24:32Z","html_url":"https://github.com/strongloop/loopback-connector-mongodb/pull/279#discussion_r76111622","pull_request_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/279","_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/comments/76111622"},"html":{"href":"https://github.com/strongloop/loopback-connector-mongodb/pull/279#discussion_r76111622"},"pull_request":{"href":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/279"}}},"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/279","id":82568932,"html_url":"https://github.com/strongloop/loopback-connector-mongodb/pull/279","diff_url":"https://github.com/strongloop/loopback-connector-mongodb/pull/279.diff","patch_url":"https://github.com/strongloop/loopback-connector-mongodb/pull/279.patch","issue_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/279","number":279,"state":"open","locked":false,"title":"Fix maxDistance not working in near query","user":{"login":"seanbrookes","id":1751524,"avatar_url":"https://avatars.githubusercontent.com/u/1751524?v=3","gravatar_id":"","url":"https://api.github.com/users/seanbrookes","html_url":"https://github.com/seanbrookes","followers_url":"https://api.github.com/users/seanbrookes/followers","following_url":"https://api.github.com/users/seanbrookes/following{/other_user}","gists_url":"https://api.github.com/users/seanbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/seanbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanbrookes/subscriptions","organizations_url":"https://api.github.com/users/seanbrookes/orgs","repos_url":"https://api.github.com/users/seanbrookes/repos","events_url":"https://api.github.com/users/seanbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/seanbrookes/received_events","type":"User","site_admin":false},"body":"Rework of #259 to address lint and code review issues as that PR seems to have stalled","created_at":"2016-08-24T15:52:31Z","updated_at":"2016-08-24T18:24:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"24677156a0dc1c752f28f2d4d7c78ab39ad39ddb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/279/commits","review_comments_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/279/comments","review_comment_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/279/comments","statuses_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/statuses/f218c2a6da430635d277f38d60373c26a08629ce","head":{"label":"seanbrookes:fix/252-fix-near-query-not-working","ref":"fix/252-fix-near-query-not-working","sha":"f218c2a6da430635d277f38d60373c26a08629ce","user":{"login":"seanbrookes","id":1751524,"avatar_url":"https://avatars.githubusercontent.com/u/1751524?v=3","gravatar_id":"","url":"https://api.github.com/users/seanbrookes","html_url":"https://github.com/seanbrookes","followers_url":"https://api.github.com/users/seanbrookes/followers","following_url":"https://api.github.com/users/seanbrookes/following{/other_user}","gists_url":"https://api.github.com/users/seanbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/seanbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanbrookes/subscriptions","organizations_url":"https://api.github.com/users/seanbrookes/orgs","repos_url":"https://api.github.com/users/seanbrookes/repos","events_url":"https://api.github.com/users/seanbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/seanbrookes/received_events","type":"User","site_admin":false},"repo":{"id":66477162,"name":"loopback-connector-mongodb","full_name":"seanbrookes/loopback-connector-mongodb","owner":{"login":"seanbrookes","id":1751524,"avatar_url":"https://avatars.githubusercontent.com/u/1751524?v=3","gravatar_id":"","url":"https://api.github.com/users/seanbrookes","html_url":"https://github.com/seanbrookes","followers_url":"https://api.github.com/users/seanbrookes/followers","following_url":"https://api.github.com/users/seanbrookes/following{/other_user}","gists_url":"https://api.github.com/users/seanbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/seanbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanbrookes/subscriptions","organizations_url":"https://api.github.com/users/seanbrookes/orgs","repos_url":"https://api.github.com/users/seanbrookes/repos","events_url":"https://api.github.com/users/seanbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/seanbrookes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seanbrookes/loopback-connector-mongodb","description":"The official MongoDB connector for the LoopBack framework.","fork":true,"url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb","forks_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/forks","keys_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/teams","hooks_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/hooks","issue_events_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/events","assignees_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/tags","blobs_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/languages","stargazers_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/stargazers","contributors_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/contributors","subscribers_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/subscribers","subscription_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/subscription","commits_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/merges","archive_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/downloads","issues_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/releases{/id}","deployments_url":"https://api.github.com/repos/seanbrookes/loopback-connector-mongodb/deployments","created_at":"2016-08-24T15:42:20Z","updated_at":"2016-08-24T15:42:22Z","pushed_at":"2016-08-24T15:47:13Z","git_url":"git://github.com/seanbrookes/loopback-connector-mongodb.git","ssh_url":"git@github.com:seanbrookes/loopback-connector-mongodb.git","clone_url":"https://github.com/seanbrookes/loopback-connector-mongodb.git","svn_url":"https://github.com/seanbrookes/loopback-connector-mongodb","homepage":"https://docs.strongloop.com/display/public/LB/MongoDB+connector","size":2029,"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":"strongloop:master","ref":"master","sha":"2ca2683411eba206a18d0812bf05dec7c23475ea","user":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"repo":{"id":10975056,"name":"loopback-connector-mongodb","full_name":"strongloop/loopback-connector-mongodb","owner":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strongloop/loopback-connector-mongodb","description":"The official MongoDB connector for the LoopBack framework.","fork":false,"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb","forks_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/forks","keys_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/teams","hooks_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/hooks","issue_events_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/events","assignees_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/tags","blobs_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/languages","stargazers_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/stargazers","contributors_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/contributors","subscribers_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/subscribers","subscription_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/subscription","commits_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/merges","archive_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/downloads","issues_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/releases{/id}","deployments_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/deployments","created_at":"2013-06-26T18:04:58Z","updated_at":"2016-08-22T16:31:39Z","pushed_at":"2016-08-24T18:23:21Z","git_url":"git://github.com/strongloop/loopback-connector-mongodb.git","ssh_url":"git@github.com:strongloop/loopback-connector-mongodb.git","clone_url":"https://github.com/strongloop/loopback-connector-mongodb.git","svn_url":"https://github.com/strongloop/loopback-connector-mongodb","homepage":"https://docs.strongloop.com/display/public/LB/MongoDB+connector","size":2476,"stargazers_count":85,"watchers_count":85,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":99,"forks":94,"open_issues":99,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/279"},"html":{"href":"https://github.com/strongloop/loopback-connector-mongodb/pull/279"},"issue":{"href":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/279"},"comments":{"href":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/279/comments"},"review_comments":{"href":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/279/comments"},"review_comment":{"href":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/279/commits"},"statuses":{"href":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/statuses/f218c2a6da430635d277f38d60373c26a08629ce"}}}}
{"actor":{"display_login":"superkhau"}}