{"action":"closed","number":60,"pull_request":{"url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls/60","id":222684220,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjg0MjIw","html_url":"https://github.com/pointfreeco/swift-snapshot-testing/pull/60","diff_url":"https://github.com/pointfreeco/swift-snapshot-testing/pull/60.diff","patch_url":"https://github.com/pointfreeco/swift-snapshot-testing/pull/60.patch","issue_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues/60","number":60,"state":"closed","locked":false,"title":"Some assorted fixes","user":{"login":"stephencelis","id":658,"node_id":"MDQ6VXNlcjY1OA==","avatar_url":"https://avatars0.githubusercontent.com/u/658?v=4","gravatar_id":"","url":"https://api.github.com/users/stephencelis","html_url":"https://github.com/stephencelis","followers_url":"https://api.github.com/users/stephencelis/followers","following_url":"https://api.github.com/users/stephencelis/following{/other_user}","gists_url":"https://api.github.com/users/stephencelis/gists{/gist_id}","starred_url":"https://api.github.com/users/stephencelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephencelis/subscriptions","organizations_url":"https://api.github.com/users/stephencelis/orgs","repos_url":"https://api.github.com/users/stephencelis/repos","events_url":"https://api.github.com/users/stephencelis/events{/privacy}","received_events_url":"https://api.github.com/users/stephencelis/received_events","type":"User","site_admin":false},"body":"  - More reliable `NSImage` serialization (PDF seemed to sometimes create incomparable images).\r\n\r\n  - Faster `NSImage` comparison (for whatever reason, the pixel comparison slowed down a ton for me, so using `memcmp` now before falling back to it).\r\n\r\n  - Rename `Any` overload to `assertSnapshot(matchingAny:)` (was too easy for bugs to sneak in based on the assumption that a default strategy would be picked).\r\n\r\n  - Fix `WKWebView` synchronous snapshots (we resize and re-snap a bunch of web views in the Point-Free project, so they were hitting a `fatalError()`).\r\n\r\nTODO:\r\n\r\n- [x] Apply same performance tweaks to UIImage comparison.","created_at":"2018-10-14T00:12:32Z","updated_at":"2018-10-16T02:48:12Z","closed_at":"2018-10-16T02:48:12Z","merged_at":"2018-10-16T02:48:12Z","merge_commit_sha":"2b9c39a045f90873a816a921230c2d9b107c61fc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls/60/commits","review_comments_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls/60/comments","review_comment_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues/60/comments","statuses_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/statuses/6532d3587d359d3b0cc42ec1af2d8f1741233f98","head":{"label":"pointfreeco:fixes","ref":"fixes","sha":"6532d3587d359d3b0cc42ec1af2d8f1741233f98","user":{"login":"pointfreeco","id":29466629,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDY2NjI5","avatar_url":"https://avatars1.githubusercontent.com/u/29466629?v=4","gravatar_id":"","url":"https://api.github.com/users/pointfreeco","html_url":"https://github.com/pointfreeco","followers_url":"https://api.github.com/users/pointfreeco/followers","following_url":"https://api.github.com/users/pointfreeco/following{/other_user}","gists_url":"https://api.github.com/users/pointfreeco/gists{/gist_id}","starred_url":"https://api.github.com/users/pointfreeco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointfreeco/subscriptions","organizations_url":"https://api.github.com/users/pointfreeco/orgs","repos_url":"https://api.github.com/users/pointfreeco/repos","events_url":"https://api.github.com/users/pointfreeco/events{/privacy}","received_events_url":"https://api.github.com/users/pointfreeco/received_events","type":"Organization","site_admin":false},"repo":{"id":96496250,"node_id":"MDEwOlJlcG9zaXRvcnk5NjQ5NjI1MA==","name":"swift-snapshot-testing","full_name":"pointfreeco/swift-snapshot-testing","private":false,"owner":{"login":"pointfreeco","id":29466629,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDY2NjI5","avatar_url":"https://avatars1.githubusercontent.com/u/29466629?v=4","gravatar_id":"","url":"https://api.github.com/users/pointfreeco","html_url":"https://github.com/pointfreeco","followers_url":"https://api.github.com/users/pointfreeco/followers","following_url":"https://api.github.com/users/pointfreeco/following{/other_user}","gists_url":"https://api.github.com/users/pointfreeco/gists{/gist_id}","starred_url":"https://api.github.com/users/pointfreeco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointfreeco/subscriptions","organizations_url":"https://api.github.com/users/pointfreeco/orgs","repos_url":"https://api.github.com/users/pointfreeco/repos","events_url":"https://api.github.com/users/pointfreeco/events{/privacy}","received_events_url":"https://api.github.com/users/pointfreeco/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pointfreeco/swift-snapshot-testing","description":"📸 Tests that save and assert against reference data.","fork":false,"url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing","forks_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/forks","keys_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/teams","hooks_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/hooks","issue_events_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues/events{/number}","events_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/events","assignees_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/assignees{/user}","branches_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/branches{/branch}","tags_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/tags","blobs_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/refs{/sha}","trees_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/statuses/{sha}","languages_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/languages","stargazers_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/stargazers","contributors_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/contributors","subscribers_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/subscribers","subscription_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/subscription","commits_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/commits{/sha}","git_commits_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/commits{/sha}","comments_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/comments{/number}","issue_comment_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues/comments{/number}","contents_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/contents/{+path}","compare_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/merges","archive_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/downloads","issues_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues{/number}","pulls_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls{/number}","milestones_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/milestones{/number}","notifications_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/labels{/name}","releases_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/releases{/id}","deployments_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/deployments","created_at":"2017-07-07T03:38:51Z","updated_at":"2018-10-13T10:03:55Z","pushed_at":"2018-10-16T02:48:12Z","git_url":"git://github.com/pointfreeco/swift-snapshot-testing.git","ssh_url":"git@github.com:pointfreeco/swift-snapshot-testing.git","clone_url":"https://github.com/pointfreeco/swift-snapshot-testing.git","svn_url":"https://github.com/pointfreeco/swift-snapshot-testing","homepage":"","size":21282,"stargazers_count":128,"watchers_count":128,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":6,"watchers":128,"default_branch":"master"}},"base":{"label":"pointfreeco:master","ref":"master","sha":"8f9182d9389907bbd3c88be952050cdd3d19a36f","user":{"login":"pointfreeco","id":29466629,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDY2NjI5","avatar_url":"https://avatars1.githubusercontent.com/u/29466629?v=4","gravatar_id":"","url":"https://api.github.com/users/pointfreeco","html_url":"https://github.com/pointfreeco","followers_url":"https://api.github.com/users/pointfreeco/followers","following_url":"https://api.github.com/users/pointfreeco/following{/other_user}","gists_url":"https://api.github.com/users/pointfreeco/gists{/gist_id}","starred_url":"https://api.github.com/users/pointfreeco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointfreeco/subscriptions","organizations_url":"https://api.github.com/users/pointfreeco/orgs","repos_url":"https://api.github.com/users/pointfreeco/repos","events_url":"https://api.github.com/users/pointfreeco/events{/privacy}","received_events_url":"https://api.github.com/users/pointfreeco/received_events","type":"Organization","site_admin":false},"repo":{"id":96496250,"node_id":"MDEwOlJlcG9zaXRvcnk5NjQ5NjI1MA==","name":"swift-snapshot-testing","full_name":"pointfreeco/swift-snapshot-testing","private":false,"owner":{"login":"pointfreeco","id":29466629,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDY2NjI5","avatar_url":"https://avatars1.githubusercontent.com/u/29466629?v=4","gravatar_id":"","url":"https://api.github.com/users/pointfreeco","html_url":"https://github.com/pointfreeco","followers_url":"https://api.github.com/users/pointfreeco/followers","following_url":"https://api.github.com/users/pointfreeco/following{/other_user}","gists_url":"https://api.github.com/users/pointfreeco/gists{/gist_id}","starred_url":"https://api.github.com/users/pointfreeco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointfreeco/subscriptions","organizations_url":"https://api.github.com/users/pointfreeco/orgs","repos_url":"https://api.github.com/users/pointfreeco/repos","events_url":"https://api.github.com/users/pointfreeco/events{/privacy}","received_events_url":"https://api.github.com/users/pointfreeco/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pointfreeco/swift-snapshot-testing","description":"📸 Tests that save and assert against reference data.","fork":false,"url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing","forks_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/forks","keys_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/teams","hooks_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/hooks","issue_events_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues/events{/number}","events_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/events","assignees_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/assignees{/user}","branches_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/branches{/branch}","tags_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/tags","blobs_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/refs{/sha}","trees_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/statuses/{sha}","languages_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/languages","stargazers_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/stargazers","contributors_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/contributors","subscribers_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/subscribers","subscription_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/subscription","commits_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/commits{/sha}","git_commits_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/git/commits{/sha}","comments_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/comments{/number}","issue_comment_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues/comments{/number}","contents_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/contents/{+path}","compare_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/merges","archive_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/downloads","issues_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues{/number}","pulls_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls{/number}","milestones_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/milestones{/number}","notifications_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/labels{/name}","releases_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/releases{/id}","deployments_url":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/deployments","created_at":"2017-07-07T03:38:51Z","updated_at":"2018-10-13T10:03:55Z","pushed_at":"2018-10-16T02:48:12Z","git_url":"git://github.com/pointfreeco/swift-snapshot-testing.git","ssh_url":"git@github.com:pointfreeco/swift-snapshot-testing.git","clone_url":"https://github.com/pointfreeco/swift-snapshot-testing.git","svn_url":"https://github.com/pointfreeco/swift-snapshot-testing","homepage":"","size":21282,"stargazers_count":128,"watchers_count":128,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":6,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls/60"},"html":{"href":"https://github.com/pointfreeco/swift-snapshot-testing/pull/60"},"issue":{"href":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues/60"},"comments":{"href":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/pointfreeco/swift-snapshot-testing/statuses/6532d3587d359d3b0cc42ec1af2d8f1741233f98"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"stephencelis","id":658,"node_id":"MDQ6VXNlcjY1OA==","avatar_url":"https://avatars0.githubusercontent.com/u/658?v=4","gravatar_id":"","url":"https://api.github.com/users/stephencelis","html_url":"https://github.com/stephencelis","followers_url":"https://api.github.com/users/stephencelis/followers","following_url":"https://api.github.com/users/stephencelis/following{/other_user}","gists_url":"https://api.github.com/users/stephencelis/gists{/gist_id}","starred_url":"https://api.github.com/users/stephencelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephencelis/subscriptions","organizations_url":"https://api.github.com/users/stephencelis/orgs","repos_url":"https://api.github.com/users/stephencelis/repos","events_url":"https://api.github.com/users/stephencelis/events{/privacy}","received_events_url":"https://api.github.com/users/stephencelis/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"maintainer_can_modify":false,"commits":11,"additions":301,"deletions":152,"changed_files":13}}
{"actor":{"display_login":"stephencelis"}}