{"action":"opened","number":78,"pull_request":{"url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls/78","id":175148345,"html_url":"https://github.com/jusleg/simple-calculator-FAMINGO/pull/78","diff_url":"https://github.com/jusleg/simple-calculator-FAMINGO/pull/78.diff","patch_url":"https://github.com/jusleg/simple-calculator-FAMINGO/pull/78.patch","issue_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues/78","number":78,"state":"open","locked":false,"title":"Fixed trailing zero bug in CalculatorImpl [Issue #77]","user":{"login":"jusleg","id":4406751,"avatar_url":"https://avatars1.githubusercontent.com/u/4406751?v=4","gravatar_id":"","url":"https://api.github.com/users/jusleg","html_url":"https://github.com/jusleg","followers_url":"https://api.github.com/users/jusleg/followers","following_url":"https://api.github.com/users/jusleg/following{/other_user}","gists_url":"https://api.github.com/users/jusleg/gists{/gist_id}","starred_url":"https://api.github.com/users/jusleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jusleg/subscriptions","organizations_url":"https://api.github.com/users/jusleg/orgs","repos_url":"https://api.github.com/users/jusleg/repos","events_url":"https://api.github.com/users/jusleg/events{/privacy}","received_events_url":"https://api.github.com/users/jusleg/received_events","type":"User","site_admin":false},"body":"fixes: #77 \r\n\r\n### WHAT kind of change does this PR introduce?\r\nAdded a new method `formatUserInputTrailingZero` to add the proper trailing digits. It is used when setting the value after the user pressed a digit. I added a test to cover this case and renamed the neighboring tests so that they contained the word \"test\" in the method name (proper test conventions)\r\n\r\n### HOW is this accomplished?\r\n  * new method\r\n  * new test\r\n\r\n### Checklist\r\n- [x] Docs have been added / updated to reflect the changes\r\n- [x] I have reviewed and tested the changes :white_check_mark:\r\n- [x] I have squashed my commits to have a reasonable amount of commits\r\n- [x] All of the code I have written adhere to the coding conventions outlined in the coding conventions section of the wiki\r\n","created_at":"2018-03-15T04:53:38Z","updated_at":"2018-03-15T04:53:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls/78/commits","review_comments_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls/78/comments","review_comment_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues/78/comments","statuses_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/statuses/0831e06ead5add05f6e2281565a124967537dfc4","head":{"label":"jusleg:fix_trailing_zero","ref":"fix_trailing_zero","sha":"0831e06ead5add05f6e2281565a124967537dfc4","user":{"login":"jusleg","id":4406751,"avatar_url":"https://avatars1.githubusercontent.com/u/4406751?v=4","gravatar_id":"","url":"https://api.github.com/users/jusleg","html_url":"https://github.com/jusleg","followers_url":"https://api.github.com/users/jusleg/followers","following_url":"https://api.github.com/users/jusleg/following{/other_user}","gists_url":"https://api.github.com/users/jusleg/gists{/gist_id}","starred_url":"https://api.github.com/users/jusleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jusleg/subscriptions","organizations_url":"https://api.github.com/users/jusleg/orgs","repos_url":"https://api.github.com/users/jusleg/repos","events_url":"https://api.github.com/users/jusleg/events{/privacy}","received_events_url":"https://api.github.com/users/jusleg/received_events","type":"User","site_admin":false},"repo":{"id":117031606,"name":"simple-calculator-FAMINGO","full_name":"jusleg/simple-calculator-FAMINGO","owner":{"login":"jusleg","id":4406751,"avatar_url":"https://avatars1.githubusercontent.com/u/4406751?v=4","gravatar_id":"","url":"https://api.github.com/users/jusleg","html_url":"https://github.com/jusleg","followers_url":"https://api.github.com/users/jusleg/followers","following_url":"https://api.github.com/users/jusleg/following{/other_user}","gists_url":"https://api.github.com/users/jusleg/gists{/gist_id}","starred_url":"https://api.github.com/users/jusleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jusleg/subscriptions","organizations_url":"https://api.github.com/users/jusleg/orgs","repos_url":"https://api.github.com/users/jusleg/repos","events_url":"https://api.github.com/users/jusleg/events{/privacy}","received_events_url":"https://api.github.com/users/jusleg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jusleg/simple-calculator-FAMINGO","description":"A fork of SimpleMobileTools/Simple-Calculator for SOEN 390","fork":false,"url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO","forks_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/forks","keys_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/teams","hooks_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/hooks","issue_events_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues/events{/number}","events_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/events","assignees_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/assignees{/user}","branches_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/branches{/branch}","tags_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/tags","blobs_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/refs{/sha}","trees_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/statuses/{sha}","languages_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/languages","stargazers_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/stargazers","contributors_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/contributors","subscribers_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/subscribers","subscription_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/subscription","commits_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/commits{/sha}","git_commits_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/commits{/sha}","comments_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/comments{/number}","issue_comment_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues/comments{/number}","contents_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/contents/{+path}","compare_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/merges","archive_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/downloads","issues_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues{/number}","pulls_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls{/number}","milestones_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/milestones{/number}","notifications_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/labels{/name}","releases_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/releases{/id}","deployments_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/deployments","created_at":"2018-01-11T01:09:50Z","updated_at":"2018-03-14T20:14:07Z","pushed_at":"2018-03-15T04:51:15Z","git_url":"git://github.com/jusleg/simple-calculator-FAMINGO.git","ssh_url":"git@github.com:jusleg/simple-calculator-FAMINGO.git","clone_url":"https://github.com/jusleg/simple-calculator-FAMINGO.git","svn_url":"https://github.com/jusleg/simple-calculator-FAMINGO","homepage":"https://github.com/SimpleMobileTools/Simple-Calculator","size":1933,"stargazers_count":2,"watchers_count":2,"language":"Kotlin","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":25,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":25,"watchers":2,"default_branch":"master"}},"base":{"label":"jusleg:master","ref":"master","sha":"2f4b9a9bfcdfc660cf7d5a07973adc5fcc59441c","user":{"login":"jusleg","id":4406751,"avatar_url":"https://avatars1.githubusercontent.com/u/4406751?v=4","gravatar_id":"","url":"https://api.github.com/users/jusleg","html_url":"https://github.com/jusleg","followers_url":"https://api.github.com/users/jusleg/followers","following_url":"https://api.github.com/users/jusleg/following{/other_user}","gists_url":"https://api.github.com/users/jusleg/gists{/gist_id}","starred_url":"https://api.github.com/users/jusleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jusleg/subscriptions","organizations_url":"https://api.github.com/users/jusleg/orgs","repos_url":"https://api.github.com/users/jusleg/repos","events_url":"https://api.github.com/users/jusleg/events{/privacy}","received_events_url":"https://api.github.com/users/jusleg/received_events","type":"User","site_admin":false},"repo":{"id":117031606,"name":"simple-calculator-FAMINGO","full_name":"jusleg/simple-calculator-FAMINGO","owner":{"login":"jusleg","id":4406751,"avatar_url":"https://avatars1.githubusercontent.com/u/4406751?v=4","gravatar_id":"","url":"https://api.github.com/users/jusleg","html_url":"https://github.com/jusleg","followers_url":"https://api.github.com/users/jusleg/followers","following_url":"https://api.github.com/users/jusleg/following{/other_user}","gists_url":"https://api.github.com/users/jusleg/gists{/gist_id}","starred_url":"https://api.github.com/users/jusleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jusleg/subscriptions","organizations_url":"https://api.github.com/users/jusleg/orgs","repos_url":"https://api.github.com/users/jusleg/repos","events_url":"https://api.github.com/users/jusleg/events{/privacy}","received_events_url":"https://api.github.com/users/jusleg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jusleg/simple-calculator-FAMINGO","description":"A fork of SimpleMobileTools/Simple-Calculator for SOEN 390","fork":false,"url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO","forks_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/forks","keys_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/teams","hooks_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/hooks","issue_events_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues/events{/number}","events_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/events","assignees_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/assignees{/user}","branches_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/branches{/branch}","tags_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/tags","blobs_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/refs{/sha}","trees_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/statuses/{sha}","languages_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/languages","stargazers_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/stargazers","contributors_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/contributors","subscribers_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/subscribers","subscription_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/subscription","commits_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/commits{/sha}","git_commits_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/git/commits{/sha}","comments_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/comments{/number}","issue_comment_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues/comments{/number}","contents_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/contents/{+path}","compare_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/merges","archive_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/downloads","issues_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues{/number}","pulls_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls{/number}","milestones_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/milestones{/number}","notifications_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/labels{/name}","releases_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/releases{/id}","deployments_url":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/deployments","created_at":"2018-01-11T01:09:50Z","updated_at":"2018-03-14T20:14:07Z","pushed_at":"2018-03-15T04:51:15Z","git_url":"git://github.com/jusleg/simple-calculator-FAMINGO.git","ssh_url":"git@github.com:jusleg/simple-calculator-FAMINGO.git","clone_url":"https://github.com/jusleg/simple-calculator-FAMINGO.git","svn_url":"https://github.com/jusleg/simple-calculator-FAMINGO","homepage":"https://github.com/SimpleMobileTools/Simple-Calculator","size":1933,"stargazers_count":2,"watchers_count":2,"language":"Kotlin","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":25,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":25,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls/78"},"html":{"href":"https://github.com/jusleg/simple-calculator-FAMINGO/pull/78"},"issue":{"href":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues/78"},"comments":{"href":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/jusleg/simple-calculator-FAMINGO/statuses/0831e06ead5add05f6e2281565a124967537dfc4"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":26,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"jusleg"}}