{"action":"opened","number":96,"pull_request":{"url":"https://api.github.com/repos/SlexAxton/messageformat.js/pulls/96","id":32411085,"html_url":"https://github.com/SlexAxton/messageformat.js/pull/96","diff_url":"https://github.com/SlexAxton/messageformat.js/pull/96.diff","patch_url":"https://github.com/SlexAxton/messageformat.js/pull/96.patch","issue_url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/96","number":96,"state":"open","locked":false,"title":"more restrictive parsing of PluralForm and SelectOrdinalForm","user":{"login":"vogelsgesang","id":6820896,"avatar_url":"https://avatars.githubusercontent.com/u/6820896?v=3","gravatar_id":"","url":"https://api.github.com/users/vogelsgesang","html_url":"https://github.com/vogelsgesang","followers_url":"https://api.github.com/users/vogelsgesang/followers","following_url":"https://api.github.com/users/vogelsgesang/following{/other_user}","gists_url":"https://api.github.com/users/vogelsgesang/gists{/gist_id}","starred_url":"https://api.github.com/users/vogelsgesang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogelsgesang/subscriptions","organizations_url":"https://api.github.com/users/vogelsgesang/orgs","repos_url":"https://api.github.com/users/vogelsgesang/repos","events_url":"https://api.github.com/users/vogelsgesang/events{/privacy}","received_events_url":"https://api.github.com/users/vogelsgesang/received_events","type":"User","site_admin":false},"body":"As mentioned in https://github.com/SlexAxton/messageformat.js/issues/95#issuecomment-88444240 `plural` and `selectordinal` could be used as a replacement for `select`.\r\n\r\nThis pull request removes this (unintentional) flexibility by adjusting the parser grammar to only accept the known PluralForm keys.\r\n\r\nI had to touch some unrelated test cases which were relying lax parsing behaviour.","created_at":"2015-04-01T11:44:22Z","updated_at":"2015-04-01T11:44:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SlexAxton/messageformat.js/pulls/96/commits","review_comments_url":"https://api.github.com/repos/SlexAxton/messageformat.js/pulls/96/comments","review_comment_url":"https://api.github.com/repos/SlexAxton/messageformat.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/96/comments","statuses_url":"https://api.github.com/repos/SlexAxton/messageformat.js/statuses/99cccf3423e4de7459626270ae5d8e6572b92954","head":{"label":"vogelsgesang:restrictive-plural-parsing","ref":"restrictive-plural-parsing","sha":"99cccf3423e4de7459626270ae5d8e6572b92954","user":{"login":"vogelsgesang","id":6820896,"avatar_url":"https://avatars.githubusercontent.com/u/6820896?v=3","gravatar_id":"","url":"https://api.github.com/users/vogelsgesang","html_url":"https://github.com/vogelsgesang","followers_url":"https://api.github.com/users/vogelsgesang/followers","following_url":"https://api.github.com/users/vogelsgesang/following{/other_user}","gists_url":"https://api.github.com/users/vogelsgesang/gists{/gist_id}","starred_url":"https://api.github.com/users/vogelsgesang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogelsgesang/subscriptions","organizations_url":"https://api.github.com/users/vogelsgesang/orgs","repos_url":"https://api.github.com/users/vogelsgesang/repos","events_url":"https://api.github.com/users/vogelsgesang/events{/privacy}","received_events_url":"https://api.github.com/users/vogelsgesang/received_events","type":"User","site_admin":false},"repo":{"id":29178977,"name":"messageformat.js","full_name":"vogelsgesang/messageformat.js","owner":{"login":"vogelsgesang","id":6820896,"avatar_url":"https://avatars.githubusercontent.com/u/6820896?v=3","gravatar_id":"","url":"https://api.github.com/users/vogelsgesang","html_url":"https://github.com/vogelsgesang","followers_url":"https://api.github.com/users/vogelsgesang/followers","following_url":"https://api.github.com/users/vogelsgesang/following{/other_user}","gists_url":"https://api.github.com/users/vogelsgesang/gists{/gist_id}","starred_url":"https://api.github.com/users/vogelsgesang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogelsgesang/subscriptions","organizations_url":"https://api.github.com/users/vogelsgesang/orgs","repos_url":"https://api.github.com/users/vogelsgesang/repos","events_url":"https://api.github.com/users/vogelsgesang/events{/privacy}","received_events_url":"https://api.github.com/users/vogelsgesang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vogelsgesang/messageformat.js","description":"ICU MessageFormat for Javascript - i18n Plural and Gender Capable Messages","fork":true,"url":"https://api.github.com/repos/vogelsgesang/messageformat.js","forks_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/forks","keys_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/teams","hooks_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/hooks","issue_events_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/issues/events{/number}","events_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/events","assignees_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/assignees{/user}","branches_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/branches{/branch}","tags_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/tags","blobs_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/statuses/{sha}","languages_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/languages","stargazers_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/stargazers","contributors_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/contributors","subscribers_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/subscribers","subscription_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/subscription","commits_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/contents/{+path}","compare_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/merges","archive_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/downloads","issues_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/issues{/number}","pulls_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/pulls{/number}","milestones_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/milestones{/number}","notifications_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/labels{/name}","releases_url":"https://api.github.com/repos/vogelsgesang/messageformat.js/releases{/id}","created_at":"2015-01-13T07:56:23Z","updated_at":"2015-04-01T09:49:05Z","pushed_at":"2015-04-01T11:29:57Z","git_url":"git://github.com/vogelsgesang/messageformat.js.git","ssh_url":"git@github.com:vogelsgesang/messageformat.js.git","clone_url":"https://github.com/vogelsgesang/messageformat.js.git","svn_url":"https://github.com/vogelsgesang/messageformat.js","homepage":"","size":1087,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SlexAxton:master","ref":"master","sha":"67fc66711e21e1fdf2fb478a6d5aef5bde84b403","user":{"login":"SlexAxton","id":96554,"avatar_url":"https://avatars.githubusercontent.com/u/96554?v=3","gravatar_id":"","url":"https://api.github.com/users/SlexAxton","html_url":"https://github.com/SlexAxton","followers_url":"https://api.github.com/users/SlexAxton/followers","following_url":"https://api.github.com/users/SlexAxton/following{/other_user}","gists_url":"https://api.github.com/users/SlexAxton/gists{/gist_id}","starred_url":"https://api.github.com/users/SlexAxton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SlexAxton/subscriptions","organizations_url":"https://api.github.com/users/SlexAxton/orgs","repos_url":"https://api.github.com/users/SlexAxton/repos","events_url":"https://api.github.com/users/SlexAxton/events{/privacy}","received_events_url":"https://api.github.com/users/SlexAxton/received_events","type":"User","site_admin":false},"repo":{"id":3264770,"name":"messageformat.js","full_name":"SlexAxton/messageformat.js","owner":{"login":"SlexAxton","id":96554,"avatar_url":"https://avatars.githubusercontent.com/u/96554?v=3","gravatar_id":"","url":"https://api.github.com/users/SlexAxton","html_url":"https://github.com/SlexAxton","followers_url":"https://api.github.com/users/SlexAxton/followers","following_url":"https://api.github.com/users/SlexAxton/following{/other_user}","gists_url":"https://api.github.com/users/SlexAxton/gists{/gist_id}","starred_url":"https://api.github.com/users/SlexAxton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SlexAxton/subscriptions","organizations_url":"https://api.github.com/users/SlexAxton/orgs","repos_url":"https://api.github.com/users/SlexAxton/repos","events_url":"https://api.github.com/users/SlexAxton/events{/privacy}","received_events_url":"https://api.github.com/users/SlexAxton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SlexAxton/messageformat.js","description":"ICU MessageFormat for Javascript - i18n Plural and Gender Capable Messages","fork":false,"url":"https://api.github.com/repos/SlexAxton/messageformat.js","forks_url":"https://api.github.com/repos/SlexAxton/messageformat.js/forks","keys_url":"https://api.github.com/repos/SlexAxton/messageformat.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SlexAxton/messageformat.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SlexAxton/messageformat.js/teams","hooks_url":"https://api.github.com/repos/SlexAxton/messageformat.js/hooks","issue_events_url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/events{/number}","events_url":"https://api.github.com/repos/SlexAxton/messageformat.js/events","assignees_url":"https://api.github.com/repos/SlexAxton/messageformat.js/assignees{/user}","branches_url":"https://api.github.com/repos/SlexAxton/messageformat.js/branches{/branch}","tags_url":"https://api.github.com/repos/SlexAxton/messageformat.js/tags","blobs_url":"https://api.github.com/repos/SlexAxton/messageformat.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SlexAxton/messageformat.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SlexAxton/messageformat.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/SlexAxton/messageformat.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SlexAxton/messageformat.js/statuses/{sha}","languages_url":"https://api.github.com/repos/SlexAxton/messageformat.js/languages","stargazers_url":"https://api.github.com/repos/SlexAxton/messageformat.js/stargazers","contributors_url":"https://api.github.com/repos/SlexAxton/messageformat.js/contributors","subscribers_url":"https://api.github.com/repos/SlexAxton/messageformat.js/subscribers","subscription_url":"https://api.github.com/repos/SlexAxton/messageformat.js/subscription","commits_url":"https://api.github.com/repos/SlexAxton/messageformat.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/SlexAxton/messageformat.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/SlexAxton/messageformat.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/SlexAxton/messageformat.js/contents/{+path}","compare_url":"https://api.github.com/repos/SlexAxton/messageformat.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SlexAxton/messageformat.js/merges","archive_url":"https://api.github.com/repos/SlexAxton/messageformat.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SlexAxton/messageformat.js/downloads","issues_url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues{/number}","pulls_url":"https://api.github.com/repos/SlexAxton/messageformat.js/pulls{/number}","milestones_url":"https://api.github.com/repos/SlexAxton/messageformat.js/milestones{/number}","notifications_url":"https://api.github.com/repos/SlexAxton/messageformat.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SlexAxton/messageformat.js/labels{/name}","releases_url":"https://api.github.com/repos/SlexAxton/messageformat.js/releases{/id}","created_at":"2012-01-25T12:56:20Z","updated_at":"2015-04-01T10:20:02Z","pushed_at":"2015-04-01T11:44:23Z","git_url":"git://github.com/SlexAxton/messageformat.js.git","ssh_url":"git@github.com:SlexAxton/messageformat.js.git","clone_url":"https://github.com/SlexAxton/messageformat.js.git","svn_url":"https://github.com/SlexAxton/messageformat.js","homepage":"","size":1574,"stargazers_count":717,"watchers_count":717,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":9,"forks":61,"open_issues":9,"watchers":717,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SlexAxton/messageformat.js/pulls/96"},"html":{"href":"https://github.com/SlexAxton/messageformat.js/pull/96"},"issue":{"href":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/96"},"comments":{"href":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/SlexAxton/messageformat.js/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/SlexAxton/messageformat.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SlexAxton/messageformat.js/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/SlexAxton/messageformat.js/statuses/99cccf3423e4de7459626270ae5d8e6572b92954"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":163,"deletions":89,"changed_files":3}}