{"action":"created","comment":{"url":"https://api.github.com/repos/anon0mys/complete-me/pulls/comments/165819699","pull_request_review_id":93821768,"id":165819699,"diff_hunk":"@@ -14,4 +14,20 @@ def insert(word, node = @head)\n     return nil unless letter_array.length.positive?\n     insert(letter_array[1..-1].join, node.children[letter_array.first])\n   end\n+\n+  def find_node(word)\n+    ptr = self.head\n+  \n+    word.chars.each do |char|\n+      ptr = ptr.children[char]\n+    end\n+  \n+    unless ptr.nil?","path":"lib/completeme.rb","position":12,"original_position":12,"commit_id":"81122c0b979c16b69bebc97b4d3fed5071aa35b1","original_commit_id":"81122c0b979c16b69bebc97b4d3fed5071aa35b1","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Do not use unless with else. Rewrite these with the positive case first.","created_at":"2018-02-03T17:13:05Z","updated_at":"2018-02-03T17:13:05Z","html_url":"https://github.com/anon0mys/complete-me/pull/6#discussion_r165819699","pull_request_url":"https://api.github.com/repos/anon0mys/complete-me/pulls/6","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/anon0mys/complete-me/pulls/comments/165819699"},"html":{"href":"https://github.com/anon0mys/complete-me/pull/6#discussion_r165819699"},"pull_request":{"href":"https://api.github.com/repos/anon0mys/complete-me/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/anon0mys/complete-me/pulls/6","id":166970682,"html_url":"https://github.com/anon0mys/complete-me/pull/6","diff_url":"https://github.com/anon0mys/complete-me/pull/6.diff","patch_url":"https://github.com/anon0mys/complete-me/pull/6.patch","issue_url":"https://api.github.com/repos/anon0mys/complete-me/issues/6","number":6,"state":"open","locked":false,"title":"added a find_node method in completeme.rb along with relevant tests i…","user":{"login":"pollockcl","id":34550301,"avatar_url":"https://avatars0.githubusercontent.com/u/34550301?v=4","gravatar_id":"","url":"https://api.github.com/users/pollockcl","html_url":"https://github.com/pollockcl","followers_url":"https://api.github.com/users/pollockcl/followers","following_url":"https://api.github.com/users/pollockcl/following{/other_user}","gists_url":"https://api.github.com/users/pollockcl/gists{/gist_id}","starred_url":"https://api.github.com/users/pollockcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pollockcl/subscriptions","organizations_url":"https://api.github.com/users/pollockcl/orgs","repos_url":"https://api.github.com/users/pollockcl/repos","events_url":"https://api.github.com/users/pollockcl/events{/privacy}","received_events_url":"https://api.github.com/users/pollockcl/received_events","type":"User","site_admin":false},"body":"…n completeme_test.rb","created_at":"2018-02-03T17:12:58Z","updated_at":"2018-02-03T17:13:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98e60517710549bcbf2a69080413928a1e36db80","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/anon0mys/complete-me/pulls/6/commits","review_comments_url":"https://api.github.com/repos/anon0mys/complete-me/pulls/6/comments","review_comment_url":"https://api.github.com/repos/anon0mys/complete-me/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anon0mys/complete-me/issues/6/comments","statuses_url":"https://api.github.com/repos/anon0mys/complete-me/statuses/81122c0b979c16b69bebc97b4d3fed5071aa35b1","head":{"label":"anon0mys:clee","ref":"clee","sha":"81122c0b979c16b69bebc97b4d3fed5071aa35b1","user":{"login":"anon0mys","id":34108893,"avatar_url":"https://avatars2.githubusercontent.com/u/34108893?v=4","gravatar_id":"","url":"https://api.github.com/users/anon0mys","html_url":"https://github.com/anon0mys","followers_url":"https://api.github.com/users/anon0mys/followers","following_url":"https://api.github.com/users/anon0mys/following{/other_user}","gists_url":"https://api.github.com/users/anon0mys/gists{/gist_id}","starred_url":"https://api.github.com/users/anon0mys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anon0mys/subscriptions","organizations_url":"https://api.github.com/users/anon0mys/orgs","repos_url":"https://api.github.com/users/anon0mys/repos","events_url":"https://api.github.com/users/anon0mys/events{/privacy}","received_events_url":"https://api.github.com/users/anon0mys/received_events","type":"User","site_admin":false},"repo":{"id":120017673,"name":"complete-me","full_name":"anon0mys/complete-me","owner":{"login":"anon0mys","id":34108893,"avatar_url":"https://avatars2.githubusercontent.com/u/34108893?v=4","gravatar_id":"","url":"https://api.github.com/users/anon0mys","html_url":"https://github.com/anon0mys","followers_url":"https://api.github.com/users/anon0mys/followers","following_url":"https://api.github.com/users/anon0mys/following{/other_user}","gists_url":"https://api.github.com/users/anon0mys/gists{/gist_id}","starred_url":"https://api.github.com/users/anon0mys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anon0mys/subscriptions","organizations_url":"https://api.github.com/users/anon0mys/orgs","repos_url":"https://api.github.com/users/anon0mys/repos","events_url":"https://api.github.com/users/anon0mys/events{/privacy}","received_events_url":"https://api.github.com/users/anon0mys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anon0mys/complete-me","description":"Autocomplete project","fork":false,"url":"https://api.github.com/repos/anon0mys/complete-me","forks_url":"https://api.github.com/repos/anon0mys/complete-me/forks","keys_url":"https://api.github.com/repos/anon0mys/complete-me/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anon0mys/complete-me/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anon0mys/complete-me/teams","hooks_url":"https://api.github.com/repos/anon0mys/complete-me/hooks","issue_events_url":"https://api.github.com/repos/anon0mys/complete-me/issues/events{/number}","events_url":"https://api.github.com/repos/anon0mys/complete-me/events","assignees_url":"https://api.github.com/repos/anon0mys/complete-me/assignees{/user}","branches_url":"https://api.github.com/repos/anon0mys/complete-me/branches{/branch}","tags_url":"https://api.github.com/repos/anon0mys/complete-me/tags","blobs_url":"https://api.github.com/repos/anon0mys/complete-me/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anon0mys/complete-me/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anon0mys/complete-me/git/refs{/sha}","trees_url":"https://api.github.com/repos/anon0mys/complete-me/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anon0mys/complete-me/statuses/{sha}","languages_url":"https://api.github.com/repos/anon0mys/complete-me/languages","stargazers_url":"https://api.github.com/repos/anon0mys/complete-me/stargazers","contributors_url":"https://api.github.com/repos/anon0mys/complete-me/contributors","subscribers_url":"https://api.github.com/repos/anon0mys/complete-me/subscribers","subscription_url":"https://api.github.com/repos/anon0mys/complete-me/subscription","commits_url":"https://api.github.com/repos/anon0mys/complete-me/commits{/sha}","git_commits_url":"https://api.github.com/repos/anon0mys/complete-me/git/commits{/sha}","comments_url":"https://api.github.com/repos/anon0mys/complete-me/comments{/number}","issue_comment_url":"https://api.github.com/repos/anon0mys/complete-me/issues/comments{/number}","contents_url":"https://api.github.com/repos/anon0mys/complete-me/contents/{+path}","compare_url":"https://api.github.com/repos/anon0mys/complete-me/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anon0mys/complete-me/merges","archive_url":"https://api.github.com/repos/anon0mys/complete-me/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anon0mys/complete-me/downloads","issues_url":"https://api.github.com/repos/anon0mys/complete-me/issues{/number}","pulls_url":"https://api.github.com/repos/anon0mys/complete-me/pulls{/number}","milestones_url":"https://api.github.com/repos/anon0mys/complete-me/milestones{/number}","notifications_url":"https://api.github.com/repos/anon0mys/complete-me/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anon0mys/complete-me/labels{/name}","releases_url":"https://api.github.com/repos/anon0mys/complete-me/releases{/id}","deployments_url":"https://api.github.com/repos/anon0mys/complete-me/deployments","created_at":"2018-02-02T18:42:24Z","updated_at":"2018-02-02T18:48:36Z","pushed_at":"2018-02-03T17:12:59Z","git_url":"git://github.com/anon0mys/complete-me.git","ssh_url":"git@github.com:anon0mys/complete-me.git","clone_url":"https://github.com/anon0mys/complete-me.git","svn_url":"https://github.com/anon0mys/complete-me","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"anon0mys:master","ref":"master","sha":"78c38807c63fb8f0ea0903b9203ba4e43e743983","user":{"login":"anon0mys","id":34108893,"avatar_url":"https://avatars2.githubusercontent.com/u/34108893?v=4","gravatar_id":"","url":"https://api.github.com/users/anon0mys","html_url":"https://github.com/anon0mys","followers_url":"https://api.github.com/users/anon0mys/followers","following_url":"https://api.github.com/users/anon0mys/following{/other_user}","gists_url":"https://api.github.com/users/anon0mys/gists{/gist_id}","starred_url":"https://api.github.com/users/anon0mys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anon0mys/subscriptions","organizations_url":"https://api.github.com/users/anon0mys/orgs","repos_url":"https://api.github.com/users/anon0mys/repos","events_url":"https://api.github.com/users/anon0mys/events{/privacy}","received_events_url":"https://api.github.com/users/anon0mys/received_events","type":"User","site_admin":false},"repo":{"id":120017673,"name":"complete-me","full_name":"anon0mys/complete-me","owner":{"login":"anon0mys","id":34108893,"avatar_url":"https://avatars2.githubusercontent.com/u/34108893?v=4","gravatar_id":"","url":"https://api.github.com/users/anon0mys","html_url":"https://github.com/anon0mys","followers_url":"https://api.github.com/users/anon0mys/followers","following_url":"https://api.github.com/users/anon0mys/following{/other_user}","gists_url":"https://api.github.com/users/anon0mys/gists{/gist_id}","starred_url":"https://api.github.com/users/anon0mys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anon0mys/subscriptions","organizations_url":"https://api.github.com/users/anon0mys/orgs","repos_url":"https://api.github.com/users/anon0mys/repos","events_url":"https://api.github.com/users/anon0mys/events{/privacy}","received_events_url":"https://api.github.com/users/anon0mys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anon0mys/complete-me","description":"Autocomplete project","fork":false,"url":"https://api.github.com/repos/anon0mys/complete-me","forks_url":"https://api.github.com/repos/anon0mys/complete-me/forks","keys_url":"https://api.github.com/repos/anon0mys/complete-me/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anon0mys/complete-me/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anon0mys/complete-me/teams","hooks_url":"https://api.github.com/repos/anon0mys/complete-me/hooks","issue_events_url":"https://api.github.com/repos/anon0mys/complete-me/issues/events{/number}","events_url":"https://api.github.com/repos/anon0mys/complete-me/events","assignees_url":"https://api.github.com/repos/anon0mys/complete-me/assignees{/user}","branches_url":"https://api.github.com/repos/anon0mys/complete-me/branches{/branch}","tags_url":"https://api.github.com/repos/anon0mys/complete-me/tags","blobs_url":"https://api.github.com/repos/anon0mys/complete-me/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anon0mys/complete-me/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anon0mys/complete-me/git/refs{/sha}","trees_url":"https://api.github.com/repos/anon0mys/complete-me/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anon0mys/complete-me/statuses/{sha}","languages_url":"https://api.github.com/repos/anon0mys/complete-me/languages","stargazers_url":"https://api.github.com/repos/anon0mys/complete-me/stargazers","contributors_url":"https://api.github.com/repos/anon0mys/complete-me/contributors","subscribers_url":"https://api.github.com/repos/anon0mys/complete-me/subscribers","subscription_url":"https://api.github.com/repos/anon0mys/complete-me/subscription","commits_url":"https://api.github.com/repos/anon0mys/complete-me/commits{/sha}","git_commits_url":"https://api.github.com/repos/anon0mys/complete-me/git/commits{/sha}","comments_url":"https://api.github.com/repos/anon0mys/complete-me/comments{/number}","issue_comment_url":"https://api.github.com/repos/anon0mys/complete-me/issues/comments{/number}","contents_url":"https://api.github.com/repos/anon0mys/complete-me/contents/{+path}","compare_url":"https://api.github.com/repos/anon0mys/complete-me/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anon0mys/complete-me/merges","archive_url":"https://api.github.com/repos/anon0mys/complete-me/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anon0mys/complete-me/downloads","issues_url":"https://api.github.com/repos/anon0mys/complete-me/issues{/number}","pulls_url":"https://api.github.com/repos/anon0mys/complete-me/pulls{/number}","milestones_url":"https://api.github.com/repos/anon0mys/complete-me/milestones{/number}","notifications_url":"https://api.github.com/repos/anon0mys/complete-me/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anon0mys/complete-me/labels{/name}","releases_url":"https://api.github.com/repos/anon0mys/complete-me/releases{/id}","deployments_url":"https://api.github.com/repos/anon0mys/complete-me/deployments","created_at":"2018-02-02T18:42:24Z","updated_at":"2018-02-02T18:48:36Z","pushed_at":"2018-02-03T17:12:59Z","git_url":"git://github.com/anon0mys/complete-me.git","ssh_url":"git@github.com:anon0mys/complete-me.git","clone_url":"https://github.com/anon0mys/complete-me.git","svn_url":"https://github.com/anon0mys/complete-me","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anon0mys/complete-me/pulls/6"},"html":{"href":"https://github.com/anon0mys/complete-me/pull/6"},"issue":{"href":"https://api.github.com/repos/anon0mys/complete-me/issues/6"},"comments":{"href":"https://api.github.com/repos/anon0mys/complete-me/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/anon0mys/complete-me/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/anon0mys/complete-me/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anon0mys/complete-me/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/anon0mys/complete-me/statuses/81122c0b979c16b69bebc97b4d3fed5071aa35b1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}