{"action":"created","comment":{"url":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/comments/71542693","id":71542693,"diff_hunk":"@@ -0,0 +1,91 @@\n+var config = require(\"config\");\n+var db = require(\"randoDB\");\n+var rosie = require(\"rosie\").Factory;\n+\n+db.connect(config.db.url);\n+\n+rosie.define('rando')\n+.attr('email', 'dimhold@gmail.com')\n+.attr('randoId', \"123456\")\n+.attr('strangerRandoId', null)\n+.attr('creation', 123)\n+.attr('ip', \"1.2.3.4\")\n+.attr('location', {\n+\tlatitude: 123,\n+\tlongitude: 123\n+})\n+.attr('imageURL', \"url\")\n+.attr('imageSizeURL', {\n+\tsmall: \"url\",\n+\tmedium: \"url\",\n+\tlarge: \"url\"\n+})\n+.attr('mapURL', \"url\")\n+.attr('mapSizeURL', {\n+\tsmall: \"url\",\n+\tmedium: \"url\",\n+\tlarge: \"url\" \n+})\n+.attr('rating', 0)\n+.attr('delete', 0);\n+\n+\n+\n+rosie.define('user')\n+.attr(\"email\", \"dimhold@gmail.com\")\n+.attr(\"authToken\", \"123456\")\n+.attr(\"facebookId\", null)\n+.attr(\"googleId\", null)\n+.attr(\"anonymousId\", null)\n+.attr(\"password\", \"pas\")\n+.attr(\"ban\", null)\n+.attr(\"ip\",  \"1.3.5.6\")\n+.attr(\"in\", [\n+\trosie.build('rando', {email: \"user1@mail.com\", randoId: '4', creation: 4}),\n+\trosie.build('rando', {email: \"user2@mail.com\", randoId: '5', creation: 5}),\n+\trosie.build('rando', {email: \"user1@mail.com\", randoId: '6', creation: 6})\n+])\n+.attr(\"out\", [\n+\trosie.build('rando', {email: \"dimhold@gmail.com\", randoId: '1', creation: 1}),\n+\trosie.build('rando', {email: \"dimhold@gmail.com\", randoId: '2', creation: 2}),\n+\trosie.build('rando', {email: \"dimhold@gmail.com\", randoId: '3', creation: 3}),\n+\trosie.build('rando', {email: \"dimhold@gmail.com\", randoId: '8', creation: 8})\n+]);\n+\n+var user1 = rosie.build('user', {email: \"user1@mail.com\", \n+\t\"in\": [\n+\t\trosie.build('rando', {email: \"dimhold@gmail.com\", randoId: '1', creation: 1}),\n+\t\trosie.build('rando', {email: \"dimhold@gmail.com\", randoId: '3', creation: 3})","path":"initDB.js","position":58,"original_position":58,"commit_id":"21e25fbcf22de4bbd424e14519f4c93fa6f75a75","original_commit_id":"21e25fbcf22de4bbd424e14519f4c93fa6f75a75","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Strings must use doublequote. (quotes)](https://www.codacy.com/app/RandoApp/Rando-exchanger/file/3041298749/issues/source?bid=3392807&fileBranchId=3449657#l58)","created_at":"2016-07-20T15:03:49Z","updated_at":"2016-07-20T15:03:49Z","html_url":"https://github.com/RandoApp/Rando-exchanger/pull/1#discussion_r71542693","pull_request_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/comments/71542693"},"html":{"href":"https://github.com/RandoApp/Rando-exchanger/pull/1#discussion_r71542693"},"pull_request":{"href":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/1","id":77822990,"html_url":"https://github.com/RandoApp/Rando-exchanger/pull/1","diff_url":"https://github.com/RandoApp/Rando-exchanger/pull/1.diff","patch_url":"https://github.com/RandoApp/Rando-exchanger/pull/1.patch","issue_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues/1","number":1,"state":"open","locked":false,"title":"Come back from hibernation!!1","user":{"login":"dimhold","id":977022,"avatar_url":"https://avatars.githubusercontent.com/u/977022?v=3","gravatar_id":"","url":"https://api.github.com/users/dimhold","html_url":"https://github.com/dimhold","followers_url":"https://api.github.com/users/dimhold/followers","following_url":"https://api.github.com/users/dimhold/following{/other_user}","gists_url":"https://api.github.com/users/dimhold/gists{/gist_id}","starred_url":"https://api.github.com/users/dimhold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimhold/subscriptions","organizations_url":"https://api.github.com/users/dimhold/orgs","repos_url":"https://api.github.com/users/dimhold/repos","events_url":"https://api.github.com/users/dimhold/events{/privacy}","received_events_url":"https://api.github.com/users/dimhold/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-18T15:00:42Z","updated_at":"2016-07-20T15:03:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe1796475176436ba11e5597c7cb2ecab18ba4e4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/1/commits","review_comments_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/1/comments","review_comment_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues/1/comments","statuses_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/statuses/21e25fbcf22de4bbd424e14519f4c93fa6f75a75","head":{"label":"RandoApp:refactor-to-bucket-system","ref":"refactor-to-bucket-system","sha":"21e25fbcf22de4bbd424e14519f4c93fa6f75a75","user":{"login":"RandoApp","id":7382647,"avatar_url":"https://avatars.githubusercontent.com/u/7382647?v=3","gravatar_id":"","url":"https://api.github.com/users/RandoApp","html_url":"https://github.com/RandoApp","followers_url":"https://api.github.com/users/RandoApp/followers","following_url":"https://api.github.com/users/RandoApp/following{/other_user}","gists_url":"https://api.github.com/users/RandoApp/gists{/gist_id}","starred_url":"https://api.github.com/users/RandoApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandoApp/subscriptions","organizations_url":"https://api.github.com/users/RandoApp/orgs","repos_url":"https://api.github.com/users/RandoApp/repos","events_url":"https://api.github.com/users/RandoApp/events{/privacy}","received_events_url":"https://api.github.com/users/RandoApp/received_events","type":"Organization","site_admin":false},"repo":{"id":23073961,"name":"Rando-exchanger","full_name":"RandoApp/Rando-exchanger","owner":{"login":"RandoApp","id":7382647,"avatar_url":"https://avatars.githubusercontent.com/u/7382647?v=3","gravatar_id":"","url":"https://api.github.com/users/RandoApp","html_url":"https://github.com/RandoApp","followers_url":"https://api.github.com/users/RandoApp/followers","following_url":"https://api.github.com/users/RandoApp/following{/other_user}","gists_url":"https://api.github.com/users/RandoApp/gists{/gist_id}","starred_url":"https://api.github.com/users/RandoApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandoApp/subscriptions","organizations_url":"https://api.github.com/users/RandoApp/orgs","repos_url":"https://api.github.com/users/RandoApp/repos","events_url":"https://api.github.com/users/RandoApp/events{/privacy}","received_events_url":"https://api.github.com/users/RandoApp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RandoApp/Rando-exchanger","description":"Background service for exchange randos","fork":false,"url":"https://api.github.com/repos/RandoApp/Rando-exchanger","forks_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/forks","keys_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/teams","hooks_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/hooks","issue_events_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues/events{/number}","events_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/events","assignees_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/assignees{/user}","branches_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/branches{/branch}","tags_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/tags","blobs_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/refs{/sha}","trees_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/statuses/{sha}","languages_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/languages","stargazers_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/stargazers","contributors_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/contributors","subscribers_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/subscribers","subscription_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/subscription","commits_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/commits{/sha}","git_commits_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/commits{/sha}","comments_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/comments{/number}","issue_comment_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues/comments{/number}","contents_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/contents/{+path}","compare_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/merges","archive_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/downloads","issues_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues{/number}","pulls_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls{/number}","milestones_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/milestones{/number}","notifications_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/labels{/name}","releases_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/releases{/id}","deployments_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/deployments","created_at":"2014-08-18T14:20:06Z","updated_at":"2014-09-02T12:44:54Z","pushed_at":"2016-07-20T15:02:16Z","git_url":"git://github.com/RandoApp/Rando-exchanger.git","ssh_url":"git@github.com:RandoApp/Rando-exchanger.git","clone_url":"https://github.com/RandoApp/Rando-exchanger.git","svn_url":"https://github.com/RandoApp/Rando-exchanger","homepage":"https://rando4.me","size":48,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"RandoApp:master","ref":"master","sha":"96c848d4a1bcb0e2a195bb8808aa520c5006632a","user":{"login":"RandoApp","id":7382647,"avatar_url":"https://avatars.githubusercontent.com/u/7382647?v=3","gravatar_id":"","url":"https://api.github.com/users/RandoApp","html_url":"https://github.com/RandoApp","followers_url":"https://api.github.com/users/RandoApp/followers","following_url":"https://api.github.com/users/RandoApp/following{/other_user}","gists_url":"https://api.github.com/users/RandoApp/gists{/gist_id}","starred_url":"https://api.github.com/users/RandoApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandoApp/subscriptions","organizations_url":"https://api.github.com/users/RandoApp/orgs","repos_url":"https://api.github.com/users/RandoApp/repos","events_url":"https://api.github.com/users/RandoApp/events{/privacy}","received_events_url":"https://api.github.com/users/RandoApp/received_events","type":"Organization","site_admin":false},"repo":{"id":23073961,"name":"Rando-exchanger","full_name":"RandoApp/Rando-exchanger","owner":{"login":"RandoApp","id":7382647,"avatar_url":"https://avatars.githubusercontent.com/u/7382647?v=3","gravatar_id":"","url":"https://api.github.com/users/RandoApp","html_url":"https://github.com/RandoApp","followers_url":"https://api.github.com/users/RandoApp/followers","following_url":"https://api.github.com/users/RandoApp/following{/other_user}","gists_url":"https://api.github.com/users/RandoApp/gists{/gist_id}","starred_url":"https://api.github.com/users/RandoApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandoApp/subscriptions","organizations_url":"https://api.github.com/users/RandoApp/orgs","repos_url":"https://api.github.com/users/RandoApp/repos","events_url":"https://api.github.com/users/RandoApp/events{/privacy}","received_events_url":"https://api.github.com/users/RandoApp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RandoApp/Rando-exchanger","description":"Background service for exchange randos","fork":false,"url":"https://api.github.com/repos/RandoApp/Rando-exchanger","forks_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/forks","keys_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/teams","hooks_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/hooks","issue_events_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues/events{/number}","events_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/events","assignees_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/assignees{/user}","branches_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/branches{/branch}","tags_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/tags","blobs_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/refs{/sha}","trees_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/statuses/{sha}","languages_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/languages","stargazers_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/stargazers","contributors_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/contributors","subscribers_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/subscribers","subscription_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/subscription","commits_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/commits{/sha}","git_commits_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/git/commits{/sha}","comments_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/comments{/number}","issue_comment_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues/comments{/number}","contents_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/contents/{+path}","compare_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/merges","archive_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/downloads","issues_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues{/number}","pulls_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls{/number}","milestones_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/milestones{/number}","notifications_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/labels{/name}","releases_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/releases{/id}","deployments_url":"https://api.github.com/repos/RandoApp/Rando-exchanger/deployments","created_at":"2014-08-18T14:20:06Z","updated_at":"2014-09-02T12:44:54Z","pushed_at":"2016-07-20T15:02:16Z","git_url":"git://github.com/RandoApp/Rando-exchanger.git","ssh_url":"git@github.com:RandoApp/Rando-exchanger.git","clone_url":"https://github.com/RandoApp/Rando-exchanger.git","svn_url":"https://github.com/RandoApp/Rando-exchanger","homepage":"https://rando4.me","size":48,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/1"},"html":{"href":"https://github.com/RandoApp/Rando-exchanger/pull/1"},"issue":{"href":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues/1"},"comments":{"href":"https://api.github.com/repos/RandoApp/Rando-exchanger/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RandoApp/Rando-exchanger/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/RandoApp/Rando-exchanger/statuses/21e25fbcf22de4bbd424e14519f4c93fa6f75a75"}}}}
{"actor":{"display_login":"codacy-bot"}}