{"action":"created","comment":{"url":"https://api.github.com/repos/rapid7/nexpose-client/pulls/comments/27014928","id":27014928,"diff_hunk":"@@ -58,7 +107,7 @@ def scan_asset(site_id, asset)\n     # @return [Scan] Scan launch information.\n     #\n     def scan_assets(site_id, assets)\n-      xml = make_xml('SiteDevicesScanRequest', { 'site-id' => site_id })\n+      xml = make_xml('SiteDevicesScanRequest', {'site-id' => site_id})","path":"lib/nexpose/scan.rb","position":87,"original_position":87,"commit_id":"3353498bb5124da804dae69de68044bd423010fa","original_commit_id":"3353498bb5124da804dae69de68044bd423010fa","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","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":"Redundant curly braces around a hash parameter.<br>Space inside { missing.<br>Space inside } missing.","created_at":"2015-03-24T10:11:20Z","updated_at":"2015-03-24T10:11:20Z","html_url":"https://github.com/rapid7/nexpose-client/pull/142#discussion_r27014928","pull_request_url":"https://api.github.com/repos/rapid7/nexpose-client/pulls/142","_links":{"self":{"href":"https://api.github.com/repos/rapid7/nexpose-client/pulls/comments/27014928"},"html":{"href":"https://github.com/rapid7/nexpose-client/pull/142#discussion_r27014928"},"pull_request":{"href":"https://api.github.com/repos/rapid7/nexpose-client/pulls/142"}}},"pull_request":{"url":"https://api.github.com/repos/rapid7/nexpose-client/pulls/142","id":31811994,"html_url":"https://github.com/rapid7/nexpose-client/pull/142","diff_url":"https://github.com/rapid7/nexpose-client/pull/142.diff","patch_url":"https://github.com/rapid7/nexpose-client/pull/142.patch","issue_url":"https://api.github.com/repos/rapid7/nexpose-client/issues/142","number":142,"state":"open","locked":false,"title":"Update gem to support XML API adding of schedules to adhoc scans","user":{"login":"mhughes-r7","id":8566192,"avatar_url":"https://avatars.githubusercontent.com/u/8566192?v=3","gravatar_id":"","url":"https://api.github.com/users/mhughes-r7","html_url":"https://github.com/mhughes-r7","followers_url":"https://api.github.com/users/mhughes-r7/followers","following_url":"https://api.github.com/users/mhughes-r7/following{/other_user}","gists_url":"https://api.github.com/users/mhughes-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/mhughes-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhughes-r7/subscriptions","organizations_url":"https://api.github.com/users/mhughes-r7/orgs","repos_url":"https://api.github.com/users/mhughes-r7/repos","events_url":"https://api.github.com/users/mhughes-r7/events{/privacy}","received_events_url":"https://api.github.com/users/mhughes-r7/received_events","type":"User","site_admin":false},"body":"Adding support in to the gem for new feature allowing users to add schedules to adhoc scans.\r\n\r\nNEX-40391","created_at":"2015-03-24T10:11:13Z","updated_at":"2015-03-24T10:11:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c64b6fb239aadb3b974cd87c69484117a27b41a","assignee":null,"milestone":{"url":"https://api.github.com/repos/rapid7/nexpose-client/milestones/1","html_url":"https://github.com/rapid7/nexpose-client/milestones/One%20Dot%20Oh","labels_url":"https://api.github.com/repos/rapid7/nexpose-client/milestones/1/labels","id":1008443,"number":1,"title":"One Dot Oh","description":"Wherein we break backwards compatibility.","creator":{"login":"gschneider-r7","id":4418817,"avatar_url":"https://avatars.githubusercontent.com/u/4418817?v=3","gravatar_id":"","url":"https://api.github.com/users/gschneider-r7","html_url":"https://github.com/gschneider-r7","followers_url":"https://api.github.com/users/gschneider-r7/followers","following_url":"https://api.github.com/users/gschneider-r7/following{/other_user}","gists_url":"https://api.github.com/users/gschneider-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/gschneider-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gschneider-r7/subscriptions","organizations_url":"https://api.github.com/users/gschneider-r7/orgs","repos_url":"https://api.github.com/users/gschneider-r7/repos","events_url":"https://api.github.com/users/gschneider-r7/events{/privacy}","received_events_url":"https://api.github.com/users/gschneider-r7/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":6,"state":"open","created_at":"2015-03-05T23:35:17Z","updated_at":"2015-03-24T10:11:13Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/rapid7/nexpose-client/pulls/142/commits","review_comments_url":"https://api.github.com/repos/rapid7/nexpose-client/pulls/142/comments","review_comment_url":"https://api.github.com/repos/rapid7/nexpose-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rapid7/nexpose-client/issues/142/comments","statuses_url":"https://api.github.com/repos/rapid7/nexpose-client/statuses/3353498bb5124da804dae69de68044bd423010fa","head":{"label":"rapid7:site-api-adhoc-schedule","ref":"site-api-adhoc-schedule","sha":"3353498bb5124da804dae69de68044bd423010fa","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":2622467,"name":"nexpose-client","full_name":"rapid7/nexpose-client","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapid7/nexpose-client","description":"Rapid7 Nexpose API client library written in Ruby","fork":false,"url":"https://api.github.com/repos/rapid7/nexpose-client","forks_url":"https://api.github.com/repos/rapid7/nexpose-client/forks","keys_url":"https://api.github.com/repos/rapid7/nexpose-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/nexpose-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/nexpose-client/teams","hooks_url":"https://api.github.com/repos/rapid7/nexpose-client/hooks","issue_events_url":"https://api.github.com/repos/rapid7/nexpose-client/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/nexpose-client/events","assignees_url":"https://api.github.com/repos/rapid7/nexpose-client/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/nexpose-client/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/nexpose-client/tags","blobs_url":"https://api.github.com/repos/rapid7/nexpose-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/nexpose-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/nexpose-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/nexpose-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/nexpose-client/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/nexpose-client/languages","stargazers_url":"https://api.github.com/repos/rapid7/nexpose-client/stargazers","contributors_url":"https://api.github.com/repos/rapid7/nexpose-client/contributors","subscribers_url":"https://api.github.com/repos/rapid7/nexpose-client/subscribers","subscription_url":"https://api.github.com/repos/rapid7/nexpose-client/subscription","commits_url":"https://api.github.com/repos/rapid7/nexpose-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/nexpose-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/nexpose-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/nexpose-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/nexpose-client/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/nexpose-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/nexpose-client/merges","archive_url":"https://api.github.com/repos/rapid7/nexpose-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/nexpose-client/downloads","issues_url":"https://api.github.com/repos/rapid7/nexpose-client/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/nexpose-client/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/nexpose-client/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/nexpose-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/nexpose-client/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/nexpose-client/releases{/id}","created_at":"2011-10-21T19:04:49Z","updated_at":"2015-03-17T23:10:18Z","pushed_at":"2015-03-24T10:11:13Z","git_url":"git://github.com/rapid7/nexpose-client.git","ssh_url":"git@github.com:rapid7/nexpose-client.git","clone_url":"https://github.com/rapid7/nexpose-client.git","svn_url":"https://github.com/rapid7/nexpose-client","homepage":"http://www.rapid7.com/","size":3617,"stargazers_count":67,"watchers_count":67,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":9,"forks":52,"open_issues":9,"watchers":67,"default_branch":"master"}},"base":{"label":"rapid7:site-api","ref":"site-api","sha":"419d035022e4fc4d2d85c31a3e63f3a48c32276c","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":2622467,"name":"nexpose-client","full_name":"rapid7/nexpose-client","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapid7/nexpose-client","description":"Rapid7 Nexpose API client library written in Ruby","fork":false,"url":"https://api.github.com/repos/rapid7/nexpose-client","forks_url":"https://api.github.com/repos/rapid7/nexpose-client/forks","keys_url":"https://api.github.com/repos/rapid7/nexpose-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/nexpose-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/nexpose-client/teams","hooks_url":"https://api.github.com/repos/rapid7/nexpose-client/hooks","issue_events_url":"https://api.github.com/repos/rapid7/nexpose-client/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/nexpose-client/events","assignees_url":"https://api.github.com/repos/rapid7/nexpose-client/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/nexpose-client/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/nexpose-client/tags","blobs_url":"https://api.github.com/repos/rapid7/nexpose-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/nexpose-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/nexpose-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/nexpose-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/nexpose-client/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/nexpose-client/languages","stargazers_url":"https://api.github.com/repos/rapid7/nexpose-client/stargazers","contributors_url":"https://api.github.com/repos/rapid7/nexpose-client/contributors","subscribers_url":"https://api.github.com/repos/rapid7/nexpose-client/subscribers","subscription_url":"https://api.github.com/repos/rapid7/nexpose-client/subscription","commits_url":"https://api.github.com/repos/rapid7/nexpose-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/nexpose-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/nexpose-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/nexpose-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/nexpose-client/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/nexpose-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/nexpose-client/merges","archive_url":"https://api.github.com/repos/rapid7/nexpose-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/nexpose-client/downloads","issues_url":"https://api.github.com/repos/rapid7/nexpose-client/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/nexpose-client/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/nexpose-client/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/nexpose-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/nexpose-client/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/nexpose-client/releases{/id}","created_at":"2011-10-21T19:04:49Z","updated_at":"2015-03-17T23:10:18Z","pushed_at":"2015-03-24T10:11:13Z","git_url":"git://github.com/rapid7/nexpose-client.git","ssh_url":"git@github.com:rapid7/nexpose-client.git","clone_url":"https://github.com/rapid7/nexpose-client.git","svn_url":"https://github.com/rapid7/nexpose-client","homepage":"http://www.rapid7.com/","size":3617,"stargazers_count":67,"watchers_count":67,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":9,"forks":52,"open_issues":9,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/nexpose-client/pulls/142"},"html":{"href":"https://github.com/rapid7/nexpose-client/pull/142"},"issue":{"href":"https://api.github.com/repos/rapid7/nexpose-client/issues/142"},"comments":{"href":"https://api.github.com/repos/rapid7/nexpose-client/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/nexpose-client/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/rapid7/nexpose-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rapid7/nexpose-client/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/nexpose-client/statuses/3353498bb5124da804dae69de68044bd423010fa"}}}}