{"action":"closed","number":2535,"pull_request":{"url":"https://api.github.com/repos/github/linguist/pulls/2535","id":41585086,"html_url":"https://github.com/github/linguist/pull/2535","diff_url":"https://github.com/github/linguist/pull/2535.diff","patch_url":"https://github.com/github/linguist/pull/2535.patch","issue_url":"https://api.github.com/repos/github/linguist/issues/2535","number":2535,"state":"closed","locked":false,"title":"Case-insensitive extension match for heuristic rules","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":"This pull request makes the extension match for heuristic rules case-insensitive.\r\nI didn't seem coherent since the detection by extension is case-insensitive (see #2533).\r\n\r\nI noticed it wasn't with the [new heuristic](https://github.com/github/linguist/pull/2533/files#diff-e56a8d50b1a75fc4212ffb3504faa007R354) from @arfon.\r\n\r\n[`samples/R/hello-r.R`](https://github.com/github/linguist/blob/master/samples/R/hello-r.R) is, indirectly, a test for this.","created_at":"2015-08-04T15:48:46Z","updated_at":"2015-08-04T20:35:54Z","closed_at":"2015-08-04T20:35:54Z","merged_at":"2015-08-04T20:35:54Z","merge_commit_sha":"4ae6ebe32606f3cc6cac54a8867139507a9d2782","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/github/linguist/pulls/2535/commits","review_comments_url":"https://api.github.com/repos/github/linguist/pulls/2535/comments","review_comment_url":"https://api.github.com/repos/github/linguist/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/linguist/issues/2535/comments","statuses_url":"https://api.github.com/repos/github/linguist/statuses/eb0bf16cce4b41c1ada6c031c37414c41deb9ceb","head":{"label":"pchaigno:heuristics-case-insensitive","ref":"heuristics-case-insensitive","sha":"eb0bf16cce4b41c1ada6c031c37414c41deb9ceb","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":16433381,"name":"linguist","full_name":"pchaigno/linguist","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/linguist","description":"Language Savant. If your repository's language is being reported incorrectly, send us a pull request!","fork":true,"url":"https://api.github.com/repos/pchaigno/linguist","forks_url":"https://api.github.com/repos/pchaigno/linguist/forks","keys_url":"https://api.github.com/repos/pchaigno/linguist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pchaigno/linguist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pchaigno/linguist/teams","hooks_url":"https://api.github.com/repos/pchaigno/linguist/hooks","issue_events_url":"https://api.github.com/repos/pchaigno/linguist/issues/events{/number}","events_url":"https://api.github.com/repos/pchaigno/linguist/events","assignees_url":"https://api.github.com/repos/pchaigno/linguist/assignees{/user}","branches_url":"https://api.github.com/repos/pchaigno/linguist/branches{/branch}","tags_url":"https://api.github.com/repos/pchaigno/linguist/tags","blobs_url":"https://api.github.com/repos/pchaigno/linguist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pchaigno/linguist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pchaigno/linguist/git/refs{/sha}","trees_url":"https://api.github.com/repos/pchaigno/linguist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pchaigno/linguist/statuses/{sha}","languages_url":"https://api.github.com/repos/pchaigno/linguist/languages","stargazers_url":"https://api.github.com/repos/pchaigno/linguist/stargazers","contributors_url":"https://api.github.com/repos/pchaigno/linguist/contributors","subscribers_url":"https://api.github.com/repos/pchaigno/linguist/subscribers","subscription_url":"https://api.github.com/repos/pchaigno/linguist/subscription","commits_url":"https://api.github.com/repos/pchaigno/linguist/commits{/sha}","git_commits_url":"https://api.github.com/repos/pchaigno/linguist/git/commits{/sha}","comments_url":"https://api.github.com/repos/pchaigno/linguist/comments{/number}","issue_comment_url":"https://api.github.com/repos/pchaigno/linguist/issues/comments{/number}","contents_url":"https://api.github.com/repos/pchaigno/linguist/contents/{+path}","compare_url":"https://api.github.com/repos/pchaigno/linguist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pchaigno/linguist/merges","archive_url":"https://api.github.com/repos/pchaigno/linguist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pchaigno/linguist/downloads","issues_url":"https://api.github.com/repos/pchaigno/linguist/issues{/number}","pulls_url":"https://api.github.com/repos/pchaigno/linguist/pulls{/number}","milestones_url":"https://api.github.com/repos/pchaigno/linguist/milestones{/number}","notifications_url":"https://api.github.com/repos/pchaigno/linguist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pchaigno/linguist/labels{/name}","releases_url":"https://api.github.com/repos/pchaigno/linguist/releases{/id}","created_at":"2014-02-01T12:13:05Z","updated_at":"2015-05-08T11:04:56Z","pushed_at":"2015-08-04T15:29:01Z","git_url":"git://github.com/pchaigno/linguist.git","ssh_url":"git@github.com:pchaigno/linguist.git","clone_url":"https://github.com/pchaigno/linguist.git","svn_url":"https://github.com/pchaigno/linguist","homepage":"","size":37845,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"github:master","ref":"master","sha":"ca51415540816f32ef6d3782da7146e3e0cc53ac","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":1725199,"name":"linguist","full_name":"github/linguist","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/linguist","description":"Language Savant. If your repository's language is being reported incorrectly, send us a pull request!","fork":false,"url":"https://api.github.com/repos/github/linguist","forks_url":"https://api.github.com/repos/github/linguist/forks","keys_url":"https://api.github.com/repos/github/linguist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/linguist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/linguist/teams","hooks_url":"https://api.github.com/repos/github/linguist/hooks","issue_events_url":"https://api.github.com/repos/github/linguist/issues/events{/number}","events_url":"https://api.github.com/repos/github/linguist/events","assignees_url":"https://api.github.com/repos/github/linguist/assignees{/user}","branches_url":"https://api.github.com/repos/github/linguist/branches{/branch}","tags_url":"https://api.github.com/repos/github/linguist/tags","blobs_url":"https://api.github.com/repos/github/linguist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/linguist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/linguist/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/linguist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/linguist/statuses/{sha}","languages_url":"https://api.github.com/repos/github/linguist/languages","stargazers_url":"https://api.github.com/repos/github/linguist/stargazers","contributors_url":"https://api.github.com/repos/github/linguist/contributors","subscribers_url":"https://api.github.com/repos/github/linguist/subscribers","subscription_url":"https://api.github.com/repos/github/linguist/subscription","commits_url":"https://api.github.com/repos/github/linguist/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/linguist/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/linguist/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/linguist/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/linguist/contents/{+path}","compare_url":"https://api.github.com/repos/github/linguist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/linguist/merges","archive_url":"https://api.github.com/repos/github/linguist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/linguist/downloads","issues_url":"https://api.github.com/repos/github/linguist/issues{/number}","pulls_url":"https://api.github.com/repos/github/linguist/pulls{/number}","milestones_url":"https://api.github.com/repos/github/linguist/milestones{/number}","notifications_url":"https://api.github.com/repos/github/linguist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/linguist/labels{/name}","releases_url":"https://api.github.com/repos/github/linguist/releases{/id}","created_at":"2011-05-09T22:53:13Z","updated_at":"2015-08-04T19:40:59Z","pushed_at":"2015-08-04T20:35:54Z","git_url":"git://github.com/github/linguist.git","ssh_url":"git@github.com:github/linguist.git","clone_url":"https://github.com/github/linguist.git","svn_url":"https://github.com/github/linguist","homepage":"","size":53951,"stargazers_count":3123,"watchers_count":3123,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1330,"mirror_url":null,"open_issues_count":78,"forks":1330,"open_issues":78,"watchers":3123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/linguist/pulls/2535"},"html":{"href":"https://github.com/github/linguist/pull/2535"},"issue":{"href":"https://api.github.com/repos/github/linguist/issues/2535"},"comments":{"href":"https://api.github.com/repos/github/linguist/issues/2535/comments"},"review_comments":{"href":"https://api.github.com/repos/github/linguist/pulls/2535/comments"},"review_comment":{"href":"https://api.github.com/repos/github/linguist/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/linguist/pulls/2535/commits"},"statuses":{"href":"https://api.github.com/repos/github/linguist/statuses/eb0bf16cce4b41c1ada6c031c37414c41deb9ceb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"arfon","id":4483,"avatar_url":"https://avatars.githubusercontent.com/u/4483?v=3","gravatar_id":"","url":"https://api.github.com/users/arfon","html_url":"https://github.com/arfon","followers_url":"https://api.github.com/users/arfon/followers","following_url":"https://api.github.com/users/arfon/following{/other_user}","gists_url":"https://api.github.com/users/arfon/gists{/gist_id}","starred_url":"https://api.github.com/users/arfon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfon/subscriptions","organizations_url":"https://api.github.com/users/arfon/orgs","repos_url":"https://api.github.com/users/arfon/repos","events_url":"https://api.github.com/users/arfon/events{/privacy}","received_events_url":"https://api.github.com/users/arfon/received_events","type":"User","site_admin":true},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}