GitHub PullRequestReviewCommentEvent at 2014-06-09 16:50:32
Repository: winrm-s
Actor: adamedx
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/opscode/winrm-s/pulls/comments/13550927","id":13550927,"diff_hunk":"@@ -0,0 +1,13 @@\n+\r\n+require 'winrm'\r\n+\r\n+def windows?\r\n+  !!(RUBY_PLATFORM =~ /mswin|mingw|windows/)\r\n+end\r\n+\r\n+# Monkey patch only on windows\r\n+if windows?\r\n+  require 'winrm/winrm_service_patch'\r\n+else\r\n+  puts \"INFO: winrm-s does not monkey patch the winrm gem in *nix. You will continue to use winrm gem as is.\"\r","path":"lib/winrm-s.rb","position":12,"original_position":12,"commit_id":"0ccc6eec6aee74456c1453d64580014398dc447f","original_commit_id":"0ccc6eec6aee74456c1453d64580014398dc447f","user":{"login":"adamedx","id":2422125,"avatar_url":"https://avatars.githubusercontent.com/u/2422125?","gravatar_id":"1480c8ef029da92a0129efa8c5b2d036","url":"https://api.github.com/users/adamedx","html_url":"https://github.com/adamedx","followers_url":"https://api.github.com/users/adamedx/followers","following_url":"https://api.github.com/users/adamedx/following{/other_user}","gists_url":"https://api.github.com/users/adamedx/gists{/gist_id}","starred_url":"https://api.github.com/users/adamedx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamedx/subscriptions","organizations_url":"https://api.github.com/users/adamedx/orgs","repos_url":"https://api.github.com/users/adamedx/repos","events_url":"https://api.github.com/users/adamedx/events{/privacy}","received_events_url":"https://api.github.com/users/adamedx/received_events","type":"User","site_admin":false},"body":"We should raise an exception with this message on Unix -- this will still force people to only do this on Windows.","created_at":"2014-06-09T16:50:32Z","updated_at":"2014-06-09T16:50:32Z","html_url":"https://github.com/opscode/winrm-s/pull/1#discussion_r13550927","pull_request_url":"https://api.github.com/repos/opscode/winrm-s/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/opscode/winrm-s/pulls/comments/13550927"},"html":{"href":"https://github.com/opscode/winrm-s/pull/1#discussion_r13550927"},"pull_request":{"href":"https://api.github.com/repos/opscode/winrm-s/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/opscode/winrm-s/pulls/1","id":16256814,"html_url":"https://github.com/opscode/winrm-s/pull/1","diff_url":"https://github.com/opscode/winrm-s/pull/1.diff","patch_url":"https://github.com/opscode/winrm-s/pull/1.patch","issue_url":"https://api.github.com/repos/opscode/winrm-s/issues/1","number":1,"state":"open","title":"Winrm sspi nego Implementation","user":{"login":"kaustubh-d","id":2116373,"avatar_url":"https://avatars.githubusercontent.com/u/2116373?","gravatar_id":"a2d9d7842ea81d4b1a775b823b188ee1","url":"https://api.github.com/users/kaustubh-d","html_url":"https://github.com/kaustubh-d","followers_url":"https://api.github.com/users/kaustubh-d/followers","following_url":"https://api.github.com/users/kaustubh-d/following{/other_user}","gists_url":"https://api.github.com/users/kaustubh-d/gists{/gist_id}","starred_url":"https://api.github.com/users/kaustubh-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaustubh-d/subscriptions","organizations_url":"https://api.github.com/users/kaustubh-d/orgs","repos_url":"https://api.github.com/users/kaustubh-d/repos","events_url":"https://api.github.com/users/kaustubh-d/events{/privacy}","received_events_url":"https://api.github.com/users/kaustubh-d/received_events","type":"User","site_admin":false},"body":"Winrm sspi nego Implementation.","created_at":"2014-05-23T04:37:06Z","updated_at":"2014-06-09T16:50:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5517f60e1317bd5f19829408b87867e131e16767","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opscode/winrm-s/pulls/1/commits","review_comments_url":"https://api.github.com/repos/opscode/winrm-s/pulls/1/comments","review_comment_url":"https://api.github.com/repos/opscode/winrm-s/pulls/comments/{number}","comments_url":"https://api.github.com/repos/opscode/winrm-s/issues/1/comments","statuses_url":"https://api.github.com/repos/opscode/winrm-s/statuses/0ccc6eec6aee74456c1453d64580014398dc447f","head":{"label":"opscode:winrm-sspi-nego","ref":"winrm-sspi-nego","sha":"0ccc6eec6aee74456c1453d64580014398dc447f","user":{"login":"opscode","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?","gravatar_id":"890bf76f4dc18c12a19c55e988a1bd5e","url":"https://api.github.com/users/opscode","html_url":"https://github.com/opscode","followers_url":"https://api.github.com/users/opscode/followers","following_url":"https://api.github.com/users/opscode/following{/other_user}","gists_url":"https://api.github.com/users/opscode/gists{/gist_id}","starred_url":"https://api.github.com/users/opscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opscode/subscriptions","organizations_url":"https://api.github.com/users/opscode/orgs","repos_url":"https://api.github.com/users/opscode/repos","events_url":"https://api.github.com/users/opscode/events{/privacy}","received_events_url":"https://api.github.com/users/opscode/received_events","type":"Organization","site_admin":false},"repo":{"id":19969594,"name":"winrm-s","full_name":"opscode/winrm-s","owner":{"login":"opscode","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?","gravatar_id":"890bf76f4dc18c12a19c55e988a1bd5e","url":"https://api.github.com/users/opscode","html_url":"https://github.com/opscode","followers_url":"https://api.github.com/users/opscode/followers","following_url":"https://api.github.com/users/opscode/following{/other_user}","gists_url":"https://api.github.com/users/opscode/gists{/gist_id}","starred_url":"https://api.github.com/users/opscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opscode/subscriptions","organizations_url":"https://api.github.com/users/opscode/orgs","repos_url":"https://api.github.com/users/opscode/repos","events_url":"https://api.github.com/users/opscode/events{/privacy}","received_events_url":"https://api.github.com/users/opscode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opscode/winrm-s","description":"Enhancement of the winrm gem's functionality with support for spnego","fork":false,"url":"https://api.github.com/repos/opscode/winrm-s","forks_url":"https://api.github.com/repos/opscode/winrm-s/forks","keys_url":"https://api.github.com/repos/opscode/winrm-s/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opscode/winrm-s/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opscode/winrm-s/teams","hooks_url":"https://api.github.com/repos/opscode/winrm-s/hooks","issue_events_url":"https://api.github.com/repos/opscode/winrm-s/issues/events{/number}","events_url":"https://api.github.com/repos/opscode/winrm-s/events","assignees_url":"https://api.github.com/repos/opscode/winrm-s/assignees{/user}","branches_url":"https://api.github.com/repos/opscode/winrm-s/branches{/branch}","tags_url":"https://api.github.com/repos/opscode/winrm-s/tags","blobs_url":"https://api.github.com/repos/opscode/winrm-s/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opscode/winrm-s/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opscode/winrm-s/git/refs{/sha}","trees_url":"https://api.github.com/repos/opscode/winrm-s/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opscode/winrm-s/statuses/{sha}","languages_url":"https://api.github.com/repos/opscode/winrm-s/languages","stargazers_url":"https://api.github.com/repos/opscode/winrm-s/stargazers","contributors_url":"https://api.github.com/repos/opscode/winrm-s/contributors","subscribers_url":"https://api.github.com/repos/opscode/winrm-s/subscribers","subscription_url":"https://api.github.com/repos/opscode/winrm-s/subscription","commits_url":"https://api.github.com/repos/opscode/winrm-s/commits{/sha}","git_commits_url":"https://api.github.com/repos/opscode/winrm-s/git/commits{/sha}","comments_url":"https://api.github.com/repos/opscode/winrm-s/comments{/number}","issue_comment_url":"https://api.github.com/repos/opscode/winrm-s/issues/comments/{number}","contents_url":"https://api.github.com/repos/opscode/winrm-s/contents/{+path}","compare_url":"https://api.github.com/repos/opscode/winrm-s/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opscode/winrm-s/merges","archive_url":"https://api.github.com/repos/opscode/winrm-s/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opscode/winrm-s/downloads","issues_url":"https://api.github.com/repos/opscode/winrm-s/issues{/number}","pulls_url":"https://api.github.com/repos/opscode/winrm-s/pulls{/number}","milestones_url":"https://api.github.com/repos/opscode/winrm-s/milestones{/number}","notifications_url":"https://api.github.com/repos/opscode/winrm-s/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opscode/winrm-s/labels{/name}","releases_url":"https://api.github.com/repos/opscode/winrm-s/releases{/id}","created_at":"2014-05-20T06:09:01Z","updated_at":"2014-06-06T09:22:10Z","pushed_at":"2014-06-06T09:22:11Z","git_url":"git://github.com/opscode/winrm-s.git","ssh_url":"git@github.com:opscode/winrm-s.git","clone_url":"https://github.com/opscode/winrm-s.git","svn_url":"https://github.com/opscode/winrm-s","homepage":null,"size":183,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"opscode:master","ref":"master","sha":"5889d719b265028e9d553dc5ea21f871ae772d0d","user":{"login":"opscode","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?","gravatar_id":"890bf76f4dc18c12a19c55e988a1bd5e","url":"https://api.github.com/users/opscode","html_url":"https://github.com/opscode","followers_url":"https://api.github.com/users/opscode/followers","following_url":"https://api.github.com/users/opscode/following{/other_user}","gists_url":"https://api.github.com/users/opscode/gists{/gist_id}","starred_url":"https://api.github.com/users/opscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opscode/subscriptions","organizations_url":"https://api.github.com/users/opscode/orgs","repos_url":"https://api.github.com/users/opscode/repos","events_url":"https://api.github.com/users/opscode/events{/privacy}","received_events_url":"https://api.github.com/users/opscode/received_events","type":"Organization","site_admin":false},"repo":{"id":19969594,"name":"winrm-s","full_name":"opscode/winrm-s","owner":{"login":"opscode","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?","gravatar_id":"890bf76f4dc18c12a19c55e988a1bd5e","url":"https://api.github.com/users/opscode","html_url":"https://github.com/opscode","followers_url":"https://api.github.com/users/opscode/followers","following_url":"https://api.github.com/users/opscode/following{/other_user}","gists_url":"https://api.github.com/users/opscode/gists{/gist_id}","starred_url":"https://api.github.com/users/opscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opscode/subscriptions","organizations_url":"https://api.github.com/users/opscode/orgs","repos_url":"https://api.github.com/users/opscode/repos","events_url":"https://api.github.com/users/opscode/events{/privacy}","received_events_url":"https://api.github.com/users/opscode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opscode/winrm-s","description":"Enhancement of the winrm gem's functionality with support for spnego","fork":false,"url":"https://api.github.com/repos/opscode/winrm-s","forks_url":"https://api.github.com/repos/opscode/winrm-s/forks","keys_url":"https://api.github.com/repos/opscode/winrm-s/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opscode/winrm-s/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opscode/winrm-s/teams","hooks_url":"https://api.github.com/repos/opscode/winrm-s/hooks","issue_events_url":"https://api.github.com/repos/opscode/winrm-s/issues/events{/number}","events_url":"https://api.github.com/repos/opscode/winrm-s/events","assignees_url":"https://api.github.com/repos/opscode/winrm-s/assignees{/user}","branches_url":"https://api.github.com/repos/opscode/winrm-s/branches{/branch}","tags_url":"https://api.github.com/repos/opscode/winrm-s/tags","blobs_url":"https://api.github.com/repos/opscode/winrm-s/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opscode/winrm-s/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opscode/winrm-s/git/refs{/sha}","trees_url":"https://api.github.com/repos/opscode/winrm-s/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opscode/winrm-s/statuses/{sha}","languages_url":"https://api.github.com/repos/opscode/winrm-s/languages","stargazers_url":"https://api.github.com/repos/opscode/winrm-s/stargazers","contributors_url":"https://api.github.com/repos/opscode/winrm-s/contributors","subscribers_url":"https://api.github.com/repos/opscode/winrm-s/subscribers","subscription_url":"https://api.github.com/repos/opscode/winrm-s/subscription","commits_url":"https://api.github.com/repos/opscode/winrm-s/commits{/sha}","git_commits_url":"https://api.github.com/repos/opscode/winrm-s/git/commits{/sha}","comments_url":"https://api.github.com/repos/opscode/winrm-s/comments{/number}","issue_comment_url":"https://api.github.com/repos/opscode/winrm-s/issues/comments/{number}","contents_url":"https://api.github.com/repos/opscode/winrm-s/contents/{+path}","compare_url":"https://api.github.com/repos/opscode/winrm-s/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opscode/winrm-s/merges","archive_url":"https://api.github.com/repos/opscode/winrm-s/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opscode/winrm-s/downloads","issues_url":"https://api.github.com/repos/opscode/winrm-s/issues{/number}","pulls_url":"https://api.github.com/repos/opscode/winrm-s/pulls{/number}","milestones_url":"https://api.github.com/repos/opscode/winrm-s/milestones{/number}","notifications_url":"https://api.github.com/repos/opscode/winrm-s/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opscode/winrm-s/labels{/name}","releases_url":"https://api.github.com/repos/opscode/winrm-s/releases{/id}","created_at":"2014-05-20T06:09:01Z","updated_at":"2014-06-06T09:22:10Z","pushed_at":"2014-06-06T09:22:11Z","git_url":"git://github.com/opscode/winrm-s.git","ssh_url":"git@github.com:opscode/winrm-s.git","clone_url":"https://github.com/opscode/winrm-s.git","svn_url":"https://github.com/opscode/winrm-s","homepage":null,"size":183,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opscode/winrm-s/pulls/1"},"html":{"href":"https://github.com/opscode/winrm-s/pull/1"},"issue":{"href":"https://api.github.com/repos/opscode/winrm-s/issues/1"},"comments":{"href":"https://api.github.com/repos/opscode/winrm-s/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/opscode/winrm-s/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/opscode/winrm-s/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/opscode/winrm-s/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/opscode/winrm-s/statuses/0ccc6eec6aee74456c1453d64580014398dc447f"}}}}