GitHub PullRequestReviewCommentEvent at 2014-09-12 19:26:35
Repository: g5-hub
Actor: variousred
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/G5/g5-hub/pulls/comments/17497826","id":17497826,"diff_hunk":"@@ -32,11 +32,15 @@ def to_param\n   end\n \n   def cms_url\n-    \"https://#{urn.gsub(\"-c-\",\"-cms-\")}.herokuapp.com\"\n+    \"https://#{cms_heroku_app_name}.herokuapp.com\"\n   end\n \n   private\n \n+  def cms_heroku_app_name\n+    urn.gsub(\"-c-\",\"-cms-\")[0..29]","path":"app/models/client.rb","position":11,"original_position":11,"commit_id":"3a85eeab9def00cb15f868170de01e9cd6e2b040","original_commit_id":"3a85eeab9def00cb15f868170de01e9cd6e2b040","user":{"login":"variousred","id":238354,"avatar_url":"https://avatars.githubusercontent.com/u/238354?v=2","gravatar_id":"3292414727caa4cbb70cea26a6d7d905","url":"https://api.github.com/users/variousred","html_url":"https://github.com/variousred","followers_url":"https://api.github.com/users/variousred/followers","following_url":"https://api.github.com/users/variousred/following{/other_user}","gists_url":"https://api.github.com/users/variousred/gists{/gist_id}","starred_url":"https://api.github.com/users/variousred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/variousred/subscriptions","organizations_url":"https://api.github.com/users/variousred/orgs","repos_url":"https://api.github.com/users/variousred/repos","events_url":"https://api.github.com/users/variousred/events{/privacy}","received_events_url":"https://api.github.com/users/variousred/received_events","type":"User","site_admin":false},"body":"can you make sure this doesnt end in a hyphen?","created_at":"2014-09-12T19:26:35Z","updated_at":"2014-09-12T19:26:35Z","html_url":"https://github.com/G5/g5-hub/pull/62#discussion_r17497826","pull_request_url":"https://api.github.com/repos/G5/g5-hub/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/G5/g5-hub/pulls/comments/17497826"},"html":{"href":"https://github.com/G5/g5-hub/pull/62#discussion_r17497826"},"pull_request":{"href":"https://api.github.com/repos/G5/g5-hub/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/G5/g5-hub/pulls/62","id":21165868,"html_url":"https://github.com/G5/g5-hub/pull/62","diff_url":"https://github.com/G5/g5-hub/pull/62.diff","patch_url":"https://github.com/G5/g5-hub/pull/62.patch","issue_url":"https://api.github.com/repos/G5/g5-hub/issues/62","number":62,"state":"open","locked":false,"title":"Truncate urn to heroku limit when building cms link","user":{"login":"bbauer","id":486358,"avatar_url":"https://avatars.githubusercontent.com/u/486358?v=2","gravatar_id":"225a32d0fe95df2e0658794366c773bf","url":"https://api.github.com/users/bbauer","html_url":"https://github.com/bbauer","followers_url":"https://api.github.com/users/bbauer/followers","following_url":"https://api.github.com/users/bbauer/following{/other_user}","gists_url":"https://api.github.com/users/bbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/bbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbauer/subscriptions","organizations_url":"https://api.github.com/users/bbauer/orgs","repos_url":"https://api.github.com/users/bbauer/repos","events_url":"https://api.github.com/users/bbauer/events{/privacy}","received_events_url":"https://api.github.com/users/bbauer/received_events","type":"User","site_admin":false},"body":"https://www.pivotaltracker.com/story/show/78732252","created_at":"2014-09-12T17:10:28Z","updated_at":"2014-09-12T19:26:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0561383502f786e66e3d223f2b26c470341356df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/G5/g5-hub/pulls/62/commits","review_comments_url":"https://api.github.com/repos/G5/g5-hub/pulls/62/comments","review_comment_url":"https://api.github.com/repos/G5/g5-hub/pulls/comments/{number}","comments_url":"https://api.github.com/repos/G5/g5-hub/issues/62/comments","statuses_url":"https://api.github.com/repos/G5/g5-hub/statuses/3a85eeab9def00cb15f868170de01e9cd6e2b040","head":{"label":"G5:fix-cms-links-78687834","ref":"fix-cms-links-78687834","sha":"3a85eeab9def00cb15f868170de01e9cd6e2b040","user":{"login":"G5","id":2396851,"avatar_url":"https://avatars.githubusercontent.com/u/2396851?v=2","gravatar_id":"3210c235b33944629011e001a34b4105","url":"https://api.github.com/users/G5","html_url":"https://github.com/G5","followers_url":"https://api.github.com/users/G5/followers","following_url":"https://api.github.com/users/G5/following{/other_user}","gists_url":"https://api.github.com/users/G5/gists{/gist_id}","starred_url":"https://api.github.com/users/G5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G5/subscriptions","organizations_url":"https://api.github.com/users/G5/orgs","repos_url":"https://api.github.com/users/G5/repos","events_url":"https://api.github.com/users/G5/events{/privacy}","received_events_url":"https://api.github.com/users/G5/received_events","type":"Organization","site_admin":false},"repo":{"id":6051824,"name":"g5-hub","full_name":"G5/g5-hub","owner":{"login":"G5","id":2396851,"avatar_url":"https://avatars.githubusercontent.com/u/2396851?v=2","gravatar_id":"3210c235b33944629011e001a34b4105","url":"https://api.github.com/users/G5","html_url":"https://github.com/G5","followers_url":"https://api.github.com/users/G5/followers","following_url":"https://api.github.com/users/G5/following{/other_user}","gists_url":"https://api.github.com/users/G5/gists{/gist_id}","starred_url":"https://api.github.com/users/G5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G5/subscriptions","organizations_url":"https://api.github.com/users/G5/orgs","repos_url":"https://api.github.com/users/G5/repos","events_url":"https://api.github.com/users/G5/events{/privacy}","received_events_url":"https://api.github.com/users/G5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/G5/g5-hub","description":"Rails app to create and publish a h-entry feed of clients","fork":false,"url":"https://api.github.com/repos/G5/g5-hub","forks_url":"https://api.github.com/repos/G5/g5-hub/forks","keys_url":"https://api.github.com/repos/G5/g5-hub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/G5/g5-hub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/G5/g5-hub/teams","hooks_url":"https://api.github.com/repos/G5/g5-hub/hooks","issue_events_url":"https://api.github.com/repos/G5/g5-hub/issues/events{/number}","events_url":"https://api.github.com/repos/G5/g5-hub/events","assignees_url":"https://api.github.com/repos/G5/g5-hub/assignees{/user}","branches_url":"https://api.github.com/repos/G5/g5-hub/branches{/branch}","tags_url":"https://api.github.com/repos/G5/g5-hub/tags","blobs_url":"https://api.github.com/repos/G5/g5-hub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/G5/g5-hub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/G5/g5-hub/git/refs{/sha}","trees_url":"https://api.github.com/repos/G5/g5-hub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/G5/g5-hub/statuses/{sha}","languages_url":"https://api.github.com/repos/G5/g5-hub/languages","stargazers_url":"https://api.github.com/repos/G5/g5-hub/stargazers","contributors_url":"https://api.github.com/repos/G5/g5-hub/contributors","subscribers_url":"https://api.github.com/repos/G5/g5-hub/subscribers","subscription_url":"https://api.github.com/repos/G5/g5-hub/subscription","commits_url":"https://api.github.com/repos/G5/g5-hub/commits{/sha}","git_commits_url":"https://api.github.com/repos/G5/g5-hub/git/commits{/sha}","comments_url":"https://api.github.com/repos/G5/g5-hub/comments{/number}","issue_comment_url":"https://api.github.com/repos/G5/g5-hub/issues/comments/{number}","contents_url":"https://api.github.com/repos/G5/g5-hub/contents/{+path}","compare_url":"https://api.github.com/repos/G5/g5-hub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/G5/g5-hub/merges","archive_url":"https://api.github.com/repos/G5/g5-hub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/G5/g5-hub/downloads","issues_url":"https://api.github.com/repos/G5/g5-hub/issues{/number}","pulls_url":"https://api.github.com/repos/G5/g5-hub/pulls{/number}","milestones_url":"https://api.github.com/repos/G5/g5-hub/milestones{/number}","notifications_url":"https://api.github.com/repos/G5/g5-hub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/G5/g5-hub/labels{/name}","releases_url":"https://api.github.com/repos/G5/g5-hub/releases{/id}","created_at":"2012-10-02T21:33:17Z","updated_at":"2014-09-05T23:26:30Z","pushed_at":"2014-09-12T17:59:55Z","git_url":"git://github.com/G5/g5-hub.git","ssh_url":"git@github.com:G5/g5-hub.git","clone_url":"https://github.com/G5/g5-hub.git","svn_url":"https://github.com/G5/g5-hub","homepage":"","size":2837,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"G5:master","ref":"master","sha":"2e55b3f71553a19aadeaaa5a43ebd5cc99dcfc8c","user":{"login":"G5","id":2396851,"avatar_url":"https://avatars.githubusercontent.com/u/2396851?v=2","gravatar_id":"3210c235b33944629011e001a34b4105","url":"https://api.github.com/users/G5","html_url":"https://github.com/G5","followers_url":"https://api.github.com/users/G5/followers","following_url":"https://api.github.com/users/G5/following{/other_user}","gists_url":"https://api.github.com/users/G5/gists{/gist_id}","starred_url":"https://api.github.com/users/G5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G5/subscriptions","organizations_url":"https://api.github.com/users/G5/orgs","repos_url":"https://api.github.com/users/G5/repos","events_url":"https://api.github.com/users/G5/events{/privacy}","received_events_url":"https://api.github.com/users/G5/received_events","type":"Organization","site_admin":false},"repo":{"id":6051824,"name":"g5-hub","full_name":"G5/g5-hub","owner":{"login":"G5","id":2396851,"avatar_url":"https://avatars.githubusercontent.com/u/2396851?v=2","gravatar_id":"3210c235b33944629011e001a34b4105","url":"https://api.github.com/users/G5","html_url":"https://github.com/G5","followers_url":"https://api.github.com/users/G5/followers","following_url":"https://api.github.com/users/G5/following{/other_user}","gists_url":"https://api.github.com/users/G5/gists{/gist_id}","starred_url":"https://api.github.com/users/G5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G5/subscriptions","organizations_url":"https://api.github.com/users/G5/orgs","repos_url":"https://api.github.com/users/G5/repos","events_url":"https://api.github.com/users/G5/events{/privacy}","received_events_url":"https://api.github.com/users/G5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/G5/g5-hub","description":"Rails app to create and publish a h-entry feed of clients","fork":false,"url":"https://api.github.com/repos/G5/g5-hub","forks_url":"https://api.github.com/repos/G5/g5-hub/forks","keys_url":"https://api.github.com/repos/G5/g5-hub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/G5/g5-hub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/G5/g5-hub/teams","hooks_url":"https://api.github.com/repos/G5/g5-hub/hooks","issue_events_url":"https://api.github.com/repos/G5/g5-hub/issues/events{/number}","events_url":"https://api.github.com/repos/G5/g5-hub/events","assignees_url":"https://api.github.com/repos/G5/g5-hub/assignees{/user}","branches_url":"https://api.github.com/repos/G5/g5-hub/branches{/branch}","tags_url":"https://api.github.com/repos/G5/g5-hub/tags","blobs_url":"https://api.github.com/repos/G5/g5-hub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/G5/g5-hub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/G5/g5-hub/git/refs{/sha}","trees_url":"https://api.github.com/repos/G5/g5-hub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/G5/g5-hub/statuses/{sha}","languages_url":"https://api.github.com/repos/G5/g5-hub/languages","stargazers_url":"https://api.github.com/repos/G5/g5-hub/stargazers","contributors_url":"https://api.github.com/repos/G5/g5-hub/contributors","subscribers_url":"https://api.github.com/repos/G5/g5-hub/subscribers","subscription_url":"https://api.github.com/repos/G5/g5-hub/subscription","commits_url":"https://api.github.com/repos/G5/g5-hub/commits{/sha}","git_commits_url":"https://api.github.com/repos/G5/g5-hub/git/commits{/sha}","comments_url":"https://api.github.com/repos/G5/g5-hub/comments{/number}","issue_comment_url":"https://api.github.com/repos/G5/g5-hub/issues/comments/{number}","contents_url":"https://api.github.com/repos/G5/g5-hub/contents/{+path}","compare_url":"https://api.github.com/repos/G5/g5-hub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/G5/g5-hub/merges","archive_url":"https://api.github.com/repos/G5/g5-hub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/G5/g5-hub/downloads","issues_url":"https://api.github.com/repos/G5/g5-hub/issues{/number}","pulls_url":"https://api.github.com/repos/G5/g5-hub/pulls{/number}","milestones_url":"https://api.github.com/repos/G5/g5-hub/milestones{/number}","notifications_url":"https://api.github.com/repos/G5/g5-hub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/G5/g5-hub/labels{/name}","releases_url":"https://api.github.com/repos/G5/g5-hub/releases{/id}","created_at":"2012-10-02T21:33:17Z","updated_at":"2014-09-05T23:26:30Z","pushed_at":"2014-09-12T17:59:55Z","git_url":"git://github.com/G5/g5-hub.git","ssh_url":"git@github.com:G5/g5-hub.git","clone_url":"https://github.com/G5/g5-hub.git","svn_url":"https://github.com/G5/g5-hub","homepage":"","size":2837,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/G5/g5-hub/pulls/62"},"html":{"href":"https://github.com/G5/g5-hub/pull/62"},"issue":{"href":"https://api.github.com/repos/G5/g5-hub/issues/62"},"comments":{"href":"https://api.github.com/repos/G5/g5-hub/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/G5/g5-hub/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/G5/g5-hub/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/G5/g5-hub/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/G5/g5-hub/statuses/3a85eeab9def00cb15f868170de01e9cd6e2b040"}}}}