{"action":"created","comment":{"url":"https://api.github.com/repos/diaspora/diaspora/pulls/comments/33855078","id":33855078,"diff_hunk":"@@ -29,11 +29,11 @@\n       end\n \n       it 'selects distinct people' do\n-        aspect = bob.aspects.create(:name => 'hilarious people')\n+        aspect = bob.aspects.create(name: 'hilarious people')\n         aspect.contacts << bob.contact_for(eve.person)\n-        person_ids = Person.for_json.joins(:contacts => :aspect_memberships).\n-          where(:contacts => {:user_id => bob.id},\n-               :aspect_memberships => {:aspect_id => bob.aspect_ids}).map{|p| p.id}\n+        person_ids = Person.for_json.joins(contacts: :aspect_memberships).\n+          where(contacts: {user_id: bob.id},\n+               aspect_memberships: {aspect_id: bob.aspect_ids}).map{|p| p.id}","path":"spec/models/person_spec.rb","position":21,"original_position":21,"commit_id":"8128fdb7de7f755a27a43b483031f7c63ffd95ad","original_commit_id":"8128fdb7de7f755a27a43b483031f7c63ffd95ad","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Align the elements of a hash literal if they span more than one line.<br>Space missing to the left of {.<br>Space missing inside }.","created_at":"2015-07-03T10:41:35Z","updated_at":"2015-07-03T10:41:35Z","html_url":"https://github.com/diaspora/diaspora/pull/6157#discussion_r33855078","pull_request_url":"https://api.github.com/repos/diaspora/diaspora/pulls/6157","_links":{"self":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/comments/33855078"},"html":{"href":"https://github.com/diaspora/diaspora/pull/6157#discussion_r33855078"},"pull_request":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6157"}}},"pull_request":{"url":"https://api.github.com/repos/diaspora/diaspora/pulls/6157","id":39164718,"html_url":"https://github.com/diaspora/diaspora/pull/6157","diff_url":"https://github.com/diaspora/diaspora/pull/6157.diff","patch_url":"https://github.com/diaspora/diaspora/pull/6157.patch","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/6157","number":6157,"state":"open","locked":false,"title":"updated hash syntax to ruby 1.9","user":{"login":"askl56","id":3062663,"avatar_url":"https://avatars.githubusercontent.com/u/3062663?v=3","gravatar_id":"","url":"https://api.github.com/users/askl56","html_url":"https://github.com/askl56","followers_url":"https://api.github.com/users/askl56/followers","following_url":"https://api.github.com/users/askl56/following{/other_user}","gists_url":"https://api.github.com/users/askl56/gists{/gist_id}","starred_url":"https://api.github.com/users/askl56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askl56/subscriptions","organizations_url":"https://api.github.com/users/askl56/orgs","repos_url":"https://api.github.com/users/askl56/repos","events_url":"https://api.github.com/users/askl56/events{/privacy}","received_events_url":"https://api.github.com/users/askl56/received_events","type":"User","site_admin":false},"body":"I have fixed the hash syntax in the entire project to the standard ruby 1.9","created_at":"2015-07-03T10:40:29Z","updated_at":"2015-07-03T10:41:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"daea91c4663ba43e7f23c87a9e483731b87e4576","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/diaspora/diaspora/pulls/6157/commits","review_comments_url":"https://api.github.com/repos/diaspora/diaspora/pulls/6157/comments","review_comment_url":"https://api.github.com/repos/diaspora/diaspora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/6157/comments","statuses_url":"https://api.github.com/repos/diaspora/diaspora/statuses/8128fdb7de7f755a27a43b483031f7c63ffd95ad","head":{"label":"askl56:develop","ref":"develop","sha":"8128fdb7de7f755a27a43b483031f7c63ffd95ad","user":{"login":"askl56","id":3062663,"avatar_url":"https://avatars.githubusercontent.com/u/3062663?v=3","gravatar_id":"","url":"https://api.github.com/users/askl56","html_url":"https://github.com/askl56","followers_url":"https://api.github.com/users/askl56/followers","following_url":"https://api.github.com/users/askl56/following{/other_user}","gists_url":"https://api.github.com/users/askl56/gists{/gist_id}","starred_url":"https://api.github.com/users/askl56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askl56/subscriptions","organizations_url":"https://api.github.com/users/askl56/orgs","repos_url":"https://api.github.com/users/askl56/repos","events_url":"https://api.github.com/users/askl56/events{/privacy}","received_events_url":"https://api.github.com/users/askl56/received_events","type":"User","site_admin":false},"repo":{"id":38487532,"name":"diaspora","full_name":"askl56/diaspora","owner":{"login":"askl56","id":3062663,"avatar_url":"https://avatars.githubusercontent.com/u/3062663?v=3","gravatar_id":"","url":"https://api.github.com/users/askl56","html_url":"https://github.com/askl56","followers_url":"https://api.github.com/users/askl56/followers","following_url":"https://api.github.com/users/askl56/following{/other_user}","gists_url":"https://api.github.com/users/askl56/gists{/gist_id}","starred_url":"https://api.github.com/users/askl56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askl56/subscriptions","organizations_url":"https://api.github.com/users/askl56/orgs","repos_url":"https://api.github.com/users/askl56/repos","events_url":"https://api.github.com/users/askl56/events{/privacy}","received_events_url":"https://api.github.com/users/askl56/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/askl56/diaspora","description":"Distributed and contextual social networking","fork":true,"url":"https://api.github.com/repos/askl56/diaspora","forks_url":"https://api.github.com/repos/askl56/diaspora/forks","keys_url":"https://api.github.com/repos/askl56/diaspora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/askl56/diaspora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/askl56/diaspora/teams","hooks_url":"https://api.github.com/repos/askl56/diaspora/hooks","issue_events_url":"https://api.github.com/repos/askl56/diaspora/issues/events{/number}","events_url":"https://api.github.com/repos/askl56/diaspora/events","assignees_url":"https://api.github.com/repos/askl56/diaspora/assignees{/user}","branches_url":"https://api.github.com/repos/askl56/diaspora/branches{/branch}","tags_url":"https://api.github.com/repos/askl56/diaspora/tags","blobs_url":"https://api.github.com/repos/askl56/diaspora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/askl56/diaspora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/askl56/diaspora/git/refs{/sha}","trees_url":"https://api.github.com/repos/askl56/diaspora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/askl56/diaspora/statuses/{sha}","languages_url":"https://api.github.com/repos/askl56/diaspora/languages","stargazers_url":"https://api.github.com/repos/askl56/diaspora/stargazers","contributors_url":"https://api.github.com/repos/askl56/diaspora/contributors","subscribers_url":"https://api.github.com/repos/askl56/diaspora/subscribers","subscription_url":"https://api.github.com/repos/askl56/diaspora/subscription","commits_url":"https://api.github.com/repos/askl56/diaspora/commits{/sha}","git_commits_url":"https://api.github.com/repos/askl56/diaspora/git/commits{/sha}","comments_url":"https://api.github.com/repos/askl56/diaspora/comments{/number}","issue_comment_url":"https://api.github.com/repos/askl56/diaspora/issues/comments{/number}","contents_url":"https://api.github.com/repos/askl56/diaspora/contents/{+path}","compare_url":"https://api.github.com/repos/askl56/diaspora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/askl56/diaspora/merges","archive_url":"https://api.github.com/repos/askl56/diaspora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/askl56/diaspora/downloads","issues_url":"https://api.github.com/repos/askl56/diaspora/issues{/number}","pulls_url":"https://api.github.com/repos/askl56/diaspora/pulls{/number}","milestones_url":"https://api.github.com/repos/askl56/diaspora/milestones{/number}","notifications_url":"https://api.github.com/repos/askl56/diaspora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/askl56/diaspora/labels{/name}","releases_url":"https://api.github.com/repos/askl56/diaspora/releases{/id}","created_at":"2015-07-03T10:36:47Z","updated_at":"2015-07-03T10:36:51Z","pushed_at":"2015-07-03T10:39:30Z","git_url":"git://github.com/askl56/diaspora.git","ssh_url":"git@github.com:askl56/diaspora.git","clone_url":"https://github.com/askl56/diaspora.git","svn_url":"https://github.com/askl56/diaspora","homepage":"https://diasporafoundation.org/","size":252842,"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":"e0782437b832d8802d5ecf4757e23d8ae6e0ddcb","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":"2015-07-03T01:16:34Z","pushed_at":"2015-07-03T10:40:29Z","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":252842,"stargazers_count":10128,"watchers_count":10128,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2614,"mirror_url":null,"open_issues_count":411,"forks":2614,"open_issues":411,"watchers":10128,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6157"},"html":{"href":"https://github.com/diaspora/diaspora/pull/6157"},"issue":{"href":"https://api.github.com/repos/diaspora/diaspora/issues/6157"},"comments":{"href":"https://api.github.com/repos/diaspora/diaspora/issues/6157/comments"},"review_comments":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6157/comments"},"review_comment":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6157/commits"},"statuses":{"href":"https://api.github.com/repos/diaspora/diaspora/statuses/8128fdb7de7f755a27a43b483031f7c63ffd95ad"}}}}