{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/rackt/history/pulls/4","id":40315782,"html_url":"https://github.com/rackt/history/pull/4","diff_url":"https://github.com/rackt/history/pull/4.diff","patch_url":"https://github.com/rackt/history/pull/4.patch","issue_url":"https://api.github.com/repos/rackt/history/issues/4","number":4,"state":"closed","locked":false,"title":"getCurrentLocation in Memory history fix","user":{"login":"michalkvasnicak","id":174716,"avatar_url":"https://avatars.githubusercontent.com/u/174716?v=3","gravatar_id":"","url":"https://api.github.com/users/michalkvasnicak","html_url":"https://github.com/michalkvasnicak","followers_url":"https://api.github.com/users/michalkvasnicak/followers","following_url":"https://api.github.com/users/michalkvasnicak/following{/other_user}","gists_url":"https://api.github.com/users/michalkvasnicak/gists{/gist_id}","starred_url":"https://api.github.com/users/michalkvasnicak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalkvasnicak/subscriptions","organizations_url":"https://api.github.com/users/michalkvasnicak/orgs","repos_url":"https://api.github.com/users/michalkvasnicak/repos","events_url":"https://api.github.com/users/michalkvasnicak/events{/privacy}","received_events_url":"https://api.github.com/users/michalkvasnicak/received_events","type":"User","site_admin":false},"body":"Fixes if search is undefined. `getCurrentLocation` will return `/undefined`.\r\n\r\nIt can be reproduced by calling just:\r\n\r\n`createMemoryHistory()` where entries are set to `[/]` and then are internally transformed to `[{ pathname: '/', key: 'something' }]`.","created_at":"2015-07-19T21:54:29Z","updated_at":"2015-07-20T00:05:11Z","closed_at":"2015-07-20T00:05:11Z","merged_at":"2015-07-20T00:05:11Z","merge_commit_sha":"e880daf4d5a4d30bb61a5498275ca0c6215df6e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rackt/history/pulls/4/commits","review_comments_url":"https://api.github.com/repos/rackt/history/pulls/4/comments","review_comment_url":"https://api.github.com/repos/rackt/history/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackt/history/issues/4/comments","statuses_url":"https://api.github.com/repos/rackt/history/statuses/d9b10b861df20f5c5eeef12be77c9bce689b66c2","head":{"label":"michalkvasnicak:memory-history-patch","ref":"memory-history-patch","sha":"d9b10b861df20f5c5eeef12be77c9bce689b66c2","user":{"login":"michalkvasnicak","id":174716,"avatar_url":"https://avatars.githubusercontent.com/u/174716?v=3","gravatar_id":"","url":"https://api.github.com/users/michalkvasnicak","html_url":"https://github.com/michalkvasnicak","followers_url":"https://api.github.com/users/michalkvasnicak/followers","following_url":"https://api.github.com/users/michalkvasnicak/following{/other_user}","gists_url":"https://api.github.com/users/michalkvasnicak/gists{/gist_id}","starred_url":"https://api.github.com/users/michalkvasnicak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalkvasnicak/subscriptions","organizations_url":"https://api.github.com/users/michalkvasnicak/orgs","repos_url":"https://api.github.com/users/michalkvasnicak/repos","events_url":"https://api.github.com/users/michalkvasnicak/events{/privacy}","received_events_url":"https://api.github.com/users/michalkvasnicak/received_events","type":"User","site_admin":false},"repo":{"id":39340646,"name":"history","full_name":"michalkvasnicak/history","owner":{"login":"michalkvasnicak","id":174716,"avatar_url":"https://avatars.githubusercontent.com/u/174716?v=3","gravatar_id":"","url":"https://api.github.com/users/michalkvasnicak","html_url":"https://github.com/michalkvasnicak","followers_url":"https://api.github.com/users/michalkvasnicak/followers","following_url":"https://api.github.com/users/michalkvasnicak/following{/other_user}","gists_url":"https://api.github.com/users/michalkvasnicak/gists{/gist_id}","starred_url":"https://api.github.com/users/michalkvasnicak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalkvasnicak/subscriptions","organizations_url":"https://api.github.com/users/michalkvasnicak/orgs","repos_url":"https://api.github.com/users/michalkvasnicak/repos","events_url":"https://api.github.com/users/michalkvasnicak/events{/privacy}","received_events_url":"https://api.github.com/users/michalkvasnicak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michalkvasnicak/history","description":"A minimal, functional history implementation","fork":true,"url":"https://api.github.com/repos/michalkvasnicak/history","forks_url":"https://api.github.com/repos/michalkvasnicak/history/forks","keys_url":"https://api.github.com/repos/michalkvasnicak/history/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michalkvasnicak/history/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michalkvasnicak/history/teams","hooks_url":"https://api.github.com/repos/michalkvasnicak/history/hooks","issue_events_url":"https://api.github.com/repos/michalkvasnicak/history/issues/events{/number}","events_url":"https://api.github.com/repos/michalkvasnicak/history/events","assignees_url":"https://api.github.com/repos/michalkvasnicak/history/assignees{/user}","branches_url":"https://api.github.com/repos/michalkvasnicak/history/branches{/branch}","tags_url":"https://api.github.com/repos/michalkvasnicak/history/tags","blobs_url":"https://api.github.com/repos/michalkvasnicak/history/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michalkvasnicak/history/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michalkvasnicak/history/git/refs{/sha}","trees_url":"https://api.github.com/repos/michalkvasnicak/history/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michalkvasnicak/history/statuses/{sha}","languages_url":"https://api.github.com/repos/michalkvasnicak/history/languages","stargazers_url":"https://api.github.com/repos/michalkvasnicak/history/stargazers","contributors_url":"https://api.github.com/repos/michalkvasnicak/history/contributors","subscribers_url":"https://api.github.com/repos/michalkvasnicak/history/subscribers","subscription_url":"https://api.github.com/repos/michalkvasnicak/history/subscription","commits_url":"https://api.github.com/repos/michalkvasnicak/history/commits{/sha}","git_commits_url":"https://api.github.com/repos/michalkvasnicak/history/git/commits{/sha}","comments_url":"https://api.github.com/repos/michalkvasnicak/history/comments{/number}","issue_comment_url":"https://api.github.com/repos/michalkvasnicak/history/issues/comments{/number}","contents_url":"https://api.github.com/repos/michalkvasnicak/history/contents/{+path}","compare_url":"https://api.github.com/repos/michalkvasnicak/history/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michalkvasnicak/history/merges","archive_url":"https://api.github.com/repos/michalkvasnicak/history/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michalkvasnicak/history/downloads","issues_url":"https://api.github.com/repos/michalkvasnicak/history/issues{/number}","pulls_url":"https://api.github.com/repos/michalkvasnicak/history/pulls{/number}","milestones_url":"https://api.github.com/repos/michalkvasnicak/history/milestones{/number}","notifications_url":"https://api.github.com/repos/michalkvasnicak/history/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michalkvasnicak/history/labels{/name}","releases_url":"https://api.github.com/repos/michalkvasnicak/history/releases{/id}","created_at":"2015-07-19T16:34:06Z","updated_at":"2015-07-19T16:34:07Z","pushed_at":"2015-07-19T21:51:21Z","git_url":"git://github.com/michalkvasnicak/history.git","ssh_url":"git@github.com:michalkvasnicak/history.git","clone_url":"https://github.com/michalkvasnicak/history.git","svn_url":"https://github.com/michalkvasnicak/history","homepage":"","size":0,"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":"rackt:master","ref":"master","sha":"d66865f62a94296b5fb2d7a37a36339f665a2db2","user":{"login":"rackt","id":8261421,"avatar_url":"https://avatars.githubusercontent.com/u/8261421?v=3","gravatar_id":"","url":"https://api.github.com/users/rackt","html_url":"https://github.com/rackt","followers_url":"https://api.github.com/users/rackt/followers","following_url":"https://api.github.com/users/rackt/following{/other_user}","gists_url":"https://api.github.com/users/rackt/gists{/gist_id}","starred_url":"https://api.github.com/users/rackt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackt/subscriptions","organizations_url":"https://api.github.com/users/rackt/orgs","repos_url":"https://api.github.com/users/rackt/repos","events_url":"https://api.github.com/users/rackt/events{/privacy}","received_events_url":"https://api.github.com/users/rackt/received_events","type":"Organization","site_admin":false},"repo":{"id":39316027,"name":"history","full_name":"rackt/history","owner":{"login":"rackt","id":8261421,"avatar_url":"https://avatars.githubusercontent.com/u/8261421?v=3","gravatar_id":"","url":"https://api.github.com/users/rackt","html_url":"https://github.com/rackt","followers_url":"https://api.github.com/users/rackt/followers","following_url":"https://api.github.com/users/rackt/following{/other_user}","gists_url":"https://api.github.com/users/rackt/gists{/gist_id}","starred_url":"https://api.github.com/users/rackt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackt/subscriptions","organizations_url":"https://api.github.com/users/rackt/orgs","repos_url":"https://api.github.com/users/rackt/repos","events_url":"https://api.github.com/users/rackt/events{/privacy}","received_events_url":"https://api.github.com/users/rackt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackt/history","description":"A minimal, functional history implementation","fork":false,"url":"https://api.github.com/repos/rackt/history","forks_url":"https://api.github.com/repos/rackt/history/forks","keys_url":"https://api.github.com/repos/rackt/history/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackt/history/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackt/history/teams","hooks_url":"https://api.github.com/repos/rackt/history/hooks","issue_events_url":"https://api.github.com/repos/rackt/history/issues/events{/number}","events_url":"https://api.github.com/repos/rackt/history/events","assignees_url":"https://api.github.com/repos/rackt/history/assignees{/user}","branches_url":"https://api.github.com/repos/rackt/history/branches{/branch}","tags_url":"https://api.github.com/repos/rackt/history/tags","blobs_url":"https://api.github.com/repos/rackt/history/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackt/history/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackt/history/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackt/history/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackt/history/statuses/{sha}","languages_url":"https://api.github.com/repos/rackt/history/languages","stargazers_url":"https://api.github.com/repos/rackt/history/stargazers","contributors_url":"https://api.github.com/repos/rackt/history/contributors","subscribers_url":"https://api.github.com/repos/rackt/history/subscribers","subscription_url":"https://api.github.com/repos/rackt/history/subscription","commits_url":"https://api.github.com/repos/rackt/history/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackt/history/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackt/history/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackt/history/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackt/history/contents/{+path}","compare_url":"https://api.github.com/repos/rackt/history/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackt/history/merges","archive_url":"https://api.github.com/repos/rackt/history/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackt/history/downloads","issues_url":"https://api.github.com/repos/rackt/history/issues{/number}","pulls_url":"https://api.github.com/repos/rackt/history/pulls{/number}","milestones_url":"https://api.github.com/repos/rackt/history/milestones{/number}","notifications_url":"https://api.github.com/repos/rackt/history/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackt/history/labels{/name}","releases_url":"https://api.github.com/repos/rackt/history/releases{/id}","created_at":"2015-07-18T23:31:47Z","updated_at":"2015-07-19T19:17:17Z","pushed_at":"2015-07-20T00:05:11Z","git_url":"git://github.com/rackt/history.git","ssh_url":"git@github.com:rackt/history.git","clone_url":"https://github.com/rackt/history.git","svn_url":"https://github.com/rackt/history","homepage":"","size":0,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackt/history/pulls/4"},"html":{"href":"https://github.com/rackt/history/pull/4"},"issue":{"href":"https://api.github.com/repos/rackt/history/issues/4"},"comments":{"href":"https://api.github.com/repos/rackt/history/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/rackt/history/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/rackt/history/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackt/history/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/rackt/history/statuses/d9b10b861df20f5c5eeef12be77c9bce689b66c2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mjackson","id":92839,"avatar_url":"https://avatars.githubusercontent.com/u/92839?v=3","gravatar_id":"","url":"https://api.github.com/users/mjackson","html_url":"https://github.com/mjackson","followers_url":"https://api.github.com/users/mjackson/followers","following_url":"https://api.github.com/users/mjackson/following{/other_user}","gists_url":"https://api.github.com/users/mjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/mjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjackson/subscriptions","organizations_url":"https://api.github.com/users/mjackson/orgs","repos_url":"https://api.github.com/users/mjackson/repos","events_url":"https://api.github.com/users/mjackson/events{/privacy}","received_events_url":"https://api.github.com/users/mjackson/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}