{"action":"created","comment":{"url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/comments/23814004","id":23814004,"diff_hunk":"@@ -4,10 +4,10 @@ class LocaleIdentifier\n \n     # Convert :\"en-US-x-12\" to 'en-US'\n     def initialize(code)\n-      @locale_id = if code.start_with?('en-US') #default locale\n-        'en-US'\n-      else\n-        code.sub(/-x-.*/, '').downcase\n+      @locale_id = if code.start_with?('en-US') # default locale\n+                     'en-US'\n+                   else\n+                     code.sub(/-x-.*/, '').downcase\n       end","path":"lib/zendesk_apps_tools/locale_identifier.rb","position":12,"original_position":12,"commit_id":"04f3fd0029286747e9d5420705403c7f2759fa37","original_commit_id":"04f3fd0029286747e9d5420705403c7f2759fa37","user":{"login":"sandlerr","id":5535625,"avatar_url":"https://avatars.githubusercontent.com/u/5535625?v=3","gravatar_id":"","url":"https://api.github.com/users/sandlerr","html_url":"https://github.com/sandlerr","followers_url":"https://api.github.com/users/sandlerr/followers","following_url":"https://api.github.com/users/sandlerr/following{/other_user}","gists_url":"https://api.github.com/users/sandlerr/gists{/gist_id}","starred_url":"https://api.github.com/users/sandlerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandlerr/subscriptions","organizations_url":"https://api.github.com/users/sandlerr/orgs","repos_url":"https://api.github.com/users/sandlerr/repos","events_url":"https://api.github.com/users/sandlerr/events{/privacy}","received_events_url":"https://api.github.com/users/sandlerr/received_events","type":"User","site_admin":false},"body":"so how come `end` doesn't get all that gross whitespace?","created_at":"2015-01-29T23:54:20Z","updated_at":"2015-01-29T23:54:20Z","html_url":"https://github.com/zendesk/zendesk_apps_tools/pull/77#discussion_r23814004","pull_request_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/comments/23814004"},"html":{"href":"https://github.com/zendesk/zendesk_apps_tools/pull/77#discussion_r23814004"},"pull_request":{"href":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/77","id":28326378,"html_url":"https://github.com/zendesk/zendesk_apps_tools/pull/77","diff_url":"https://github.com/zendesk/zendesk_apps_tools/pull/77.diff","patch_url":"https://github.com/zendesk/zendesk_apps_tools/pull/77.patch","issue_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues/77","number":77,"state":"open","locked":false,"title":"Code clean up","user":{"login":"princemaple","id":1329716,"avatar_url":"https://avatars.githubusercontent.com/u/1329716?v=3","gravatar_id":"","url":"https://api.github.com/users/princemaple","html_url":"https://github.com/princemaple","followers_url":"https://api.github.com/users/princemaple/followers","following_url":"https://api.github.com/users/princemaple/following{/other_user}","gists_url":"https://api.github.com/users/princemaple/gists{/gist_id}","starred_url":"https://api.github.com/users/princemaple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princemaple/subscriptions","organizations_url":"https://api.github.com/users/princemaple/orgs","repos_url":"https://api.github.com/users/princemaple/repos","events_url":"https://api.github.com/users/princemaple/events{/privacy}","received_events_url":"https://api.github.com/users/princemaple/received_events","type":"User","site_admin":false},"body":":koala: \r\n\r\nSee commit messages\r\n\r\nP.S. I have read through the auto changes\r\n\r\n/cc @zendesk/quokka \r\n\r\n### RIsks\r\n- N/A","created_at":"2015-01-29T23:49:38Z","updated_at":"2015-01-29T23:54:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b83823f02674cbd1f9e9aa648db457544f0d6f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/77/commits","review_comments_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/77/comments","review_comment_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues/77/comments","statuses_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/statuses/04f3fd0029286747e9d5420705403c7f2759fa37","head":{"label":"zendesk:po/cop","ref":"po/cop","sha":"04f3fd0029286747e9d5420705403c7f2759fa37","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":6392706,"name":"zendesk_apps_tools","full_name":"zendesk/zendesk_apps_tools","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/zendesk_apps_tools","description":"","fork":false,"url":"https://api.github.com/repos/zendesk/zendesk_apps_tools","forks_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/forks","keys_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/teams","hooks_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/hooks","issue_events_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/events","assignees_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/tags","blobs_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/languages","stargazers_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/stargazers","contributors_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/contributors","subscribers_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/subscribers","subscription_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/subscription","commits_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues/comments/{number}","contents_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/merges","archive_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/downloads","issues_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/releases{/id}","created_at":"2012-10-25T18:57:26Z","updated_at":"2015-01-04T21:44:24Z","pushed_at":"2015-01-29T23:48:32Z","git_url":"git://github.com/zendesk/zendesk_apps_tools.git","ssh_url":"git@github.com:zendesk/zendesk_apps_tools.git","clone_url":"https://github.com/zendesk/zendesk_apps_tools.git","svn_url":"https://github.com/zendesk/zendesk_apps_tools","homepage":null,"size":3158,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":8,"default_branch":"master"}},"base":{"label":"zendesk:master","ref":"master","sha":"210e3361859c8a3ae670a0b53aacbabe4a385260","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":6392706,"name":"zendesk_apps_tools","full_name":"zendesk/zendesk_apps_tools","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/zendesk_apps_tools","description":"","fork":false,"url":"https://api.github.com/repos/zendesk/zendesk_apps_tools","forks_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/forks","keys_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/teams","hooks_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/hooks","issue_events_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/events","assignees_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/tags","blobs_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/languages","stargazers_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/stargazers","contributors_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/contributors","subscribers_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/subscribers","subscription_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/subscription","commits_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues/comments/{number}","contents_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/merges","archive_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/downloads","issues_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/zendesk_apps_tools/releases{/id}","created_at":"2012-10-25T18:57:26Z","updated_at":"2015-01-04T21:44:24Z","pushed_at":"2015-01-29T23:48:32Z","git_url":"git://github.com/zendesk/zendesk_apps_tools.git","ssh_url":"git@github.com:zendesk/zendesk_apps_tools.git","clone_url":"https://github.com/zendesk/zendesk_apps_tools.git","svn_url":"https://github.com/zendesk/zendesk_apps_tools","homepage":null,"size":3158,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/77"},"html":{"href":"https://github.com/zendesk/zendesk_apps_tools/pull/77"},"issue":{"href":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues/77"},"comments":{"href":"https://api.github.com/repos/zendesk/zendesk_apps_tools/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/zendesk/zendesk_apps_tools/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/zendesk/zendesk_apps_tools/statuses/04f3fd0029286747e9d5420705403c7f2759fa37"}}}}