{"action":"created","comment":{"url":"https://api.github.com/repos/github/markup/pulls/comments/38753566","id":38753566,"diff_hunk":"@@ -11,3 +11,4 @@ gem \"creole\", \"~>0.3.6\"\n gem \"wikicloth\", \"=0.8.1\", :platforms => :ruby\n gem \"asciidoctor\", \"= 1.5.2\"\n gem \"rake\"\n+gem \"github-linguist\"","path":"Gemfile","position":null,"original_position":4,"commit_id":"fa488ce28c088e2b73d88277ee123bf60693e307","original_commit_id":"143b7b942b1b2705fc0f58b29cb33f19de866274","user":{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=3","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false},"body":"Done but the Travis build still fails because the `samples.json` file of my Linguist fork isn't generated :/","created_at":"2015-09-04T13:56:06Z","updated_at":"2015-09-04T13:56:06Z","html_url":"https://github.com/github/markup/pull/537#discussion_r38753566","pull_request_url":"https://api.github.com/repos/github/markup/pulls/537","_links":{"self":{"href":"https://api.github.com/repos/github/markup/pulls/comments/38753566"},"html":{"href":"https://github.com/github/markup/pull/537#discussion_r38753566"},"pull_request":{"href":"https://api.github.com/repos/github/markup/pulls/537"}}},"pull_request":{"url":"https://api.github.com/repos/github/markup/pulls/537","id":42840747,"html_url":"https://github.com/github/markup/pull/537","diff_url":"https://github.com/github/markup/pull/537.diff","patch_url":"https://github.com/github/markup/pull/537.patch","issue_url":"https://api.github.com/repos/github/markup/issues/537","number":537,"state":"open","locked":false,"title":"[WIP] Use Linguist to detect the language","user":{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=3","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false},"body":"As discussed in github/linguist#2497, this pull requests makes use of `Linguist::Blob` to detect the language of a markup document.\r\n\r\n`Linguist::Blob` is not yet part of Linguist and this pull request still has failing tests so it's work in progress.\r\n\r\n/cc @bkeepers ","created_at":"2015-08-19T17:22:35Z","updated_at":"2015-09-04T13:56:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f833cade10c3aa24181f4a983845af2cf9d962e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/github/markup/pulls/537/commits","review_comments_url":"https://api.github.com/repos/github/markup/pulls/537/comments","review_comment_url":"https://api.github.com/repos/github/markup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/markup/issues/537/comments","statuses_url":"https://api.github.com/repos/github/markup/statuses/fa488ce28c088e2b73d88277ee123bf60693e307","head":{"label":"pchaigno:detect-language-using-linguist","ref":"detect-language-using-linguist","sha":"fa488ce28c088e2b73d88277ee123bf60693e307","user":{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=3","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false},"repo":{"id":22717595,"name":"markup","full_name":"pchaigno/markup","owner":{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=3","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pchaigno/markup","description":"The code we use to render README.your_favorite_markup","fork":true,"url":"https://api.github.com/repos/pchaigno/markup","forks_url":"https://api.github.com/repos/pchaigno/markup/forks","keys_url":"https://api.github.com/repos/pchaigno/markup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pchaigno/markup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pchaigno/markup/teams","hooks_url":"https://api.github.com/repos/pchaigno/markup/hooks","issue_events_url":"https://api.github.com/repos/pchaigno/markup/issues/events{/number}","events_url":"https://api.github.com/repos/pchaigno/markup/events","assignees_url":"https://api.github.com/repos/pchaigno/markup/assignees{/user}","branches_url":"https://api.github.com/repos/pchaigno/markup/branches{/branch}","tags_url":"https://api.github.com/repos/pchaigno/markup/tags","blobs_url":"https://api.github.com/repos/pchaigno/markup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pchaigno/markup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pchaigno/markup/git/refs{/sha}","trees_url":"https://api.github.com/repos/pchaigno/markup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pchaigno/markup/statuses/{sha}","languages_url":"https://api.github.com/repos/pchaigno/markup/languages","stargazers_url":"https://api.github.com/repos/pchaigno/markup/stargazers","contributors_url":"https://api.github.com/repos/pchaigno/markup/contributors","subscribers_url":"https://api.github.com/repos/pchaigno/markup/subscribers","subscription_url":"https://api.github.com/repos/pchaigno/markup/subscription","commits_url":"https://api.github.com/repos/pchaigno/markup/commits{/sha}","git_commits_url":"https://api.github.com/repos/pchaigno/markup/git/commits{/sha}","comments_url":"https://api.github.com/repos/pchaigno/markup/comments{/number}","issue_comment_url":"https://api.github.com/repos/pchaigno/markup/issues/comments{/number}","contents_url":"https://api.github.com/repos/pchaigno/markup/contents/{+path}","compare_url":"https://api.github.com/repos/pchaigno/markup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pchaigno/markup/merges","archive_url":"https://api.github.com/repos/pchaigno/markup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pchaigno/markup/downloads","issues_url":"https://api.github.com/repos/pchaigno/markup/issues{/number}","pulls_url":"https://api.github.com/repos/pchaigno/markup/pulls{/number}","milestones_url":"https://api.github.com/repos/pchaigno/markup/milestones{/number}","notifications_url":"https://api.github.com/repos/pchaigno/markup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pchaigno/markup/labels{/name}","releases_url":"https://api.github.com/repos/pchaigno/markup/releases{/id}","created_at":"2014-08-07T10:36:05Z","updated_at":"2015-03-20T21:59:27Z","pushed_at":"2015-09-04T13:54:43Z","git_url":"git://github.com/pchaigno/markup.git","ssh_url":"git@github.com:pchaigno/markup.git","clone_url":"https://github.com/pchaigno/markup.git","svn_url":"https://github.com/pchaigno/markup","homepage":"","size":470,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"github:master","ref":"master","sha":"bdb490bbefa874f6a81bcb6e793d4299606ea1b5","user":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":355893,"name":"markup","full_name":"github/markup","owner":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/github/markup","description":"The code we use to render README.your_favorite_markup","fork":false,"url":"https://api.github.com/repos/github/markup","forks_url":"https://api.github.com/repos/github/markup/forks","keys_url":"https://api.github.com/repos/github/markup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/markup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/markup/teams","hooks_url":"https://api.github.com/repos/github/markup/hooks","issue_events_url":"https://api.github.com/repos/github/markup/issues/events{/number}","events_url":"https://api.github.com/repos/github/markup/events","assignees_url":"https://api.github.com/repos/github/markup/assignees{/user}","branches_url":"https://api.github.com/repos/github/markup/branches{/branch}","tags_url":"https://api.github.com/repos/github/markup/tags","blobs_url":"https://api.github.com/repos/github/markup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/markup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/markup/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/markup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/markup/statuses/{sha}","languages_url":"https://api.github.com/repos/github/markup/languages","stargazers_url":"https://api.github.com/repos/github/markup/stargazers","contributors_url":"https://api.github.com/repos/github/markup/contributors","subscribers_url":"https://api.github.com/repos/github/markup/subscribers","subscription_url":"https://api.github.com/repos/github/markup/subscription","commits_url":"https://api.github.com/repos/github/markup/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/markup/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/markup/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/markup/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/markup/contents/{+path}","compare_url":"https://api.github.com/repos/github/markup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/markup/merges","archive_url":"https://api.github.com/repos/github/markup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/markup/downloads","issues_url":"https://api.github.com/repos/github/markup/issues{/number}","pulls_url":"https://api.github.com/repos/github/markup/pulls{/number}","milestones_url":"https://api.github.com/repos/github/markup/milestones{/number}","notifications_url":"https://api.github.com/repos/github/markup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/markup/labels{/name}","releases_url":"https://api.github.com/repos/github/markup/releases{/id}","created_at":"2009-10-31T01:02:46Z","updated_at":"2015-09-04T07:20:04Z","pushed_at":"2015-09-04T13:54:44Z","git_url":"git://github.com/github/markup.git","ssh_url":"git@github.com:github/markup.git","clone_url":"https://github.com/github/markup.git","svn_url":"https://github.com/github/markup","homepage":"","size":2122,"stargazers_count":2780,"watchers_count":2780,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2371,"mirror_url":null,"open_issues_count":45,"forks":2371,"open_issues":45,"watchers":2780,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/markup/pulls/537"},"html":{"href":"https://github.com/github/markup/pull/537"},"issue":{"href":"https://api.github.com/repos/github/markup/issues/537"},"comments":{"href":"https://api.github.com/repos/github/markup/issues/537/comments"},"review_comments":{"href":"https://api.github.com/repos/github/markup/pulls/537/comments"},"review_comment":{"href":"https://api.github.com/repos/github/markup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/markup/pulls/537/commits"},"statuses":{"href":"https://api.github.com/repos/github/markup/statuses/fa488ce28c088e2b73d88277ee123bf60693e307"}}}}