{"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/comments/71361416","id":71361416,"diff_hunk":"@@ -13,9 +13,13 @@\n \t- @user_form = cp\n \t= render partial: 'users/subform'\n \t.form-group\n+\t\t= cp.label :address_id, 'Address', class: 'control-label col-sm-2'\n+\t\t.col-sm-6\n+\t\t\t= cp.select(:address_id, @company_addresses.collect { |a| [a.full_address, a.id] }, {include_blank: true}, class: 'form-control')\n+\n+\t.form-group\n \t\t.col-sm-2.col-sm-offset-2\n \t\t\t=@user_form.submit class: 'btn btn-primary'\n \t\t.col-sm-2.col-sm-offset-1\n \t\t\t=link_to 'Cancel', root_path, class: 'btn btn-danger'\n-%i (leave password blank, if you don't want to change it)","path":"app/views/company_people/edit_profile.html.haml","position":13,"original_position":13,"commit_id":"f8c514782f06aa79552b655f4725a92f3e274764","original_commit_id":"f8c514782f06aa79552b655f4725a92f3e274764","user":{"login":"jeanwei","id":16623014,"avatar_url":"https://avatars.githubusercontent.com/u/16623014?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanwei","html_url":"https://github.com/jeanwei","followers_url":"https://api.github.com/users/jeanwei/followers","following_url":"https://api.github.com/users/jeanwei/following{/other_user}","gists_url":"https://api.github.com/users/jeanwei/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanwei/subscriptions","organizations_url":"https://api.github.com/users/jeanwei/orgs","repos_url":"https://api.github.com/users/jeanwei/repos","events_url":"https://api.github.com/users/jeanwei/events{/privacy}","received_events_url":"https://api.github.com/users/jeanwei/received_events","type":"User","site_admin":false},"body":"We have added this information in the password placeholder","created_at":"2016-07-19T15:25:22Z","updated_at":"2016-07-19T15:25:22Z","html_url":"https://github.com/AgileVentures/MetPlus_PETS/pull/330#discussion_r71361416","pull_request_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/330","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/comments/71361416"},"html":{"href":"https://github.com/AgileVentures/MetPlus_PETS/pull/330#discussion_r71361416"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/330"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/330","id":77830727,"html_url":"https://github.com/AgileVentures/MetPlus_PETS/pull/330","diff_url":"https://github.com/AgileVentures/MetPlus_PETS/pull/330.diff","patch_url":"https://github.com/AgileVentures/MetPlus_PETS/pull/330.patch","issue_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/issues/330","number":330,"state":"open","locked":false,"title":"Add address to company person profile #354","user":{"login":"jeanwei","id":16623014,"avatar_url":"https://avatars.githubusercontent.com/u/16623014?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanwei","html_url":"https://github.com/jeanwei","followers_url":"https://api.github.com/users/jeanwei/followers","following_url":"https://api.github.com/users/jeanwei/following{/other_user}","gists_url":"https://api.github.com/users/jeanwei/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanwei/subscriptions","organizations_url":"https://api.github.com/users/jeanwei/orgs","repos_url":"https://api.github.com/users/jeanwei/repos","events_url":"https://api.github.com/users/jeanwei/events{/privacy}","received_events_url":"https://api.github.com/users/jeanwei/received_events","type":"User","site_admin":false},"body":"1. Selection of company addresses is included to company_people/edit_profile.html.haml\r\n2. :address_id is permitted in company_people_controller\r\n3. change #update_profile redirect_to #show if success \r\n    (note: url for #show is /company_admin/company_people/:id)\r\n4. change on rspec & cucumber files accordingly\r\n5. lengthen the waiting time in 2 cucumber features to allow passing\r\n\r\n","created_at":"2016-07-18T15:45:06Z","updated_at":"2016-07-19T15:25:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05bc10b072932ba9644872f7064204da7b149c51","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/330/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/330/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/issues/330/comments","statuses_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/statuses/f8c514782f06aa79552b655f4725a92f3e274764","head":{"label":"jeanwei:add_address_to_company_person_profile-#354","ref":"add_address_to_company_person_profile-#354","sha":"f8c514782f06aa79552b655f4725a92f3e274764","user":{"login":"jeanwei","id":16623014,"avatar_url":"https://avatars.githubusercontent.com/u/16623014?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanwei","html_url":"https://github.com/jeanwei","followers_url":"https://api.github.com/users/jeanwei/followers","following_url":"https://api.github.com/users/jeanwei/following{/other_user}","gists_url":"https://api.github.com/users/jeanwei/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanwei/subscriptions","organizations_url":"https://api.github.com/users/jeanwei/orgs","repos_url":"https://api.github.com/users/jeanwei/repos","events_url":"https://api.github.com/users/jeanwei/events{/privacy}","received_events_url":"https://api.github.com/users/jeanwei/received_events","type":"User","site_admin":false},"repo":{"id":63299745,"name":"MetPlus_PETS","full_name":"jeanwei/MetPlus_PETS","owner":{"login":"jeanwei","id":16623014,"avatar_url":"https://avatars.githubusercontent.com/u/16623014?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanwei","html_url":"https://github.com/jeanwei","followers_url":"https://api.github.com/users/jeanwei/followers","following_url":"https://api.github.com/users/jeanwei/following{/other_user}","gists_url":"https://api.github.com/users/jeanwei/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanwei/subscriptions","organizations_url":"https://api.github.com/users/jeanwei/orgs","repos_url":"https://api.github.com/users/jeanwei/repos","events_url":"https://api.github.com/users/jeanwei/events{/privacy}","received_events_url":"https://api.github.com/users/jeanwei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeanwei/MetPlus_PETS","description":"Front End for the MetPlus project","fork":true,"url":"https://api.github.com/repos/jeanwei/MetPlus_PETS","forks_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/forks","keys_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/teams","hooks_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/hooks","issue_events_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/issues/events{/number}","events_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/events","assignees_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/assignees{/user}","branches_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/branches{/branch}","tags_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/tags","blobs_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/statuses/{sha}","languages_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/languages","stargazers_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/stargazers","contributors_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/contributors","subscribers_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/subscribers","subscription_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/subscription","commits_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/contents/{+path}","compare_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/merges","archive_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/downloads","issues_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/issues{/number}","pulls_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/pulls{/number}","milestones_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/milestones{/number}","notifications_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/labels{/name}","releases_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/releases{/id}","deployments_url":"https://api.github.com/repos/jeanwei/MetPlus_PETS/deployments","created_at":"2016-07-14T03:40:51Z","updated_at":"2016-07-14T03:40:52Z","pushed_at":"2016-07-19T12:56:12Z","git_url":"git://github.com/jeanwei/MetPlus_PETS.git","ssh_url":"git@github.com:jeanwei/MetPlus_PETS.git","clone_url":"https://github.com/jeanwei/MetPlus_PETS.git","svn_url":"https://github.com/jeanwei/MetPlus_PETS","homepage":null,"size":1827,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"development"}},"base":{"label":"AgileVentures:development","ref":"development","sha":"5073b3b935bba47cb410743c21872b5d2194f2ba","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":41921394,"name":"MetPlus_PETS","full_name":"AgileVentures/MetPlus_PETS","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/MetPlus_PETS","description":"Front End for the MetPlus project","fork":false,"url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS","forks_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/forks","keys_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/teams","hooks_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/events","assignees_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/tags","blobs_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/subscription","commits_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/merges","archive_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/downloads","issues_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/releases{/id}","deployments_url":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/deployments","created_at":"2015-09-04T14:51:35Z","updated_at":"2016-06-02T16:00:36Z","pushed_at":"2016-07-19T14:54:35Z","git_url":"git://github.com/AgileVentures/MetPlus_PETS.git","ssh_url":"git@github.com:AgileVentures/MetPlus_PETS.git","clone_url":"https://github.com/AgileVentures/MetPlus_PETS.git","svn_url":"https://github.com/AgileVentures/MetPlus_PETS","homepage":null,"size":2097,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":5,"forks":27,"open_issues":5,"watchers":3,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/330"},"html":{"href":"https://github.com/AgileVentures/MetPlus_PETS/pull/330"},"issue":{"href":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/issues/330"},"comments":{"href":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/issues/330/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/330/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/pulls/330/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/MetPlus_PETS/statuses/f8c514782f06aa79552b655f4725a92f3e274764"}}}}
{"actor":{"display_login":"jeanwei"}}