{"action":"created","comment":{"url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/comments/179572185","pull_request_review_id":109842039,"id":179572185,"diff_hunk":"@@ -262,53 +262,100 @@\n       end\n     end\n \n-    describe '#set_deleted_from_parent' do\n-      it { is_expected.to respond_to(:set_deleted_from_parent) }\n+    describe '.move_to_trashbin' do","path":"spec/models/data_file_spec.rb","position":null,"original_position":6,"commit_id":"dafb04aa6dd47be9d2621d417f24889755994ad5","original_commit_id":"dafb04aa6dd47be9d2621d417f24889755994ad5","user":{"login":"dmann","id":89314,"avatar_url":"https://avatars1.githubusercontent.com/u/89314?v=4","gravatar_id":"","url":"https://api.github.com/users/dmann","html_url":"https://github.com/dmann","followers_url":"https://api.github.com/users/dmann/followers","following_url":"https://api.github.com/users/dmann/following{/other_user}","gists_url":"https://api.github.com/users/dmann/gists{/gist_id}","starred_url":"https://api.github.com/users/dmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmann/subscriptions","organizations_url":"https://api.github.com/users/dmann/orgs","repos_url":"https://api.github.com/users/dmann/repos","events_url":"https://api.github.com/users/dmann/events{/privacy}","received_events_url":"https://api.github.com/users/dmann/received_events","type":"User","site_admin":false},"body":"`s/\\./#/`\r\nIt's an instance method.","created_at":"2018-04-05T19:13:51Z","updated_at":"2018-04-05T19:54:52Z","html_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service/pull/1156#discussion_r179572185","pull_request_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/1156","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/comments/179572185"},"html":{"href":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service/pull/1156#discussion_r179572185"},"pull_request":{"href":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/1156"}}},"pull_request":{"url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/1156","id":179169860,"html_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service/pull/1156","diff_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service/pull/1156.diff","patch_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service/pull/1156.patch","issue_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/issues/1156","number":1156,"state":"open","locked":false,"title":"DDS-1098-container_deletion_parent","user":{"login":"dmlond","id":106493,"avatar_url":"https://avatars1.githubusercontent.com/u/106493?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlond","html_url":"https://github.com/dmlond","followers_url":"https://api.github.com/users/dmlond/followers","following_url":"https://api.github.com/users/dmlond/following{/other_user}","gists_url":"https://api.github.com/users/dmlond/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlond/subscriptions","organizations_url":"https://api.github.com/users/dmlond/orgs","repos_url":"https://api.github.com/users/dmlond/repos","events_url":"https://api.github.com/users/dmlond/events{/privacy}","received_events_url":"https://api.github.com/users/dmlond/received_events","type":"User","site_admin":false},"body":"When a Folder or DataFile is deleted, it is moved to the root of the project trashbin, but its original parent is preserved for future restores.\r\n","created_at":"2018-04-03T17:38:57Z","updated_at":"2018-04-05T19:54:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c7124081e451ee0b0325f8d17a965e1d1a25838","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/1156/commits","review_comments_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/1156/comments","review_comment_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/issues/1156/comments","statuses_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/statuses/dafb04aa6dd47be9d2621d417f24889755994ad5","head":{"label":"dmlond:DDS-1098-container_deletion_parent","ref":"DDS-1098-container_deletion_parent","sha":"dafb04aa6dd47be9d2621d417f24889755994ad5","user":{"login":"dmlond","id":106493,"avatar_url":"https://avatars1.githubusercontent.com/u/106493?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlond","html_url":"https://github.com/dmlond","followers_url":"https://api.github.com/users/dmlond/followers","following_url":"https://api.github.com/users/dmlond/following{/other_user}","gists_url":"https://api.github.com/users/dmlond/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlond/subscriptions","organizations_url":"https://api.github.com/users/dmlond/orgs","repos_url":"https://api.github.com/users/dmlond/repos","events_url":"https://api.github.com/users/dmlond/events{/privacy}","received_events_url":"https://api.github.com/users/dmlond/received_events","type":"User","site_admin":false},"repo":{"id":48438216,"name":"duke-data-service","full_name":"dmlond/duke-data-service","owner":{"login":"dmlond","id":106493,"avatar_url":"https://avatars1.githubusercontent.com/u/106493?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlond","html_url":"https://github.com/dmlond","followers_url":"https://api.github.com/users/dmlond/followers","following_url":"https://api.github.com/users/dmlond/following{/other_user}","gists_url":"https://api.github.com/users/dmlond/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlond/subscriptions","organizations_url":"https://api.github.com/users/dmlond/orgs","repos_url":"https://api.github.com/users/dmlond/repos","events_url":"https://api.github.com/users/dmlond/events{/privacy}","received_events_url":"https://api.github.com/users/dmlond/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmlond/duke-data-service","description":null,"fork":true,"url":"https://api.github.com/repos/dmlond/duke-data-service","forks_url":"https://api.github.com/repos/dmlond/duke-data-service/forks","keys_url":"https://api.github.com/repos/dmlond/duke-data-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmlond/duke-data-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmlond/duke-data-service/teams","hooks_url":"https://api.github.com/repos/dmlond/duke-data-service/hooks","issue_events_url":"https://api.github.com/repos/dmlond/duke-data-service/issues/events{/number}","events_url":"https://api.github.com/repos/dmlond/duke-data-service/events","assignees_url":"https://api.github.com/repos/dmlond/duke-data-service/assignees{/user}","branches_url":"https://api.github.com/repos/dmlond/duke-data-service/branches{/branch}","tags_url":"https://api.github.com/repos/dmlond/duke-data-service/tags","blobs_url":"https://api.github.com/repos/dmlond/duke-data-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmlond/duke-data-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmlond/duke-data-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmlond/duke-data-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmlond/duke-data-service/statuses/{sha}","languages_url":"https://api.github.com/repos/dmlond/duke-data-service/languages","stargazers_url":"https://api.github.com/repos/dmlond/duke-data-service/stargazers","contributors_url":"https://api.github.com/repos/dmlond/duke-data-service/contributors","subscribers_url":"https://api.github.com/repos/dmlond/duke-data-service/subscribers","subscription_url":"https://api.github.com/repos/dmlond/duke-data-service/subscription","commits_url":"https://api.github.com/repos/dmlond/duke-data-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmlond/duke-data-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmlond/duke-data-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmlond/duke-data-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmlond/duke-data-service/contents/{+path}","compare_url":"https://api.github.com/repos/dmlond/duke-data-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmlond/duke-data-service/merges","archive_url":"https://api.github.com/repos/dmlond/duke-data-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmlond/duke-data-service/downloads","issues_url":"https://api.github.com/repos/dmlond/duke-data-service/issues{/number}","pulls_url":"https://api.github.com/repos/dmlond/duke-data-service/pulls{/number}","milestones_url":"https://api.github.com/repos/dmlond/duke-data-service/milestones{/number}","notifications_url":"https://api.github.com/repos/dmlond/duke-data-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmlond/duke-data-service/labels{/name}","releases_url":"https://api.github.com/repos/dmlond/duke-data-service/releases{/id}","deployments_url":"https://api.github.com/repos/dmlond/duke-data-service/deployments","created_at":"2015-12-22T15:03:58Z","updated_at":"2016-04-15T11:24:35Z","pushed_at":"2018-04-05T18:47:19Z","git_url":"git://github.com/dmlond/duke-data-service.git","ssh_url":"git@github.com:dmlond/duke-data-service.git","clone_url":"https://github.com/dmlond/duke-data-service.git","svn_url":"https://github.com/dmlond/duke-data-service","homepage":"","size":25142,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Duke-Translational-Bioinformatics:DDS-829-trash_bin","ref":"DDS-829-trash_bin","sha":"1b2f8f4d5d054ea76a8826e3d2c100ee6572e57a","user":{"login":"Duke-Translational-Bioinformatics","id":7585420,"avatar_url":"https://avatars0.githubusercontent.com/u/7585420?v=4","gravatar_id":"","url":"https://api.github.com/users/Duke-Translational-Bioinformatics","html_url":"https://github.com/Duke-Translational-Bioinformatics","followers_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/followers","following_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/following{/other_user}","gists_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/gists{/gist_id}","starred_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/subscriptions","organizations_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/orgs","repos_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/repos","events_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/events{/privacy}","received_events_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/received_events","type":"Organization","site_admin":false},"repo":{"id":36297214,"name":"duke-data-service","full_name":"Duke-Translational-Bioinformatics/duke-data-service","owner":{"login":"Duke-Translational-Bioinformatics","id":7585420,"avatar_url":"https://avatars0.githubusercontent.com/u/7585420?v=4","gravatar_id":"","url":"https://api.github.com/users/Duke-Translational-Bioinformatics","html_url":"https://github.com/Duke-Translational-Bioinformatics","followers_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/followers","following_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/following{/other_user}","gists_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/gists{/gist_id}","starred_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/subscriptions","organizations_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/orgs","repos_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/repos","events_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/events{/privacy}","received_events_url":"https://api.github.com/users/Duke-Translational-Bioinformatics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service","description":"Main repository for the Duke Data Service","fork":false,"url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service","forks_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/forks","keys_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/teams","hooks_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/hooks","issue_events_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/issues/events{/number}","events_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/events","assignees_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/assignees{/user}","branches_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/branches{/branch}","tags_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/tags","blobs_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/statuses/{sha}","languages_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/languages","stargazers_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/stargazers","contributors_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/contributors","subscribers_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/subscribers","subscription_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/subscription","commits_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/contents/{+path}","compare_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/merges","archive_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/downloads","issues_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/issues{/number}","pulls_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls{/number}","milestones_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/milestones{/number}","notifications_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/labels{/name}","releases_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/releases{/id}","deployments_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/deployments","created_at":"2015-05-26T13:20:32Z","updated_at":"2018-03-21T19:24:35Z","pushed_at":"2018-04-05T18:47:20Z","git_url":"git://github.com/Duke-Translational-Bioinformatics/duke-data-service.git","ssh_url":"git@github.com:Duke-Translational-Bioinformatics/duke-data-service.git","clone_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service.git","svn_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service","homepage":"","size":23807,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":41,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":13,"open_issues":41,"watchers":10,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/1156"},"html":{"href":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service/pull/1156"},"issue":{"href":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/issues/1156"},"comments":{"href":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/issues/1156/comments"},"review_comments":{"href":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/1156/comments"},"review_comment":{"href":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/pulls/1156/commits"},"statuses":{"href":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service/statuses/dafb04aa6dd47be9d2621d417f24889755994ad5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dmann"}}