{"action":"created","comment":{"url":"https://api.github.com/repos/ucsdlib/damspas/pulls/comments/38534316","id":38534316,"diff_hunk":"@@ -28,8 +28,9 @@\n \t\tservice_file_path = (service_file != nil) ? download_path(ark, \"_#{i}_#{service_file}\") : ''\r\n \t\tfileType = grabFileType(fileUse)\r\n \t\tloadFirstComponent = (firstComponent != nil) ? \"data=#{i}\" : ''\r\n+     \r\n+        source_file = grabSourceFile(:componentIndex=>i)\r","path":"app/views/dams_objects/_complex_object_viewer.html.erb","position":5,"original_position":5,"commit_id":"30a9ca6cdcc4cd7fa07d10100fc793ac264ee9f4","original_commit_id":"30a9ca6cdcc4cd7fa07d10100fc793ac264ee9f4","user":{"login":"escowles","id":856924,"avatar_url":"https://avatars.githubusercontent.com/u/856924?v=3","gravatar_id":"","url":"https://api.github.com/users/escowles","html_url":"https://github.com/escowles","followers_url":"https://api.github.com/users/escowles/followers","following_url":"https://api.github.com/users/escowles/following{/other_user}","gists_url":"https://api.github.com/users/escowles/gists{/gist_id}","starred_url":"https://api.github.com/users/escowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escowles/subscriptions","organizations_url":"https://api.github.com/users/escowles/orgs","repos_url":"https://api.github.com/users/escowles/repos","events_url":"https://api.github.com/users/escowles/events{/privacy}","received_events_url":"https://api.github.com/users/escowles/received_events","type":"User","site_admin":false},"body":"Please add a feature test to demonstrate this.","created_at":"2015-09-02T13:59:50Z","updated_at":"2015-09-02T13:59:50Z","html_url":"https://github.com/ucsdlib/damspas/pull/130#discussion_r38534316","pull_request_url":"https://api.github.com/repos/ucsdlib/damspas/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/comments/38534316"},"html":{"href":"https://github.com/ucsdlib/damspas/pull/130#discussion_r38534316"},"pull_request":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/ucsdlib/damspas/pulls/130","id":43934537,"html_url":"https://github.com/ucsdlib/damspas/pull/130","diff_url":"https://github.com/ucsdlib/damspas/pull/130.diff","patch_url":"https://github.com/ucsdlib/damspas/pull/130.patch","issue_url":"https://api.github.com/repos/ucsdlib/damspas/issues/130","number":130,"state":"open","locked":false,"title":"Fixing the download master files for complex objects.(DHH-725)","user":{"login":"hweng","id":2432753,"avatar_url":"https://avatars.githubusercontent.com/u/2432753?v=3","gravatar_id":"","url":"https://api.github.com/users/hweng","html_url":"https://github.com/hweng","followers_url":"https://api.github.com/users/hweng/followers","following_url":"https://api.github.com/users/hweng/following{/other_user}","gists_url":"https://api.github.com/users/hweng/gists{/gist_id}","starred_url":"https://api.github.com/users/hweng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hweng/subscriptions","organizations_url":"https://api.github.com/users/hweng/orgs","repos_url":"https://api.github.com/users/hweng/repos","events_url":"https://api.github.com/users/hweng/events{/privacy}","received_events_url":"https://api.github.com/users/hweng/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-01T22:29:16Z","updated_at":"2015-09-02T13:59:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c981ac70b1ec7d7b4d0c6b9ef8af1f1f932487e7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ucsdlib/damspas/pulls/130/commits","review_comments_url":"https://api.github.com/repos/ucsdlib/damspas/pulls/130/comments","review_comment_url":"https://api.github.com/repos/ucsdlib/damspas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ucsdlib/damspas/issues/130/comments","statuses_url":"https://api.github.com/repos/ucsdlib/damspas/statuses/30a9ca6cdcc4cd7fa07d10100fc793ac264ee9f4","head":{"label":"ucsdlib:feature/DHH-725","ref":"feature/DHH-725","sha":"30a9ca6cdcc4cd7fa07d10100fc793ac264ee9f4","user":{"login":"ucsdlib","id":2387725,"avatar_url":"https://avatars.githubusercontent.com/u/2387725?v=3","gravatar_id":"","url":"https://api.github.com/users/ucsdlib","html_url":"https://github.com/ucsdlib","followers_url":"https://api.github.com/users/ucsdlib/followers","following_url":"https://api.github.com/users/ucsdlib/following{/other_user}","gists_url":"https://api.github.com/users/ucsdlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsdlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsdlib/subscriptions","organizations_url":"https://api.github.com/users/ucsdlib/orgs","repos_url":"https://api.github.com/users/ucsdlib/repos","events_url":"https://api.github.com/users/ucsdlib/events{/privacy}","received_events_url":"https://api.github.com/users/ucsdlib/received_events","type":"Organization","site_admin":false},"repo":{"id":17287926,"name":"damspas","full_name":"ucsdlib/damspas","owner":{"login":"ucsdlib","id":2387725,"avatar_url":"https://avatars.githubusercontent.com/u/2387725?v=3","gravatar_id":"","url":"https://api.github.com/users/ucsdlib","html_url":"https://github.com/ucsdlib","followers_url":"https://api.github.com/users/ucsdlib/followers","following_url":"https://api.github.com/users/ucsdlib/following{/other_user}","gists_url":"https://api.github.com/users/ucsdlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsdlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsdlib/subscriptions","organizations_url":"https://api.github.com/users/ucsdlib/orgs","repos_url":"https://api.github.com/users/ucsdlib/repos","events_url":"https://api.github.com/users/ucsdlib/events{/privacy}","received_events_url":"https://api.github.com/users/ucsdlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ucsdlib/damspas","description":"UC San Diego DAMS Hydra Head","fork":false,"url":"https://api.github.com/repos/ucsdlib/damspas","forks_url":"https://api.github.com/repos/ucsdlib/damspas/forks","keys_url":"https://api.github.com/repos/ucsdlib/damspas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucsdlib/damspas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucsdlib/damspas/teams","hooks_url":"https://api.github.com/repos/ucsdlib/damspas/hooks","issue_events_url":"https://api.github.com/repos/ucsdlib/damspas/issues/events{/number}","events_url":"https://api.github.com/repos/ucsdlib/damspas/events","assignees_url":"https://api.github.com/repos/ucsdlib/damspas/assignees{/user}","branches_url":"https://api.github.com/repos/ucsdlib/damspas/branches{/branch}","tags_url":"https://api.github.com/repos/ucsdlib/damspas/tags","blobs_url":"https://api.github.com/repos/ucsdlib/damspas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucsdlib/damspas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucsdlib/damspas/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucsdlib/damspas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucsdlib/damspas/statuses/{sha}","languages_url":"https://api.github.com/repos/ucsdlib/damspas/languages","stargazers_url":"https://api.github.com/repos/ucsdlib/damspas/stargazers","contributors_url":"https://api.github.com/repos/ucsdlib/damspas/contributors","subscribers_url":"https://api.github.com/repos/ucsdlib/damspas/subscribers","subscription_url":"https://api.github.com/repos/ucsdlib/damspas/subscription","commits_url":"https://api.github.com/repos/ucsdlib/damspas/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucsdlib/damspas/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucsdlib/damspas/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucsdlib/damspas/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucsdlib/damspas/contents/{+path}","compare_url":"https://api.github.com/repos/ucsdlib/damspas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucsdlib/damspas/merges","archive_url":"https://api.github.com/repos/ucsdlib/damspas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucsdlib/damspas/downloads","issues_url":"https://api.github.com/repos/ucsdlib/damspas/issues{/number}","pulls_url":"https://api.github.com/repos/ucsdlib/damspas/pulls{/number}","milestones_url":"https://api.github.com/repos/ucsdlib/damspas/milestones{/number}","notifications_url":"https://api.github.com/repos/ucsdlib/damspas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucsdlib/damspas/labels{/name}","releases_url":"https://api.github.com/repos/ucsdlib/damspas/releases{/id}","created_at":"2014-02-28T14:07:19Z","updated_at":"2015-05-08T20:32:58Z","pushed_at":"2015-09-01T22:29:16Z","git_url":"git://github.com/ucsdlib/damspas.git","ssh_url":"git@github.com:ucsdlib/damspas.git","clone_url":"https://github.com/ucsdlib/damspas.git","svn_url":"https://github.com/ucsdlib/damspas","homepage":null,"size":15413,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":2,"default_branch":"develop"}},"base":{"label":"ucsdlib:develop","ref":"develop","sha":"3abcec312c38281f395e139b21d345a5911fd976","user":{"login":"ucsdlib","id":2387725,"avatar_url":"https://avatars.githubusercontent.com/u/2387725?v=3","gravatar_id":"","url":"https://api.github.com/users/ucsdlib","html_url":"https://github.com/ucsdlib","followers_url":"https://api.github.com/users/ucsdlib/followers","following_url":"https://api.github.com/users/ucsdlib/following{/other_user}","gists_url":"https://api.github.com/users/ucsdlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsdlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsdlib/subscriptions","organizations_url":"https://api.github.com/users/ucsdlib/orgs","repos_url":"https://api.github.com/users/ucsdlib/repos","events_url":"https://api.github.com/users/ucsdlib/events{/privacy}","received_events_url":"https://api.github.com/users/ucsdlib/received_events","type":"Organization","site_admin":false},"repo":{"id":17287926,"name":"damspas","full_name":"ucsdlib/damspas","owner":{"login":"ucsdlib","id":2387725,"avatar_url":"https://avatars.githubusercontent.com/u/2387725?v=3","gravatar_id":"","url":"https://api.github.com/users/ucsdlib","html_url":"https://github.com/ucsdlib","followers_url":"https://api.github.com/users/ucsdlib/followers","following_url":"https://api.github.com/users/ucsdlib/following{/other_user}","gists_url":"https://api.github.com/users/ucsdlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsdlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsdlib/subscriptions","organizations_url":"https://api.github.com/users/ucsdlib/orgs","repos_url":"https://api.github.com/users/ucsdlib/repos","events_url":"https://api.github.com/users/ucsdlib/events{/privacy}","received_events_url":"https://api.github.com/users/ucsdlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ucsdlib/damspas","description":"UC San Diego DAMS Hydra Head","fork":false,"url":"https://api.github.com/repos/ucsdlib/damspas","forks_url":"https://api.github.com/repos/ucsdlib/damspas/forks","keys_url":"https://api.github.com/repos/ucsdlib/damspas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucsdlib/damspas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucsdlib/damspas/teams","hooks_url":"https://api.github.com/repos/ucsdlib/damspas/hooks","issue_events_url":"https://api.github.com/repos/ucsdlib/damspas/issues/events{/number}","events_url":"https://api.github.com/repos/ucsdlib/damspas/events","assignees_url":"https://api.github.com/repos/ucsdlib/damspas/assignees{/user}","branches_url":"https://api.github.com/repos/ucsdlib/damspas/branches{/branch}","tags_url":"https://api.github.com/repos/ucsdlib/damspas/tags","blobs_url":"https://api.github.com/repos/ucsdlib/damspas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucsdlib/damspas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucsdlib/damspas/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucsdlib/damspas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucsdlib/damspas/statuses/{sha}","languages_url":"https://api.github.com/repos/ucsdlib/damspas/languages","stargazers_url":"https://api.github.com/repos/ucsdlib/damspas/stargazers","contributors_url":"https://api.github.com/repos/ucsdlib/damspas/contributors","subscribers_url":"https://api.github.com/repos/ucsdlib/damspas/subscribers","subscription_url":"https://api.github.com/repos/ucsdlib/damspas/subscription","commits_url":"https://api.github.com/repos/ucsdlib/damspas/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucsdlib/damspas/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucsdlib/damspas/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucsdlib/damspas/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucsdlib/damspas/contents/{+path}","compare_url":"https://api.github.com/repos/ucsdlib/damspas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucsdlib/damspas/merges","archive_url":"https://api.github.com/repos/ucsdlib/damspas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucsdlib/damspas/downloads","issues_url":"https://api.github.com/repos/ucsdlib/damspas/issues{/number}","pulls_url":"https://api.github.com/repos/ucsdlib/damspas/pulls{/number}","milestones_url":"https://api.github.com/repos/ucsdlib/damspas/milestones{/number}","notifications_url":"https://api.github.com/repos/ucsdlib/damspas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucsdlib/damspas/labels{/name}","releases_url":"https://api.github.com/repos/ucsdlib/damspas/releases{/id}","created_at":"2014-02-28T14:07:19Z","updated_at":"2015-05-08T20:32:58Z","pushed_at":"2015-09-01T22:29:16Z","git_url":"git://github.com/ucsdlib/damspas.git","ssh_url":"git@github.com:ucsdlib/damspas.git","clone_url":"https://github.com/ucsdlib/damspas.git","svn_url":"https://github.com/ucsdlib/damspas","homepage":null,"size":15413,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/130"},"html":{"href":"https://github.com/ucsdlib/damspas/pull/130"},"issue":{"href":"https://api.github.com/repos/ucsdlib/damspas/issues/130"},"comments":{"href":"https://api.github.com/repos/ucsdlib/damspas/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ucsdlib/damspas/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/ucsdlib/damspas/statuses/30a9ca6cdcc4cd7fa07d10100fc793ac264ee9f4"}}}}