{"action":"created","comment":{"url":"https://api.github.com/repos/diaspora/diaspora/pulls/comments/180254230","pull_request_review_id":110638410,"id":180254230,"diff_hunk":"@@ -22,14 +22,46 @@\n       post_params = @service.create_post_params(post)\n     end\n \n-    it 'does not add post link when no photos' do\n+    it \"adds URL of post to end if no link at end\" do\n       message = \"Some text.\"\n       post = double(message: double(plain_text_without_markdown: message, urls: []), photos: [])\n       post_params = @service.create_post_params(post)\n-      expect(post_params[:message]).not_to include \"http\"\n+      expect(post_params[:message]).to include \"(via http:\"","path":"spec/models/services/facebook_spec.rb","position":10,"original_position":10,"commit_id":"a6a0e760954550542250ba56e3e9e08841bf57c8","original_commit_id":"a6a0e760954550542250ba56e3e9e08841bf57c8","user":{"login":"SuperTux88","id":458548,"avatar_url":"https://avatars3.githubusercontent.com/u/458548?v=4","gravatar_id":"","url":"https://api.github.com/users/SuperTux88","html_url":"https://github.com/SuperTux88","followers_url":"https://api.github.com/users/SuperTux88/followers","following_url":"https://api.github.com/users/SuperTux88/following{/other_user}","gists_url":"https://api.github.com/users/SuperTux88/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperTux88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperTux88/subscriptions","organizations_url":"https://api.github.com/users/SuperTux88/orgs","repos_url":"https://api.github.com/users/SuperTux88/repos","events_url":"https://api.github.com/users/SuperTux88/events{/privacy}","received_events_url":"https://api.github.com/users/SuperTux88/received_events","type":"User","site_admin":false},"body":"You should check if the via link is acutally at the end if you write in the test-text \"to the end\".","created_at":"2018-04-09T22:54:11Z","updated_at":"2018-04-09T22:59:35Z","html_url":"https://github.com/diaspora/diaspora/pull/7774#discussion_r180254230","pull_request_url":"https://api.github.com/repos/diaspora/diaspora/pulls/7774","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/comments/180254230"},"html":{"href":"https://github.com/diaspora/diaspora/pull/7774#discussion_r180254230"},"pull_request":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/7774"}}},"pull_request":{"url":"https://api.github.com/repos/diaspora/diaspora/pulls/7774","id":180158926,"html_url":"https://github.com/diaspora/diaspora/pull/7774","diff_url":"https://github.com/diaspora/diaspora/pull/7774.diff","patch_url":"https://github.com/diaspora/diaspora/pull/7774.patch","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/7774","number":7774,"state":"open","locked":false,"title":"7770 facebook crosspost with links","user":{"login":"HankG","id":1683691,"avatar_url":"https://avatars1.githubusercontent.com/u/1683691?v=4","gravatar_id":"","url":"https://api.github.com/users/HankG","html_url":"https://github.com/HankG","followers_url":"https://api.github.com/users/HankG/followers","following_url":"https://api.github.com/users/HankG/following{/other_user}","gists_url":"https://api.github.com/users/HankG/gists{/gist_id}","starred_url":"https://api.github.com/users/HankG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HankG/subscriptions","organizations_url":"https://api.github.com/users/HankG/orgs","repos_url":"https://api.github.com/users/HankG/repos","events_url":"https://api.github.com/users/HankG/events{/privacy}","received_events_url":"https://api.github.com/users/HankG/received_events","type":"User","site_admin":false},"body":"A review of submission against https://github.com/diaspora/diaspora/issues/7770\r\n\r\nSpec has been updated for new cases, style check has been run locally, but I don't know what rules for integration testing are before integration into main line since I don't have ability to test Facebook integration directly. If this looks good and the spec updates alone are sufficient then this may be ready for merge rather than just review.  On the style check some code I didn't write wasn't passing and I couldn't figure out how to consistently get around the \"Align the elements of a hash literal if they span more than one line\" warning no matter what permutations I tried so I made everything that flagged it single line.  I'll look for guidance on that on Discourse channels...","created_at":"2018-04-08T13:06:38Z","updated_at":"2018-04-09T22:59:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dde9eb258fde94d4ef1d3567eaa0f89333c62d90","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/diaspora/diaspora/pulls/7774/commits","review_comments_url":"https://api.github.com/repos/diaspora/diaspora/pulls/7774/comments","review_comment_url":"https://api.github.com/repos/diaspora/diaspora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/7774/comments","statuses_url":"https://api.github.com/repos/diaspora/diaspora/statuses/a6a0e760954550542250ba56e3e9e08841bf57c8","head":{"label":"HankG:7770-facebook-crosspost-with-links","ref":"7770-facebook-crosspost-with-links","sha":"a6a0e760954550542250ba56e3e9e08841bf57c8","user":{"login":"HankG","id":1683691,"avatar_url":"https://avatars1.githubusercontent.com/u/1683691?v=4","gravatar_id":"","url":"https://api.github.com/users/HankG","html_url":"https://github.com/HankG","followers_url":"https://api.github.com/users/HankG/followers","following_url":"https://api.github.com/users/HankG/following{/other_user}","gists_url":"https://api.github.com/users/HankG/gists{/gist_id}","starred_url":"https://api.github.com/users/HankG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HankG/subscriptions","organizations_url":"https://api.github.com/users/HankG/orgs","repos_url":"https://api.github.com/users/HankG/repos","events_url":"https://api.github.com/users/HankG/events{/privacy}","received_events_url":"https://api.github.com/users/HankG/received_events","type":"User","site_admin":false},"repo":{"id":128536397,"name":"diaspora","full_name":"HankG/diaspora","owner":{"login":"HankG","id":1683691,"avatar_url":"https://avatars1.githubusercontent.com/u/1683691?v=4","gravatar_id":"","url":"https://api.github.com/users/HankG","html_url":"https://github.com/HankG","followers_url":"https://api.github.com/users/HankG/followers","following_url":"https://api.github.com/users/HankG/following{/other_user}","gists_url":"https://api.github.com/users/HankG/gists{/gist_id}","starred_url":"https://api.github.com/users/HankG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HankG/subscriptions","organizations_url":"https://api.github.com/users/HankG/orgs","repos_url":"https://api.github.com/users/HankG/repos","events_url":"https://api.github.com/users/HankG/events{/privacy}","received_events_url":"https://api.github.com/users/HankG/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HankG/diaspora","description":"A privacy-aware, distributed, open source social network.","fork":true,"url":"https://api.github.com/repos/HankG/diaspora","forks_url":"https://api.github.com/repos/HankG/diaspora/forks","keys_url":"https://api.github.com/repos/HankG/diaspora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HankG/diaspora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HankG/diaspora/teams","hooks_url":"https://api.github.com/repos/HankG/diaspora/hooks","issue_events_url":"https://api.github.com/repos/HankG/diaspora/issues/events{/number}","events_url":"https://api.github.com/repos/HankG/diaspora/events","assignees_url":"https://api.github.com/repos/HankG/diaspora/assignees{/user}","branches_url":"https://api.github.com/repos/HankG/diaspora/branches{/branch}","tags_url":"https://api.github.com/repos/HankG/diaspora/tags","blobs_url":"https://api.github.com/repos/HankG/diaspora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HankG/diaspora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HankG/diaspora/git/refs{/sha}","trees_url":"https://api.github.com/repos/HankG/diaspora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HankG/diaspora/statuses/{sha}","languages_url":"https://api.github.com/repos/HankG/diaspora/languages","stargazers_url":"https://api.github.com/repos/HankG/diaspora/stargazers","contributors_url":"https://api.github.com/repos/HankG/diaspora/contributors","subscribers_url":"https://api.github.com/repos/HankG/diaspora/subscribers","subscription_url":"https://api.github.com/repos/HankG/diaspora/subscription","commits_url":"https://api.github.com/repos/HankG/diaspora/commits{/sha}","git_commits_url":"https://api.github.com/repos/HankG/diaspora/git/commits{/sha}","comments_url":"https://api.github.com/repos/HankG/diaspora/comments{/number}","issue_comment_url":"https://api.github.com/repos/HankG/diaspora/issues/comments{/number}","contents_url":"https://api.github.com/repos/HankG/diaspora/contents/{+path}","compare_url":"https://api.github.com/repos/HankG/diaspora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HankG/diaspora/merges","archive_url":"https://api.github.com/repos/HankG/diaspora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HankG/diaspora/downloads","issues_url":"https://api.github.com/repos/HankG/diaspora/issues{/number}","pulls_url":"https://api.github.com/repos/HankG/diaspora/pulls{/number}","milestones_url":"https://api.github.com/repos/HankG/diaspora/milestones{/number}","notifications_url":"https://api.github.com/repos/HankG/diaspora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HankG/diaspora/labels{/name}","releases_url":"https://api.github.com/repos/HankG/diaspora/releases{/id}","deployments_url":"https://api.github.com/repos/HankG/diaspora/deployments","created_at":"2018-04-07T14:31:07Z","updated_at":"2018-04-07T14:31:14Z","pushed_at":"2018-04-08T16:13:15Z","git_url":"git://github.com/HankG/diaspora.git","ssh_url":"git@github.com:HankG/diaspora.git","clone_url":"https://github.com/HankG/diaspora.git","svn_url":"https://github.com/HankG/diaspora","homepage":"https://diasporafoundation.org/","size":104351,"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":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"diaspora:develop","ref":"develop","sha":"ae17248b2ecb462d7b7471d3173b27c0cb6c64a8","user":{"login":"diaspora","id":293207,"avatar_url":"https://avatars3.githubusercontent.com/u/293207?v=4","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://avatars3.githubusercontent.com/u/293207?v=4","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":"A privacy-aware, distributed, open source social network.","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}","deployments_url":"https://api.github.com/repos/diaspora/diaspora/deployments","created_at":"2010-09-15T05:20:04Z","updated_at":"2018-04-09T15:21:53Z","pushed_at":"2018-04-09T20:25:15Z","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":104336,"stargazers_count":11770,"watchers_count":11770,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2893,"mirror_url":null,"archived":false,"open_issues_count":413,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2893,"open_issues":413,"watchers":11770,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/7774"},"html":{"href":"https://github.com/diaspora/diaspora/pull/7774"},"issue":{"href":"https://api.github.com/repos/diaspora/diaspora/issues/7774"},"comments":{"href":"https://api.github.com/repos/diaspora/diaspora/issues/7774/comments"},"review_comments":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/7774/comments"},"review_comment":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/7774/commits"},"statuses":{"href":"https://api.github.com/repos/diaspora/diaspora/statuses/a6a0e760954550542250ba56e3e9e08841bf57c8"}},"author_association":"NONE"}}
{"actor":{"display_login":"SuperTux88"}}