GitHub PullRequestReviewCommentEvent at 2014-09-09 05:37:45
Repository: coursemology2
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments/17283115","id":17283115,"diff_hunk":"@@ -2,9 +2,13 @@\n   # The priority is based upon order of creation: first created -> highest priority.\n   # See how all your routes lay out with \"rake routes\".\n \n-  # You can have the root of your site routed with \"root\"\n-  # root 'welcome#index'\n+  scope ':locale', locale: /#{I18n.available_locales.join('|')}/ do\n+    root 'static_pages#welcome'\n+  end\n \n+  get '/*path', to: redirect(\"/#{ I18n.default_locale }/%{ path }\"),\n+      constraints: { path: /(?!(#{I18n.available_locales.join('|')})\\/).*/},","path":"config/routes.rb","position":11,"original_position":11,"commit_id":"fab1f75b139d8afa0517099753a642cffa17b96e","original_commit_id":"fab1f75b139d8afa0517099753a642cffa17b96e","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=2","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","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 inside } missing.","created_at":"2014-09-09T05:37:45Z","updated_at":"2014-09-09T05:37:45Z","html_url":"https://github.com/Coursemology/coursemology2/pull/1#discussion_r17283115","pull_request_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments/17283115"},"html":{"href":"https://github.com/Coursemology/coursemology2/pull/1#discussion_r17283115"},"pull_request":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/1","id":19891516,"html_url":"https://github.com/Coursemology/coursemology2/pull/1","diff_url":"https://github.com/Coursemology/coursemology2/pull/1.diff","patch_url":"https://github.com/Coursemology/coursemology2/pull/1.patch","issue_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1","number":1,"state":"open","locked":false,"title":"Setup welcome page & localization support","user":{"login":"wangqiang1208","id":4983239,"avatar_url":"https://avatars.githubusercontent.com/u/4983239?v=2","gravatar_id":"0916fd2eee2aaa87d6a59cf579bed887","url":"https://api.github.com/users/wangqiang1208","html_url":"https://github.com/wangqiang1208","followers_url":"https://api.github.com/users/wangqiang1208/followers","following_url":"https://api.github.com/users/wangqiang1208/following{/other_user}","gists_url":"https://api.github.com/users/wangqiang1208/gists{/gist_id}","starred_url":"https://api.github.com/users/wangqiang1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangqiang1208/subscriptions","organizations_url":"https://api.github.com/users/wangqiang1208/orgs","repos_url":"https://api.github.com/users/wangqiang1208/repos","events_url":"https://api.github.com/users/wangqiang1208/events{/privacy}","received_events_url":"https://api.github.com/users/wangqiang1208/received_events","type":"User","site_admin":false},"body":"Few lines of ruby code, mostly env setup.","created_at":"2014-08-17T17:38:42Z","updated_at":"2014-09-09T05:37:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92528a4fe8eeeedc3b5b22658e46be9f1e20488d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1/comments","statuses_url":"https://api.github.com/repos/Coursemology/coursemology2/statuses/fab1f75b139d8afa0517099753a642cffa17b96e","head":{"label":"wangqiang1208:master","ref":"master","sha":"fab1f75b139d8afa0517099753a642cffa17b96e","user":{"login":"wangqiang1208","id":4983239,"avatar_url":"https://avatars.githubusercontent.com/u/4983239?v=2","gravatar_id":"0916fd2eee2aaa87d6a59cf579bed887","url":"https://api.github.com/users/wangqiang1208","html_url":"https://github.com/wangqiang1208","followers_url":"https://api.github.com/users/wangqiang1208/followers","following_url":"https://api.github.com/users/wangqiang1208/following{/other_user}","gists_url":"https://api.github.com/users/wangqiang1208/gists{/gist_id}","starred_url":"https://api.github.com/users/wangqiang1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangqiang1208/subscriptions","organizations_url":"https://api.github.com/users/wangqiang1208/orgs","repos_url":"https://api.github.com/users/wangqiang1208/repos","events_url":"https://api.github.com/users/wangqiang1208/events{/privacy}","received_events_url":"https://api.github.com/users/wangqiang1208/received_events","type":"User","site_admin":false},"repo":{"id":23046091,"name":"coursemology2","full_name":"wangqiang1208/coursemology2","owner":{"login":"wangqiang1208","id":4983239,"avatar_url":"https://avatars.githubusercontent.com/u/4983239?v=2","gravatar_id":"0916fd2eee2aaa87d6a59cf579bed887","url":"https://api.github.com/users/wangqiang1208","html_url":"https://github.com/wangqiang1208","followers_url":"https://api.github.com/users/wangqiang1208/followers","following_url":"https://api.github.com/users/wangqiang1208/following{/other_user}","gists_url":"https://api.github.com/users/wangqiang1208/gists{/gist_id}","starred_url":"https://api.github.com/users/wangqiang1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangqiang1208/subscriptions","organizations_url":"https://api.github.com/users/wangqiang1208/orgs","repos_url":"https://api.github.com/users/wangqiang1208/repos","events_url":"https://api.github.com/users/wangqiang1208/events{/privacy}","received_events_url":"https://api.github.com/users/wangqiang1208/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wangqiang1208/coursemology2","description":"Rails 4 re-write of Coursemology","fork":true,"url":"https://api.github.com/repos/wangqiang1208/coursemology2","forks_url":"https://api.github.com/repos/wangqiang1208/coursemology2/forks","keys_url":"https://api.github.com/repos/wangqiang1208/coursemology2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wangqiang1208/coursemology2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wangqiang1208/coursemology2/teams","hooks_url":"https://api.github.com/repos/wangqiang1208/coursemology2/hooks","issue_events_url":"https://api.github.com/repos/wangqiang1208/coursemology2/issues/events{/number}","events_url":"https://api.github.com/repos/wangqiang1208/coursemology2/events","assignees_url":"https://api.github.com/repos/wangqiang1208/coursemology2/assignees{/user}","branches_url":"https://api.github.com/repos/wangqiang1208/coursemology2/branches{/branch}","tags_url":"https://api.github.com/repos/wangqiang1208/coursemology2/tags","blobs_url":"https://api.github.com/repos/wangqiang1208/coursemology2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wangqiang1208/coursemology2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wangqiang1208/coursemology2/git/refs{/sha}","trees_url":"https://api.github.com/repos/wangqiang1208/coursemology2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wangqiang1208/coursemology2/statuses/{sha}","languages_url":"https://api.github.com/repos/wangqiang1208/coursemology2/languages","stargazers_url":"https://api.github.com/repos/wangqiang1208/coursemology2/stargazers","contributors_url":"https://api.github.com/repos/wangqiang1208/coursemology2/contributors","subscribers_url":"https://api.github.com/repos/wangqiang1208/coursemology2/subscribers","subscription_url":"https://api.github.com/repos/wangqiang1208/coursemology2/subscription","commits_url":"https://api.github.com/repos/wangqiang1208/coursemology2/commits{/sha}","git_commits_url":"https://api.github.com/repos/wangqiang1208/coursemology2/git/commits{/sha}","comments_url":"https://api.github.com/repos/wangqiang1208/coursemology2/comments{/number}","issue_comment_url":"https://api.github.com/repos/wangqiang1208/coursemology2/issues/comments/{number}","contents_url":"https://api.github.com/repos/wangqiang1208/coursemology2/contents/{+path}","compare_url":"https://api.github.com/repos/wangqiang1208/coursemology2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wangqiang1208/coursemology2/merges","archive_url":"https://api.github.com/repos/wangqiang1208/coursemology2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wangqiang1208/coursemology2/downloads","issues_url":"https://api.github.com/repos/wangqiang1208/coursemology2/issues{/number}","pulls_url":"https://api.github.com/repos/wangqiang1208/coursemology2/pulls{/number}","milestones_url":"https://api.github.com/repos/wangqiang1208/coursemology2/milestones{/number}","notifications_url":"https://api.github.com/repos/wangqiang1208/coursemology2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wangqiang1208/coursemology2/labels{/name}","releases_url":"https://api.github.com/repos/wangqiang1208/coursemology2/releases{/id}","created_at":"2014-08-17T17:33:06Z","updated_at":"2014-08-17T17:35:04Z","pushed_at":"2014-09-09T05:37:39Z","git_url":"git://github.com/wangqiang1208/coursemology2.git","ssh_url":"git@github.com:wangqiang1208/coursemology2.git","clone_url":"https://github.com/wangqiang1208/coursemology2.git","svn_url":"https://github.com/wangqiang1208/coursemology2","homepage":null,"size":584,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Coursemology:master","ref":"master","sha":"0593b63227ec40a449474236708c724378fc4722","user":{"login":"Coursemology","id":4427741,"avatar_url":"https://avatars.githubusercontent.com/u/4427741?v=2","gravatar_id":"c64ec3db451c18cd2217bcacb43970da","url":"https://api.github.com/users/Coursemology","html_url":"https://github.com/Coursemology","followers_url":"https://api.github.com/users/Coursemology/followers","following_url":"https://api.github.com/users/Coursemology/following{/other_user}","gists_url":"https://api.github.com/users/Coursemology/gists{/gist_id}","starred_url":"https://api.github.com/users/Coursemology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coursemology/subscriptions","organizations_url":"https://api.github.com/users/Coursemology/orgs","repos_url":"https://api.github.com/users/Coursemology/repos","events_url":"https://api.github.com/users/Coursemology/events{/privacy}","received_events_url":"https://api.github.com/users/Coursemology/received_events","type":"Organization","site_admin":false},"repo":{"id":22155032,"name":"coursemology2","full_name":"Coursemology/coursemology2","owner":{"login":"Coursemology","id":4427741,"avatar_url":"https://avatars.githubusercontent.com/u/4427741?v=2","gravatar_id":"c64ec3db451c18cd2217bcacb43970da","url":"https://api.github.com/users/Coursemology","html_url":"https://github.com/Coursemology","followers_url":"https://api.github.com/users/Coursemology/followers","following_url":"https://api.github.com/users/Coursemology/following{/other_user}","gists_url":"https://api.github.com/users/Coursemology/gists{/gist_id}","starred_url":"https://api.github.com/users/Coursemology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coursemology/subscriptions","organizations_url":"https://api.github.com/users/Coursemology/orgs","repos_url":"https://api.github.com/users/Coursemology/repos","events_url":"https://api.github.com/users/Coursemology/events{/privacy}","received_events_url":"https://api.github.com/users/Coursemology/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Coursemology/coursemology2","description":"Rails 4 re-write of Coursemology","fork":false,"url":"https://api.github.com/repos/Coursemology/coursemology2","forks_url":"https://api.github.com/repos/Coursemology/coursemology2/forks","keys_url":"https://api.github.com/repos/Coursemology/coursemology2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coursemology/coursemology2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coursemology/coursemology2/teams","hooks_url":"https://api.github.com/repos/Coursemology/coursemology2/hooks","issue_events_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/events{/number}","events_url":"https://api.github.com/repos/Coursemology/coursemology2/events","assignees_url":"https://api.github.com/repos/Coursemology/coursemology2/assignees{/user}","branches_url":"https://api.github.com/repos/Coursemology/coursemology2/branches{/branch}","tags_url":"https://api.github.com/repos/Coursemology/coursemology2/tags","blobs_url":"https://api.github.com/repos/Coursemology/coursemology2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coursemology/coursemology2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coursemology/coursemology2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coursemology/coursemology2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coursemology/coursemology2/statuses/{sha}","languages_url":"https://api.github.com/repos/Coursemology/coursemology2/languages","stargazers_url":"https://api.github.com/repos/Coursemology/coursemology2/stargazers","contributors_url":"https://api.github.com/repos/Coursemology/coursemology2/contributors","subscribers_url":"https://api.github.com/repos/Coursemology/coursemology2/subscribers","subscription_url":"https://api.github.com/repos/Coursemology/coursemology2/subscription","commits_url":"https://api.github.com/repos/Coursemology/coursemology2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coursemology/coursemology2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/comments/{number}","contents_url":"https://api.github.com/repos/Coursemology/coursemology2/contents/{+path}","compare_url":"https://api.github.com/repos/Coursemology/coursemology2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coursemology/coursemology2/merges","archive_url":"https://api.github.com/repos/Coursemology/coursemology2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coursemology/coursemology2/downloads","issues_url":"https://api.github.com/repos/Coursemology/coursemology2/issues{/number}","pulls_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls{/number}","milestones_url":"https://api.github.com/repos/Coursemology/coursemology2/milestones{/number}","notifications_url":"https://api.github.com/repos/Coursemology/coursemology2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coursemology/coursemology2/labels{/name}","releases_url":"https://api.github.com/repos/Coursemology/coursemology2/releases{/id}","created_at":"2014-07-23T14:57:06Z","updated_at":"2014-09-06T08:49:41Z","pushed_at":"2014-09-06T09:28:41Z","git_url":"git://github.com/Coursemology/coursemology2.git","ssh_url":"git@github.com:Coursemology/coursemology2.git","clone_url":"https://github.com/Coursemology/coursemology2.git","svn_url":"https://github.com/Coursemology/coursemology2","homepage":null,"size":757,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/1"},"html":{"href":"https://github.com/Coursemology/coursemology2/pull/1"},"issue":{"href":"https://api.github.com/repos/Coursemology/coursemology2/issues/1"},"comments":{"href":"https://api.github.com/repos/Coursemology/coursemology2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Coursemology/coursemology2/statuses/fab1f75b139d8afa0517099753a642cffa17b96e"}}}}