{"action":"created","comment":{"url":"https://api.github.com/repos/diaspora/diaspora/pulls/comments/48949729","id":48949729,"diff_hunk":"@@ -23,6 +23,13 @@ class Photo < ActiveRecord::Base\n       { :height => photo.height,\n         :width => photo.width }\n     }, :as => :dimensions\n+    t.add lambda { |photo|\n+      { :id => photo.status_message.id,","path":"app/models/photo.rb","position":5,"original_position":5,"commit_id":"f0e231ac0ce81ac9181fbc2ca93d72300adb579e","original_commit_id":"f0e231ac0ce81ac9181fbc2ca93d72300adb579e","user":{"login":"diaspora-code-review","id":13334186,"avatar_url":"https://avatars.githubusercontent.com/u/13334186?v=3","gravatar_id":"","url":"https://api.github.com/users/diaspora-code-review","html_url":"https://github.com/diaspora-code-review","followers_url":"https://api.github.com/users/diaspora-code-review/followers","following_url":"https://api.github.com/users/diaspora-code-review/following{/other_user}","gists_url":"https://api.github.com/users/diaspora-code-review/gists{/gist_id}","starred_url":"https://api.github.com/users/diaspora-code-review/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diaspora-code-review/subscriptions","organizations_url":"https://api.github.com/users/diaspora-code-review/orgs","repos_url":"https://api.github.com/users/diaspora-code-review/repos","events_url":"https://api.github.com/users/diaspora-code-review/events{/privacy}","received_events_url":"https://api.github.com/users/diaspora-code-review/received_events","type":"User","site_admin":false},"body":"Align the elements of a hash literal if they span more than one line.","created_at":"2016-01-06T11:48:47Z","updated_at":"2016-01-06T11:48:47Z","html_url":"https://github.com/diaspora/diaspora/pull/6621#discussion_r48949729","pull_request_url":"https://api.github.com/repos/diaspora/diaspora/pulls/6621","_links":{"self":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/comments/48949729"},"html":{"href":"https://github.com/diaspora/diaspora/pull/6621#discussion_r48949729"},"pull_request":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6621"}}},"pull_request":{"url":"https://api.github.com/repos/diaspora/diaspora/pulls/6621","id":55204658,"html_url":"https://github.com/diaspora/diaspora/pull/6621","diff_url":"https://github.com/diaspora/diaspora/pull/6621.diff","patch_url":"https://github.com/diaspora/diaspora/pull/6621.patch","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/6621","number":6621,"state":"open","locked":false,"title":"add a card footer in gallery containing meta data and link to single post view","user":{"login":"Fensterbank","id":1684826,"avatar_url":"https://avatars.githubusercontent.com/u/1684826?v=3","gravatar_id":"","url":"https://api.github.com/users/Fensterbank","html_url":"https://github.com/Fensterbank","followers_url":"https://api.github.com/users/Fensterbank/followers","following_url":"https://api.github.com/users/Fensterbank/following{/other_user}","gists_url":"https://api.github.com/users/Fensterbank/gists{/gist_id}","starred_url":"https://api.github.com/users/Fensterbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fensterbank/subscriptions","organizations_url":"https://api.github.com/users/Fensterbank/orgs","repos_url":"https://api.github.com/users/Fensterbank/repos","events_url":"https://api.github.com/users/Fensterbank/events{/privacy}","received_events_url":"https://api.github.com/users/Fensterbank/received_events","type":"User","site_admin":false},"body":"I moved and renamed the class hovercard_footer to the base.scss as 'card_footer' to make it more generic for different use cases.\r\nThis pull request closes diaspora/diaspora#6610","created_at":"2016-01-06T11:48:40Z","updated_at":"2016-01-06T11:48:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"afde2307b7a45bc37c0c431f871ee62dff9d91fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/diaspora/diaspora/pulls/6621/commits","review_comments_url":"https://api.github.com/repos/diaspora/diaspora/pulls/6621/comments","review_comment_url":"https://api.github.com/repos/diaspora/diaspora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/6621/comments","statuses_url":"https://api.github.com/repos/diaspora/diaspora/statuses/f0e231ac0ce81ac9181fbc2ca93d72300adb579e","head":{"label":"Fensterbank:6610-improved-gallery","ref":"6610-improved-gallery","sha":"f0e231ac0ce81ac9181fbc2ca93d72300adb579e","user":{"login":"Fensterbank","id":1684826,"avatar_url":"https://avatars.githubusercontent.com/u/1684826?v=3","gravatar_id":"","url":"https://api.github.com/users/Fensterbank","html_url":"https://github.com/Fensterbank","followers_url":"https://api.github.com/users/Fensterbank/followers","following_url":"https://api.github.com/users/Fensterbank/following{/other_user}","gists_url":"https://api.github.com/users/Fensterbank/gists{/gist_id}","starred_url":"https://api.github.com/users/Fensterbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fensterbank/subscriptions","organizations_url":"https://api.github.com/users/Fensterbank/orgs","repos_url":"https://api.github.com/users/Fensterbank/repos","events_url":"https://api.github.com/users/Fensterbank/events{/privacy}","received_events_url":"https://api.github.com/users/Fensterbank/received_events","type":"User","site_admin":false},"repo":{"id":48658262,"name":"diaspora","full_name":"Fensterbank/diaspora","owner":{"login":"Fensterbank","id":1684826,"avatar_url":"https://avatars.githubusercontent.com/u/1684826?v=3","gravatar_id":"","url":"https://api.github.com/users/Fensterbank","html_url":"https://github.com/Fensterbank","followers_url":"https://api.github.com/users/Fensterbank/followers","following_url":"https://api.github.com/users/Fensterbank/following{/other_user}","gists_url":"https://api.github.com/users/Fensterbank/gists{/gist_id}","starred_url":"https://api.github.com/users/Fensterbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fensterbank/subscriptions","organizations_url":"https://api.github.com/users/Fensterbank/orgs","repos_url":"https://api.github.com/users/Fensterbank/repos","events_url":"https://api.github.com/users/Fensterbank/events{/privacy}","received_events_url":"https://api.github.com/users/Fensterbank/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fensterbank/diaspora","description":"Distributed and contextual social networking","fork":true,"url":"https://api.github.com/repos/Fensterbank/diaspora","forks_url":"https://api.github.com/repos/Fensterbank/diaspora/forks","keys_url":"https://api.github.com/repos/Fensterbank/diaspora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fensterbank/diaspora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fensterbank/diaspora/teams","hooks_url":"https://api.github.com/repos/Fensterbank/diaspora/hooks","issue_events_url":"https://api.github.com/repos/Fensterbank/diaspora/issues/events{/number}","events_url":"https://api.github.com/repos/Fensterbank/diaspora/events","assignees_url":"https://api.github.com/repos/Fensterbank/diaspora/assignees{/user}","branches_url":"https://api.github.com/repos/Fensterbank/diaspora/branches{/branch}","tags_url":"https://api.github.com/repos/Fensterbank/diaspora/tags","blobs_url":"https://api.github.com/repos/Fensterbank/diaspora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fensterbank/diaspora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fensterbank/diaspora/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fensterbank/diaspora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fensterbank/diaspora/statuses/{sha}","languages_url":"https://api.github.com/repos/Fensterbank/diaspora/languages","stargazers_url":"https://api.github.com/repos/Fensterbank/diaspora/stargazers","contributors_url":"https://api.github.com/repos/Fensterbank/diaspora/contributors","subscribers_url":"https://api.github.com/repos/Fensterbank/diaspora/subscribers","subscription_url":"https://api.github.com/repos/Fensterbank/diaspora/subscription","commits_url":"https://api.github.com/repos/Fensterbank/diaspora/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fensterbank/diaspora/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fensterbank/diaspora/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fensterbank/diaspora/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fensterbank/diaspora/contents/{+path}","compare_url":"https://api.github.com/repos/Fensterbank/diaspora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fensterbank/diaspora/merges","archive_url":"https://api.github.com/repos/Fensterbank/diaspora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fensterbank/diaspora/downloads","issues_url":"https://api.github.com/repos/Fensterbank/diaspora/issues{/number}","pulls_url":"https://api.github.com/repos/Fensterbank/diaspora/pulls{/number}","milestones_url":"https://api.github.com/repos/Fensterbank/diaspora/milestones{/number}","notifications_url":"https://api.github.com/repos/Fensterbank/diaspora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fensterbank/diaspora/labels{/name}","releases_url":"https://api.github.com/repos/Fensterbank/diaspora/releases{/id}","created_at":"2015-12-27T19:51:31Z","updated_at":"2015-12-27T19:51:36Z","pushed_at":"2016-01-06T11:44:11Z","git_url":"git://github.com/Fensterbank/diaspora.git","ssh_url":"git@github.com:Fensterbank/diaspora.git","clone_url":"https://github.com/Fensterbank/diaspora.git","svn_url":"https://github.com/Fensterbank/diaspora","homepage":"https://diasporafoundation.org/","size":102700,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"diaspora:develop","ref":"develop","sha":"baeff2245164c6a003d296c4581c485e11e240dd","user":{"login":"diaspora","id":293207,"avatar_url":"https://avatars.githubusercontent.com/u/293207?v=3","gravatar_id":"","url":"https://api.github.com/users/diaspora","html_url":"https://github.com/diaspora","followers_url":"https://api.github.com/users/diaspora/followers","following_url":"https://api.github.com/users/diaspora/following{/other_user}","gists_url":"https://api.github.com/users/diaspora/gists{/gist_id}","starred_url":"https://api.github.com/users/diaspora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diaspora/subscriptions","organizations_url":"https://api.github.com/users/diaspora/orgs","repos_url":"https://api.github.com/users/diaspora/repos","events_url":"https://api.github.com/users/diaspora/events{/privacy}","received_events_url":"https://api.github.com/users/diaspora/received_events","type":"Organization","site_admin":false},"repo":{"id":911765,"name":"diaspora","full_name":"diaspora/diaspora","owner":{"login":"diaspora","id":293207,"avatar_url":"https://avatars.githubusercontent.com/u/293207?v=3","gravatar_id":"","url":"https://api.github.com/users/diaspora","html_url":"https://github.com/diaspora","followers_url":"https://api.github.com/users/diaspora/followers","following_url":"https://api.github.com/users/diaspora/following{/other_user}","gists_url":"https://api.github.com/users/diaspora/gists{/gist_id}","starred_url":"https://api.github.com/users/diaspora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diaspora/subscriptions","organizations_url":"https://api.github.com/users/diaspora/orgs","repos_url":"https://api.github.com/users/diaspora/repos","events_url":"https://api.github.com/users/diaspora/events{/privacy}","received_events_url":"https://api.github.com/users/diaspora/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diaspora/diaspora","description":"Distributed and contextual social networking","fork":false,"url":"https://api.github.com/repos/diaspora/diaspora","forks_url":"https://api.github.com/repos/diaspora/diaspora/forks","keys_url":"https://api.github.com/repos/diaspora/diaspora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diaspora/diaspora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diaspora/diaspora/teams","hooks_url":"https://api.github.com/repos/diaspora/diaspora/hooks","issue_events_url":"https://api.github.com/repos/diaspora/diaspora/issues/events{/number}","events_url":"https://api.github.com/repos/diaspora/diaspora/events","assignees_url":"https://api.github.com/repos/diaspora/diaspora/assignees{/user}","branches_url":"https://api.github.com/repos/diaspora/diaspora/branches{/branch}","tags_url":"https://api.github.com/repos/diaspora/diaspora/tags","blobs_url":"https://api.github.com/repos/diaspora/diaspora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diaspora/diaspora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diaspora/diaspora/git/refs{/sha}","trees_url":"https://api.github.com/repos/diaspora/diaspora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diaspora/diaspora/statuses/{sha}","languages_url":"https://api.github.com/repos/diaspora/diaspora/languages","stargazers_url":"https://api.github.com/repos/diaspora/diaspora/stargazers","contributors_url":"https://api.github.com/repos/diaspora/diaspora/contributors","subscribers_url":"https://api.github.com/repos/diaspora/diaspora/subscribers","subscription_url":"https://api.github.com/repos/diaspora/diaspora/subscription","commits_url":"https://api.github.com/repos/diaspora/diaspora/commits{/sha}","git_commits_url":"https://api.github.com/repos/diaspora/diaspora/git/commits{/sha}","comments_url":"https://api.github.com/repos/diaspora/diaspora/comments{/number}","issue_comment_url":"https://api.github.com/repos/diaspora/diaspora/issues/comments{/number}","contents_url":"https://api.github.com/repos/diaspora/diaspora/contents/{+path}","compare_url":"https://api.github.com/repos/diaspora/diaspora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diaspora/diaspora/merges","archive_url":"https://api.github.com/repos/diaspora/diaspora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diaspora/diaspora/downloads","issues_url":"https://api.github.com/repos/diaspora/diaspora/issues{/number}","pulls_url":"https://api.github.com/repos/diaspora/diaspora/pulls{/number}","milestones_url":"https://api.github.com/repos/diaspora/diaspora/milestones{/number}","notifications_url":"https://api.github.com/repos/diaspora/diaspora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diaspora/diaspora/labels{/name}","releases_url":"https://api.github.com/repos/diaspora/diaspora/releases{/id}","created_at":"2010-09-15T05:20:04Z","updated_at":"2016-01-06T09:37:34Z","pushed_at":"2016-01-06T11:48:41Z","git_url":"git://github.com/diaspora/diaspora.git","ssh_url":"git@github.com:diaspora/diaspora.git","clone_url":"https://github.com/diaspora/diaspora.git","svn_url":"https://github.com/diaspora/diaspora","homepage":"https://diasporafoundation.org/","size":232473,"stargazers_count":10459,"watchers_count":10459,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2709,"mirror_url":null,"open_issues_count":458,"forks":2709,"open_issues":458,"watchers":10459,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6621"},"html":{"href":"https://github.com/diaspora/diaspora/pull/6621"},"issue":{"href":"https://api.github.com/repos/diaspora/diaspora/issues/6621"},"comments":{"href":"https://api.github.com/repos/diaspora/diaspora/issues/6621/comments"},"review_comments":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6621/comments"},"review_comment":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6621/commits"},"statuses":{"href":"https://api.github.com/repos/diaspora/diaspora/statuses/f0e231ac0ce81ac9181fbc2ca93d72300adb579e"}}}}