{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/azu/react-toggle-pattern/pulls/3","id":72048490,"html_url":"https://github.com/azu/react-toggle-pattern/pull/3","diff_url":"https://github.com/azu/react-toggle-pattern/pull/3.diff","patch_url":"https://github.com/azu/react-toggle-pattern/pull/3.patch","issue_url":"https://api.github.com/repos/azu/react-toggle-pattern/issues/3","number":3,"state":"closed","locked":false,"title":"fix(component): fix unexpected match case","user":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","gravatar_id":"","url":"https://api.github.com/users/azu","html_url":"https://github.com/azu","followers_url":"https://api.github.com/users/azu/followers","following_url":"https://api.github.com/users/azu/following{/other_user}","gists_url":"https://api.github.com/users/azu/gists{/gist_id}","starred_url":"https://api.github.com/users/azu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azu/subscriptions","organizations_url":"https://api.github.com/users/azu/orgs","repos_url":"https://api.github.com/users/azu/repos","events_url":"https://api.github.com/users/azu/events{/privacy}","received_events_url":"https://api.github.com/users/azu/received_events","type":"User","site_admin":false},"body":"Check parent and child key before matching value\n\n\n        class FixedBar extends React.Component {\n            render() {\n                return <div>{this.props.children}</div>\n            }\n        }\n        const Order = {\n            High: true,\n            Middle: true,\n            Low: false\n        };\n        const wrapper = shallow(<ToggleOrPattern High={Order.High} Middle={Order.Middle} Low={Order.Low}>\n            <FixedBar High={true}>High</FixedBar>\n            <FixedBar Middle={true}>Middle</FixedBar>\n            <FixedBar Low={true}>Low</FixedBar>\n            <FixedBar Middle={true}>Middle</FixedBar>\n        </ToggleOrPattern>);\n        // remove `Low`\n        assert.equal(wrapper.html(), `<div class=\"TogglePattern ToggleOrPattern\"><div>High</div><div>Middle</div><div>Middle</div></div>`)","created_at":"2016-05-31T16:44:25Z","updated_at":"2016-05-31T16:46:15Z","closed_at":"2016-05-31T16:46:15Z","merged_at":"2016-05-31T16:46:14Z","merge_commit_sha":"f12a1bfd91443458a5723c691534e97a02678694","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/azu/react-toggle-pattern/pulls/3/commits","review_comments_url":"https://api.github.com/repos/azu/react-toggle-pattern/pulls/3/comments","review_comment_url":"https://api.github.com/repos/azu/react-toggle-pattern/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azu/react-toggle-pattern/issues/3/comments","statuses_url":"https://api.github.com/repos/azu/react-toggle-pattern/statuses/a67535c3ea7369e7eb14480dc63bffa5c68976a8","head":{"label":"azu:fix-unexpected-case","ref":"fix-unexpected-case","sha":"a67535c3ea7369e7eb14480dc63bffa5c68976a8","user":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","gravatar_id":"","url":"https://api.github.com/users/azu","html_url":"https://github.com/azu","followers_url":"https://api.github.com/users/azu/followers","following_url":"https://api.github.com/users/azu/following{/other_user}","gists_url":"https://api.github.com/users/azu/gists{/gist_id}","starred_url":"https://api.github.com/users/azu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azu/subscriptions","organizations_url":"https://api.github.com/users/azu/orgs","repos_url":"https://api.github.com/users/azu/repos","events_url":"https://api.github.com/users/azu/events{/privacy}","received_events_url":"https://api.github.com/users/azu/received_events","type":"User","site_admin":false},"repo":{"id":59034815,"name":"react-toggle-pattern","full_name":"azu/react-toggle-pattern","owner":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","gravatar_id":"","url":"https://api.github.com/users/azu","html_url":"https://github.com/azu","followers_url":"https://api.github.com/users/azu/followers","following_url":"https://api.github.com/users/azu/following{/other_user}","gists_url":"https://api.github.com/users/azu/gists{/gist_id}","starred_url":"https://api.github.com/users/azu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azu/subscriptions","organizations_url":"https://api.github.com/users/azu/orgs","repos_url":"https://api.github.com/users/azu/repos","events_url":"https://api.github.com/users/azu/events{/privacy}","received_events_url":"https://api.github.com/users/azu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/azu/react-toggle-pattern","description":"React Component that provide toggle pattern","fork":false,"url":"https://api.github.com/repos/azu/react-toggle-pattern","forks_url":"https://api.github.com/repos/azu/react-toggle-pattern/forks","keys_url":"https://api.github.com/repos/azu/react-toggle-pattern/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azu/react-toggle-pattern/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azu/react-toggle-pattern/teams","hooks_url":"https://api.github.com/repos/azu/react-toggle-pattern/hooks","issue_events_url":"https://api.github.com/repos/azu/react-toggle-pattern/issues/events{/number}","events_url":"https://api.github.com/repos/azu/react-toggle-pattern/events","assignees_url":"https://api.github.com/repos/azu/react-toggle-pattern/assignees{/user}","branches_url":"https://api.github.com/repos/azu/react-toggle-pattern/branches{/branch}","tags_url":"https://api.github.com/repos/azu/react-toggle-pattern/tags","blobs_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/refs{/sha}","trees_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azu/react-toggle-pattern/statuses/{sha}","languages_url":"https://api.github.com/repos/azu/react-toggle-pattern/languages","stargazers_url":"https://api.github.com/repos/azu/react-toggle-pattern/stargazers","contributors_url":"https://api.github.com/repos/azu/react-toggle-pattern/contributors","subscribers_url":"https://api.github.com/repos/azu/react-toggle-pattern/subscribers","subscription_url":"https://api.github.com/repos/azu/react-toggle-pattern/subscription","commits_url":"https://api.github.com/repos/azu/react-toggle-pattern/commits{/sha}","git_commits_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/commits{/sha}","comments_url":"https://api.github.com/repos/azu/react-toggle-pattern/comments{/number}","issue_comment_url":"https://api.github.com/repos/azu/react-toggle-pattern/issues/comments{/number}","contents_url":"https://api.github.com/repos/azu/react-toggle-pattern/contents/{+path}","compare_url":"https://api.github.com/repos/azu/react-toggle-pattern/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azu/react-toggle-pattern/merges","archive_url":"https://api.github.com/repos/azu/react-toggle-pattern/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azu/react-toggle-pattern/downloads","issues_url":"https://api.github.com/repos/azu/react-toggle-pattern/issues{/number}","pulls_url":"https://api.github.com/repos/azu/react-toggle-pattern/pulls{/number}","milestones_url":"https://api.github.com/repos/azu/react-toggle-pattern/milestones{/number}","notifications_url":"https://api.github.com/repos/azu/react-toggle-pattern/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azu/react-toggle-pattern/labels{/name}","releases_url":"https://api.github.com/repos/azu/react-toggle-pattern/releases{/id}","deployments_url":"https://api.github.com/repos/azu/react-toggle-pattern/deployments","created_at":"2016-05-17T15:27:47Z","updated_at":"2016-05-31T12:21:43Z","pushed_at":"2016-05-31T16:46:14Z","git_url":"git://github.com/azu/react-toggle-pattern.git","ssh_url":"git@github.com:azu/react-toggle-pattern.git","clone_url":"https://github.com/azu/react-toggle-pattern.git","svn_url":"https://github.com/azu/react-toggle-pattern","homepage":null,"size":15,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"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":4,"default_branch":"master"}},"base":{"label":"azu:master","ref":"master","sha":"0b1bc2087b1e4090fb5f3029a71167a9f7b2ecc0","user":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","gravatar_id":"","url":"https://api.github.com/users/azu","html_url":"https://github.com/azu","followers_url":"https://api.github.com/users/azu/followers","following_url":"https://api.github.com/users/azu/following{/other_user}","gists_url":"https://api.github.com/users/azu/gists{/gist_id}","starred_url":"https://api.github.com/users/azu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azu/subscriptions","organizations_url":"https://api.github.com/users/azu/orgs","repos_url":"https://api.github.com/users/azu/repos","events_url":"https://api.github.com/users/azu/events{/privacy}","received_events_url":"https://api.github.com/users/azu/received_events","type":"User","site_admin":false},"repo":{"id":59034815,"name":"react-toggle-pattern","full_name":"azu/react-toggle-pattern","owner":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","gravatar_id":"","url":"https://api.github.com/users/azu","html_url":"https://github.com/azu","followers_url":"https://api.github.com/users/azu/followers","following_url":"https://api.github.com/users/azu/following{/other_user}","gists_url":"https://api.github.com/users/azu/gists{/gist_id}","starred_url":"https://api.github.com/users/azu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azu/subscriptions","organizations_url":"https://api.github.com/users/azu/orgs","repos_url":"https://api.github.com/users/azu/repos","events_url":"https://api.github.com/users/azu/events{/privacy}","received_events_url":"https://api.github.com/users/azu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/azu/react-toggle-pattern","description":"React Component that provide toggle pattern","fork":false,"url":"https://api.github.com/repos/azu/react-toggle-pattern","forks_url":"https://api.github.com/repos/azu/react-toggle-pattern/forks","keys_url":"https://api.github.com/repos/azu/react-toggle-pattern/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azu/react-toggle-pattern/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azu/react-toggle-pattern/teams","hooks_url":"https://api.github.com/repos/azu/react-toggle-pattern/hooks","issue_events_url":"https://api.github.com/repos/azu/react-toggle-pattern/issues/events{/number}","events_url":"https://api.github.com/repos/azu/react-toggle-pattern/events","assignees_url":"https://api.github.com/repos/azu/react-toggle-pattern/assignees{/user}","branches_url":"https://api.github.com/repos/azu/react-toggle-pattern/branches{/branch}","tags_url":"https://api.github.com/repos/azu/react-toggle-pattern/tags","blobs_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/refs{/sha}","trees_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azu/react-toggle-pattern/statuses/{sha}","languages_url":"https://api.github.com/repos/azu/react-toggle-pattern/languages","stargazers_url":"https://api.github.com/repos/azu/react-toggle-pattern/stargazers","contributors_url":"https://api.github.com/repos/azu/react-toggle-pattern/contributors","subscribers_url":"https://api.github.com/repos/azu/react-toggle-pattern/subscribers","subscription_url":"https://api.github.com/repos/azu/react-toggle-pattern/subscription","commits_url":"https://api.github.com/repos/azu/react-toggle-pattern/commits{/sha}","git_commits_url":"https://api.github.com/repos/azu/react-toggle-pattern/git/commits{/sha}","comments_url":"https://api.github.com/repos/azu/react-toggle-pattern/comments{/number}","issue_comment_url":"https://api.github.com/repos/azu/react-toggle-pattern/issues/comments{/number}","contents_url":"https://api.github.com/repos/azu/react-toggle-pattern/contents/{+path}","compare_url":"https://api.github.com/repos/azu/react-toggle-pattern/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azu/react-toggle-pattern/merges","archive_url":"https://api.github.com/repos/azu/react-toggle-pattern/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azu/react-toggle-pattern/downloads","issues_url":"https://api.github.com/repos/azu/react-toggle-pattern/issues{/number}","pulls_url":"https://api.github.com/repos/azu/react-toggle-pattern/pulls{/number}","milestones_url":"https://api.github.com/repos/azu/react-toggle-pattern/milestones{/number}","notifications_url":"https://api.github.com/repos/azu/react-toggle-pattern/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azu/react-toggle-pattern/labels{/name}","releases_url":"https://api.github.com/repos/azu/react-toggle-pattern/releases{/id}","deployments_url":"https://api.github.com/repos/azu/react-toggle-pattern/deployments","created_at":"2016-05-17T15:27:47Z","updated_at":"2016-05-31T12:21:43Z","pushed_at":"2016-05-31T16:46:14Z","git_url":"git://github.com/azu/react-toggle-pattern.git","ssh_url":"git@github.com:azu/react-toggle-pattern.git","clone_url":"https://github.com/azu/react-toggle-pattern.git","svn_url":"https://github.com/azu/react-toggle-pattern","homepage":null,"size":15,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"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":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/azu/react-toggle-pattern/pulls/3"},"html":{"href":"https://github.com/azu/react-toggle-pattern/pull/3"},"issue":{"href":"https://api.github.com/repos/azu/react-toggle-pattern/issues/3"},"comments":{"href":"https://api.github.com/repos/azu/react-toggle-pattern/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/azu/react-toggle-pattern/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/azu/react-toggle-pattern/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azu/react-toggle-pattern/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/azu/react-toggle-pattern/statuses/a67535c3ea7369e7eb14480dc63bffa5c68976a8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","gravatar_id":"","url":"https://api.github.com/users/azu","html_url":"https://github.com/azu","followers_url":"https://api.github.com/users/azu/followers","following_url":"https://api.github.com/users/azu/following{/other_user}","gists_url":"https://api.github.com/users/azu/gists{/gist_id}","starred_url":"https://api.github.com/users/azu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azu/subscriptions","organizations_url":"https://api.github.com/users/azu/orgs","repos_url":"https://api.github.com/users/azu/repos","events_url":"https://api.github.com/users/azu/events{/privacy}","received_events_url":"https://api.github.com/users/azu/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":27,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"azu"}}