{"action":"created","comment":{"url":"https://api.github.com/repos/ardite/ardite-core/pulls/comments/56770509","id":56770509,"diff_hunk":"@@ -22,7 +22,7 @@ impl Driver for MongoDriver {\n   fn connect(uri: &str) -> Result<Self, Error> {\n     let config = try!(connstring::parse(uri));\n \n-    if let Some(db_name) = config.clone().database {\n+    if let Some(db_name) = config.database.clone() {","path":"src/driver/mongodb.rs","position":5,"original_position":5,"commit_id":"8edc82cbb36e546c70e61d6163f8cf6e98c74762","original_commit_id":"8edc82cbb36e546c70e61d6163f8cf6e98c74762","user":{"login":"calebmer","id":8282507,"avatar_url":"https://avatars.githubusercontent.com/u/8282507?v=3","gravatar_id":"","url":"https://api.github.com/users/calebmer","html_url":"https://github.com/calebmer","followers_url":"https://api.github.com/users/calebmer/followers","following_url":"https://api.github.com/users/calebmer/following{/other_user}","gists_url":"https://api.github.com/users/calebmer/gists{/gist_id}","starred_url":"https://api.github.com/users/calebmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebmer/subscriptions","organizations_url":"https://api.github.com/users/calebmer/orgs","repos_url":"https://api.github.com/users/calebmer/repos","events_url":"https://api.github.com/users/calebmer/events{/privacy}","received_events_url":"https://api.github.com/users/calebmer/received_events","type":"User","site_admin":false},"body":"Just give a code sample of what you wanted 😊","created_at":"2016-03-20T19:46:21Z","updated_at":"2016-03-20T19:46:21Z","html_url":"https://github.com/ardite/ardite-core/pull/31#discussion_r56770509","pull_request_url":"https://api.github.com/repos/ardite/ardite-core/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/ardite/ardite-core/pulls/comments/56770509"},"html":{"href":"https://github.com/ardite/ardite-core/pull/31#discussion_r56770509"},"pull_request":{"href":"https://api.github.com/repos/ardite/ardite-core/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/ardite/ardite-core/pulls/31","id":63503967,"html_url":"https://github.com/ardite/ardite-core/pull/31","diff_url":"https://github.com/ardite/ardite-core/pull/31.diff","patch_url":"https://github.com/ardite/ardite-core/pull/31.patch","issue_url":"https://api.github.com/repos/ardite/ardite-core/issues/31","number":31,"state":"open","locked":false,"title":"Refactor: clone bad","user":{"login":"calebmer","id":8282507,"avatar_url":"https://avatars.githubusercontent.com/u/8282507?v=3","gravatar_id":"","url":"https://api.github.com/users/calebmer","html_url":"https://github.com/calebmer","followers_url":"https://api.github.com/users/calebmer/followers","following_url":"https://api.github.com/users/calebmer/following{/other_user}","gists_url":"https://api.github.com/users/calebmer/gists{/gist_id}","starred_url":"https://api.github.com/users/calebmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebmer/subscriptions","organizations_url":"https://api.github.com/users/calebmer/orgs","repos_url":"https://api.github.com/users/calebmer/repos","events_url":"https://api.github.com/users/calebmer/events{/privacy}","received_events_url":"https://api.github.com/users/calebmer/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-20T18:58:24Z","updated_at":"2016-03-20T19:46:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"517f0d4ee9e1cbebc0fc3ea09b6b9cc80cd18548","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ardite/ardite-core/pulls/31/commits","review_comments_url":"https://api.github.com/repos/ardite/ardite-core/pulls/31/comments","review_comment_url":"https://api.github.com/repos/ardite/ardite-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ardite/ardite-core/issues/31/comments","statuses_url":"https://api.github.com/repos/ardite/ardite-core/statuses/8edc82cbb36e546c70e61d6163f8cf6e98c74762","head":{"label":"ardite:refactor/clone-bad","ref":"refactor/clone-bad","sha":"8edc82cbb36e546c70e61d6163f8cf6e98c74762","user":{"login":"ardite","id":16847179,"avatar_url":"https://avatars.githubusercontent.com/u/16847179?v=3","gravatar_id":"","url":"https://api.github.com/users/ardite","html_url":"https://github.com/ardite","followers_url":"https://api.github.com/users/ardite/followers","following_url":"https://api.github.com/users/ardite/following{/other_user}","gists_url":"https://api.github.com/users/ardite/gists{/gist_id}","starred_url":"https://api.github.com/users/ardite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardite/subscriptions","organizations_url":"https://api.github.com/users/ardite/orgs","repos_url":"https://api.github.com/users/ardite/repos","events_url":"https://api.github.com/users/ardite/events{/privacy}","received_events_url":"https://api.github.com/users/ardite/received_events","type":"Organization","site_admin":false},"repo":{"id":50250752,"name":"ardite-core","full_name":"ardite/ardite-core","owner":{"login":"ardite","id":16847179,"avatar_url":"https://avatars.githubusercontent.com/u/16847179?v=3","gravatar_id":"","url":"https://api.github.com/users/ardite","html_url":"https://github.com/ardite","followers_url":"https://api.github.com/users/ardite/followers","following_url":"https://api.github.com/users/ardite/following{/other_user}","gists_url":"https://api.github.com/users/ardite/gists{/gist_id}","starred_url":"https://api.github.com/users/ardite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardite/subscriptions","organizations_url":"https://api.github.com/users/ardite/orgs","repos_url":"https://api.github.com/users/ardite/repos","events_url":"https://api.github.com/users/ardite/events{/privacy}","received_events_url":"https://api.github.com/users/ardite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ardite/ardite-core","description":"Core library for Ardite services.","fork":false,"url":"https://api.github.com/repos/ardite/ardite-core","forks_url":"https://api.github.com/repos/ardite/ardite-core/forks","keys_url":"https://api.github.com/repos/ardite/ardite-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ardite/ardite-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ardite/ardite-core/teams","hooks_url":"https://api.github.com/repos/ardite/ardite-core/hooks","issue_events_url":"https://api.github.com/repos/ardite/ardite-core/issues/events{/number}","events_url":"https://api.github.com/repos/ardite/ardite-core/events","assignees_url":"https://api.github.com/repos/ardite/ardite-core/assignees{/user}","branches_url":"https://api.github.com/repos/ardite/ardite-core/branches{/branch}","tags_url":"https://api.github.com/repos/ardite/ardite-core/tags","blobs_url":"https://api.github.com/repos/ardite/ardite-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ardite/ardite-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ardite/ardite-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ardite/ardite-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ardite/ardite-core/statuses/{sha}","languages_url":"https://api.github.com/repos/ardite/ardite-core/languages","stargazers_url":"https://api.github.com/repos/ardite/ardite-core/stargazers","contributors_url":"https://api.github.com/repos/ardite/ardite-core/contributors","subscribers_url":"https://api.github.com/repos/ardite/ardite-core/subscribers","subscription_url":"https://api.github.com/repos/ardite/ardite-core/subscription","commits_url":"https://api.github.com/repos/ardite/ardite-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ardite/ardite-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ardite/ardite-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ardite/ardite-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ardite/ardite-core/contents/{+path}","compare_url":"https://api.github.com/repos/ardite/ardite-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ardite/ardite-core/merges","archive_url":"https://api.github.com/repos/ardite/ardite-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ardite/ardite-core/downloads","issues_url":"https://api.github.com/repos/ardite/ardite-core/issues{/number}","pulls_url":"https://api.github.com/repos/ardite/ardite-core/pulls{/number}","milestones_url":"https://api.github.com/repos/ardite/ardite-core/milestones{/number}","notifications_url":"https://api.github.com/repos/ardite/ardite-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ardite/ardite-core/labels{/name}","releases_url":"https://api.github.com/repos/ardite/ardite-core/releases{/id}","deployments_url":"https://api.github.com/repos/ardite/ardite-core/deployments","created_at":"2016-01-23T17:59:23Z","updated_at":"2016-03-06T16:18:41Z","pushed_at":"2016-03-20T19:35:16Z","git_url":"git://github.com/ardite/ardite-core.git","ssh_url":"git@github.com:ardite/ardite-core.git","clone_url":"https://github.com/ardite/ardite-core.git","svn_url":"https://github.com/ardite/ardite-core","homepage":null,"size":244,"stargazers_count":3,"watchers_count":3,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"develop"}},"base":{"label":"ardite:develop","ref":"develop","sha":"5007a2cef868b08a28c0e02e15cc566c1cef6153","user":{"login":"ardite","id":16847179,"avatar_url":"https://avatars.githubusercontent.com/u/16847179?v=3","gravatar_id":"","url":"https://api.github.com/users/ardite","html_url":"https://github.com/ardite","followers_url":"https://api.github.com/users/ardite/followers","following_url":"https://api.github.com/users/ardite/following{/other_user}","gists_url":"https://api.github.com/users/ardite/gists{/gist_id}","starred_url":"https://api.github.com/users/ardite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardite/subscriptions","organizations_url":"https://api.github.com/users/ardite/orgs","repos_url":"https://api.github.com/users/ardite/repos","events_url":"https://api.github.com/users/ardite/events{/privacy}","received_events_url":"https://api.github.com/users/ardite/received_events","type":"Organization","site_admin":false},"repo":{"id":50250752,"name":"ardite-core","full_name":"ardite/ardite-core","owner":{"login":"ardite","id":16847179,"avatar_url":"https://avatars.githubusercontent.com/u/16847179?v=3","gravatar_id":"","url":"https://api.github.com/users/ardite","html_url":"https://github.com/ardite","followers_url":"https://api.github.com/users/ardite/followers","following_url":"https://api.github.com/users/ardite/following{/other_user}","gists_url":"https://api.github.com/users/ardite/gists{/gist_id}","starred_url":"https://api.github.com/users/ardite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardite/subscriptions","organizations_url":"https://api.github.com/users/ardite/orgs","repos_url":"https://api.github.com/users/ardite/repos","events_url":"https://api.github.com/users/ardite/events{/privacy}","received_events_url":"https://api.github.com/users/ardite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ardite/ardite-core","description":"Core library for Ardite services.","fork":false,"url":"https://api.github.com/repos/ardite/ardite-core","forks_url":"https://api.github.com/repos/ardite/ardite-core/forks","keys_url":"https://api.github.com/repos/ardite/ardite-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ardite/ardite-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ardite/ardite-core/teams","hooks_url":"https://api.github.com/repos/ardite/ardite-core/hooks","issue_events_url":"https://api.github.com/repos/ardite/ardite-core/issues/events{/number}","events_url":"https://api.github.com/repos/ardite/ardite-core/events","assignees_url":"https://api.github.com/repos/ardite/ardite-core/assignees{/user}","branches_url":"https://api.github.com/repos/ardite/ardite-core/branches{/branch}","tags_url":"https://api.github.com/repos/ardite/ardite-core/tags","blobs_url":"https://api.github.com/repos/ardite/ardite-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ardite/ardite-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ardite/ardite-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ardite/ardite-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ardite/ardite-core/statuses/{sha}","languages_url":"https://api.github.com/repos/ardite/ardite-core/languages","stargazers_url":"https://api.github.com/repos/ardite/ardite-core/stargazers","contributors_url":"https://api.github.com/repos/ardite/ardite-core/contributors","subscribers_url":"https://api.github.com/repos/ardite/ardite-core/subscribers","subscription_url":"https://api.github.com/repos/ardite/ardite-core/subscription","commits_url":"https://api.github.com/repos/ardite/ardite-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ardite/ardite-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ardite/ardite-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ardite/ardite-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ardite/ardite-core/contents/{+path}","compare_url":"https://api.github.com/repos/ardite/ardite-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ardite/ardite-core/merges","archive_url":"https://api.github.com/repos/ardite/ardite-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ardite/ardite-core/downloads","issues_url":"https://api.github.com/repos/ardite/ardite-core/issues{/number}","pulls_url":"https://api.github.com/repos/ardite/ardite-core/pulls{/number}","milestones_url":"https://api.github.com/repos/ardite/ardite-core/milestones{/number}","notifications_url":"https://api.github.com/repos/ardite/ardite-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ardite/ardite-core/labels{/name}","releases_url":"https://api.github.com/repos/ardite/ardite-core/releases{/id}","deployments_url":"https://api.github.com/repos/ardite/ardite-core/deployments","created_at":"2016-01-23T17:59:23Z","updated_at":"2016-03-06T16:18:41Z","pushed_at":"2016-03-20T19:35:16Z","git_url":"git://github.com/ardite/ardite-core.git","ssh_url":"git@github.com:ardite/ardite-core.git","clone_url":"https://github.com/ardite/ardite-core.git","svn_url":"https://github.com/ardite/ardite-core","homepage":null,"size":244,"stargazers_count":3,"watchers_count":3,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ardite/ardite-core/pulls/31"},"html":{"href":"https://github.com/ardite/ardite-core/pull/31"},"issue":{"href":"https://api.github.com/repos/ardite/ardite-core/issues/31"},"comments":{"href":"https://api.github.com/repos/ardite/ardite-core/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/ardite/ardite-core/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/ardite/ardite-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ardite/ardite-core/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/ardite/ardite-core/statuses/8edc82cbb36e546c70e61d6163f8cf6e98c74762"}}}}