{"action":"opened","number":115,"pull_request":{"url":"https://api.github.com/repos/Yalantis/Koloda/pulls/115","id":58106443,"html_url":"https://github.com/Yalantis/Koloda/pull/115","diff_url":"https://github.com/Yalantis/Koloda/pull/115.diff","patch_url":"https://github.com/Yalantis/Koloda/pull/115.patch","issue_url":"https://api.github.com/repos/Yalantis/Koloda/issues/115","number":115,"state":"open","locked":false,"title":"Fix wrong implementation of loadMissingCards","user":{"login":"tomekh7","id":5720644,"avatar_url":"https://avatars.githubusercontent.com/u/5720644?v=3","gravatar_id":"","url":"https://api.github.com/users/tomekh7","html_url":"https://github.com/tomekh7","followers_url":"https://api.github.com/users/tomekh7/followers","following_url":"https://api.github.com/users/tomekh7/following{/other_user}","gists_url":"https://api.github.com/users/tomekh7/gists{/gist_id}","starred_url":"https://api.github.com/users/tomekh7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomekh7/subscriptions","organizations_url":"https://api.github.com/users/tomekh7/orgs","repos_url":"https://api.github.com/users/tomekh7/repos","events_url":"https://api.github.com/users/tomekh7/events{/privacy}","received_events_url":"https://api.github.com/users/tomekh7/received_events","type":"User","site_admin":false},"body":"Hi,\r\nI found that `loadMissingCards` method insert new cards in wrong places and with wrong frames. It\r\nalways starts inserting new cards with index=1, which isn’t always proper. For example if you have 1 missing card and countOfVisibleCards=4, countOfCards=10, currentCardNumber=5, the first index of missing card should be 3, not 1. This implementation should fix the issue.","created_at":"2016-02-03T08:41:56Z","updated_at":"2016-02-03T08:41:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Yalantis/Koloda/pulls/115/commits","review_comments_url":"https://api.github.com/repos/Yalantis/Koloda/pulls/115/comments","review_comment_url":"https://api.github.com/repos/Yalantis/Koloda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yalantis/Koloda/issues/115/comments","statuses_url":"https://api.github.com/repos/Yalantis/Koloda/statuses/7580310000ba2d41f5aaa566a708374210ca7d47","head":{"label":"tomekh7:master","ref":"master","sha":"7580310000ba2d41f5aaa566a708374210ca7d47","user":{"login":"tomekh7","id":5720644,"avatar_url":"https://avatars.githubusercontent.com/u/5720644?v=3","gravatar_id":"","url":"https://api.github.com/users/tomekh7","html_url":"https://github.com/tomekh7","followers_url":"https://api.github.com/users/tomekh7/followers","following_url":"https://api.github.com/users/tomekh7/following{/other_user}","gists_url":"https://api.github.com/users/tomekh7/gists{/gist_id}","starred_url":"https://api.github.com/users/tomekh7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomekh7/subscriptions","organizations_url":"https://api.github.com/users/tomekh7/orgs","repos_url":"https://api.github.com/users/tomekh7/repos","events_url":"https://api.github.com/users/tomekh7/events{/privacy}","received_events_url":"https://api.github.com/users/tomekh7/received_events","type":"User","site_admin":false},"repo":{"id":41141010,"name":"Koloda","full_name":"tomekh7/Koloda","owner":{"login":"tomekh7","id":5720644,"avatar_url":"https://avatars.githubusercontent.com/u/5720644?v=3","gravatar_id":"","url":"https://api.github.com/users/tomekh7","html_url":"https://github.com/tomekh7","followers_url":"https://api.github.com/users/tomekh7/followers","following_url":"https://api.github.com/users/tomekh7/following{/other_user}","gists_url":"https://api.github.com/users/tomekh7/gists{/gist_id}","starred_url":"https://api.github.com/users/tomekh7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomekh7/subscriptions","organizations_url":"https://api.github.com/users/tomekh7/orgs","repos_url":"https://api.github.com/users/tomekh7/repos","events_url":"https://api.github.com/users/tomekh7/events{/privacy}","received_events_url":"https://api.github.com/users/tomekh7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomekh7/Koloda","description":"KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS. ","fork":true,"url":"https://api.github.com/repos/tomekh7/Koloda","forks_url":"https://api.github.com/repos/tomekh7/Koloda/forks","keys_url":"https://api.github.com/repos/tomekh7/Koloda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomekh7/Koloda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomekh7/Koloda/teams","hooks_url":"https://api.github.com/repos/tomekh7/Koloda/hooks","issue_events_url":"https://api.github.com/repos/tomekh7/Koloda/issues/events{/number}","events_url":"https://api.github.com/repos/tomekh7/Koloda/events","assignees_url":"https://api.github.com/repos/tomekh7/Koloda/assignees{/user}","branches_url":"https://api.github.com/repos/tomekh7/Koloda/branches{/branch}","tags_url":"https://api.github.com/repos/tomekh7/Koloda/tags","blobs_url":"https://api.github.com/repos/tomekh7/Koloda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomekh7/Koloda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomekh7/Koloda/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomekh7/Koloda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomekh7/Koloda/statuses/{sha}","languages_url":"https://api.github.com/repos/tomekh7/Koloda/languages","stargazers_url":"https://api.github.com/repos/tomekh7/Koloda/stargazers","contributors_url":"https://api.github.com/repos/tomekh7/Koloda/contributors","subscribers_url":"https://api.github.com/repos/tomekh7/Koloda/subscribers","subscription_url":"https://api.github.com/repos/tomekh7/Koloda/subscription","commits_url":"https://api.github.com/repos/tomekh7/Koloda/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomekh7/Koloda/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomekh7/Koloda/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomekh7/Koloda/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomekh7/Koloda/contents/{+path}","compare_url":"https://api.github.com/repos/tomekh7/Koloda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomekh7/Koloda/merges","archive_url":"https://api.github.com/repos/tomekh7/Koloda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomekh7/Koloda/downloads","issues_url":"https://api.github.com/repos/tomekh7/Koloda/issues{/number}","pulls_url":"https://api.github.com/repos/tomekh7/Koloda/pulls{/number}","milestones_url":"https://api.github.com/repos/tomekh7/Koloda/milestones{/number}","notifications_url":"https://api.github.com/repos/tomekh7/Koloda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomekh7/Koloda/labels{/name}","releases_url":"https://api.github.com/repos/tomekh7/Koloda/releases{/id}","deployments_url":"https://api.github.com/repos/tomekh7/Koloda/deployments","created_at":"2015-08-21T07:08:25Z","updated_at":"2016-02-02T15:03:23Z","pushed_at":"2016-02-03T08:26:50Z","git_url":"git://github.com/tomekh7/Koloda.git","ssh_url":"git@github.com:tomekh7/Koloda.git","clone_url":"https://github.com/tomekh7/Koloda.git","svn_url":"https://github.com/tomekh7/Koloda","homepage":"http://yalantis.com?utm_source=github","size":46363,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"Yalantis:master","ref":"master","sha":"1416b9eb7ca19a1c001e5c80fbed581da017fb07","user":{"login":"Yalantis","id":752338,"avatar_url":"https://avatars.githubusercontent.com/u/752338?v=3","gravatar_id":"","url":"https://api.github.com/users/Yalantis","html_url":"https://github.com/Yalantis","followers_url":"https://api.github.com/users/Yalantis/followers","following_url":"https://api.github.com/users/Yalantis/following{/other_user}","gists_url":"https://api.github.com/users/Yalantis/gists{/gist_id}","starred_url":"https://api.github.com/users/Yalantis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yalantis/subscriptions","organizations_url":"https://api.github.com/users/Yalantis/orgs","repos_url":"https://api.github.com/users/Yalantis/repos","events_url":"https://api.github.com/users/Yalantis/events{/privacy}","received_events_url":"https://api.github.com/users/Yalantis/received_events","type":"Organization","site_admin":false},"repo":{"id":38444110,"name":"Koloda","full_name":"Yalantis/Koloda","owner":{"login":"Yalantis","id":752338,"avatar_url":"https://avatars.githubusercontent.com/u/752338?v=3","gravatar_id":"","url":"https://api.github.com/users/Yalantis","html_url":"https://github.com/Yalantis","followers_url":"https://api.github.com/users/Yalantis/followers","following_url":"https://api.github.com/users/Yalantis/following{/other_user}","gists_url":"https://api.github.com/users/Yalantis/gists{/gist_id}","starred_url":"https://api.github.com/users/Yalantis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yalantis/subscriptions","organizations_url":"https://api.github.com/users/Yalantis/orgs","repos_url":"https://api.github.com/users/Yalantis/repos","events_url":"https://api.github.com/users/Yalantis/events{/privacy}","received_events_url":"https://api.github.com/users/Yalantis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yalantis/Koloda","description":"KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS. ","fork":false,"url":"https://api.github.com/repos/Yalantis/Koloda","forks_url":"https://api.github.com/repos/Yalantis/Koloda/forks","keys_url":"https://api.github.com/repos/Yalantis/Koloda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yalantis/Koloda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yalantis/Koloda/teams","hooks_url":"https://api.github.com/repos/Yalantis/Koloda/hooks","issue_events_url":"https://api.github.com/repos/Yalantis/Koloda/issues/events{/number}","events_url":"https://api.github.com/repos/Yalantis/Koloda/events","assignees_url":"https://api.github.com/repos/Yalantis/Koloda/assignees{/user}","branches_url":"https://api.github.com/repos/Yalantis/Koloda/branches{/branch}","tags_url":"https://api.github.com/repos/Yalantis/Koloda/tags","blobs_url":"https://api.github.com/repos/Yalantis/Koloda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yalantis/Koloda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yalantis/Koloda/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yalantis/Koloda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yalantis/Koloda/statuses/{sha}","languages_url":"https://api.github.com/repos/Yalantis/Koloda/languages","stargazers_url":"https://api.github.com/repos/Yalantis/Koloda/stargazers","contributors_url":"https://api.github.com/repos/Yalantis/Koloda/contributors","subscribers_url":"https://api.github.com/repos/Yalantis/Koloda/subscribers","subscription_url":"https://api.github.com/repos/Yalantis/Koloda/subscription","commits_url":"https://api.github.com/repos/Yalantis/Koloda/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yalantis/Koloda/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yalantis/Koloda/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yalantis/Koloda/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yalantis/Koloda/contents/{+path}","compare_url":"https://api.github.com/repos/Yalantis/Koloda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yalantis/Koloda/merges","archive_url":"https://api.github.com/repos/Yalantis/Koloda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yalantis/Koloda/downloads","issues_url":"https://api.github.com/repos/Yalantis/Koloda/issues{/number}","pulls_url":"https://api.github.com/repos/Yalantis/Koloda/pulls{/number}","milestones_url":"https://api.github.com/repos/Yalantis/Koloda/milestones{/number}","notifications_url":"https://api.github.com/repos/Yalantis/Koloda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yalantis/Koloda/labels{/name}","releases_url":"https://api.github.com/repos/Yalantis/Koloda/releases{/id}","deployments_url":"https://api.github.com/repos/Yalantis/Koloda/deployments","created_at":"2015-07-02T16:32:08Z","updated_at":"2016-02-02T16:06:56Z","pushed_at":"2016-01-29T08:20:43Z","git_url":"git://github.com/Yalantis/Koloda.git","ssh_url":"git@github.com:Yalantis/Koloda.git","clone_url":"https://github.com/Yalantis/Koloda.git","svn_url":"https://github.com/Yalantis/Koloda","homepage":"https://yalantis.com","size":46406,"stargazers_count":1765,"watchers_count":1765,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":191,"mirror_url":null,"open_issues_count":17,"forks":191,"open_issues":17,"watchers":1765,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yalantis/Koloda/pulls/115"},"html":{"href":"https://github.com/Yalantis/Koloda/pull/115"},"issue":{"href":"https://api.github.com/repos/Yalantis/Koloda/issues/115"},"comments":{"href":"https://api.github.com/repos/Yalantis/Koloda/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/Yalantis/Koloda/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/Yalantis/Koloda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yalantis/Koloda/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/Yalantis/Koloda/statuses/7580310000ba2d41f5aaa566a708374210ca7d47"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":3,"deletions":1,"changed_files":1}}