GitHub PullRequestReviewCommentEvent at 2014-10-25 05:04:54
Repository: gcloud-node-todos
Actor: ryanseys
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/comments/19373874","id":19373874,"diff_hunk":"@@ -72,14 +72,20 @@ function add() {\n     message: 'What do you need to do?',\n     name: 'text'\n   }, function(answers) {\n-    todos.insert({\n-      text: answers.text\n-    }, function(err) {\n-      if (err) {\n-        throw err;\n-      }\n+    if(answers.text !== '') {\n+      todos.insert({\n+        text: answers.text\n+      }, function(err) {\n+        if (err) {\n+          throw err;\n+        }\n+        console.log('\"' + answers.text + '\" was successfully added.\\n');","path":"cli/cli.js","position":17,"original_position":17,"commit_id":"34bf9a7204705eab3fbd0ec64c550e3360a57895","original_commit_id":"34bf9a7204705eab3fbd0ec64c550e3360a57895","user":{"login":"ryanseys","id":163873,"avatar_url":"https://avatars.githubusercontent.com/u/163873?v=2","gravatar_id":"","url":"https://api.github.com/users/ryanseys","html_url":"https://github.com/ryanseys","followers_url":"https://api.github.com/users/ryanseys/followers","following_url":"https://api.github.com/users/ryanseys/following{/other_user}","gists_url":"https://api.github.com/users/ryanseys/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanseys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanseys/subscriptions","organizations_url":"https://api.github.com/users/ryanseys/orgs","repos_url":"https://api.github.com/users/ryanseys/repos","events_url":"https://api.github.com/users/ryanseys/events{/privacy}","received_events_url":"https://api.github.com/users/ryanseys/received_events","type":"User","site_admin":false},"body":"Updated.","created_at":"2014-10-25T05:04:54Z","updated_at":"2014-10-25T05:04:54Z","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node-todos/pull/10#discussion_r19373874","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/comments/19373874"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-node-todos/pull/10#discussion_r19373874"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/10","id":23250680,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-node-todos/pull/10","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-node-todos/pull/10.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-node-todos/pull/10.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/issues/10","number":10,"state":"open","locked":false,"title":"Improve README and cli user feedback","user":{"login":"ryanseys","id":163873,"avatar_url":"https://avatars.githubusercontent.com/u/163873?v=2","gravatar_id":"","url":"https://api.github.com/users/ryanseys","html_url":"https://github.com/ryanseys","followers_url":"https://api.github.com/users/ryanseys/followers","following_url":"https://api.github.com/users/ryanseys/following{/other_user}","gists_url":"https://api.github.com/users/ryanseys/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanseys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanseys/subscriptions","organizations_url":"https://api.github.com/users/ryanseys/orgs","repos_url":"https://api.github.com/users/ryanseys/repos","events_url":"https://api.github.com/users/ryanseys/events{/privacy}","received_events_url":"https://api.github.com/users/ryanseys/received_events","type":"User","site_admin":false},"body":"- Don't add a todo that is an empty string, just abort instead.\r\n- When adding a todo, display a message to say it was successfully added.\r\n- Pressing spacebar will no longer throw an error in the delete todos when there are no todos to delete. Instead a message will be displayed saying there are no todos.\r\n- logging saying all completed todos were deleted when they were.\r\n- README fix.","created_at":"2014-10-23T18:56:24Z","updated_at":"2014-10-25T05:04:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1352d8e289a9f241580d215320be5330ef42f30b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/10/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/10/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/comments/{number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/issues/10/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/statuses/34bf9a7204705eab3fbd0ec64c550e3360a57895","head":{"label":"ryanseys:rs-improve","ref":"rs-improve","sha":"34bf9a7204705eab3fbd0ec64c550e3360a57895","user":{"login":"ryanseys","id":163873,"avatar_url":"https://avatars.githubusercontent.com/u/163873?v=2","gravatar_id":"","url":"https://api.github.com/users/ryanseys","html_url":"https://github.com/ryanseys","followers_url":"https://api.github.com/users/ryanseys/followers","following_url":"https://api.github.com/users/ryanseys/following{/other_user}","gists_url":"https://api.github.com/users/ryanseys/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanseys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanseys/subscriptions","organizations_url":"https://api.github.com/users/ryanseys/orgs","repos_url":"https://api.github.com/users/ryanseys/repos","events_url":"https://api.github.com/users/ryanseys/events{/privacy}","received_events_url":"https://api.github.com/users/ryanseys/received_events","type":"User","site_admin":false},"repo":{"id":25538058,"name":"gcloud-node-todos","full_name":"ryanseys/gcloud-node-todos","owner":{"login":"ryanseys","id":163873,"avatar_url":"https://avatars.githubusercontent.com/u/163873?v=2","gravatar_id":"","url":"https://api.github.com/users/ryanseys","html_url":"https://github.com/ryanseys","followers_url":"https://api.github.com/users/ryanseys/followers","following_url":"https://api.github.com/users/ryanseys/following{/other_user}","gists_url":"https://api.github.com/users/ryanseys/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanseys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanseys/subscriptions","organizations_url":"https://api.github.com/users/ryanseys/orgs","repos_url":"https://api.github.com/users/ryanseys/repos","events_url":"https://api.github.com/users/ryanseys/events{/privacy}","received_events_url":"https://api.github.com/users/ryanseys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanseys/gcloud-node-todos","description":"TodoMVC backend using gcloud-node","fork":true,"url":"https://api.github.com/repos/ryanseys/gcloud-node-todos","forks_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/forks","keys_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/teams","hooks_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/hooks","issue_events_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/issues/events{/number}","events_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/events","assignees_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/assignees{/user}","branches_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/branches{/branch}","tags_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/tags","blobs_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/languages","stargazers_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/stargazers","contributors_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/contributors","subscribers_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/subscribers","subscription_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/subscription","commits_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/issues/comments/{number}","contents_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/contents/{+path}","compare_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/merges","archive_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/downloads","issues_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/issues{/number}","pulls_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/labels{/name}","releases_url":"https://api.github.com/repos/ryanseys/gcloud-node-todos/releases{/id}","created_at":"2014-10-21T18:15:19Z","updated_at":"2014-10-20T17:18:07Z","pushed_at":"2014-10-25T04:39:36Z","git_url":"git://github.com/ryanseys/gcloud-node-todos.git","ssh_url":"git@github.com:ryanseys/gcloud-node-todos.git","clone_url":"https://github.com/ryanseys/gcloud-node-todos.git","svn_url":"https://github.com/ryanseys/gcloud-node-todos","homepage":"gcloud-todos.appspot.com","size":120,"stargazers_count":0,"watchers_count":0,"language":null,"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":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"fbe86ad2dd29e54bf4104039698446fb3fea373e","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=2","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":23481638,"name":"gcloud-node-todos","full_name":"GoogleCloudPlatform/gcloud-node-todos","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=2","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-node-todos","description":"TodoMVC backend using gcloud-node","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/issues/comments/{number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/releases{/id}","created_at":"2014-08-30T00:46:41Z","updated_at":"2014-10-24T12:27:29Z","pushed_at":"2014-10-23T18:51:52Z","git_url":"git://github.com/GoogleCloudPlatform/gcloud-node-todos.git","ssh_url":"git@github.com:GoogleCloudPlatform/gcloud-node-todos.git","clone_url":"https://github.com/GoogleCloudPlatform/gcloud-node-todos.git","svn_url":"https://github.com/GoogleCloudPlatform/gcloud-node-todos","homepage":"gcloud-todos.appspot.com","size":324,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/10"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-node-todos/pull/10"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/issues/10"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node-todos/statuses/34bf9a7204705eab3fbd0ec64c550e3360a57895"}}}}