{"action":"closed","number":50,"pull_request":{"url":"https://api.github.com/repos/hyperoslo/Lightbox/pulls/50","id":57351808,"html_url":"https://github.com/hyperoslo/Lightbox/pull/50","diff_url":"https://github.com/hyperoslo/Lightbox/pull/50.diff","patch_url":"https://github.com/hyperoslo/Lightbox/pull/50.patch","issue_url":"https://api.github.com/repos/hyperoslo/Lightbox/issues/50","number":50,"state":"closed","locked":false,"title":"Use velocity when calculating animation time","user":{"login":"zenangst","id":57446,"avatar_url":"https://avatars.githubusercontent.com/u/57446?v=3","gravatar_id":"","url":"https://api.github.com/users/zenangst","html_url":"https://github.com/zenangst","followers_url":"https://api.github.com/users/zenangst/followers","following_url":"https://api.github.com/users/zenangst/following{/other_user}","gists_url":"https://api.github.com/users/zenangst/gists{/gist_id}","starred_url":"https://api.github.com/users/zenangst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenangst/subscriptions","organizations_url":"https://api.github.com/users/zenangst/orgs","repos_url":"https://api.github.com/users/zenangst/repos","events_url":"https://api.github.com/users/zenangst/events{/privacy}","received_events_url":"https://api.github.com/users/zenangst/received_events","type":"User","site_admin":false},"body":"This PR make the animation time dependent on the velocity that the user applies to the swipe gesture.\n\nWe used this before in the Spotify Spots demo.\n\n@RamonGilabert came up with this amazing math thingy. 📈\n\nhttps://github.com/hyperoslo/Spots/blob/master/Examples/Spotify/Application/Controllers/PlayerController.swift#L149","created_at":"2016-01-27T12:16:12Z","updated_at":"2016-01-27T12:18:57Z","closed_at":"2016-01-27T12:18:55Z","merged_at":"2016-01-27T12:18:55Z","merge_commit_sha":"912c3247855401ccb8b1d94ad2a58a928f99ae38","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hyperoslo/Lightbox/pulls/50/commits","review_comments_url":"https://api.github.com/repos/hyperoslo/Lightbox/pulls/50/comments","review_comment_url":"https://api.github.com/repos/hyperoslo/Lightbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperoslo/Lightbox/issues/50/comments","statuses_url":"https://api.github.com/repos/hyperoslo/Lightbox/statuses/68d5cff2b4f56af98542cc01c90dbd259653cfcf","head":{"label":"hyperoslo:improve/dismissal","ref":"improve/dismissal","sha":"68d5cff2b4f56af98542cc01c90dbd259653cfcf","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":38307869,"name":"Lightbox","full_name":"hyperoslo/Lightbox","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/Lightbox","description":"","fork":false,"url":"https://api.github.com/repos/hyperoslo/Lightbox","forks_url":"https://api.github.com/repos/hyperoslo/Lightbox/forks","keys_url":"https://api.github.com/repos/hyperoslo/Lightbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/Lightbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/Lightbox/teams","hooks_url":"https://api.github.com/repos/hyperoslo/Lightbox/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/Lightbox/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/Lightbox/events","assignees_url":"https://api.github.com/repos/hyperoslo/Lightbox/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/Lightbox/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/Lightbox/tags","blobs_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/Lightbox/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/Lightbox/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/Lightbox/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/Lightbox/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/Lightbox/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/Lightbox/subscription","commits_url":"https://api.github.com/repos/hyperoslo/Lightbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/Lightbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/Lightbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/Lightbox/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/Lightbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/Lightbox/merges","archive_url":"https://api.github.com/repos/hyperoslo/Lightbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/Lightbox/downloads","issues_url":"https://api.github.com/repos/hyperoslo/Lightbox/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/Lightbox/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/Lightbox/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/Lightbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/Lightbox/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/Lightbox/releases{/id}","deployments_url":"https://api.github.com/repos/hyperoslo/Lightbox/deployments","created_at":"2015-06-30T12:28:01Z","updated_at":"2016-01-17T22:14:59Z","pushed_at":"2016-01-27T12:18:56Z","git_url":"git://github.com/hyperoslo/Lightbox.git","ssh_url":"git@github.com:hyperoslo/Lightbox.git","clone_url":"https://github.com/hyperoslo/Lightbox.git","svn_url":"https://github.com/hyperoslo/Lightbox","homepage":null,"size":5263,"stargazers_count":8,"watchers_count":8,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":8,"default_branch":"master"}},"base":{"label":"hyperoslo:new-implementation","ref":"new-implementation","sha":"7b124968bd734e6a757acd10fee9c231aab2c463","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":38307869,"name":"Lightbox","full_name":"hyperoslo/Lightbox","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/Lightbox","description":"","fork":false,"url":"https://api.github.com/repos/hyperoslo/Lightbox","forks_url":"https://api.github.com/repos/hyperoslo/Lightbox/forks","keys_url":"https://api.github.com/repos/hyperoslo/Lightbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/Lightbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/Lightbox/teams","hooks_url":"https://api.github.com/repos/hyperoslo/Lightbox/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/Lightbox/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/Lightbox/events","assignees_url":"https://api.github.com/repos/hyperoslo/Lightbox/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/Lightbox/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/Lightbox/tags","blobs_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/Lightbox/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/Lightbox/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/Lightbox/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/Lightbox/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/Lightbox/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/Lightbox/subscription","commits_url":"https://api.github.com/repos/hyperoslo/Lightbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/Lightbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/Lightbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/Lightbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/Lightbox/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/Lightbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/Lightbox/merges","archive_url":"https://api.github.com/repos/hyperoslo/Lightbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/Lightbox/downloads","issues_url":"https://api.github.com/repos/hyperoslo/Lightbox/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/Lightbox/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/Lightbox/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/Lightbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/Lightbox/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/Lightbox/releases{/id}","deployments_url":"https://api.github.com/repos/hyperoslo/Lightbox/deployments","created_at":"2015-06-30T12:28:01Z","updated_at":"2016-01-17T22:14:59Z","pushed_at":"2016-01-27T12:18:56Z","git_url":"git://github.com/hyperoslo/Lightbox.git","ssh_url":"git@github.com:hyperoslo/Lightbox.git","clone_url":"https://github.com/hyperoslo/Lightbox.git","svn_url":"https://github.com/hyperoslo/Lightbox","homepage":null,"size":5263,"stargazers_count":8,"watchers_count":8,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperoslo/Lightbox/pulls/50"},"html":{"href":"https://github.com/hyperoslo/Lightbox/pull/50"},"issue":{"href":"https://api.github.com/repos/hyperoslo/Lightbox/issues/50"},"comments":{"href":"https://api.github.com/repos/hyperoslo/Lightbox/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperoslo/Lightbox/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperoslo/Lightbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperoslo/Lightbox/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/hyperoslo/Lightbox/statuses/68d5cff2b4f56af98542cc01c90dbd259653cfcf"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"RamonGilabert","id":6138120,"avatar_url":"https://avatars.githubusercontent.com/u/6138120?v=3","gravatar_id":"","url":"https://api.github.com/users/RamonGilabert","html_url":"https://github.com/RamonGilabert","followers_url":"https://api.github.com/users/RamonGilabert/followers","following_url":"https://api.github.com/users/RamonGilabert/following{/other_user}","gists_url":"https://api.github.com/users/RamonGilabert/gists{/gist_id}","starred_url":"https://api.github.com/users/RamonGilabert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamonGilabert/subscriptions","organizations_url":"https://api.github.com/users/RamonGilabert/orgs","repos_url":"https://api.github.com/users/RamonGilabert/repos","events_url":"https://api.github.com/users/RamonGilabert/events{/privacy}","received_events_url":"https://api.github.com/users/RamonGilabert/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":4,"changed_files":1}}