{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/86","labels_url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/86/comments","events_url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/86/events","html_url":"https://github.com/facebook/ios-snapshot-test-case/pull/86","id":84063285,"number":86,"title":"Approximate comparison (re: issue 38 - https://github.com/facebook/ios-snapshot-test-case/issues/38)","user":{"login":"nap-sam-dean","id":3427602,"avatar_url":"https://avatars.githubusercontent.com/u/3427602?v=3","gravatar_id":"","url":"https://api.github.com/users/nap-sam-dean","html_url":"https://github.com/nap-sam-dean","followers_url":"https://api.github.com/users/nap-sam-dean/followers","following_url":"https://api.github.com/users/nap-sam-dean/following{/other_user}","gists_url":"https://api.github.com/users/nap-sam-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/nap-sam-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nap-sam-dean/subscriptions","organizations_url":"https://api.github.com/users/nap-sam-dean/orgs","repos_url":"https://api.github.com/users/nap-sam-dean/repos","events_url":"https://api.github.com/users/nap-sam-dean/events{/privacy}","received_events_url":"https://api.github.com/users/nap-sam-dean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/labels/CLA%20Signed","name":"CLA Signed","color":"009900"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-06-02T15:03:39Z","updated_at":"2015-06-13T06:46:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/pulls/86","html_url":"https://github.com/facebook/ios-snapshot-test-case/pull/86","diff_url":"https://github.com/facebook/ios-snapshot-test-case/pull/86.diff","patch_url":"https://github.com/facebook/ios-snapshot-test-case/pull/86.patch"},"body":"Hey.\r\n\r\nI've added in an option to pass a maxumim number of pixels that can differ for an image to be counted as equal.\r\n\r\nThis solves my particular use case (we have an errant pixel in a gradient that's throwing our tests off) but if people want more control this could be extended to include different metrics of differenceness.\r\n\r\nLet me know what you think!\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/comments/111682128","html_url":"https://github.com/facebook/ios-snapshot-test-case/pull/86#issuecomment-111682128","issue_url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/86","id":111682128,"user":{"login":"nap-sam-dean","id":3427602,"avatar_url":"https://avatars.githubusercontent.com/u/3427602?v=3","gravatar_id":"","url":"https://api.github.com/users/nap-sam-dean","html_url":"https://github.com/nap-sam-dean","followers_url":"https://api.github.com/users/nap-sam-dean/followers","following_url":"https://api.github.com/users/nap-sam-dean/following{/other_user}","gists_url":"https://api.github.com/users/nap-sam-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/nap-sam-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nap-sam-dean/subscriptions","organizations_url":"https://api.github.com/users/nap-sam-dean/orgs","repos_url":"https://api.github.com/users/nap-sam-dean/repos","events_url":"https://api.github.com/users/nap-sam-dean/events{/privacy}","received_events_url":"https://api.github.com/users/nap-sam-dean/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T06:46:57Z","updated_at":"2015-06-13T06:46:57Z","body":"Hi,\r\n\r\nSorry for the small pause :)\r\n\r\nI've signed the CLA again (my mistake, I'd signed as my private github account, not my net-a-porter one, sigh)\r\n\r\nI've fixed the reference images path, removed the commented out scaling code and removed the spaces before the `++`s. The CI build is passing again now :)\r\n\r\nPS The issue was a bad merge by me to resolve the conflict from pull request 89 :("}}