{"action":"created","issue":{"url":"https://api.github.com/repos/scsmith/language_list/issues/11","labels_url":"https://api.github.com/repos/scsmith/language_list/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/scsmith/language_list/issues/11/comments","events_url":"https://api.github.com/repos/scsmith/language_list/issues/11/events","html_url":"https://github.com/scsmith/language_list/pull/11","id":97529994,"number":11,"title":"Make lookup case-insensitive","user":{"login":"molgin","id":6752716,"avatar_url":"https://avatars.githubusercontent.com/u/6752716?v=3","gravatar_id":"","url":"https://api.github.com/users/molgin","html_url":"https://github.com/molgin","followers_url":"https://api.github.com/users/molgin/followers","following_url":"https://api.github.com/users/molgin/following{/other_user}","gists_url":"https://api.github.com/users/molgin/gists{/gist_id}","starred_url":"https://api.github.com/users/molgin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molgin/subscriptions","organizations_url":"https://api.github.com/users/molgin/orgs","repos_url":"https://api.github.com/users/molgin/repos","events_url":"https://api.github.com/users/molgin/events{/privacy}","received_events_url":"https://api.github.com/users/molgin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-27T18:52:38Z","updated_at":"2015-07-28T07:22:06Z","closed_at":"2015-07-28T07:21:58Z","pull_request":{"url":"https://api.github.com/repos/scsmith/language_list/pulls/11","html_url":"https://github.com/scsmith/language_list/pull/11","diff_url":"https://github.com/scsmith/language_list/pull/11.diff","patch_url":"https://github.com/scsmith/language_list/pull/11.patch"},"body":"What it says on the tin.\r\n\r\nFor my use case I have little control over inputs, and the fact that finding by code expects a lowercase input while finding by name expects a properly capitalized input complicates things. This change enables `LanguageList::LanguageInfo.find` to return the correct result regardless of input case.\r\n\r\nThis introduces no ambiguity as there are no language codes or names currently included that are differentiated only by case.\r\n\r\nTests pass, and I added a couple demonstrating case-insensitive lookup."},"comment":{"url":"https://api.github.com/repos/scsmith/language_list/issues/comments/125480790","html_url":"https://github.com/scsmith/language_list/pull/11#issuecomment-125480790","issue_url":"https://api.github.com/repos/scsmith/language_list/issues/11","id":125480790,"user":{"login":"scsmith","id":47032,"avatar_url":"https://avatars.githubusercontent.com/u/47032?v=3","gravatar_id":"","url":"https://api.github.com/users/scsmith","html_url":"https://github.com/scsmith","followers_url":"https://api.github.com/users/scsmith/followers","following_url":"https://api.github.com/users/scsmith/following{/other_user}","gists_url":"https://api.github.com/users/scsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/scsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scsmith/subscriptions","organizations_url":"https://api.github.com/users/scsmith/orgs","repos_url":"https://api.github.com/users/scsmith/repos","events_url":"https://api.github.com/users/scsmith/events{/privacy}","received_events_url":"https://api.github.com/users/scsmith/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T07:22:06Z","updated_at":"2015-07-28T07:22:06Z","body":"Thanks for adding this!"}}