{"action":"opened","number":805,"pull_request":{"url":"https://api.github.com/repos/rubyforgood/diaper/pulls/805","id":270142441,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcwMTQyNDQx","html_url":"https://github.com/rubyforgood/diaper/pull/805","diff_url":"https://github.com/rubyforgood/diaper/pull/805.diff","patch_url":"https://github.com/rubyforgood/diaper/pull/805.patch","issue_url":"https://api.github.com/repos/rubyforgood/diaper/issues/805","number":805,"state":"open","locked":false,"title":"Add total value in donations","user":{"login":"felipelovato","id":2296173,"node_id":"MDQ6VXNlcjIyOTYxNzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2296173?v=4","gravatar_id":"","url":"https://api.github.com/users/felipelovato","html_url":"https://github.com/felipelovato","followers_url":"https://api.github.com/users/felipelovato/followers","following_url":"https://api.github.com/users/felipelovato/following{/other_user}","gists_url":"https://api.github.com/users/felipelovato/gists{/gist_id}","starred_url":"https://api.github.com/users/felipelovato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipelovato/subscriptions","organizations_url":"https://api.github.com/users/felipelovato/orgs","repos_url":"https://api.github.com/users/felipelovato/repos","events_url":"https://api.github.com/users/felipelovato/events{/privacy}","received_events_url":"https://api.github.com/users/felipelovato/received_events","type":"User","site_admin":false},"body":"<!--Read comments, before committing pull request read checklist again\r\n\r\n# Checklist:\r\n\r\n- I have performed a self-review of my own code,\r\n- I have commented my code, particularly in hard-to-understand areas,\r\n- I have made corresponding changes to the documentation,\r\n- I have added tests that prove my fix is effective or that my feature works,\r\n- New and existing unit tests pass locally with my changes (\"bundle exec rake\"),\r\n- Title include \"WIP\" if work is in progress.\r\n\r\n-->\r\n\r\nResolves #798  <!--fill issue number-->\r\n\r\n### Description\r\n<!-- Please include a summary of the change and which issue is fixed. \r\nPlease also include relevant motivation and context.\r\nGuide questions:\r\n  - What motivated this change (if not already described in an issue)?\r\n  - What alternative solutions did you consider?\r\n  - What are the tradeoffs for your solution?\r\n   \r\nList any dependencies that are required for this change. (gems, js libraries, etc.)\r\n\r\nInclude anything else we should know about. -->\r\n\r\nAdd donation total item values in index and show pages \r\n\r\n### Type of change\r\n<!-- Please delete options that are not relevant. -->\r\n* New feature (non-breaking change which adds functionality)\r\n\r\n### How Has This Been Tested?\r\n\r\n<!-- Please describe the tests that you ran to verify your changes. \r\nProvide instructions so we can reproduce. \r\nDo we need to do anything else to verify your changes? \r\nIf so, provide instructions (including any relevant configuration) so that we can reproduce? -->\r\n- RSpec test\r\n- manually\r\n### Screenshots\r\n<!--Optional. Delete if not relevant. \r\nInclude screenshots (before / after) for style changes, highlight edited element.-->\r\n![Screen Shot 2019-04-12 at 17 14 09](https://user-images.githubusercontent.com/2296173/56063739-801d2b80-5d46-11e9-80ec-55920b10b1f5.png)\r\n\r\n---\r\n\r\n![Screen Shot 2019-04-12 at 17 14 41](https://user-images.githubusercontent.com/2296173/56063738-801d2b80-5d46-11e9-9b68-ca641977cb4e.png)","created_at":"2019-04-12T20:25:12Z","updated_at":"2019-04-12T20:25:12Z","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/rubyforgood/diaper/pulls/805/commits","review_comments_url":"https://api.github.com/repos/rubyforgood/diaper/pulls/805/comments","review_comment_url":"https://api.github.com/repos/rubyforgood/diaper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubyforgood/diaper/issues/805/comments","statuses_url":"https://api.github.com/repos/rubyforgood/diaper/statuses/26c0bcbc961bce8c2175a8baf8191342b9998d12","head":{"label":"felipelovato:798-add-value-to-donations","ref":"798-add-value-to-donations","sha":"26c0bcbc961bce8c2175a8baf8191342b9998d12","user":{"login":"felipelovato","id":2296173,"node_id":"MDQ6VXNlcjIyOTYxNzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2296173?v=4","gravatar_id":"","url":"https://api.github.com/users/felipelovato","html_url":"https://github.com/felipelovato","followers_url":"https://api.github.com/users/felipelovato/followers","following_url":"https://api.github.com/users/felipelovato/following{/other_user}","gists_url":"https://api.github.com/users/felipelovato/gists{/gist_id}","starred_url":"https://api.github.com/users/felipelovato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipelovato/subscriptions","organizations_url":"https://api.github.com/users/felipelovato/orgs","repos_url":"https://api.github.com/users/felipelovato/repos","events_url":"https://api.github.com/users/felipelovato/events{/privacy}","received_events_url":"https://api.github.com/users/felipelovato/received_events","type":"User","site_admin":false},"repo":{"id":175033415,"node_id":"MDEwOlJlcG9zaXRvcnkxNzUwMzM0MTU=","name":"diaper","full_name":"felipelovato/diaper","private":false,"owner":{"login":"felipelovato","id":2296173,"node_id":"MDQ6VXNlcjIyOTYxNzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2296173?v=4","gravatar_id":"","url":"https://api.github.com/users/felipelovato","html_url":"https://github.com/felipelovato","followers_url":"https://api.github.com/users/felipelovato/followers","following_url":"https://api.github.com/users/felipelovato/following{/other_user}","gists_url":"https://api.github.com/users/felipelovato/gists{/gist_id}","starred_url":"https://api.github.com/users/felipelovato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipelovato/subscriptions","organizations_url":"https://api.github.com/users/felipelovato/orgs","repos_url":"https://api.github.com/users/felipelovato/repos","events_url":"https://api.github.com/users/felipelovato/events{/privacy}","received_events_url":"https://api.github.com/users/felipelovato/received_events","type":"User","site_admin":false},"html_url":"https://github.com/felipelovato/diaper","description":"Diaperbase is an inventory system for diaper banks, to aid them in tracking their inventory and providing statistics about their inventory flows.","fork":true,"url":"https://api.github.com/repos/felipelovato/diaper","forks_url":"https://api.github.com/repos/felipelovato/diaper/forks","keys_url":"https://api.github.com/repos/felipelovato/diaper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felipelovato/diaper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felipelovato/diaper/teams","hooks_url":"https://api.github.com/repos/felipelovato/diaper/hooks","issue_events_url":"https://api.github.com/repos/felipelovato/diaper/issues/events{/number}","events_url":"https://api.github.com/repos/felipelovato/diaper/events","assignees_url":"https://api.github.com/repos/felipelovato/diaper/assignees{/user}","branches_url":"https://api.github.com/repos/felipelovato/diaper/branches{/branch}","tags_url":"https://api.github.com/repos/felipelovato/diaper/tags","blobs_url":"https://api.github.com/repos/felipelovato/diaper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felipelovato/diaper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felipelovato/diaper/git/refs{/sha}","trees_url":"https://api.github.com/repos/felipelovato/diaper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felipelovato/diaper/statuses/{sha}","languages_url":"https://api.github.com/repos/felipelovato/diaper/languages","stargazers_url":"https://api.github.com/repos/felipelovato/diaper/stargazers","contributors_url":"https://api.github.com/repos/felipelovato/diaper/contributors","subscribers_url":"https://api.github.com/repos/felipelovato/diaper/subscribers","subscription_url":"https://api.github.com/repos/felipelovato/diaper/subscription","commits_url":"https://api.github.com/repos/felipelovato/diaper/commits{/sha}","git_commits_url":"https://api.github.com/repos/felipelovato/diaper/git/commits{/sha}","comments_url":"https://api.github.com/repos/felipelovato/diaper/comments{/number}","issue_comment_url":"https://api.github.com/repos/felipelovato/diaper/issues/comments{/number}","contents_url":"https://api.github.com/repos/felipelovato/diaper/contents/{+path}","compare_url":"https://api.github.com/repos/felipelovato/diaper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felipelovato/diaper/merges","archive_url":"https://api.github.com/repos/felipelovato/diaper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felipelovato/diaper/downloads","issues_url":"https://api.github.com/repos/felipelovato/diaper/issues{/number}","pulls_url":"https://api.github.com/repos/felipelovato/diaper/pulls{/number}","milestones_url":"https://api.github.com/repos/felipelovato/diaper/milestones{/number}","notifications_url":"https://api.github.com/repos/felipelovato/diaper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felipelovato/diaper/labels{/name}","releases_url":"https://api.github.com/repos/felipelovato/diaper/releases{/id}","deployments_url":"https://api.github.com/repos/felipelovato/diaper/deployments","created_at":"2019-03-11T15:48:51Z","updated_at":"2019-04-12T16:22:29Z","pushed_at":"2019-04-12T19:54:36Z","git_url":"git://github.com/felipelovato/diaper.git","ssh_url":"git@github.com:felipelovato/diaper.git","clone_url":"https://github.com/felipelovato/diaper.git","svn_url":"https://github.com/felipelovato/diaper","homepage":"https://diaper.app","size":22131,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubyforgood:master","ref":"master","sha":"aa5e62e65063778413ea93f134ec50aa8a3d7c28","user":{"login":"rubyforgood","id":11573263,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTczMjYz","avatar_url":"https://avatars1.githubusercontent.com/u/11573263?v=4","gravatar_id":"","url":"https://api.github.com/users/rubyforgood","html_url":"https://github.com/rubyforgood","followers_url":"https://api.github.com/users/rubyforgood/followers","following_url":"https://api.github.com/users/rubyforgood/following{/other_user}","gists_url":"https://api.github.com/users/rubyforgood/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyforgood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyforgood/subscriptions","organizations_url":"https://api.github.com/users/rubyforgood/orgs","repos_url":"https://api.github.com/users/rubyforgood/repos","events_url":"https://api.github.com/users/rubyforgood/events{/privacy}","received_events_url":"https://api.github.com/users/rubyforgood/received_events","type":"Organization","site_admin":false},"repo":{"id":89035461,"node_id":"MDEwOlJlcG9zaXRvcnk4OTAzNTQ2MQ==","name":"diaper","full_name":"rubyforgood/diaper","private":false,"owner":{"login":"rubyforgood","id":11573263,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTczMjYz","avatar_url":"https://avatars1.githubusercontent.com/u/11573263?v=4","gravatar_id":"","url":"https://api.github.com/users/rubyforgood","html_url":"https://github.com/rubyforgood","followers_url":"https://api.github.com/users/rubyforgood/followers","following_url":"https://api.github.com/users/rubyforgood/following{/other_user}","gists_url":"https://api.github.com/users/rubyforgood/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyforgood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyforgood/subscriptions","organizations_url":"https://api.github.com/users/rubyforgood/orgs","repos_url":"https://api.github.com/users/rubyforgood/repos","events_url":"https://api.github.com/users/rubyforgood/events{/privacy}","received_events_url":"https://api.github.com/users/rubyforgood/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rubyforgood/diaper","description":"Diaperbase is an inventory system for diaper banks, to aid them in tracking their inventory and providing statistics about their inventory flows.","fork":false,"url":"https://api.github.com/repos/rubyforgood/diaper","forks_url":"https://api.github.com/repos/rubyforgood/diaper/forks","keys_url":"https://api.github.com/repos/rubyforgood/diaper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubyforgood/diaper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubyforgood/diaper/teams","hooks_url":"https://api.github.com/repos/rubyforgood/diaper/hooks","issue_events_url":"https://api.github.com/repos/rubyforgood/diaper/issues/events{/number}","events_url":"https://api.github.com/repos/rubyforgood/diaper/events","assignees_url":"https://api.github.com/repos/rubyforgood/diaper/assignees{/user}","branches_url":"https://api.github.com/repos/rubyforgood/diaper/branches{/branch}","tags_url":"https://api.github.com/repos/rubyforgood/diaper/tags","blobs_url":"https://api.github.com/repos/rubyforgood/diaper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubyforgood/diaper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubyforgood/diaper/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubyforgood/diaper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubyforgood/diaper/statuses/{sha}","languages_url":"https://api.github.com/repos/rubyforgood/diaper/languages","stargazers_url":"https://api.github.com/repos/rubyforgood/diaper/stargazers","contributors_url":"https://api.github.com/repos/rubyforgood/diaper/contributors","subscribers_url":"https://api.github.com/repos/rubyforgood/diaper/subscribers","subscription_url":"https://api.github.com/repos/rubyforgood/diaper/subscription","commits_url":"https://api.github.com/repos/rubyforgood/diaper/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubyforgood/diaper/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubyforgood/diaper/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubyforgood/diaper/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubyforgood/diaper/contents/{+path}","compare_url":"https://api.github.com/repos/rubyforgood/diaper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubyforgood/diaper/merges","archive_url":"https://api.github.com/repos/rubyforgood/diaper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubyforgood/diaper/downloads","issues_url":"https://api.github.com/repos/rubyforgood/diaper/issues{/number}","pulls_url":"https://api.github.com/repos/rubyforgood/diaper/pulls{/number}","milestones_url":"https://api.github.com/repos/rubyforgood/diaper/milestones{/number}","notifications_url":"https://api.github.com/repos/rubyforgood/diaper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubyforgood/diaper/labels{/name}","releases_url":"https://api.github.com/repos/rubyforgood/diaper/releases{/id}","deployments_url":"https://api.github.com/repos/rubyforgood/diaper/deployments","created_at":"2017-04-22T01:11:13Z","updated_at":"2019-04-12T07:40:22Z","pushed_at":"2019-04-12T07:51:09Z","git_url":"git://github.com/rubyforgood/diaper.git","ssh_url":"git@github.com:rubyforgood/diaper.git","clone_url":"https://github.com/rubyforgood/diaper.git","svn_url":"https://github.com/rubyforgood/diaper","homepage":"https://diaper.app","size":22522,"stargazers_count":53,"watchers_count":53,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":84,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":51,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":84,"open_issues":51,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubyforgood/diaper/pulls/805"},"html":{"href":"https://github.com/rubyforgood/diaper/pull/805"},"issue":{"href":"https://api.github.com/repos/rubyforgood/diaper/issues/805"},"comments":{"href":"https://api.github.com/repos/rubyforgood/diaper/issues/805/comments"},"review_comments":{"href":"https://api.github.com/repos/rubyforgood/diaper/pulls/805/comments"},"review_comment":{"href":"https://api.github.com/repos/rubyforgood/diaper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubyforgood/diaper/pulls/805/commits"},"statuses":{"href":"https://api.github.com/repos/rubyforgood/diaper/statuses/26c0bcbc961bce8c2175a8baf8191342b9998d12"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":48,"deletions":8,"changed_files":6}}
{"actor":{"display_login":"felipelovato"}}