{"action":"closed","number":51,"pull_request":{"url":"https://api.github.com/repos/UrbanApps/Armchair/pulls/51","id":68831034,"html_url":"https://github.com/UrbanApps/Armchair/pull/51","diff_url":"https://github.com/UrbanApps/Armchair/pull/51.diff","patch_url":"https://github.com/UrbanApps/Armchair/pull/51.patch","issue_url":"https://api.github.com/repos/UrbanApps/Armchair/issues/51","number":51,"state":"closed","locked":false,"title":"Created public method to reset counters","user":{"login":"Navideck-fotis","id":2326415,"avatar_url":"https://avatars.githubusercontent.com/u/2326415?v=3","gravatar_id":"","url":"https://api.github.com/users/Navideck-fotis","html_url":"https://github.com/Navideck-fotis","followers_url":"https://api.github.com/users/Navideck-fotis/followers","following_url":"https://api.github.com/users/Navideck-fotis/following{/other_user}","gists_url":"https://api.github.com/users/Navideck-fotis/gists{/gist_id}","starred_url":"https://api.github.com/users/Navideck-fotis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Navideck-fotis/subscriptions","organizations_url":"https://api.github.com/users/Navideck-fotis/orgs","repos_url":"https://api.github.com/users/Navideck-fotis/repos","events_url":"https://api.github.com/users/Navideck-fotis/events{/privacy}","received_events_url":"https://api.github.com/users/Navideck-fotis/received_events","type":"User","site_admin":false},"body":"Based on #49 I created this PR. This doesn't reset everything in the block you suggested as I only need to reset:\r\n- UseCount, \r\n- SignificantEventCount\r\n-  FirstUseDate (daysUntilPrompt)\r\n\r\nThe app version is not changing so I leave userdefault values intact.","created_at":"2016-05-04T09:12:45Z","updated_at":"2016-05-04T13:19:47Z","closed_at":"2016-05-04T13:19:47Z","merged_at":"2016-05-04T13:19:47Z","merge_commit_sha":"202c1701c510ec9e88b19a3c84eaccb1132e52bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UrbanApps/Armchair/pulls/51/commits","review_comments_url":"https://api.github.com/repos/UrbanApps/Armchair/pulls/51/comments","review_comment_url":"https://api.github.com/repos/UrbanApps/Armchair/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UrbanApps/Armchair/issues/51/comments","statuses_url":"https://api.github.com/repos/UrbanApps/Armchair/statuses/4e03a1d725c33d171dd8cbc962b87fc9c2186f0c","head":{"label":"Navideck-fotis:reset-counters","ref":"reset-counters","sha":"4e03a1d725c33d171dd8cbc962b87fc9c2186f0c","user":{"login":"Navideck-fotis","id":2326415,"avatar_url":"https://avatars.githubusercontent.com/u/2326415?v=3","gravatar_id":"","url":"https://api.github.com/users/Navideck-fotis","html_url":"https://github.com/Navideck-fotis","followers_url":"https://api.github.com/users/Navideck-fotis/followers","following_url":"https://api.github.com/users/Navideck-fotis/following{/other_user}","gists_url":"https://api.github.com/users/Navideck-fotis/gists{/gist_id}","starred_url":"https://api.github.com/users/Navideck-fotis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Navideck-fotis/subscriptions","organizations_url":"https://api.github.com/users/Navideck-fotis/orgs","repos_url":"https://api.github.com/users/Navideck-fotis/repos","events_url":"https://api.github.com/users/Navideck-fotis/events{/privacy}","received_events_url":"https://api.github.com/users/Navideck-fotis/received_events","type":"User","site_admin":false},"repo":{"id":53962326,"name":"Armchair","full_name":"Navideck-fotis/Armchair","owner":{"login":"Navideck-fotis","id":2326415,"avatar_url":"https://avatars.githubusercontent.com/u/2326415?v=3","gravatar_id":"","url":"https://api.github.com/users/Navideck-fotis","html_url":"https://github.com/Navideck-fotis","followers_url":"https://api.github.com/users/Navideck-fotis/followers","following_url":"https://api.github.com/users/Navideck-fotis/following{/other_user}","gists_url":"https://api.github.com/users/Navideck-fotis/gists{/gist_id}","starred_url":"https://api.github.com/users/Navideck-fotis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Navideck-fotis/subscriptions","organizations_url":"https://api.github.com/users/Navideck-fotis/orgs","repos_url":"https://api.github.com/users/Navideck-fotis/repos","events_url":"https://api.github.com/users/Navideck-fotis/events{/privacy}","received_events_url":"https://api.github.com/users/Navideck-fotis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Navideck-fotis/Armchair","description":"A simple yet powerful App Review Manager for iOS and OSX in Swift","fork":true,"url":"https://api.github.com/repos/Navideck-fotis/Armchair","forks_url":"https://api.github.com/repos/Navideck-fotis/Armchair/forks","keys_url":"https://api.github.com/repos/Navideck-fotis/Armchair/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Navideck-fotis/Armchair/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Navideck-fotis/Armchair/teams","hooks_url":"https://api.github.com/repos/Navideck-fotis/Armchair/hooks","issue_events_url":"https://api.github.com/repos/Navideck-fotis/Armchair/issues/events{/number}","events_url":"https://api.github.com/repos/Navideck-fotis/Armchair/events","assignees_url":"https://api.github.com/repos/Navideck-fotis/Armchair/assignees{/user}","branches_url":"https://api.github.com/repos/Navideck-fotis/Armchair/branches{/branch}","tags_url":"https://api.github.com/repos/Navideck-fotis/Armchair/tags","blobs_url":"https://api.github.com/repos/Navideck-fotis/Armchair/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Navideck-fotis/Armchair/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Navideck-fotis/Armchair/git/refs{/sha}","trees_url":"https://api.github.com/repos/Navideck-fotis/Armchair/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Navideck-fotis/Armchair/statuses/{sha}","languages_url":"https://api.github.com/repos/Navideck-fotis/Armchair/languages","stargazers_url":"https://api.github.com/repos/Navideck-fotis/Armchair/stargazers","contributors_url":"https://api.github.com/repos/Navideck-fotis/Armchair/contributors","subscribers_url":"https://api.github.com/repos/Navideck-fotis/Armchair/subscribers","subscription_url":"https://api.github.com/repos/Navideck-fotis/Armchair/subscription","commits_url":"https://api.github.com/repos/Navideck-fotis/Armchair/commits{/sha}","git_commits_url":"https://api.github.com/repos/Navideck-fotis/Armchair/git/commits{/sha}","comments_url":"https://api.github.com/repos/Navideck-fotis/Armchair/comments{/number}","issue_comment_url":"https://api.github.com/repos/Navideck-fotis/Armchair/issues/comments{/number}","contents_url":"https://api.github.com/repos/Navideck-fotis/Armchair/contents/{+path}","compare_url":"https://api.github.com/repos/Navideck-fotis/Armchair/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Navideck-fotis/Armchair/merges","archive_url":"https://api.github.com/repos/Navideck-fotis/Armchair/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Navideck-fotis/Armchair/downloads","issues_url":"https://api.github.com/repos/Navideck-fotis/Armchair/issues{/number}","pulls_url":"https://api.github.com/repos/Navideck-fotis/Armchair/pulls{/number}","milestones_url":"https://api.github.com/repos/Navideck-fotis/Armchair/milestones{/number}","notifications_url":"https://api.github.com/repos/Navideck-fotis/Armchair/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Navideck-fotis/Armchair/labels{/name}","releases_url":"https://api.github.com/repos/Navideck-fotis/Armchair/releases{/id}","deployments_url":"https://api.github.com/repos/Navideck-fotis/Armchair/deployments","created_at":"2016-03-15T16:53:31Z","updated_at":"2016-03-15T16:53:32Z","pushed_at":"2016-05-04T12:46:35Z","git_url":"git://github.com/Navideck-fotis/Armchair.git","ssh_url":"git@github.com:Navideck-fotis/Armchair.git","clone_url":"https://github.com/Navideck-fotis/Armchair.git","svn_url":"https://github.com/Navideck-fotis/Armchair","homepage":"","size":3142,"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":"UrbanApps:master","ref":"master","sha":"a0fe19a2fd1fa0998f38686c9bb685e5646cefb6","user":{"login":"UrbanApps","id":5428704,"avatar_url":"https://avatars.githubusercontent.com/u/5428704?v=3","gravatar_id":"","url":"https://api.github.com/users/UrbanApps","html_url":"https://github.com/UrbanApps","followers_url":"https://api.github.com/users/UrbanApps/followers","following_url":"https://api.github.com/users/UrbanApps/following{/other_user}","gists_url":"https://api.github.com/users/UrbanApps/gists{/gist_id}","starred_url":"https://api.github.com/users/UrbanApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrbanApps/subscriptions","organizations_url":"https://api.github.com/users/UrbanApps/orgs","repos_url":"https://api.github.com/users/UrbanApps/repos","events_url":"https://api.github.com/users/UrbanApps/events{/privacy}","received_events_url":"https://api.github.com/users/UrbanApps/received_events","type":"Organization","site_admin":false},"repo":{"id":23927514,"name":"Armchair","full_name":"UrbanApps/Armchair","owner":{"login":"UrbanApps","id":5428704,"avatar_url":"https://avatars.githubusercontent.com/u/5428704?v=3","gravatar_id":"","url":"https://api.github.com/users/UrbanApps","html_url":"https://github.com/UrbanApps","followers_url":"https://api.github.com/users/UrbanApps/followers","following_url":"https://api.github.com/users/UrbanApps/following{/other_user}","gists_url":"https://api.github.com/users/UrbanApps/gists{/gist_id}","starred_url":"https://api.github.com/users/UrbanApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrbanApps/subscriptions","organizations_url":"https://api.github.com/users/UrbanApps/orgs","repos_url":"https://api.github.com/users/UrbanApps/repos","events_url":"https://api.github.com/users/UrbanApps/events{/privacy}","received_events_url":"https://api.github.com/users/UrbanApps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UrbanApps/Armchair","description":"A simple yet powerful App Review Manager for iOS and OSX in Swift","fork":false,"url":"https://api.github.com/repos/UrbanApps/Armchair","forks_url":"https://api.github.com/repos/UrbanApps/Armchair/forks","keys_url":"https://api.github.com/repos/UrbanApps/Armchair/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UrbanApps/Armchair/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UrbanApps/Armchair/teams","hooks_url":"https://api.github.com/repos/UrbanApps/Armchair/hooks","issue_events_url":"https://api.github.com/repos/UrbanApps/Armchair/issues/events{/number}","events_url":"https://api.github.com/repos/UrbanApps/Armchair/events","assignees_url":"https://api.github.com/repos/UrbanApps/Armchair/assignees{/user}","branches_url":"https://api.github.com/repos/UrbanApps/Armchair/branches{/branch}","tags_url":"https://api.github.com/repos/UrbanApps/Armchair/tags","blobs_url":"https://api.github.com/repos/UrbanApps/Armchair/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UrbanApps/Armchair/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UrbanApps/Armchair/git/refs{/sha}","trees_url":"https://api.github.com/repos/UrbanApps/Armchair/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UrbanApps/Armchair/statuses/{sha}","languages_url":"https://api.github.com/repos/UrbanApps/Armchair/languages","stargazers_url":"https://api.github.com/repos/UrbanApps/Armchair/stargazers","contributors_url":"https://api.github.com/repos/UrbanApps/Armchair/contributors","subscribers_url":"https://api.github.com/repos/UrbanApps/Armchair/subscribers","subscription_url":"https://api.github.com/repos/UrbanApps/Armchair/subscription","commits_url":"https://api.github.com/repos/UrbanApps/Armchair/commits{/sha}","git_commits_url":"https://api.github.com/repos/UrbanApps/Armchair/git/commits{/sha}","comments_url":"https://api.github.com/repos/UrbanApps/Armchair/comments{/number}","issue_comment_url":"https://api.github.com/repos/UrbanApps/Armchair/issues/comments{/number}","contents_url":"https://api.github.com/repos/UrbanApps/Armchair/contents/{+path}","compare_url":"https://api.github.com/repos/UrbanApps/Armchair/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UrbanApps/Armchair/merges","archive_url":"https://api.github.com/repos/UrbanApps/Armchair/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UrbanApps/Armchair/downloads","issues_url":"https://api.github.com/repos/UrbanApps/Armchair/issues{/number}","pulls_url":"https://api.github.com/repos/UrbanApps/Armchair/pulls{/number}","milestones_url":"https://api.github.com/repos/UrbanApps/Armchair/milestones{/number}","notifications_url":"https://api.github.com/repos/UrbanApps/Armchair/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UrbanApps/Armchair/labels{/name}","releases_url":"https://api.github.com/repos/UrbanApps/Armchair/releases{/id}","deployments_url":"https://api.github.com/repos/UrbanApps/Armchair/deployments","created_at":"2014-09-11T17:03:51Z","updated_at":"2016-05-02T15:48:58Z","pushed_at":"2016-05-04T13:19:47Z","git_url":"git://github.com/UrbanApps/Armchair.git","ssh_url":"git@github.com:UrbanApps/Armchair.git","clone_url":"https://github.com/UrbanApps/Armchair.git","svn_url":"https://github.com/UrbanApps/Armchair","homepage":"","size":3121,"stargazers_count":618,"watchers_count":618,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":13,"forks":44,"open_issues":13,"watchers":618,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UrbanApps/Armchair/pulls/51"},"html":{"href":"https://github.com/UrbanApps/Armchair/pull/51"},"issue":{"href":"https://api.github.com/repos/UrbanApps/Armchair/issues/51"},"comments":{"href":"https://api.github.com/repos/UrbanApps/Armchair/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/UrbanApps/Armchair/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/UrbanApps/Armchair/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UrbanApps/Armchair/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/UrbanApps/Armchair/statuses/4e03a1d725c33d171dd8cbc962b87fc9c2186f0c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"coneybeare","id":35369,"avatar_url":"https://avatars.githubusercontent.com/u/35369?v=3","gravatar_id":"","url":"https://api.github.com/users/coneybeare","html_url":"https://github.com/coneybeare","followers_url":"https://api.github.com/users/coneybeare/followers","following_url":"https://api.github.com/users/coneybeare/following{/other_user}","gists_url":"https://api.github.com/users/coneybeare/gists{/gist_id}","starred_url":"https://api.github.com/users/coneybeare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coneybeare/subscriptions","organizations_url":"https://api.github.com/users/coneybeare/orgs","repos_url":"https://api.github.com/users/coneybeare/repos","events_url":"https://api.github.com/users/coneybeare/events{/privacy}","received_events_url":"https://api.github.com/users/coneybeare/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":5,"additions":39,"deletions":12,"changed_files":2}}