GitHub PullRequestReviewCommentEvent at 2014-07-11 19:13:52
Repository: puppet
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/vrthra/puppet/pulls/comments/14838501","id":14838501,"diff_hunk":"@@ -15,6 +15,15 @@\n require 'puppet/external/pson/version'\n require 'puppet/external/pson/pure'\n \n+def mymethod(x)\n+  y = 1\n+  if x != nil\n+    y = 2\n+  else y = 100 and x > 1","path":"lib/puppet.rb","position":8,"original_position":8,"commit_id":"5ce67553634e518ce341efd86eedfe5955e90cdb","original_commit_id":"5ce67553634e518ce341efd86eedfe5955e90cdb","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use `&&` instead of `and`.","created_at":"2014-07-11T19:13:52Z","updated_at":"2014-07-11T19:13:52Z","html_url":"https://github.com/vrthra/puppet/pull/8#discussion_r14838501","pull_request_url":"https://api.github.com/repos/vrthra/puppet/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/vrthra/puppet/pulls/comments/14838501"},"html":{"href":"https://github.com/vrthra/puppet/pull/8#discussion_r14838501"},"pull_request":{"href":"https://api.github.com/repos/vrthra/puppet/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/vrthra/puppet/pulls/8","id":18296328,"html_url":"https://github.com/vrthra/puppet/pull/8","diff_url":"https://github.com/vrthra/puppet/pull/8.diff","patch_url":"https://github.com/vrthra/puppet/pull/8.patch","issue_url":"https://api.github.com/repos/vrthra/puppet/issues/8","number":8,"state":"open","title":"Update puppet.rb","user":{"login":"puppethound","id":8137371,"avatar_url":"https://avatars.githubusercontent.com/u/8137371?","gravatar_id":"916a8890703730942d6f9f5c75a17503","url":"https://api.github.com/users/puppethound","html_url":"https://github.com/puppethound","followers_url":"https://api.github.com/users/puppethound/followers","following_url":"https://api.github.com/users/puppethound/following{/other_user}","gists_url":"https://api.github.com/users/puppethound/gists{/gist_id}","starred_url":"https://api.github.com/users/puppethound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppethound/subscriptions","organizations_url":"https://api.github.com/users/puppethound/orgs","repos_url":"https://api.github.com/users/puppethound/repos","events_url":"https://api.github.com/users/puppethound/events{/privacy}","received_events_url":"https://api.github.com/users/puppethound/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-07-11T19:13:45Z","updated_at":"2014-07-11T19:13:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15aac061a34187f2559235ae8e0a47669e1f5849","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vrthra/puppet/pulls/8/commits","review_comments_url":"https://api.github.com/repos/vrthra/puppet/pulls/8/comments","review_comment_url":"https://api.github.com/repos/vrthra/puppet/pulls/comments/{number}","comments_url":"https://api.github.com/repos/vrthra/puppet/issues/8/comments","statuses_url":"https://api.github.com/repos/vrthra/puppet/statuses/5ce67553634e518ce341efd86eedfe5955e90cdb","head":{"label":"puppethound:patch-1","ref":"patch-1","sha":"5ce67553634e518ce341efd86eedfe5955e90cdb","user":{"login":"puppethound","id":8137371,"avatar_url":"https://avatars.githubusercontent.com/u/8137371?","gravatar_id":"916a8890703730942d6f9f5c75a17503","url":"https://api.github.com/users/puppethound","html_url":"https://github.com/puppethound","followers_url":"https://api.github.com/users/puppethound/followers","following_url":"https://api.github.com/users/puppethound/following{/other_user}","gists_url":"https://api.github.com/users/puppethound/gists{/gist_id}","starred_url":"https://api.github.com/users/puppethound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppethound/subscriptions","organizations_url":"https://api.github.com/users/puppethound/orgs","repos_url":"https://api.github.com/users/puppethound/repos","events_url":"https://api.github.com/users/puppethound/events{/privacy}","received_events_url":"https://api.github.com/users/puppethound/received_events","type":"User","site_admin":false},"repo":{"id":21748182,"name":"puppet","full_name":"puppethound/puppet","owner":{"login":"puppethound","id":8137371,"avatar_url":"https://avatars.githubusercontent.com/u/8137371?","gravatar_id":"916a8890703730942d6f9f5c75a17503","url":"https://api.github.com/users/puppethound","html_url":"https://github.com/puppethound","followers_url":"https://api.github.com/users/puppethound/followers","following_url":"https://api.github.com/users/puppethound/following{/other_user}","gists_url":"https://api.github.com/users/puppethound/gists{/gist_id}","starred_url":"https://api.github.com/users/puppethound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppethound/subscriptions","organizations_url":"https://api.github.com/users/puppethound/orgs","repos_url":"https://api.github.com/users/puppethound/repos","events_url":"https://api.github.com/users/puppethound/events{/privacy}","received_events_url":"https://api.github.com/users/puppethound/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/puppethound/puppet","description":"Server automation framework and application","fork":true,"url":"https://api.github.com/repos/puppethound/puppet","forks_url":"https://api.github.com/repos/puppethound/puppet/forks","keys_url":"https://api.github.com/repos/puppethound/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppethound/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppethound/puppet/teams","hooks_url":"https://api.github.com/repos/puppethound/puppet/hooks","issue_events_url":"https://api.github.com/repos/puppethound/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/puppethound/puppet/events","assignees_url":"https://api.github.com/repos/puppethound/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/puppethound/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/puppethound/puppet/tags","blobs_url":"https://api.github.com/repos/puppethound/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppethound/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppethound/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppethound/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppethound/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/puppethound/puppet/languages","stargazers_url":"https://api.github.com/repos/puppethound/puppet/stargazers","contributors_url":"https://api.github.com/repos/puppethound/puppet/contributors","subscribers_url":"https://api.github.com/repos/puppethound/puppet/subscribers","subscription_url":"https://api.github.com/repos/puppethound/puppet/subscription","commits_url":"https://api.github.com/repos/puppethound/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppethound/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppethound/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppethound/puppet/issues/comments/{number}","contents_url":"https://api.github.com/repos/puppethound/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/puppethound/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppethound/puppet/merges","archive_url":"https://api.github.com/repos/puppethound/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppethound/puppet/downloads","issues_url":"https://api.github.com/repos/puppethound/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/puppethound/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/puppethound/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/puppethound/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppethound/puppet/labels{/name}","releases_url":"https://api.github.com/repos/puppethound/puppet/releases{/id}","created_at":"2014-07-11T19:13:18Z","updated_at":"2014-07-11T19:13:43Z","pushed_at":"2014-07-11T19:13:43Z","git_url":"git://github.com/puppethound/puppet.git","ssh_url":"git@github.com:puppethound/puppet.git","clone_url":"https://github.com/puppethound/puppet.git","svn_url":"https://github.com/puppethound/puppet","homepage":"http://www.puppetlabs.com/puppet/introduction/","size":39788,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vrthra:master","ref":"master","sha":"07964c56edf9c6078a634863bbb8526c87ae4539","user":{"login":"vrthra","id":70410,"avatar_url":"https://avatars.githubusercontent.com/u/70410?","gravatar_id":"e691538fed1de0cc9b2f7cf1a0c11cb1","url":"https://api.github.com/users/vrthra","html_url":"https://github.com/vrthra","followers_url":"https://api.github.com/users/vrthra/followers","following_url":"https://api.github.com/users/vrthra/following{/other_user}","gists_url":"https://api.github.com/users/vrthra/gists{/gist_id}","starred_url":"https://api.github.com/users/vrthra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrthra/subscriptions","organizations_url":"https://api.github.com/users/vrthra/orgs","repos_url":"https://api.github.com/users/vrthra/repos","events_url":"https://api.github.com/users/vrthra/events{/privacy}","received_events_url":"https://api.github.com/users/vrthra/received_events","type":"User","site_admin":false},"repo":{"id":21480357,"name":"puppet","full_name":"vrthra/puppet","owner":{"login":"vrthra","id":70410,"avatar_url":"https://avatars.githubusercontent.com/u/70410?","gravatar_id":"e691538fed1de0cc9b2f7cf1a0c11cb1","url":"https://api.github.com/users/vrthra","html_url":"https://github.com/vrthra","followers_url":"https://api.github.com/users/vrthra/followers","following_url":"https://api.github.com/users/vrthra/following{/other_user}","gists_url":"https://api.github.com/users/vrthra/gists{/gist_id}","starred_url":"https://api.github.com/users/vrthra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrthra/subscriptions","organizations_url":"https://api.github.com/users/vrthra/orgs","repos_url":"https://api.github.com/users/vrthra/repos","events_url":"https://api.github.com/users/vrthra/events{/privacy}","received_events_url":"https://api.github.com/users/vrthra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vrthra/puppet","description":"Server automation framework and application","fork":true,"url":"https://api.github.com/repos/vrthra/puppet","forks_url":"https://api.github.com/repos/vrthra/puppet/forks","keys_url":"https://api.github.com/repos/vrthra/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vrthra/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vrthra/puppet/teams","hooks_url":"https://api.github.com/repos/vrthra/puppet/hooks","issue_events_url":"https://api.github.com/repos/vrthra/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/vrthra/puppet/events","assignees_url":"https://api.github.com/repos/vrthra/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/vrthra/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/vrthra/puppet/tags","blobs_url":"https://api.github.com/repos/vrthra/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vrthra/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vrthra/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/vrthra/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vrthra/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/vrthra/puppet/languages","stargazers_url":"https://api.github.com/repos/vrthra/puppet/stargazers","contributors_url":"https://api.github.com/repos/vrthra/puppet/contributors","subscribers_url":"https://api.github.com/repos/vrthra/puppet/subscribers","subscription_url":"https://api.github.com/repos/vrthra/puppet/subscription","commits_url":"https://api.github.com/repos/vrthra/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/vrthra/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/vrthra/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/vrthra/puppet/issues/comments/{number}","contents_url":"https://api.github.com/repos/vrthra/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/vrthra/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vrthra/puppet/merges","archive_url":"https://api.github.com/repos/vrthra/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vrthra/puppet/downloads","issues_url":"https://api.github.com/repos/vrthra/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/vrthra/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/vrthra/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/vrthra/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vrthra/puppet/labels{/name}","releases_url":"https://api.github.com/repos/vrthra/puppet/releases{/id}","created_at":"2014-07-03T23:58:03Z","updated_at":"2014-07-11T17:37:13Z","pushed_at":"2014-07-11T19:12:21Z","git_url":"git://github.com/vrthra/puppet.git","ssh_url":"git@github.com:vrthra/puppet.git","clone_url":"https://github.com/vrthra/puppet.git","svn_url":"https://github.com/vrthra/puppet","homepage":"http://www.puppetlabs.com/puppet/introduction/","size":39788,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vrthra/puppet/pulls/8"},"html":{"href":"https://github.com/vrthra/puppet/pull/8"},"issue":{"href":"https://api.github.com/repos/vrthra/puppet/issues/8"},"comments":{"href":"https://api.github.com/repos/vrthra/puppet/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/vrthra/puppet/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/vrthra/puppet/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/vrthra/puppet/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/vrthra/puppet/statuses/5ce67553634e518ce341efd86eedfe5955e90cdb"}}}}