{"action":"created","comment":{"url":"https://api.github.com/repos/nasa/earthdata-search/pulls/comments/45795439","id":45795439,"diff_hunk":"@@ -111,6 +111,7 @@ def use_collection(id)\n   def clear_session\n     store_oauth_token()\n     session[:user_id] = nil\n+    session[:user_name] = nil","path":"app/controllers/application_controller.rb","position":4,"original_position":4,"commit_id":"5f48052eea5e488bd26c964f6adf2ae0fd8cb8b3","original_commit_id":"5f48052eea5e488bd26c964f6adf2ae0fd8cb8b3","user":{"login":"mightynimble","id":4483629,"avatar_url":"https://avatars.githubusercontent.com/u/4483629?v=3","gravatar_id":"","url":"https://api.github.com/users/mightynimble","html_url":"https://github.com/mightynimble","followers_url":"https://api.github.com/users/mightynimble/followers","following_url":"https://api.github.com/users/mightynimble/following{/other_user}","gists_url":"https://api.github.com/users/mightynimble/gists{/gist_id}","starred_url":"https://api.github.com/users/mightynimble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightynimble/subscriptions","organizations_url":"https://api.github.com/users/mightynimble/orgs","repos_url":"https://api.github.com/users/mightynimble/repos","events_url":"https://api.github.com/users/mightynimble/events{/privacy}","received_events_url":"https://api.github.com/users/mightynimble/received_events","type":"User","site_admin":false},"body":"In addition to :user_id, also store/clear user_name for easy interaction with URS.","created_at":"2015-11-24T21:12:36Z","updated_at":"2015-11-24T21:12:36Z","html_url":"https://github.com/nasa/earthdata-search/pull/66#discussion_r45795439","pull_request_url":"https://api.github.com/repos/nasa/earthdata-search/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/nasa/earthdata-search/pulls/comments/45795439"},"html":{"href":"https://github.com/nasa/earthdata-search/pull/66#discussion_r45795439"},"pull_request":{"href":"https://api.github.com/repos/nasa/earthdata-search/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/nasa/earthdata-search/pulls/66","id":51717403,"html_url":"https://github.com/nasa/earthdata-search/pull/66","diff_url":"https://github.com/nasa/earthdata-search/pull/66.diff","patch_url":"https://github.com/nasa/earthdata-search/pull/66.patch","issue_url":"https://api.github.com/repos/nasa/earthdata-search/issues/66","number":66,"state":"open","locked":false,"title":"EDSC 807 Grab user info from URS.","user":{"login":"mightynimble","id":4483629,"avatar_url":"https://avatars.githubusercontent.com/u/4483629?v=3","gravatar_id":"","url":"https://api.github.com/users/mightynimble","html_url":"https://github.com/mightynimble","followers_url":"https://api.github.com/users/mightynimble/followers","following_url":"https://api.github.com/users/mightynimble/following{/other_user}","gists_url":"https://api.github.com/users/mightynimble/gists{/gist_id}","starred_url":"https://api.github.com/users/mightynimble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightynimble/subscriptions","organizations_url":"https://api.github.com/users/mightynimble/orgs","repos_url":"https://api.github.com/users/mightynimble/repos","events_url":"https://api.github.com/users/mightynimble/events{/privacy}","received_events_url":"https://api.github.com/users/mightynimble/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-24T21:10:11Z","updated_at":"2015-11-24T21:12:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7460a07ce9b056d281b9070c93ac90baafeb8818","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nasa/earthdata-search/pulls/66/commits","review_comments_url":"https://api.github.com/repos/nasa/earthdata-search/pulls/66/comments","review_comment_url":"https://api.github.com/repos/nasa/earthdata-search/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nasa/earthdata-search/issues/66/comments","statuses_url":"https://api.github.com/repos/nasa/earthdata-search/statuses/5f48052eea5e488bd26c964f6adf2ae0fd8cb8b3","head":{"label":"nasa:feature/edsc-807-new","ref":"feature/edsc-807-new","sha":"5f48052eea5e488bd26c964f6adf2ae0fd8cb8b3","user":{"login":"nasa","id":848102,"avatar_url":"https://avatars.githubusercontent.com/u/848102?v=3","gravatar_id":"","url":"https://api.github.com/users/nasa","html_url":"https://github.com/nasa","followers_url":"https://api.github.com/users/nasa/followers","following_url":"https://api.github.com/users/nasa/following{/other_user}","gists_url":"https://api.github.com/users/nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasa/subscriptions","organizations_url":"https://api.github.com/users/nasa/orgs","repos_url":"https://api.github.com/users/nasa/repos","events_url":"https://api.github.com/users/nasa/events{/privacy}","received_events_url":"https://api.github.com/users/nasa/received_events","type":"Organization","site_admin":false},"repo":{"id":40671758,"name":"earthdata-search","full_name":"nasa/earthdata-search","owner":{"login":"nasa","id":848102,"avatar_url":"https://avatars.githubusercontent.com/u/848102?v=3","gravatar_id":"","url":"https://api.github.com/users/nasa","html_url":"https://github.com/nasa","followers_url":"https://api.github.com/users/nasa/followers","following_url":"https://api.github.com/users/nasa/following{/other_user}","gists_url":"https://api.github.com/users/nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasa/subscriptions","organizations_url":"https://api.github.com/users/nasa/orgs","repos_url":"https://api.github.com/users/nasa/repos","events_url":"https://api.github.com/users/nasa/events{/privacy}","received_events_url":"https://api.github.com/users/nasa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nasa/earthdata-search","description":"Earthdata Search is a web application developed by NASA EOSDIS to enable data discovery, search, comparison, visualization, and access across EOSDIS' Earth Science data holdings.","fork":false,"url":"https://api.github.com/repos/nasa/earthdata-search","forks_url":"https://api.github.com/repos/nasa/earthdata-search/forks","keys_url":"https://api.github.com/repos/nasa/earthdata-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nasa/earthdata-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nasa/earthdata-search/teams","hooks_url":"https://api.github.com/repos/nasa/earthdata-search/hooks","issue_events_url":"https://api.github.com/repos/nasa/earthdata-search/issues/events{/number}","events_url":"https://api.github.com/repos/nasa/earthdata-search/events","assignees_url":"https://api.github.com/repos/nasa/earthdata-search/assignees{/user}","branches_url":"https://api.github.com/repos/nasa/earthdata-search/branches{/branch}","tags_url":"https://api.github.com/repos/nasa/earthdata-search/tags","blobs_url":"https://api.github.com/repos/nasa/earthdata-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nasa/earthdata-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nasa/earthdata-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/nasa/earthdata-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nasa/earthdata-search/statuses/{sha}","languages_url":"https://api.github.com/repos/nasa/earthdata-search/languages","stargazers_url":"https://api.github.com/repos/nasa/earthdata-search/stargazers","contributors_url":"https://api.github.com/repos/nasa/earthdata-search/contributors","subscribers_url":"https://api.github.com/repos/nasa/earthdata-search/subscribers","subscription_url":"https://api.github.com/repos/nasa/earthdata-search/subscription","commits_url":"https://api.github.com/repos/nasa/earthdata-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/nasa/earthdata-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/nasa/earthdata-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/nasa/earthdata-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/nasa/earthdata-search/contents/{+path}","compare_url":"https://api.github.com/repos/nasa/earthdata-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nasa/earthdata-search/merges","archive_url":"https://api.github.com/repos/nasa/earthdata-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nasa/earthdata-search/downloads","issues_url":"https://api.github.com/repos/nasa/earthdata-search/issues{/number}","pulls_url":"https://api.github.com/repos/nasa/earthdata-search/pulls{/number}","milestones_url":"https://api.github.com/repos/nasa/earthdata-search/milestones{/number}","notifications_url":"https://api.github.com/repos/nasa/earthdata-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nasa/earthdata-search/labels{/name}","releases_url":"https://api.github.com/repos/nasa/earthdata-search/releases{/id}","created_at":"2015-08-13T17:13:40Z","updated_at":"2015-11-04T21:01:48Z","pushed_at":"2015-11-24T21:10:11Z","git_url":"git://github.com/nasa/earthdata-search.git","ssh_url":"git@github.com:nasa/earthdata-search.git","clone_url":"https://github.com/nasa/earthdata-search.git","svn_url":"https://github.com/nasa/earthdata-search","homepage":"https://search.earthdata.nasa.gov","size":21137,"stargazers_count":31,"watchers_count":31,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":31,"default_branch":"master"}},"base":{"label":"nasa:master","ref":"master","sha":"cf01c6ece0e74384c447954e8e749ce06dcb154a","user":{"login":"nasa","id":848102,"avatar_url":"https://avatars.githubusercontent.com/u/848102?v=3","gravatar_id":"","url":"https://api.github.com/users/nasa","html_url":"https://github.com/nasa","followers_url":"https://api.github.com/users/nasa/followers","following_url":"https://api.github.com/users/nasa/following{/other_user}","gists_url":"https://api.github.com/users/nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasa/subscriptions","organizations_url":"https://api.github.com/users/nasa/orgs","repos_url":"https://api.github.com/users/nasa/repos","events_url":"https://api.github.com/users/nasa/events{/privacy}","received_events_url":"https://api.github.com/users/nasa/received_events","type":"Organization","site_admin":false},"repo":{"id":40671758,"name":"earthdata-search","full_name":"nasa/earthdata-search","owner":{"login":"nasa","id":848102,"avatar_url":"https://avatars.githubusercontent.com/u/848102?v=3","gravatar_id":"","url":"https://api.github.com/users/nasa","html_url":"https://github.com/nasa","followers_url":"https://api.github.com/users/nasa/followers","following_url":"https://api.github.com/users/nasa/following{/other_user}","gists_url":"https://api.github.com/users/nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasa/subscriptions","organizations_url":"https://api.github.com/users/nasa/orgs","repos_url":"https://api.github.com/users/nasa/repos","events_url":"https://api.github.com/users/nasa/events{/privacy}","received_events_url":"https://api.github.com/users/nasa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nasa/earthdata-search","description":"Earthdata Search is a web application developed by NASA EOSDIS to enable data discovery, search, comparison, visualization, and access across EOSDIS' Earth Science data holdings.","fork":false,"url":"https://api.github.com/repos/nasa/earthdata-search","forks_url":"https://api.github.com/repos/nasa/earthdata-search/forks","keys_url":"https://api.github.com/repos/nasa/earthdata-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nasa/earthdata-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nasa/earthdata-search/teams","hooks_url":"https://api.github.com/repos/nasa/earthdata-search/hooks","issue_events_url":"https://api.github.com/repos/nasa/earthdata-search/issues/events{/number}","events_url":"https://api.github.com/repos/nasa/earthdata-search/events","assignees_url":"https://api.github.com/repos/nasa/earthdata-search/assignees{/user}","branches_url":"https://api.github.com/repos/nasa/earthdata-search/branches{/branch}","tags_url":"https://api.github.com/repos/nasa/earthdata-search/tags","blobs_url":"https://api.github.com/repos/nasa/earthdata-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nasa/earthdata-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nasa/earthdata-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/nasa/earthdata-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nasa/earthdata-search/statuses/{sha}","languages_url":"https://api.github.com/repos/nasa/earthdata-search/languages","stargazers_url":"https://api.github.com/repos/nasa/earthdata-search/stargazers","contributors_url":"https://api.github.com/repos/nasa/earthdata-search/contributors","subscribers_url":"https://api.github.com/repos/nasa/earthdata-search/subscribers","subscription_url":"https://api.github.com/repos/nasa/earthdata-search/subscription","commits_url":"https://api.github.com/repos/nasa/earthdata-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/nasa/earthdata-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/nasa/earthdata-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/nasa/earthdata-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/nasa/earthdata-search/contents/{+path}","compare_url":"https://api.github.com/repos/nasa/earthdata-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nasa/earthdata-search/merges","archive_url":"https://api.github.com/repos/nasa/earthdata-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nasa/earthdata-search/downloads","issues_url":"https://api.github.com/repos/nasa/earthdata-search/issues{/number}","pulls_url":"https://api.github.com/repos/nasa/earthdata-search/pulls{/number}","milestones_url":"https://api.github.com/repos/nasa/earthdata-search/milestones{/number}","notifications_url":"https://api.github.com/repos/nasa/earthdata-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nasa/earthdata-search/labels{/name}","releases_url":"https://api.github.com/repos/nasa/earthdata-search/releases{/id}","created_at":"2015-08-13T17:13:40Z","updated_at":"2015-11-04T21:01:48Z","pushed_at":"2015-11-24T21:10:11Z","git_url":"git://github.com/nasa/earthdata-search.git","ssh_url":"git@github.com:nasa/earthdata-search.git","clone_url":"https://github.com/nasa/earthdata-search.git","svn_url":"https://github.com/nasa/earthdata-search","homepage":"https://search.earthdata.nasa.gov","size":21137,"stargazers_count":31,"watchers_count":31,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nasa/earthdata-search/pulls/66"},"html":{"href":"https://github.com/nasa/earthdata-search/pull/66"},"issue":{"href":"https://api.github.com/repos/nasa/earthdata-search/issues/66"},"comments":{"href":"https://api.github.com/repos/nasa/earthdata-search/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/nasa/earthdata-search/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/nasa/earthdata-search/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nasa/earthdata-search/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/nasa/earthdata-search/statuses/5f48052eea5e488bd26c964f6adf2ae0fd8cb8b3"}}}}