{"action":"closed","number":163,"pull_request":{"url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/163","id":45704942,"html_url":"https://github.com/twitter/twitter-cldr-rb/pull/163","diff_url":"https://github.com/twitter/twitter-cldr-rb/pull/163.diff","patch_url":"https://github.com/twitter/twitter-cldr-rb/pull/163.patch","issue_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/163","number":163,"state":"closed","locked":false,"title":"Script detector","user":{"login":"camertron","id":575280,"avatar_url":"https://avatars.githubusercontent.com/u/575280?v=3","gravatar_id":"","url":"https://api.github.com/users/camertron","html_url":"https://github.com/camertron","followers_url":"https://api.github.com/users/camertron/followers","following_url":"https://api.github.com/users/camertron/following{/other_user}","gists_url":"https://api.github.com/users/camertron/gists{/gist_id}","starred_url":"https://api.github.com/users/camertron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camertron/subscriptions","organizations_url":"https://api.github.com/users/camertron/orgs","repos_url":"https://api.github.com/users/camertron/repos","events_url":"https://api.github.com/users/camertron/events{/privacy}","received_events_url":"https://api.github.com/users/camertron/received_events","type":"User","site_admin":false},"body":"Simple way of detecting what script a bit of text is written in:\r\n\r\n```ruby\r\nTwitterCldr::Utils::ScriptDetector.detect_scripts('Кирилл').best_guess  # => \"Cyrillic\"\r\n```\r\n\r\nThere's also a handy method on `LocalizedString`:\r\n\r\n```ruby\r\n'Кирилл'.localize.script  # => \"Cyrillic\"\r\n```","created_at":"2015-09-22T19:18:52Z","updated_at":"2015-09-28T16:32:39Z","closed_at":"2015-09-28T16:32:39Z","merged_at":"2015-09-28T16:32:39Z","merge_commit_sha":"0ffd0db070b9074db7f7e66a60f99e19322a9ac9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/163/commits","review_comments_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/163/comments","review_comment_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/163/comments","statuses_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/statuses/8928bcaa5e93a2302cc91f770e300226d5dba6de","head":{"label":"twitter:script_detector","ref":"script_detector","sha":"8928bcaa5e93a2302cc91f770e300226d5dba6de","user":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"repo":{"id":3541284,"name":"twitter-cldr-rb","full_name":"twitter/twitter-cldr-rb","owner":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twitter/twitter-cldr-rb","description":"Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.","fork":false,"url":"https://api.github.com/repos/twitter/twitter-cldr-rb","forks_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/forks","keys_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/teams","hooks_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/hooks","issue_events_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/events{/number}","events_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/events","assignees_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/assignees{/user}","branches_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/branches{/branch}","tags_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/tags","blobs_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/languages","stargazers_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/stargazers","contributors_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/contributors","subscribers_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/subscribers","subscription_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/subscription","commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/contents/{+path}","compare_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/merges","archive_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/downloads","issues_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues{/number}","pulls_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/labels{/name}","releases_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/releases{/id}","created_at":"2012-02-25T00:42:55Z","updated_at":"2015-09-28T14:13:05Z","pushed_at":"2015-09-28T16:32:39Z","git_url":"git://github.com/twitter/twitter-cldr-rb.git","ssh_url":"git@github.com:twitter/twitter-cldr-rb.git","clone_url":"https://github.com/twitter/twitter-cldr-rb.git","svn_url":"https://github.com/twitter/twitter-cldr-rb","homepage":"","size":24798,"stargazers_count":454,"watchers_count":454,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":7,"forks":48,"open_issues":7,"watchers":454,"default_branch":"master"}},"base":{"label":"twitter:master","ref":"master","sha":"53d777b4adbcc747bcbdcafd70164892cbf02f8e","user":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"repo":{"id":3541284,"name":"twitter-cldr-rb","full_name":"twitter/twitter-cldr-rb","owner":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?v=3","gravatar_id":"","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twitter/twitter-cldr-rb","description":"Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.","fork":false,"url":"https://api.github.com/repos/twitter/twitter-cldr-rb","forks_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/forks","keys_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/teams","hooks_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/hooks","issue_events_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/events{/number}","events_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/events","assignees_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/assignees{/user}","branches_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/branches{/branch}","tags_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/tags","blobs_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/languages","stargazers_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/stargazers","contributors_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/contributors","subscribers_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/subscribers","subscription_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/subscription","commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/contents/{+path}","compare_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/merges","archive_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/downloads","issues_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues{/number}","pulls_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/labels{/name}","releases_url":"https://api.github.com/repos/twitter/twitter-cldr-rb/releases{/id}","created_at":"2012-02-25T00:42:55Z","updated_at":"2015-09-28T14:13:05Z","pushed_at":"2015-09-28T16:32:39Z","git_url":"git://github.com/twitter/twitter-cldr-rb.git","ssh_url":"git@github.com:twitter/twitter-cldr-rb.git","clone_url":"https://github.com/twitter/twitter-cldr-rb.git","svn_url":"https://github.com/twitter/twitter-cldr-rb","homepage":"","size":24798,"stargazers_count":454,"watchers_count":454,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":7,"forks":48,"open_issues":7,"watchers":454,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/163"},"html":{"href":"https://github.com/twitter/twitter-cldr-rb/pull/163"},"issue":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/163"},"comments":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/issues/163/comments"},"review_comments":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/163/comments"},"review_comment":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/pulls/163/commits"},"statuses":{"href":"https://api.github.com/repos/twitter/twitter-cldr-rb/statuses/8928bcaa5e93a2302cc91f770e300226d5dba6de"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"camertron","id":575280,"avatar_url":"https://avatars.githubusercontent.com/u/575280?v=3","gravatar_id":"","url":"https://api.github.com/users/camertron","html_url":"https://github.com/camertron","followers_url":"https://api.github.com/users/camertron/followers","following_url":"https://api.github.com/users/camertron/following{/other_user}","gists_url":"https://api.github.com/users/camertron/gists{/gist_id}","starred_url":"https://api.github.com/users/camertron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camertron/subscriptions","organizations_url":"https://api.github.com/users/camertron/orgs","repos_url":"https://api.github.com/users/camertron/repos","events_url":"https://api.github.com/users/camertron/events{/privacy}","received_events_url":"https://api.github.com/users/camertron/received_events","type":"User","site_admin":false},"comments":1,"review_comments":16,"commits":21,"additions":3755,"deletions":48,"changed_files":16}}