{"action":"created","comment":{"url":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/comments/158285894","pull_request_review_id":85070391,"id":158285894,"diff_hunk":"@@ -0,0 +1,44 @@\n+//\n+//  ContributionModel.swift\n+//  mini-pools-ios\n+//\n+//  Created by Kaplún, Sebi on 12/20/17.\n+//  Copyright © 2017 Kaplún, Sebi. All rights reserved.\n+//\n+\n+import UIKit\n+import SwiftyJSON","path":"mini-pools-ios/Models/ContributionModel.swift","position":10,"original_position":10,"commit_id":"985a99b4db65beeeb5fdf9f18693cb4c9f9ec7fb","original_commit_id":"985a99b4db65beeeb5fdf9f18693cb4c9f9ec7fb","user":{"login":"ShayDavidson","id":1366521,"avatar_url":"https://avatars1.githubusercontent.com/u/1366521?v=4","gravatar_id":"","url":"https://api.github.com/users/ShayDavidson","html_url":"https://github.com/ShayDavidson","followers_url":"https://api.github.com/users/ShayDavidson/followers","following_url":"https://api.github.com/users/ShayDavidson/following{/other_user}","gists_url":"https://api.github.com/users/ShayDavidson/gists{/gist_id}","starred_url":"https://api.github.com/users/ShayDavidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShayDavidson/subscriptions","organizations_url":"https://api.github.com/users/ShayDavidson/orgs","repos_url":"https://api.github.com/users/ShayDavidson/repos","events_url":"https://api.github.com/users/ShayDavidson/events{/privacy}","received_events_url":"https://api.github.com/users/ShayDavidson/received_events","type":"User","site_admin":false},"body":"Swift 4 has a native way to decode JSONs. `SwiftyJSON` is still easier though ;)\r\nhttps://benscheirman.com/2017/06/swift-json/\r\n","created_at":"2017-12-21T14:12:13Z","updated_at":"2017-12-21T14:26:50Z","html_url":"https://github.com/rot-13/MiniPools-iOS/pull/1#discussion_r158285894","pull_request_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/comments/158285894"},"html":{"href":"https://github.com/rot-13/MiniPools-iOS/pull/1#discussion_r158285894"},"pull_request":{"href":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/1","id":159663438,"html_url":"https://github.com/rot-13/MiniPools-iOS/pull/1","diff_url":"https://github.com/rot-13/MiniPools-iOS/pull/1.diff","patch_url":"https://github.com/rot-13/MiniPools-iOS/pull/1.patch","issue_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues/1","number":1,"state":"open","locked":false,"title":"Develop","user":{"login":"sebikaplun","id":3932801,"avatar_url":"https://avatars3.githubusercontent.com/u/3932801?v=4","gravatar_id":"","url":"https://api.github.com/users/sebikaplun","html_url":"https://github.com/sebikaplun","followers_url":"https://api.github.com/users/sebikaplun/followers","following_url":"https://api.github.com/users/sebikaplun/following{/other_user}","gists_url":"https://api.github.com/users/sebikaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/sebikaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebikaplun/subscriptions","organizations_url":"https://api.github.com/users/sebikaplun/orgs","repos_url":"https://api.github.com/users/sebikaplun/repos","events_url":"https://api.github.com/users/sebikaplun/events{/privacy}","received_events_url":"https://api.github.com/users/sebikaplun/received_events","type":"User","site_admin":false},"body":"In the first screen we bring all the pools that have been requested from the server `/pools`\r\nAfter pressing on each pool, we show a detailed information including all the contributions that have been made\r\nthe + will show the user the screen where he will be able to add new contributions. That will show a `Loading` item in the contributions table, and after processed it will show the contribution\r\n\r\n![minipools](https://user-images.githubusercontent.com/3932801/34259543-51d72634-e66b-11e7-98fb-93a68944a205.gif)\r\n\r\n","created_at":"2017-12-21T13:57:52Z","updated_at":"2017-12-21T14:26:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4606ad4aa3785c159e7e550cbea52860e2077a32","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/1/commits","review_comments_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/1/comments","review_comment_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues/1/comments","statuses_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/statuses/985a99b4db65beeeb5fdf9f18693cb4c9f9ec7fb","head":{"label":"rot-13:develop","ref":"develop","sha":"985a99b4db65beeeb5fdf9f18693cb4c9f9ec7fb","user":{"login":"rot-13","id":5079491,"avatar_url":"https://avatars0.githubusercontent.com/u/5079491?v=4","gravatar_id":"","url":"https://api.github.com/users/rot-13","html_url":"https://github.com/rot-13","followers_url":"https://api.github.com/users/rot-13/followers","following_url":"https://api.github.com/users/rot-13/following{/other_user}","gists_url":"https://api.github.com/users/rot-13/gists{/gist_id}","starred_url":"https://api.github.com/users/rot-13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rot-13/subscriptions","organizations_url":"https://api.github.com/users/rot-13/orgs","repos_url":"https://api.github.com/users/rot-13/repos","events_url":"https://api.github.com/users/rot-13/events{/privacy}","received_events_url":"https://api.github.com/users/rot-13/received_events","type":"Organization","site_admin":false},"repo":{"id":114867631,"name":"MiniPools-iOS","full_name":"rot-13/MiniPools-iOS","owner":{"login":"rot-13","id":5079491,"avatar_url":"https://avatars0.githubusercontent.com/u/5079491?v=4","gravatar_id":"","url":"https://api.github.com/users/rot-13","html_url":"https://github.com/rot-13","followers_url":"https://api.github.com/users/rot-13/followers","following_url":"https://api.github.com/users/rot-13/following{/other_user}","gists_url":"https://api.github.com/users/rot-13/gists{/gist_id}","starred_url":"https://api.github.com/users/rot-13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rot-13/subscriptions","organizations_url":"https://api.github.com/users/rot-13/orgs","repos_url":"https://api.github.com/users/rot-13/repos","events_url":"https://api.github.com/users/rot-13/events{/privacy}","received_events_url":"https://api.github.com/users/rot-13/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rot-13/MiniPools-iOS","description":null,"fork":false,"url":"https://api.github.com/repos/rot-13/MiniPools-iOS","forks_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/forks","keys_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/teams","hooks_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/hooks","issue_events_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/events","assignees_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/tags","blobs_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/languages","stargazers_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/stargazers","contributors_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/contributors","subscribers_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/subscribers","subscription_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/subscription","commits_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/merges","archive_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/downloads","issues_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/labels{/name}","releases_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/deployments","created_at":"2017-12-20T09:20:47Z","updated_at":"2017-12-20T09:20:47Z","pushed_at":"2017-12-21T13:57:53Z","git_url":"git://github.com/rot-13/MiniPools-iOS.git","ssh_url":"git@github.com:rot-13/MiniPools-iOS.git","clone_url":"https://github.com/rot-13/MiniPools-iOS.git","svn_url":"https://github.com/rot-13/MiniPools-iOS","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rot-13:master","ref":"master","sha":"4f5417cd91aece04cd7601faad2395cf5068e7ce","user":{"login":"rot-13","id":5079491,"avatar_url":"https://avatars0.githubusercontent.com/u/5079491?v=4","gravatar_id":"","url":"https://api.github.com/users/rot-13","html_url":"https://github.com/rot-13","followers_url":"https://api.github.com/users/rot-13/followers","following_url":"https://api.github.com/users/rot-13/following{/other_user}","gists_url":"https://api.github.com/users/rot-13/gists{/gist_id}","starred_url":"https://api.github.com/users/rot-13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rot-13/subscriptions","organizations_url":"https://api.github.com/users/rot-13/orgs","repos_url":"https://api.github.com/users/rot-13/repos","events_url":"https://api.github.com/users/rot-13/events{/privacy}","received_events_url":"https://api.github.com/users/rot-13/received_events","type":"Organization","site_admin":false},"repo":{"id":114867631,"name":"MiniPools-iOS","full_name":"rot-13/MiniPools-iOS","owner":{"login":"rot-13","id":5079491,"avatar_url":"https://avatars0.githubusercontent.com/u/5079491?v=4","gravatar_id":"","url":"https://api.github.com/users/rot-13","html_url":"https://github.com/rot-13","followers_url":"https://api.github.com/users/rot-13/followers","following_url":"https://api.github.com/users/rot-13/following{/other_user}","gists_url":"https://api.github.com/users/rot-13/gists{/gist_id}","starred_url":"https://api.github.com/users/rot-13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rot-13/subscriptions","organizations_url":"https://api.github.com/users/rot-13/orgs","repos_url":"https://api.github.com/users/rot-13/repos","events_url":"https://api.github.com/users/rot-13/events{/privacy}","received_events_url":"https://api.github.com/users/rot-13/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rot-13/MiniPools-iOS","description":null,"fork":false,"url":"https://api.github.com/repos/rot-13/MiniPools-iOS","forks_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/forks","keys_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/teams","hooks_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/hooks","issue_events_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/events","assignees_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/tags","blobs_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/languages","stargazers_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/stargazers","contributors_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/contributors","subscribers_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/subscribers","subscription_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/subscription","commits_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/merges","archive_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/downloads","issues_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/labels{/name}","releases_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/rot-13/MiniPools-iOS/deployments","created_at":"2017-12-20T09:20:47Z","updated_at":"2017-12-20T09:20:47Z","pushed_at":"2017-12-21T13:57:53Z","git_url":"git://github.com/rot-13/MiniPools-iOS.git","ssh_url":"git@github.com:rot-13/MiniPools-iOS.git","clone_url":"https://github.com/rot-13/MiniPools-iOS.git","svn_url":"https://github.com/rot-13/MiniPools-iOS","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/1"},"html":{"href":"https://github.com/rot-13/MiniPools-iOS/pull/1"},"issue":{"href":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues/1"},"comments":{"href":"https://api.github.com/repos/rot-13/MiniPools-iOS/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rot-13/MiniPools-iOS/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/rot-13/MiniPools-iOS/statuses/985a99b4db65beeeb5fdf9f18693cb4c9f9ec7fb"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ShayDavidson"}}