GitHub PullRequestReviewCommentEvent at 2014-07-14 23:56:04
Repository: bewd_11_nyc_homework
Actor: mwenger1
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/comments/14911285","id":14911285,"diff_hunk":"@@ -0,0 +1,35 @@\n+#This is a custom search api from google\n+\n+require_relative 'lib/googleClient'\n+#takes 1 input: userinput\n+#two variables: client & rawreturn\n+def convertURLtext(text)\n+\tinput = text\n+\twhile input.index(\" \")!=nil\n+\t\tinput[input.index(\" \")]=\"%20\"\n+\tend\n+\treturn input\n+end\n+\n+\n+puts \"Welcome to my 'First Google Custom Search' app. This app is design to be the ultimate FAQ for programmer by query only on stackoverflow.com and askubuntu.com sits\"\n+\n+choice = nil\n+\n+while choice != 'n'\n+\tputs \"Enter your Questions Below: \"\n+\tuserinput = convertURLtext(gets.chop)\n+\n+\tsearchResult = GoogleClient.new(userinput)\n+\n+\tsearchResult.organize","path":"_Steven_Yang/googleSearch/main.rb","position":25,"original_position":25,"commit_id":"b52109f465ee163c2b1b6e98ca3ebfe38d24b0b0","original_commit_id":"b52109f465ee163c2b1b6e98ca3ebfe38d24b0b0","user":{"login":"mwenger1","id":1781967,"avatar_url":"https://avatars.githubusercontent.com/u/1781967?","gravatar_id":"ce493f94bb1d4891015e3cba6f93d51e","url":"https://api.github.com/users/mwenger1","html_url":"https://github.com/mwenger1","followers_url":"https://api.github.com/users/mwenger1/followers","following_url":"https://api.github.com/users/mwenger1/following{/other_user}","gists_url":"https://api.github.com/users/mwenger1/gists{/gist_id}","starred_url":"https://api.github.com/users/mwenger1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwenger1/subscriptions","organizations_url":"https://api.github.com/users/mwenger1/orgs","repos_url":"https://api.github.com/users/mwenger1/repos","events_url":"https://api.github.com/users/mwenger1/events{/privacy}","received_events_url":"https://api.github.com/users/mwenger1/received_events","type":"User","site_admin":false},"body":"You might want to check searchResult to see if it has returned any values. If the user provides input that doesnt get a match, an error is triggered on this line.","created_at":"2014-07-14T23:56:04Z","updated_at":"2014-07-14T23:56:04Z","html_url":"https://github.com/ga-students/bewd_11_nyc_homework/pull/29#discussion_r14911285","pull_request_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/comments/14911285"},"html":{"href":"https://github.com/ga-students/bewd_11_nyc_homework/pull/29#discussion_r14911285"},"pull_request":{"href":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/29","id":18327450,"html_url":"https://github.com/ga-students/bewd_11_nyc_homework/pull/29","diff_url":"https://github.com/ga-students/bewd_11_nyc_homework/pull/29.diff","patch_url":"https://github.com/ga-students/bewd_11_nyc_homework/pull/29.patch","issue_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/issues/29","number":29,"state":"open","title":"Submitting MidTerm: \"GoogleSearch\"","user":{"login":"zhikyang","id":7907593,"avatar_url":"https://avatars.githubusercontent.com/u/7907593?","gravatar_id":"12439dce41993314d974f0f63598ca75","url":"https://api.github.com/users/zhikyang","html_url":"https://github.com/zhikyang","followers_url":"https://api.github.com/users/zhikyang/followers","following_url":"https://api.github.com/users/zhikyang/following{/other_user}","gists_url":"https://api.github.com/users/zhikyang/gists{/gist_id}","starred_url":"https://api.github.com/users/zhikyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhikyang/subscriptions","organizations_url":"https://api.github.com/users/zhikyang/orgs","repos_url":"https://api.github.com/users/zhikyang/repos","events_url":"https://api.github.com/users/zhikyang/events{/privacy}","received_events_url":"https://api.github.com/users/zhikyang/received_events","type":"User","site_admin":false},"body":"Rest Application that uses google custom search api.\r\n\r\nworks just like google search except it only returns research from stack flow and ubutinus sites. The purpose of that is to build an ultimate faq searching machine from programmers. ","created_at":"2014-07-13T22:31:25Z","updated_at":"2014-07-14T23:56:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0af83f4fc65b43235ee87570d014da3affb6a015","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/29/commits","review_comments_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/29/comments","review_comment_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/issues/29/comments","statuses_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/statuses/b52109f465ee163c2b1b6e98ca3ebfe38d24b0b0","head":{"label":"zhikyang:master","ref":"master","sha":"b52109f465ee163c2b1b6e98ca3ebfe38d24b0b0","user":{"login":"zhikyang","id":7907593,"avatar_url":"https://avatars.githubusercontent.com/u/7907593?","gravatar_id":"12439dce41993314d974f0f63598ca75","url":"https://api.github.com/users/zhikyang","html_url":"https://github.com/zhikyang","followers_url":"https://api.github.com/users/zhikyang/followers","following_url":"https://api.github.com/users/zhikyang/following{/other_user}","gists_url":"https://api.github.com/users/zhikyang/gists{/gist_id}","starred_url":"https://api.github.com/users/zhikyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhikyang/subscriptions","organizations_url":"https://api.github.com/users/zhikyang/orgs","repos_url":"https://api.github.com/users/zhikyang/repos","events_url":"https://api.github.com/users/zhikyang/events{/privacy}","received_events_url":"https://api.github.com/users/zhikyang/received_events","type":"User","site_admin":false},"repo":{"id":21145974,"name":"bewd_11_nyc_homework","full_name":"zhikyang/bewd_11_nyc_homework","owner":{"login":"zhikyang","id":7907593,"avatar_url":"https://avatars.githubusercontent.com/u/7907593?","gravatar_id":"12439dce41993314d974f0f63598ca75","url":"https://api.github.com/users/zhikyang","html_url":"https://github.com/zhikyang","followers_url":"https://api.github.com/users/zhikyang/followers","following_url":"https://api.github.com/users/zhikyang/following{/other_user}","gists_url":"https://api.github.com/users/zhikyang/gists{/gist_id}","starred_url":"https://api.github.com/users/zhikyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhikyang/subscriptions","organizations_url":"https://api.github.com/users/zhikyang/orgs","repos_url":"https://api.github.com/users/zhikyang/repos","events_url":"https://api.github.com/users/zhikyang/events{/privacy}","received_events_url":"https://api.github.com/users/zhikyang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhikyang/bewd_11_nyc_homework","description":"","fork":true,"url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework","forks_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/forks","keys_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/teams","hooks_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/hooks","issue_events_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/issues/events{/number}","events_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/events","assignees_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/assignees{/user}","branches_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/branches{/branch}","tags_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/tags","blobs_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/statuses/{sha}","languages_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/languages","stargazers_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/stargazers","contributors_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/contributors","subscribers_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/subscribers","subscription_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/subscription","commits_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/issues/comments/{number}","contents_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/contents/{+path}","compare_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/merges","archive_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/downloads","issues_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/issues{/number}","pulls_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/pulls{/number}","milestones_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/milestones{/number}","notifications_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/labels{/name}","releases_url":"https://api.github.com/repos/zhikyang/bewd_11_nyc_homework/releases{/id}","created_at":"2014-06-23T23:38:53Z","updated_at":"2014-06-30T00:22:37Z","pushed_at":"2014-07-13T22:24:45Z","git_url":"git://github.com/zhikyang/bewd_11_nyc_homework.git","ssh_url":"git@github.com:zhikyang/bewd_11_nyc_homework.git","clone_url":"https://github.com/zhikyang/bewd_11_nyc_homework.git","svn_url":"https://github.com/zhikyang/bewd_11_nyc_homework","homepage":null,"size":248,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ga-students:master","ref":"master","sha":"a5de4cf9cabc40ab5da732318393178054462447","user":{"login":"ga-students","id":5048067,"avatar_url":"https://avatars.githubusercontent.com/u/5048067?","gravatar_id":"dac20041b0ca26599bc2fda9fbb2f062","url":"https://api.github.com/users/ga-students","html_url":"https://github.com/ga-students","followers_url":"https://api.github.com/users/ga-students/followers","following_url":"https://api.github.com/users/ga-students/following{/other_user}","gists_url":"https://api.github.com/users/ga-students/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-students/subscriptions","organizations_url":"https://api.github.com/users/ga-students/orgs","repos_url":"https://api.github.com/users/ga-students/repos","events_url":"https://api.github.com/users/ga-students/events{/privacy}","received_events_url":"https://api.github.com/users/ga-students/received_events","type":"Organization","site_admin":false},"repo":{"id":21129409,"name":"bewd_11_nyc_homework","full_name":"ga-students/bewd_11_nyc_homework","owner":{"login":"ga-students","id":5048067,"avatar_url":"https://avatars.githubusercontent.com/u/5048067?","gravatar_id":"dac20041b0ca26599bc2fda9fbb2f062","url":"https://api.github.com/users/ga-students","html_url":"https://github.com/ga-students","followers_url":"https://api.github.com/users/ga-students/followers","following_url":"https://api.github.com/users/ga-students/following{/other_user}","gists_url":"https://api.github.com/users/ga-students/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-students/subscriptions","organizations_url":"https://api.github.com/users/ga-students/orgs","repos_url":"https://api.github.com/users/ga-students/repos","events_url":"https://api.github.com/users/ga-students/events{/privacy}","received_events_url":"https://api.github.com/users/ga-students/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-students/bewd_11_nyc_homework","description":"","fork":false,"url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework","forks_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/forks","keys_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/teams","hooks_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/hooks","issue_events_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/issues/events{/number}","events_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/events","assignees_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/assignees{/user}","branches_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/branches{/branch}","tags_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/tags","blobs_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/languages","stargazers_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/stargazers","contributors_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/contributors","subscribers_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/subscribers","subscription_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/subscription","commits_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/issues/comments/{number}","contents_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/contents/{+path}","compare_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/merges","archive_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/downloads","issues_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/issues{/number}","pulls_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/labels{/name}","releases_url":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/releases{/id}","created_at":"2014-06-23T14:33:11Z","updated_at":"2014-06-25T20:36:36Z","pushed_at":"2014-07-14T23:40:33Z","git_url":"git://github.com/ga-students/bewd_11_nyc_homework.git","ssh_url":"git@github.com:ga-students/bewd_11_nyc_homework.git","clone_url":"https://github.com/ga-students/bewd_11_nyc_homework.git","svn_url":"https://github.com/ga-students/bewd_11_nyc_homework","homepage":null,"size":13438,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":29,"mirror_url":null,"open_issues_count":13,"forks":29,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/29"},"html":{"href":"https://github.com/ga-students/bewd_11_nyc_homework/pull/29"},"issue":{"href":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/issues/29"},"comments":{"href":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/ga-students/bewd_11_nyc_homework/statuses/b52109f465ee163c2b1b6e98ca3ebfe38d24b0b0"}}}}