{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls/26","id":90834369,"html_url":"https://github.com/infinum/Android-Prince-of-Versions/pull/26","diff_url":"https://github.com/infinum/Android-Prince-of-Versions/pull/26.diff","patch_url":"https://github.com/infinum/Android-Prince-of-Versions/pull/26.patch","issue_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues/26","number":26,"state":"closed","locked":false,"title":"Rename `optional_update` to `latest_version`","user":{"login":"reisub","id":992835,"avatar_url":"https://avatars.githubusercontent.com/u/992835?v=3","gravatar_id":"","url":"https://api.github.com/users/reisub","html_url":"https://github.com/reisub","followers_url":"https://api.github.com/users/reisub/followers","following_url":"https://api.github.com/users/reisub/following{/other_user}","gists_url":"https://api.github.com/users/reisub/gists{/gist_id}","starred_url":"https://api.github.com/users/reisub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reisub/subscriptions","organizations_url":"https://api.github.com/users/reisub/orgs","repos_url":"https://api.github.com/users/reisub/repos","events_url":"https://api.github.com/users/reisub/events{/privacy}","received_events_url":"https://api.github.com/users/reisub/received_events","type":"User","site_admin":false},"body":"Talking to one of our web devs I realized that the naming in the json file is a bit confusing so this PR fixes that. If you are the one maintaining the json file, it's much more natural to call this property `latest_version` that `optional_update`.\r\n\r\nThis PR also bumps mockito to the latest version since the tests were broken for me because of the variable mockito dependency. All the Mockito related changes are due to changes in the Mockito API with 2.0.\r\n\r\nSince this change breaks the `API` of the library, this PR also increments the major version to respect semver.","created_at":"2016-10-25T15:40:17Z","updated_at":"2016-10-26T07:48:38Z","closed_at":"2016-10-26T07:48:38Z","merged_at":"2016-10-26T07:48:38Z","merge_commit_sha":"2091ad841d489efc0464238c871515630f6097fa","assignee":{"login":"kjurkovic","id":832352,"avatar_url":"https://avatars.githubusercontent.com/u/832352?v=3","gravatar_id":"","url":"https://api.github.com/users/kjurkovic","html_url":"https://github.com/kjurkovic","followers_url":"https://api.github.com/users/kjurkovic/followers","following_url":"https://api.github.com/users/kjurkovic/following{/other_user}","gists_url":"https://api.github.com/users/kjurkovic/gists{/gist_id}","starred_url":"https://api.github.com/users/kjurkovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjurkovic/subscriptions","organizations_url":"https://api.github.com/users/kjurkovic/orgs","repos_url":"https://api.github.com/users/kjurkovic/repos","events_url":"https://api.github.com/users/kjurkovic/events{/privacy}","received_events_url":"https://api.github.com/users/kjurkovic/received_events","type":"User","site_admin":false},"assignees":[{"login":"kjurkovic","id":832352,"avatar_url":"https://avatars.githubusercontent.com/u/832352?v=3","gravatar_id":"","url":"https://api.github.com/users/kjurkovic","html_url":"https://github.com/kjurkovic","followers_url":"https://api.github.com/users/kjurkovic/followers","following_url":"https://api.github.com/users/kjurkovic/following{/other_user}","gists_url":"https://api.github.com/users/kjurkovic/gists{/gist_id}","starred_url":"https://api.github.com/users/kjurkovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjurkovic/subscriptions","organizations_url":"https://api.github.com/users/kjurkovic/orgs","repos_url":"https://api.github.com/users/kjurkovic/repos","events_url":"https://api.github.com/users/kjurkovic/events{/privacy}","received_events_url":"https://api.github.com/users/kjurkovic/received_events","type":"User","site_admin":false},{"login":"ikocijan","id":4410310,"avatar_url":"https://avatars.githubusercontent.com/u/4410310?v=3","gravatar_id":"","url":"https://api.github.com/users/ikocijan","html_url":"https://github.com/ikocijan","followers_url":"https://api.github.com/users/ikocijan/followers","following_url":"https://api.github.com/users/ikocijan/following{/other_user}","gists_url":"https://api.github.com/users/ikocijan/gists{/gist_id}","starred_url":"https://api.github.com/users/ikocijan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikocijan/subscriptions","organizations_url":"https://api.github.com/users/ikocijan/orgs","repos_url":"https://api.github.com/users/ikocijan/repos","events_url":"https://api.github.com/users/ikocijan/events{/privacy}","received_events_url":"https://api.github.com/users/ikocijan/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls/26/commits","review_comments_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls/26/comments","review_comment_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues/26/comments","statuses_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/statuses/8bb9bc8feda9b359d92027164110bb280bc833a5","head":{"label":"infinum:enhancement/json-property-rename","ref":"enhancement/json-property-rename","sha":"8bb9bc8feda9b359d92027164110bb280bc833a5","user":{"login":"infinum","id":97652,"avatar_url":"https://avatars.githubusercontent.com/u/97652?v=3","gravatar_id":"","url":"https://api.github.com/users/infinum","html_url":"https://github.com/infinum","followers_url":"https://api.github.com/users/infinum/followers","following_url":"https://api.github.com/users/infinum/following{/other_user}","gists_url":"https://api.github.com/users/infinum/gists{/gist_id}","starred_url":"https://api.github.com/users/infinum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinum/subscriptions","organizations_url":"https://api.github.com/users/infinum/orgs","repos_url":"https://api.github.com/users/infinum/repos","events_url":"https://api.github.com/users/infinum/events{/privacy}","received_events_url":"https://api.github.com/users/infinum/received_events","type":"Organization","site_admin":false},"repo":{"id":62612367,"name":"Android-Prince-of-Versions","full_name":"infinum/Android-Prince-of-Versions","owner":{"login":"infinum","id":97652,"avatar_url":"https://avatars.githubusercontent.com/u/97652?v=3","gravatar_id":"","url":"https://api.github.com/users/infinum","html_url":"https://github.com/infinum","followers_url":"https://api.github.com/users/infinum/followers","following_url":"https://api.github.com/users/infinum/following{/other_user}","gists_url":"https://api.github.com/users/infinum/gists{/gist_id}","starred_url":"https://api.github.com/users/infinum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinum/subscriptions","organizations_url":"https://api.github.com/users/infinum/orgs","repos_url":"https://api.github.com/users/infinum/repos","events_url":"https://api.github.com/users/infinum/events{/privacy}","received_events_url":"https://api.github.com/users/infinum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infinum/Android-Prince-of-Versions","description":null,"fork":false,"url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions","forks_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/forks","keys_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/teams","hooks_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/hooks","issue_events_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues/events{/number}","events_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/events","assignees_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/assignees{/user}","branches_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/branches{/branch}","tags_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/tags","blobs_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/refs{/sha}","trees_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/statuses/{sha}","languages_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/languages","stargazers_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/stargazers","contributors_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/contributors","subscribers_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/subscribers","subscription_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/subscription","commits_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/commits{/sha}","git_commits_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/commits{/sha}","comments_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/comments{/number}","issue_comment_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues/comments{/number}","contents_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/contents/{+path}","compare_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/merges","archive_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/downloads","issues_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues{/number}","pulls_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls{/number}","milestones_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/milestones{/number}","notifications_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/labels{/name}","releases_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/releases{/id}","deployments_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/deployments","created_at":"2016-07-05T06:41:56Z","updated_at":"2016-10-26T07:12:51Z","pushed_at":"2016-10-26T07:48:39Z","git_url":"git://github.com/infinum/Android-Prince-of-Versions.git","ssh_url":"git@github.com:infinum/Android-Prince-of-Versions.git","clone_url":"https://github.com/infinum/Android-Prince-of-Versions.git","svn_url":"https://github.com/infinum/Android-Prince-of-Versions","homepage":null,"size":303,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":2,"default_branch":"dev"}},"base":{"label":"infinum:dev","ref":"dev","sha":"37633a2fab39bf2bf0e010d7a1398396a718ba11","user":{"login":"infinum","id":97652,"avatar_url":"https://avatars.githubusercontent.com/u/97652?v=3","gravatar_id":"","url":"https://api.github.com/users/infinum","html_url":"https://github.com/infinum","followers_url":"https://api.github.com/users/infinum/followers","following_url":"https://api.github.com/users/infinum/following{/other_user}","gists_url":"https://api.github.com/users/infinum/gists{/gist_id}","starred_url":"https://api.github.com/users/infinum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinum/subscriptions","organizations_url":"https://api.github.com/users/infinum/orgs","repos_url":"https://api.github.com/users/infinum/repos","events_url":"https://api.github.com/users/infinum/events{/privacy}","received_events_url":"https://api.github.com/users/infinum/received_events","type":"Organization","site_admin":false},"repo":{"id":62612367,"name":"Android-Prince-of-Versions","full_name":"infinum/Android-Prince-of-Versions","owner":{"login":"infinum","id":97652,"avatar_url":"https://avatars.githubusercontent.com/u/97652?v=3","gravatar_id":"","url":"https://api.github.com/users/infinum","html_url":"https://github.com/infinum","followers_url":"https://api.github.com/users/infinum/followers","following_url":"https://api.github.com/users/infinum/following{/other_user}","gists_url":"https://api.github.com/users/infinum/gists{/gist_id}","starred_url":"https://api.github.com/users/infinum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinum/subscriptions","organizations_url":"https://api.github.com/users/infinum/orgs","repos_url":"https://api.github.com/users/infinum/repos","events_url":"https://api.github.com/users/infinum/events{/privacy}","received_events_url":"https://api.github.com/users/infinum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infinum/Android-Prince-of-Versions","description":null,"fork":false,"url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions","forks_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/forks","keys_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/teams","hooks_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/hooks","issue_events_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues/events{/number}","events_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/events","assignees_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/assignees{/user}","branches_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/branches{/branch}","tags_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/tags","blobs_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/refs{/sha}","trees_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/statuses/{sha}","languages_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/languages","stargazers_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/stargazers","contributors_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/contributors","subscribers_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/subscribers","subscription_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/subscription","commits_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/commits{/sha}","git_commits_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/git/commits{/sha}","comments_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/comments{/number}","issue_comment_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues/comments{/number}","contents_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/contents/{+path}","compare_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/merges","archive_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/downloads","issues_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues{/number}","pulls_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls{/number}","milestones_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/milestones{/number}","notifications_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/labels{/name}","releases_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/releases{/id}","deployments_url":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/deployments","created_at":"2016-07-05T06:41:56Z","updated_at":"2016-10-26T07:12:51Z","pushed_at":"2016-10-26T07:48:39Z","git_url":"git://github.com/infinum/Android-Prince-of-Versions.git","ssh_url":"git@github.com:infinum/Android-Prince-of-Versions.git","clone_url":"https://github.com/infinum/Android-Prince-of-Versions.git","svn_url":"https://github.com/infinum/Android-Prince-of-Versions","homepage":null,"size":303,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":2,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls/26"},"html":{"href":"https://github.com/infinum/Android-Prince-of-Versions/pull/26"},"issue":{"href":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues/26"},"comments":{"href":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/infinum/Android-Prince-of-Versions/statuses/8bb9bc8feda9b359d92027164110bb280bc833a5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"reisub","id":992835,"avatar_url":"https://avatars.githubusercontent.com/u/992835?v=3","gravatar_id":"","url":"https://api.github.com/users/reisub","html_url":"https://github.com/reisub","followers_url":"https://api.github.com/users/reisub/followers","following_url":"https://api.github.com/users/reisub/following{/other_user}","gists_url":"https://api.github.com/users/reisub/gists{/gist_id}","starred_url":"https://api.github.com/users/reisub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reisub/subscriptions","organizations_url":"https://api.github.com/users/reisub/orgs","repos_url":"https://api.github.com/users/reisub/repos","events_url":"https://api.github.com/users/reisub/events{/privacy}","received_events_url":"https://api.github.com/users/reisub/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":8,"additions":154,"deletions":135,"changed_files":30}}
{"actor":{"display_login":"reisub"}}