{"action":"closed","number":24,"pull_request":{"url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls/24","id":202035351,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMDM1MzUx","html_url":"https://github.com/meshack-mbuvi/ride-my-way-api/pull/24","diff_url":"https://github.com/meshack-mbuvi/ride-my-way-api/pull/24.diff","patch_url":"https://github.com/meshack-mbuvi/ride-my-way-api/pull/24.patch","issue_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues/24","number":24,"state":"closed","locked":false,"title":"Bg fix ride offer details update 159110670","user":{"login":"meshack-mbuvi","id":9263906,"node_id":"MDQ6VXNlcjkyNjM5MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9263906?v=4","gravatar_id":"","url":"https://api.github.com/users/meshack-mbuvi","html_url":"https://github.com/meshack-mbuvi","followers_url":"https://api.github.com/users/meshack-mbuvi/followers","following_url":"https://api.github.com/users/meshack-mbuvi/following{/other_user}","gists_url":"https://api.github.com/users/meshack-mbuvi/gists{/gist_id}","starred_url":"https://api.github.com/users/meshack-mbuvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshack-mbuvi/subscriptions","organizations_url":"https://api.github.com/users/meshack-mbuvi/orgs","repos_url":"https://api.github.com/users/meshack-mbuvi/repos","events_url":"https://api.github.com/users/meshack-mbuvi/events{/privacy}","received_events_url":"https://api.github.com/users/meshack-mbuvi/received_events","type":"User","site_admin":false},"body":"#### what does this PR do?\r\nFixes ability of users to update only the ride offer they own\r\n\r\n#### Description of tasks to be done\r\n- Add tests for updating ride details by offer owner\r\n- Before updating details of a given ride offer, check to confirm user who is updating the offer owns it.\r\n\r\n#### How to perform manual testing\r\n- Clone this repository\r\n- Checkout to bg-fix-ride-offer-details-update-159110670\r\n- Create a ride offer by accessing `POST your-server/api/v1/users/rides`\r\n- Access `PUT your-server/api/v1//users/rides/{ride_id} with details of the ride offer`\r\n\r\n#### What are the pivotal tracker stories\r\n[Update ride offer](https://www.pivotaltracker.com/story/show/159110670)","created_at":"2018-07-17T18:50:15Z","updated_at":"2018-07-17T18:56:59Z","closed_at":"2018-07-17T18:56:59Z","merged_at":"2018-07-17T18:56:59Z","merge_commit_sha":"98eada7ae9ee632ca4679675cb26994e7197f683","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls/24/commits","review_comments_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls/24/comments","review_comment_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues/24/comments","statuses_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/statuses/330054984a08c737e0364358da805079275f520a","head":{"label":"meshack-mbuvi:bg-fix-ride-offer-details-update-159110670","ref":"bg-fix-ride-offer-details-update-159110670","sha":"330054984a08c737e0364358da805079275f520a","user":{"login":"meshack-mbuvi","id":9263906,"node_id":"MDQ6VXNlcjkyNjM5MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9263906?v=4","gravatar_id":"","url":"https://api.github.com/users/meshack-mbuvi","html_url":"https://github.com/meshack-mbuvi","followers_url":"https://api.github.com/users/meshack-mbuvi/followers","following_url":"https://api.github.com/users/meshack-mbuvi/following{/other_user}","gists_url":"https://api.github.com/users/meshack-mbuvi/gists{/gist_id}","starred_url":"https://api.github.com/users/meshack-mbuvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshack-mbuvi/subscriptions","organizations_url":"https://api.github.com/users/meshack-mbuvi/orgs","repos_url":"https://api.github.com/users/meshack-mbuvi/repos","events_url":"https://api.github.com/users/meshack-mbuvi/events{/privacy}","received_events_url":"https://api.github.com/users/meshack-mbuvi/received_events","type":"User","site_admin":false},"repo":{"id":138413437,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg0MTM0Mzc=","name":"ride-my-way-api","full_name":"meshack-mbuvi/ride-my-way-api","owner":{"login":"meshack-mbuvi","id":9263906,"node_id":"MDQ6VXNlcjkyNjM5MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9263906?v=4","gravatar_id":"","url":"https://api.github.com/users/meshack-mbuvi","html_url":"https://github.com/meshack-mbuvi","followers_url":"https://api.github.com/users/meshack-mbuvi/followers","following_url":"https://api.github.com/users/meshack-mbuvi/following{/other_user}","gists_url":"https://api.github.com/users/meshack-mbuvi/gists{/gist_id}","starred_url":"https://api.github.com/users/meshack-mbuvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshack-mbuvi/subscriptions","organizations_url":"https://api.github.com/users/meshack-mbuvi/orgs","repos_url":"https://api.github.com/users/meshack-mbuvi/repos","events_url":"https://api.github.com/users/meshack-mbuvi/events{/privacy}","received_events_url":"https://api.github.com/users/meshack-mbuvi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/meshack-mbuvi/ride-my-way-api","description":null,"fork":false,"url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api","forks_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/forks","keys_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/teams","hooks_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/hooks","issue_events_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues/events{/number}","events_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/events","assignees_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/assignees{/user}","branches_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/branches{/branch}","tags_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/tags","blobs_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/statuses/{sha}","languages_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/languages","stargazers_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/stargazers","contributors_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/contributors","subscribers_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/subscribers","subscription_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/subscription","commits_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/contents/{+path}","compare_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/merges","archive_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/downloads","issues_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues{/number}","pulls_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls{/number}","milestones_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/milestones{/number}","notifications_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/labels{/name}","releases_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/releases{/id}","deployments_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/deployments","created_at":"2018-06-23T15:42:46Z","updated_at":"2018-07-15T09:43:53Z","pushed_at":"2018-07-17T18:56:59Z","git_url":"git://github.com/meshack-mbuvi/ride-my-way-api.git","ssh_url":"git@github.com:meshack-mbuvi/ride-my-way-api.git","clone_url":"https://github.com/meshack-mbuvi/ride-my-way-api.git","svn_url":"https://github.com/meshack-mbuvi/ride-my-way-api","homepage":null,"size":8541,"stargazers_count":0,"watchers_count":0,"language":"API Blueprint","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":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":"meshack-mbuvi:develop","ref":"develop","sha":"837d3cf5a3ad055742c6c41d354bc64b729f0cc1","user":{"login":"meshack-mbuvi","id":9263906,"node_id":"MDQ6VXNlcjkyNjM5MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9263906?v=4","gravatar_id":"","url":"https://api.github.com/users/meshack-mbuvi","html_url":"https://github.com/meshack-mbuvi","followers_url":"https://api.github.com/users/meshack-mbuvi/followers","following_url":"https://api.github.com/users/meshack-mbuvi/following{/other_user}","gists_url":"https://api.github.com/users/meshack-mbuvi/gists{/gist_id}","starred_url":"https://api.github.com/users/meshack-mbuvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshack-mbuvi/subscriptions","organizations_url":"https://api.github.com/users/meshack-mbuvi/orgs","repos_url":"https://api.github.com/users/meshack-mbuvi/repos","events_url":"https://api.github.com/users/meshack-mbuvi/events{/privacy}","received_events_url":"https://api.github.com/users/meshack-mbuvi/received_events","type":"User","site_admin":false},"repo":{"id":138413437,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg0MTM0Mzc=","name":"ride-my-way-api","full_name":"meshack-mbuvi/ride-my-way-api","owner":{"login":"meshack-mbuvi","id":9263906,"node_id":"MDQ6VXNlcjkyNjM5MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9263906?v=4","gravatar_id":"","url":"https://api.github.com/users/meshack-mbuvi","html_url":"https://github.com/meshack-mbuvi","followers_url":"https://api.github.com/users/meshack-mbuvi/followers","following_url":"https://api.github.com/users/meshack-mbuvi/following{/other_user}","gists_url":"https://api.github.com/users/meshack-mbuvi/gists{/gist_id}","starred_url":"https://api.github.com/users/meshack-mbuvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshack-mbuvi/subscriptions","organizations_url":"https://api.github.com/users/meshack-mbuvi/orgs","repos_url":"https://api.github.com/users/meshack-mbuvi/repos","events_url":"https://api.github.com/users/meshack-mbuvi/events{/privacy}","received_events_url":"https://api.github.com/users/meshack-mbuvi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/meshack-mbuvi/ride-my-way-api","description":null,"fork":false,"url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api","forks_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/forks","keys_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/teams","hooks_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/hooks","issue_events_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues/events{/number}","events_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/events","assignees_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/assignees{/user}","branches_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/branches{/branch}","tags_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/tags","blobs_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/statuses/{sha}","languages_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/languages","stargazers_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/stargazers","contributors_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/contributors","subscribers_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/subscribers","subscription_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/subscription","commits_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/contents/{+path}","compare_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/merges","archive_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/downloads","issues_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues{/number}","pulls_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls{/number}","milestones_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/milestones{/number}","notifications_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/labels{/name}","releases_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/releases{/id}","deployments_url":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/deployments","created_at":"2018-06-23T15:42:46Z","updated_at":"2018-07-15T09:43:53Z","pushed_at":"2018-07-17T18:56:59Z","git_url":"git://github.com/meshack-mbuvi/ride-my-way-api.git","ssh_url":"git@github.com:meshack-mbuvi/ride-my-way-api.git","clone_url":"https://github.com/meshack-mbuvi/ride-my-way-api.git","svn_url":"https://github.com/meshack-mbuvi/ride-my-way-api","homepage":null,"size":8541,"stargazers_count":0,"watchers_count":0,"language":"API Blueprint","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":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"}},"_links":{"self":{"href":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls/24"},"html":{"href":"https://github.com/meshack-mbuvi/ride-my-way-api/pull/24"},"issue":{"href":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues/24"},"comments":{"href":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/meshack-mbuvi/ride-my-way-api/statuses/330054984a08c737e0364358da805079275f520a"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"meshack-mbuvi","id":9263906,"node_id":"MDQ6VXNlcjkyNjM5MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/9263906?v=4","gravatar_id":"","url":"https://api.github.com/users/meshack-mbuvi","html_url":"https://github.com/meshack-mbuvi","followers_url":"https://api.github.com/users/meshack-mbuvi/followers","following_url":"https://api.github.com/users/meshack-mbuvi/following{/other_user}","gists_url":"https://api.github.com/users/meshack-mbuvi/gists{/gist_id}","starred_url":"https://api.github.com/users/meshack-mbuvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshack-mbuvi/subscriptions","organizations_url":"https://api.github.com/users/meshack-mbuvi/orgs","repos_url":"https://api.github.com/users/meshack-mbuvi/repos","events_url":"https://api.github.com/users/meshack-mbuvi/events{/privacy}","received_events_url":"https://api.github.com/users/meshack-mbuvi/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":105,"deletions":27,"changed_files":4}}
{"actor":{"display_login":"meshack-mbuvi"}}