{"action":"created","comment":{"url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/comments/26380724","id":26380724,"diff_hunk":"@@ -43,9 +43,16 @@ def logo_delete\n     @logo_delete || '0'\n   end\n \n+  def set_github_org\n+    if self.projects.first","path":"app/models/organization.rb","position":20,"original_position":20,"commit_id":"1559ab687acde58e6e9ebce2be654e5612aa708f","original_commit_id":"1559ab687acde58e6e9ebce2be654e5612aa708f","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":"Redundant `self` detected.","created_at":"2015-03-13T12:11:43Z","updated_at":"2015-03-13T12:11:43Z","html_url":"https://github.com/CodeMontageHQ/codemontage/pull/286#discussion_r26380724","pull_request_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/286","_links":{"self":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/comments/26380724"},"html":{"href":"https://github.com/CodeMontageHQ/codemontage/pull/286#discussion_r26380724"},"pull_request":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/286"}}},"pull_request":{"url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/286","id":26636913,"html_url":"https://github.com/CodeMontageHQ/codemontage/pull/286","diff_url":"https://github.com/CodeMontageHQ/codemontage/pull/286.diff","patch_url":"https://github.com/CodeMontageHQ/codemontage/pull/286.patch","issue_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/286","number":286,"state":"open","locked":false,"title":"Replaced organization github name and project repo fields with Project github url","user":{"login":"sai92messy","id":7993327,"avatar_url":"https://avatars.githubusercontent.com/u/7993327?v=3","gravatar_id":"","url":"https://api.github.com/users/sai92messy","html_url":"https://github.com/sai92messy","followers_url":"https://api.github.com/users/sai92messy/followers","following_url":"https://api.github.com/users/sai92messy/following{/other_user}","gists_url":"https://api.github.com/users/sai92messy/gists{/gist_id}","starred_url":"https://api.github.com/users/sai92messy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sai92messy/subscriptions","organizations_url":"https://api.github.com/users/sai92messy/orgs","repos_url":"https://api.github.com/users/sai92messy/repos","events_url":"https://api.github.com/users/sai92messy/events{/privacy}","received_events_url":"https://api.github.com/users/sai92messy/received_events","type":"User","site_admin":false},"body":"Replaced organization github name and project repo fields with Project github url.\r\nWhen user enters the  Project github url the system parses the url  and finds the respective Organization name and Project repo name.","created_at":"2014-12-29T09:21:23Z","updated_at":"2015-03-13T12:11:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"31eebe399f4d8795160c1dc08ab88f9f9d946df1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/286/commits","review_comments_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/286/comments","review_comment_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/286/comments","statuses_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/statuses/1559ab687acde58e6e9ebce2be654e5612aa708f","head":{"label":"sai92messy:giturlparser","ref":"giturlparser","sha":"1559ab687acde58e6e9ebce2be654e5612aa708f","user":{"login":"sai92messy","id":7993327,"avatar_url":"https://avatars.githubusercontent.com/u/7993327?v=3","gravatar_id":"","url":"https://api.github.com/users/sai92messy","html_url":"https://github.com/sai92messy","followers_url":"https://api.github.com/users/sai92messy/followers","following_url":"https://api.github.com/users/sai92messy/following{/other_user}","gists_url":"https://api.github.com/users/sai92messy/gists{/gist_id}","starred_url":"https://api.github.com/users/sai92messy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sai92messy/subscriptions","organizations_url":"https://api.github.com/users/sai92messy/orgs","repos_url":"https://api.github.com/users/sai92messy/repos","events_url":"https://api.github.com/users/sai92messy/events{/privacy}","received_events_url":"https://api.github.com/users/sai92messy/received_events","type":"User","site_admin":false},"repo":{"id":28585997,"name":"codemontage","full_name":"sai92messy/codemontage","owner":{"login":"sai92messy","id":7993327,"avatar_url":"https://avatars.githubusercontent.com/u/7993327?v=3","gravatar_id":"","url":"https://api.github.com/users/sai92messy","html_url":"https://github.com/sai92messy","followers_url":"https://api.github.com/users/sai92messy/followers","following_url":"https://api.github.com/users/sai92messy/following{/other_user}","gists_url":"https://api.github.com/users/sai92messy/gists{/gist_id}","starred_url":"https://api.github.com/users/sai92messy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sai92messy/subscriptions","organizations_url":"https://api.github.com/users/sai92messy/orgs","repos_url":"https://api.github.com/users/sai92messy/repos","events_url":"https://api.github.com/users/sai92messy/events{/privacy}","received_events_url":"https://api.github.com/users/sai92messy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sai92messy/codemontage","description":"CodeMontage empowers coders to improve their impact on the world. Find open source software projects with a social impact and save the world.","fork":true,"url":"https://api.github.com/repos/sai92messy/codemontage","forks_url":"https://api.github.com/repos/sai92messy/codemontage/forks","keys_url":"https://api.github.com/repos/sai92messy/codemontage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sai92messy/codemontage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sai92messy/codemontage/teams","hooks_url":"https://api.github.com/repos/sai92messy/codemontage/hooks","issue_events_url":"https://api.github.com/repos/sai92messy/codemontage/issues/events{/number}","events_url":"https://api.github.com/repos/sai92messy/codemontage/events","assignees_url":"https://api.github.com/repos/sai92messy/codemontage/assignees{/user}","branches_url":"https://api.github.com/repos/sai92messy/codemontage/branches{/branch}","tags_url":"https://api.github.com/repos/sai92messy/codemontage/tags","blobs_url":"https://api.github.com/repos/sai92messy/codemontage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sai92messy/codemontage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sai92messy/codemontage/git/refs{/sha}","trees_url":"https://api.github.com/repos/sai92messy/codemontage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sai92messy/codemontage/statuses/{sha}","languages_url":"https://api.github.com/repos/sai92messy/codemontage/languages","stargazers_url":"https://api.github.com/repos/sai92messy/codemontage/stargazers","contributors_url":"https://api.github.com/repos/sai92messy/codemontage/contributors","subscribers_url":"https://api.github.com/repos/sai92messy/codemontage/subscribers","subscription_url":"https://api.github.com/repos/sai92messy/codemontage/subscription","commits_url":"https://api.github.com/repos/sai92messy/codemontage/commits{/sha}","git_commits_url":"https://api.github.com/repos/sai92messy/codemontage/git/commits{/sha}","comments_url":"https://api.github.com/repos/sai92messy/codemontage/comments{/number}","issue_comment_url":"https://api.github.com/repos/sai92messy/codemontage/issues/comments{/number}","contents_url":"https://api.github.com/repos/sai92messy/codemontage/contents/{+path}","compare_url":"https://api.github.com/repos/sai92messy/codemontage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sai92messy/codemontage/merges","archive_url":"https://api.github.com/repos/sai92messy/codemontage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sai92messy/codemontage/downloads","issues_url":"https://api.github.com/repos/sai92messy/codemontage/issues{/number}","pulls_url":"https://api.github.com/repos/sai92messy/codemontage/pulls{/number}","milestones_url":"https://api.github.com/repos/sai92messy/codemontage/milestones{/number}","notifications_url":"https://api.github.com/repos/sai92messy/codemontage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sai92messy/codemontage/labels{/name}","releases_url":"https://api.github.com/repos/sai92messy/codemontage/releases{/id}","created_at":"2014-12-29T08:45:19Z","updated_at":"2014-12-29T08:45:20Z","pushed_at":"2015-03-13T12:11:32Z","git_url":"git://github.com/sai92messy/codemontage.git","ssh_url":"git@github.com:sai92messy/codemontage.git","clone_url":"https://github.com/sai92messy/codemontage.git","svn_url":"https://github.com/sai92messy/codemontage","homepage":"http://codemontage.com","size":21347,"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":"master"}},"base":{"label":"CodeMontageHQ:master","ref":"master","sha":"296803d3a0d4a2897ea22301c1431eb41a33ab40","user":{"login":"CodeMontageHQ","id":3221894,"avatar_url":"https://avatars.githubusercontent.com/u/3221894?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeMontageHQ","html_url":"https://github.com/CodeMontageHQ","followers_url":"https://api.github.com/users/CodeMontageHQ/followers","following_url":"https://api.github.com/users/CodeMontageHQ/following{/other_user}","gists_url":"https://api.github.com/users/CodeMontageHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMontageHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMontageHQ/subscriptions","organizations_url":"https://api.github.com/users/CodeMontageHQ/orgs","repos_url":"https://api.github.com/users/CodeMontageHQ/repos","events_url":"https://api.github.com/users/CodeMontageHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMontageHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":7514230,"name":"codemontage","full_name":"CodeMontageHQ/codemontage","owner":{"login":"CodeMontageHQ","id":3221894,"avatar_url":"https://avatars.githubusercontent.com/u/3221894?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeMontageHQ","html_url":"https://github.com/CodeMontageHQ","followers_url":"https://api.github.com/users/CodeMontageHQ/followers","following_url":"https://api.github.com/users/CodeMontageHQ/following{/other_user}","gists_url":"https://api.github.com/users/CodeMontageHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMontageHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMontageHQ/subscriptions","organizations_url":"https://api.github.com/users/CodeMontageHQ/orgs","repos_url":"https://api.github.com/users/CodeMontageHQ/repos","events_url":"https://api.github.com/users/CodeMontageHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMontageHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeMontageHQ/codemontage","description":"CodeMontage empowers coders to improve their impact on the world. Find open source software projects with a social impact and save the world.","fork":false,"url":"https://api.github.com/repos/CodeMontageHQ/codemontage","forks_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/forks","keys_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/teams","hooks_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/hooks","issue_events_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/events{/number}","events_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/events","assignees_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/assignees{/user}","branches_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/branches{/branch}","tags_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/tags","blobs_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/languages","stargazers_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/stargazers","contributors_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/contributors","subscribers_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/subscribers","subscription_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/subscription","commits_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/contents/{+path}","compare_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/merges","archive_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/downloads","issues_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues{/number}","pulls_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/labels{/name}","releases_url":"https://api.github.com/repos/CodeMontageHQ/codemontage/releases{/id}","created_at":"2013-01-09T03:32:22Z","updated_at":"2015-03-13T05:43:10Z","pushed_at":"2015-03-13T05:43:09Z","git_url":"git://github.com/CodeMontageHQ/codemontage.git","ssh_url":"git@github.com:CodeMontageHQ/codemontage.git","clone_url":"https://github.com/CodeMontageHQ/codemontage.git","svn_url":"https://github.com/CodeMontageHQ/codemontage","homepage":"http://codemontage.com","size":25450,"stargazers_count":39,"watchers_count":39,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":45,"forks":60,"open_issues":45,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/286"},"html":{"href":"https://github.com/CodeMontageHQ/codemontage/pull/286"},"issue":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/286"},"comments":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/issues/286/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/286/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/pulls/286/commits"},"statuses":{"href":"https://api.github.com/repos/CodeMontageHQ/codemontage/statuses/1559ab687acde58e6e9ebce2be654e5612aa708f"}}}}