{"action":"created","comment":{"url":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/comments/27029850","id":27029850,"diff_hunk":"@@ -0,0 +1,14 @@\n+class MetasploitDataModels::AutomaticExploitation::Run < ActiveRecord::Base\n+  attr_accessible :user_id, :workspace_id, :match_set_id\n+\n+  #\n+  # ASSOCIATIONS\n+  #\n+  belongs_to :user, class_name: \"Mdm::User\"\n+  belongs_to :workspace, class_name: \"Mdm::Workspace\"\n+\n+  has_many :match_results, class_name:'::MetasploitDataModels::AutomaticExploitation::MatchResult'","path":"app/models/metasploit_data_models/automatic_exploitation/run.rb","position":10,"original_position":10,"commit_id":"27d960fbdea83991f348f01bf2d1f89840765466","original_commit_id":"27d960fbdea83991f348f01bf2d1f89840765466","user":{"login":"limhoff-r7","id":2230482,"avatar_url":"https://avatars.githubusercontent.com/u/2230482?v=3","gravatar_id":"","url":"https://api.github.com/users/limhoff-r7","html_url":"https://github.com/limhoff-r7","followers_url":"https://api.github.com/users/limhoff-r7/followers","following_url":"https://api.github.com/users/limhoff-r7/following{/other_user}","gists_url":"https://api.github.com/users/limhoff-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/limhoff-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limhoff-r7/subscriptions","organizations_url":"https://api.github.com/users/limhoff-r7/orgs","repos_url":"https://api.github.com/users/limhoff-r7/repos","events_url":"https://api.github.com/users/limhoff-r7/events{/privacy}","received_events_url":"https://api.github.com/users/limhoff-r7/received_events","type":"User","site_admin":false},"body":"Missing `inverse_of` will leading to inconsistent remote association in-memory.","created_at":"2015-03-24T14:05:43Z","updated_at":"2015-03-24T14:05:43Z","html_url":"https://github.com/rapid7/metasploit_data_models/pull/109#discussion_r27029850","pull_request_url":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/comments/27029850"},"html":{"href":"https://github.com/rapid7/metasploit_data_models/pull/109#discussion_r27029850"},"pull_request":{"href":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/109","id":31750846,"html_url":"https://github.com/rapid7/metasploit_data_models/pull/109","diff_url":"https://github.com/rapid7/metasploit_data_models/pull/109.diff","patch_url":"https://github.com/rapid7/metasploit_data_models/pull/109.patch","issue_url":"https://api.github.com/repos/rapid7/metasploit_data_models/issues/109","number":109,"state":"open","locked":false,"title":"Staging/single vuln push","user":{"login":"jlee-r7","id":1173675,"avatar_url":"https://avatars.githubusercontent.com/u/1173675?v=3","gravatar_id":"","url":"https://api.github.com/users/jlee-r7","html_url":"https://github.com/jlee-r7","followers_url":"https://api.github.com/users/jlee-r7/followers","following_url":"https://api.github.com/users/jlee-r7/following{/other_user}","gists_url":"https://api.github.com/users/jlee-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/jlee-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlee-r7/subscriptions","organizations_url":"https://api.github.com/users/jlee-r7/orgs","repos_url":"https://api.github.com/users/jlee-r7/repos","events_url":"https://api.github.com/users/jlee-r7/events{/privacy}","received_events_url":"https://api.github.com/users/jlee-r7/received_events","type":"User","site_admin":false},"body":"MSP-11925\r\nMSP-12172\r\n\r\nThis brings #102, #103, #104, #105, and #106 to master. See those for verification steps, but basically if Travis passes, this is ok.\r\n\r\n# Post Merge steps\r\n\r\n## Version\r\n- [ ] Edit `lib/metasploit_data_models/version.rb`\r\n- [ ] Remove `PRERELEASE` and its comment as `PRERELEASE` is not defined on master.\r\n\r\n## Gem build\r\n- [ ] gem build *.gemspec\r\n- [ ] VERIFY the gem has no '.pre' version suffix.\r\n\r\n## RSpec\r\n- [ ] `rake spec`\r\n- [ ] VERIFY version examples pass without failures\r\n\r\n## Commit & Push\r\n- [ ] `git commit -a`\r\n- [ ] `git push origin master`\r\n","created_at":"2015-03-23T16:49:07Z","updated_at":"2015-03-24T14:05:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61dd4d461e1618960de117314578a7489295c446","assignee":{"login":"limhoff-r7","id":2230482,"avatar_url":"https://avatars.githubusercontent.com/u/2230482?v=3","gravatar_id":"","url":"https://api.github.com/users/limhoff-r7","html_url":"https://github.com/limhoff-r7","followers_url":"https://api.github.com/users/limhoff-r7/followers","following_url":"https://api.github.com/users/limhoff-r7/following{/other_user}","gists_url":"https://api.github.com/users/limhoff-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/limhoff-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limhoff-r7/subscriptions","organizations_url":"https://api.github.com/users/limhoff-r7/orgs","repos_url":"https://api.github.com/users/limhoff-r7/repos","events_url":"https://api.github.com/users/limhoff-r7/events{/privacy}","received_events_url":"https://api.github.com/users/limhoff-r7/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/109/commits","review_comments_url":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/109/comments","review_comment_url":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rapid7/metasploit_data_models/issues/109/comments","statuses_url":"https://api.github.com/repos/rapid7/metasploit_data_models/statuses/27d960fbdea83991f348f01bf2d1f89840765466","head":{"label":"rapid7:staging/single-vuln-push","ref":"staging/single-vuln-push","sha":"27d960fbdea83991f348f01bf2d1f89840765466","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":3072132,"name":"metasploit_data_models","full_name":"rapid7/metasploit_data_models","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/metasploit_data_models","description":"MSF database code, gemified","fork":false,"url":"https://api.github.com/repos/rapid7/metasploit_data_models","forks_url":"https://api.github.com/repos/rapid7/metasploit_data_models/forks","keys_url":"https://api.github.com/repos/rapid7/metasploit_data_models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/metasploit_data_models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/metasploit_data_models/teams","hooks_url":"https://api.github.com/repos/rapid7/metasploit_data_models/hooks","issue_events_url":"https://api.github.com/repos/rapid7/metasploit_data_models/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/metasploit_data_models/events","assignees_url":"https://api.github.com/repos/rapid7/metasploit_data_models/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/metasploit_data_models/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/metasploit_data_models/tags","blobs_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/metasploit_data_models/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/metasploit_data_models/languages","stargazers_url":"https://api.github.com/repos/rapid7/metasploit_data_models/stargazers","contributors_url":"https://api.github.com/repos/rapid7/metasploit_data_models/contributors","subscribers_url":"https://api.github.com/repos/rapid7/metasploit_data_models/subscribers","subscription_url":"https://api.github.com/repos/rapid7/metasploit_data_models/subscription","commits_url":"https://api.github.com/repos/rapid7/metasploit_data_models/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/metasploit_data_models/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/metasploit_data_models/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/metasploit_data_models/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/metasploit_data_models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/metasploit_data_models/merges","archive_url":"https://api.github.com/repos/rapid7/metasploit_data_models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/metasploit_data_models/downloads","issues_url":"https://api.github.com/repos/rapid7/metasploit_data_models/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/metasploit_data_models/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/metasploit_data_models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/metasploit_data_models/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/metasploit_data_models/releases{/id}","created_at":"2011-12-30T01:15:12Z","updated_at":"2015-02-28T13:46:55Z","pushed_at":"2015-03-23T16:49:08Z","git_url":"git://github.com/rapid7/metasploit_data_models.git","ssh_url":"git@github.com:rapid7/metasploit_data_models.git","clone_url":"https://github.com/rapid7/metasploit_data_models.git","svn_url":"https://github.com/rapid7/metasploit_data_models","homepage":"","size":6406,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":6,"forks":24,"open_issues":6,"watchers":21,"default_branch":"master"}},"base":{"label":"rapid7:master","ref":"master","sha":"b23b774cae2e12b62f956366d45c23a787e9c544","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":3072132,"name":"metasploit_data_models","full_name":"rapid7/metasploit_data_models","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/metasploit_data_models","description":"MSF database code, gemified","fork":false,"url":"https://api.github.com/repos/rapid7/metasploit_data_models","forks_url":"https://api.github.com/repos/rapid7/metasploit_data_models/forks","keys_url":"https://api.github.com/repos/rapid7/metasploit_data_models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/metasploit_data_models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/metasploit_data_models/teams","hooks_url":"https://api.github.com/repos/rapid7/metasploit_data_models/hooks","issue_events_url":"https://api.github.com/repos/rapid7/metasploit_data_models/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/metasploit_data_models/events","assignees_url":"https://api.github.com/repos/rapid7/metasploit_data_models/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/metasploit_data_models/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/metasploit_data_models/tags","blobs_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/metasploit_data_models/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/metasploit_data_models/languages","stargazers_url":"https://api.github.com/repos/rapid7/metasploit_data_models/stargazers","contributors_url":"https://api.github.com/repos/rapid7/metasploit_data_models/contributors","subscribers_url":"https://api.github.com/repos/rapid7/metasploit_data_models/subscribers","subscription_url":"https://api.github.com/repos/rapid7/metasploit_data_models/subscription","commits_url":"https://api.github.com/repos/rapid7/metasploit_data_models/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/metasploit_data_models/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/metasploit_data_models/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/metasploit_data_models/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/metasploit_data_models/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/metasploit_data_models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/metasploit_data_models/merges","archive_url":"https://api.github.com/repos/rapid7/metasploit_data_models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/metasploit_data_models/downloads","issues_url":"https://api.github.com/repos/rapid7/metasploit_data_models/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/metasploit_data_models/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/metasploit_data_models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/metasploit_data_models/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/metasploit_data_models/releases{/id}","created_at":"2011-12-30T01:15:12Z","updated_at":"2015-02-28T13:46:55Z","pushed_at":"2015-03-23T16:49:08Z","git_url":"git://github.com/rapid7/metasploit_data_models.git","ssh_url":"git@github.com:rapid7/metasploit_data_models.git","clone_url":"https://github.com/rapid7/metasploit_data_models.git","svn_url":"https://github.com/rapid7/metasploit_data_models","homepage":"","size":6406,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":6,"forks":24,"open_issues":6,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/109"},"html":{"href":"https://github.com/rapid7/metasploit_data_models/pull/109"},"issue":{"href":"https://api.github.com/repos/rapid7/metasploit_data_models/issues/109"},"comments":{"href":"https://api.github.com/repos/rapid7/metasploit_data_models/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rapid7/metasploit_data_models/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/metasploit_data_models/statuses/27d960fbdea83991f348f01bf2d1f89840765466"}}}}