{"action":"closed","number":24,"pull_request":{"url":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls/24","id":75057676,"html_url":"https://github.com/pindell-matt/rust_bucket/pull/24","diff_url":"https://github.com/pindell-matt/rust_bucket/pull/24.diff","patch_url":"https://github.com/pindell-matt/rust_bucket/pull/24.patch","issue_url":"https://api.github.com/repos/pindell-matt/rust_bucket/issues/24","number":24,"state":"closed","locked":false,"title":"Add delete function","user":{"login":"pindell-matt","id":8797393,"avatar_url":"https://avatars.githubusercontent.com/u/8797393?v=3","gravatar_id":"","url":"https://api.github.com/users/pindell-matt","html_url":"https://github.com/pindell-matt","followers_url":"https://api.github.com/users/pindell-matt/followers","following_url":"https://api.github.com/users/pindell-matt/following{/other_user}","gists_url":"https://api.github.com/users/pindell-matt/gists{/gist_id}","starred_url":"https://api.github.com/users/pindell-matt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pindell-matt/subscriptions","organizations_url":"https://api.github.com/users/pindell-matt/orgs","repos_url":"https://api.github.com/users/pindell-matt/repos","events_url":"https://api.github.com/users/pindell-matt/events{/privacy}","received_events_url":"https://api.github.com/users/pindell-matt/received_events","type":"User","site_admin":false},"body":"Add function to delete record based on table and id.\r\n```rust\r\npub fn delete<T: Serialize + Deserialize>(table: &str, id: &str) -> Result<()> {\r\n    let mut current_table: HashMap<String, T> = get_table_records(table);\r\n    current_table.remove(id);\r\n    update_table(table, &current_table).unwrap();\r\n\r\n    Ok(())\r\n}\r\n```","created_at":"2016-06-24T02:53:02Z","updated_at":"2016-06-24T02:53:47Z","closed_at":"2016-06-24T02:53:47Z","merged_at":"2016-06-24T02:53:47Z","merge_commit_sha":"c5976919dad6419da2ce8e6ec898dca547c92c34","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls/24/commits","review_comments_url":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls/24/comments","review_comment_url":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pindell-matt/rust_bucket/issues/24/comments","statuses_url":"https://api.github.com/repos/pindell-matt/rust_bucket/statuses/e7840a5adeaa91f20db12e55846c4be47081b76c","head":{"label":"pindell-matt:delete","ref":"delete","sha":"e7840a5adeaa91f20db12e55846c4be47081b76c","user":{"login":"pindell-matt","id":8797393,"avatar_url":"https://avatars.githubusercontent.com/u/8797393?v=3","gravatar_id":"","url":"https://api.github.com/users/pindell-matt","html_url":"https://github.com/pindell-matt","followers_url":"https://api.github.com/users/pindell-matt/followers","following_url":"https://api.github.com/users/pindell-matt/following{/other_user}","gists_url":"https://api.github.com/users/pindell-matt/gists{/gist_id}","starred_url":"https://api.github.com/users/pindell-matt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pindell-matt/subscriptions","organizations_url":"https://api.github.com/users/pindell-matt/orgs","repos_url":"https://api.github.com/users/pindell-matt/repos","events_url":"https://api.github.com/users/pindell-matt/events{/privacy}","received_events_url":"https://api.github.com/users/pindell-matt/received_events","type":"User","site_admin":false},"repo":{"id":56199349,"name":"rust_bucket","full_name":"pindell-matt/rust_bucket","owner":{"login":"pindell-matt","id":8797393,"avatar_url":"https://avatars.githubusercontent.com/u/8797393?v=3","gravatar_id":"","url":"https://api.github.com/users/pindell-matt","html_url":"https://github.com/pindell-matt","followers_url":"https://api.github.com/users/pindell-matt/followers","following_url":"https://api.github.com/users/pindell-matt/following{/other_user}","gists_url":"https://api.github.com/users/pindell-matt/gists{/gist_id}","starred_url":"https://api.github.com/users/pindell-matt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pindell-matt/subscriptions","organizations_url":"https://api.github.com/users/pindell-matt/orgs","repos_url":"https://api.github.com/users/pindell-matt/repos","events_url":"https://api.github.com/users/pindell-matt/events{/privacy}","received_events_url":"https://api.github.com/users/pindell-matt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pindell-matt/rust_bucket","description":"Simple JSON key-value store implemented in Rust","fork":false,"url":"https://api.github.com/repos/pindell-matt/rust_bucket","forks_url":"https://api.github.com/repos/pindell-matt/rust_bucket/forks","keys_url":"https://api.github.com/repos/pindell-matt/rust_bucket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pindell-matt/rust_bucket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pindell-matt/rust_bucket/teams","hooks_url":"https://api.github.com/repos/pindell-matt/rust_bucket/hooks","issue_events_url":"https://api.github.com/repos/pindell-matt/rust_bucket/issues/events{/number}","events_url":"https://api.github.com/repos/pindell-matt/rust_bucket/events","assignees_url":"https://api.github.com/repos/pindell-matt/rust_bucket/assignees{/user}","branches_url":"https://api.github.com/repos/pindell-matt/rust_bucket/branches{/branch}","tags_url":"https://api.github.com/repos/pindell-matt/rust_bucket/tags","blobs_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/refs{/sha}","trees_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pindell-matt/rust_bucket/statuses/{sha}","languages_url":"https://api.github.com/repos/pindell-matt/rust_bucket/languages","stargazers_url":"https://api.github.com/repos/pindell-matt/rust_bucket/stargazers","contributors_url":"https://api.github.com/repos/pindell-matt/rust_bucket/contributors","subscribers_url":"https://api.github.com/repos/pindell-matt/rust_bucket/subscribers","subscription_url":"https://api.github.com/repos/pindell-matt/rust_bucket/subscription","commits_url":"https://api.github.com/repos/pindell-matt/rust_bucket/commits{/sha}","git_commits_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/commits{/sha}","comments_url":"https://api.github.com/repos/pindell-matt/rust_bucket/comments{/number}","issue_comment_url":"https://api.github.com/repos/pindell-matt/rust_bucket/issues/comments{/number}","contents_url":"https://api.github.com/repos/pindell-matt/rust_bucket/contents/{+path}","compare_url":"https://api.github.com/repos/pindell-matt/rust_bucket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pindell-matt/rust_bucket/merges","archive_url":"https://api.github.com/repos/pindell-matt/rust_bucket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pindell-matt/rust_bucket/downloads","issues_url":"https://api.github.com/repos/pindell-matt/rust_bucket/issues{/number}","pulls_url":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls{/number}","milestones_url":"https://api.github.com/repos/pindell-matt/rust_bucket/milestones{/number}","notifications_url":"https://api.github.com/repos/pindell-matt/rust_bucket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pindell-matt/rust_bucket/labels{/name}","releases_url":"https://api.github.com/repos/pindell-matt/rust_bucket/releases{/id}","deployments_url":"https://api.github.com/repos/pindell-matt/rust_bucket/deployments","created_at":"2016-04-14T01:57:54Z","updated_at":"2016-06-24T02:37:18Z","pushed_at":"2016-06-24T02:53:48Z","git_url":"git://github.com/pindell-matt/rust_bucket.git","ssh_url":"git@github.com:pindell-matt/rust_bucket.git","clone_url":"https://github.com/pindell-matt/rust_bucket.git","svn_url":"https://github.com/pindell-matt/rust_bucket","homepage":"","size":56,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"pindell-matt:master","ref":"master","sha":"6a07017aaba87585df98aad07a83c2943efac1d5","user":{"login":"pindell-matt","id":8797393,"avatar_url":"https://avatars.githubusercontent.com/u/8797393?v=3","gravatar_id":"","url":"https://api.github.com/users/pindell-matt","html_url":"https://github.com/pindell-matt","followers_url":"https://api.github.com/users/pindell-matt/followers","following_url":"https://api.github.com/users/pindell-matt/following{/other_user}","gists_url":"https://api.github.com/users/pindell-matt/gists{/gist_id}","starred_url":"https://api.github.com/users/pindell-matt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pindell-matt/subscriptions","organizations_url":"https://api.github.com/users/pindell-matt/orgs","repos_url":"https://api.github.com/users/pindell-matt/repos","events_url":"https://api.github.com/users/pindell-matt/events{/privacy}","received_events_url":"https://api.github.com/users/pindell-matt/received_events","type":"User","site_admin":false},"repo":{"id":56199349,"name":"rust_bucket","full_name":"pindell-matt/rust_bucket","owner":{"login":"pindell-matt","id":8797393,"avatar_url":"https://avatars.githubusercontent.com/u/8797393?v=3","gravatar_id":"","url":"https://api.github.com/users/pindell-matt","html_url":"https://github.com/pindell-matt","followers_url":"https://api.github.com/users/pindell-matt/followers","following_url":"https://api.github.com/users/pindell-matt/following{/other_user}","gists_url":"https://api.github.com/users/pindell-matt/gists{/gist_id}","starred_url":"https://api.github.com/users/pindell-matt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pindell-matt/subscriptions","organizations_url":"https://api.github.com/users/pindell-matt/orgs","repos_url":"https://api.github.com/users/pindell-matt/repos","events_url":"https://api.github.com/users/pindell-matt/events{/privacy}","received_events_url":"https://api.github.com/users/pindell-matt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pindell-matt/rust_bucket","description":"Simple JSON key-value store implemented in Rust","fork":false,"url":"https://api.github.com/repos/pindell-matt/rust_bucket","forks_url":"https://api.github.com/repos/pindell-matt/rust_bucket/forks","keys_url":"https://api.github.com/repos/pindell-matt/rust_bucket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pindell-matt/rust_bucket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pindell-matt/rust_bucket/teams","hooks_url":"https://api.github.com/repos/pindell-matt/rust_bucket/hooks","issue_events_url":"https://api.github.com/repos/pindell-matt/rust_bucket/issues/events{/number}","events_url":"https://api.github.com/repos/pindell-matt/rust_bucket/events","assignees_url":"https://api.github.com/repos/pindell-matt/rust_bucket/assignees{/user}","branches_url":"https://api.github.com/repos/pindell-matt/rust_bucket/branches{/branch}","tags_url":"https://api.github.com/repos/pindell-matt/rust_bucket/tags","blobs_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/refs{/sha}","trees_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pindell-matt/rust_bucket/statuses/{sha}","languages_url":"https://api.github.com/repos/pindell-matt/rust_bucket/languages","stargazers_url":"https://api.github.com/repos/pindell-matt/rust_bucket/stargazers","contributors_url":"https://api.github.com/repos/pindell-matt/rust_bucket/contributors","subscribers_url":"https://api.github.com/repos/pindell-matt/rust_bucket/subscribers","subscription_url":"https://api.github.com/repos/pindell-matt/rust_bucket/subscription","commits_url":"https://api.github.com/repos/pindell-matt/rust_bucket/commits{/sha}","git_commits_url":"https://api.github.com/repos/pindell-matt/rust_bucket/git/commits{/sha}","comments_url":"https://api.github.com/repos/pindell-matt/rust_bucket/comments{/number}","issue_comment_url":"https://api.github.com/repos/pindell-matt/rust_bucket/issues/comments{/number}","contents_url":"https://api.github.com/repos/pindell-matt/rust_bucket/contents/{+path}","compare_url":"https://api.github.com/repos/pindell-matt/rust_bucket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pindell-matt/rust_bucket/merges","archive_url":"https://api.github.com/repos/pindell-matt/rust_bucket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pindell-matt/rust_bucket/downloads","issues_url":"https://api.github.com/repos/pindell-matt/rust_bucket/issues{/number}","pulls_url":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls{/number}","milestones_url":"https://api.github.com/repos/pindell-matt/rust_bucket/milestones{/number}","notifications_url":"https://api.github.com/repos/pindell-matt/rust_bucket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pindell-matt/rust_bucket/labels{/name}","releases_url":"https://api.github.com/repos/pindell-matt/rust_bucket/releases{/id}","deployments_url":"https://api.github.com/repos/pindell-matt/rust_bucket/deployments","created_at":"2016-04-14T01:57:54Z","updated_at":"2016-06-24T02:37:18Z","pushed_at":"2016-06-24T02:53:48Z","git_url":"git://github.com/pindell-matt/rust_bucket.git","ssh_url":"git@github.com:pindell-matt/rust_bucket.git","clone_url":"https://github.com/pindell-matt/rust_bucket.git","svn_url":"https://github.com/pindell-matt/rust_bucket","homepage":"","size":56,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls/24"},"html":{"href":"https://github.com/pindell-matt/rust_bucket/pull/24"},"issue":{"href":"https://api.github.com/repos/pindell-matt/rust_bucket/issues/24"},"comments":{"href":"https://api.github.com/repos/pindell-matt/rust_bucket/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pindell-matt/rust_bucket/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/pindell-matt/rust_bucket/statuses/e7840a5adeaa91f20db12e55846c4be47081b76c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"selfup","id":9837366,"avatar_url":"https://avatars.githubusercontent.com/u/9837366?v=3","gravatar_id":"","url":"https://api.github.com/users/selfup","html_url":"https://github.com/selfup","followers_url":"https://api.github.com/users/selfup/followers","following_url":"https://api.github.com/users/selfup/following{/other_user}","gists_url":"https://api.github.com/users/selfup/gists{/gist_id}","starred_url":"https://api.github.com/users/selfup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfup/subscriptions","organizations_url":"https://api.github.com/users/selfup/orgs","repos_url":"https://api.github.com/users/selfup/repos","events_url":"https://api.github.com/users/selfup/events{/privacy}","received_events_url":"https://api.github.com/users/selfup/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":26,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"selfup"}}