{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/comments/39618220","id":39618220,"diff_hunk":"@@ -8,7 +8,7 @@\n # along with this software; if not, see http://www.gnu.org/licenses/gpl.txt\n #\n \n-module ScaptimonyPolicyDashboardHelper\n+module PolicyDashboardHelper\n   Colors = {","path":"app/helpers/policy_dashboard_helper.rb","position":6,"original_position":6,"commit_id":"2016bd904407ddfe741ded63060b8b6408443649","original_commit_id":"2016bd904407ddfe741ded63060b8b6408443649","user":{"login":"ares","id":109773,"avatar_url":"https://avatars.githubusercontent.com/u/109773?v=3","gravatar_id":"","url":"https://api.github.com/users/ares","html_url":"https://github.com/ares","followers_url":"https://api.github.com/users/ares/followers","following_url":"https://api.github.com/users/ares/following{/other_user}","gists_url":"https://api.github.com/users/ares/gists{/gist_id}","starred_url":"https://api.github.com/users/ares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ares/subscriptions","organizations_url":"https://api.github.com/users/ares/orgs","repos_url":"https://api.github.com/users/ares/repos","events_url":"https://api.github.com/users/ares/events{/privacy}","received_events_url":"https://api.github.com/users/ares/received_events","type":"User","site_admin":false},"body":"I know it's completely unrelated but could I kindly ask you to fix also this one? It uses the same colors so you could either define the constant like this\r\n```ruby\r\nCOLORS = {\r\n  :compliant_hosts => ArfReportDashboardHelper::COLORS[:passed],\r\n  :incompliant_hosts => ArfReportDashboardHelper::COLORS[:failed],\r\n}\r\n```\r\n\r\nor use ArfReportDashboardHelper::COLORS in this helper directly.","created_at":"2015-09-16T11:29:53Z","updated_at":"2015-09-16T11:29:53Z","html_url":"https://github.com/theforeman/foreman_openscap/pull/128#discussion_r39618220","pull_request_url":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/128","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/comments/39618220"},"html":{"href":"https://github.com/theforeman/foreman_openscap/pull/128#discussion_r39618220"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/128","id":44543385,"html_url":"https://github.com/theforeman/foreman_openscap/pull/128","diff_url":"https://github.com/theforeman/foreman_openscap/pull/128.diff","patch_url":"https://github.com/theforeman/foreman_openscap/pull/128.patch","issue_url":"https://api.github.com/repos/theforeman/foreman_openscap/issues/128","number":128,"state":"open","locked":false,"title":"Fixes #11576 - Scaptimony namespace removed","user":{"login":"xprazak2","id":2664090,"avatar_url":"https://avatars.githubusercontent.com/u/2664090?v=3","gravatar_id":"","url":"https://api.github.com/users/xprazak2","html_url":"https://github.com/xprazak2","followers_url":"https://api.github.com/users/xprazak2/followers","following_url":"https://api.github.com/users/xprazak2/following{/other_user}","gists_url":"https://api.github.com/users/xprazak2/gists{/gist_id}","starred_url":"https://api.github.com/users/xprazak2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xprazak2/subscriptions","organizations_url":"https://api.github.com/users/xprazak2/orgs","repos_url":"https://api.github.com/users/xprazak2/repos","events_url":"https://api.github.com/users/xprazak2/events{/privacy}","received_events_url":"https://api.github.com/users/xprazak2/received_events","type":"User","site_admin":false},"body":"I removed the references to Scaptimony from codebase.","created_at":"2015-09-09T12:29:10Z","updated_at":"2015-09-16T11:29:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"082de1c386fda822655c6ce9a4ce1e1c7f974186","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/128/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/128/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman_openscap/issues/128/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman_openscap/statuses/2016bd904407ddfe741ded63060b8b6408443649","head":{"label":"xprazak2:openscap-refactoring-backup-2","ref":"openscap-refactoring-backup-2","sha":"2016bd904407ddfe741ded63060b8b6408443649","user":{"login":"xprazak2","id":2664090,"avatar_url":"https://avatars.githubusercontent.com/u/2664090?v=3","gravatar_id":"","url":"https://api.github.com/users/xprazak2","html_url":"https://github.com/xprazak2","followers_url":"https://api.github.com/users/xprazak2/followers","following_url":"https://api.github.com/users/xprazak2/following{/other_user}","gists_url":"https://api.github.com/users/xprazak2/gists{/gist_id}","starred_url":"https://api.github.com/users/xprazak2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xprazak2/subscriptions","organizations_url":"https://api.github.com/users/xprazak2/orgs","repos_url":"https://api.github.com/users/xprazak2/repos","events_url":"https://api.github.com/users/xprazak2/events{/privacy}","received_events_url":"https://api.github.com/users/xprazak2/received_events","type":"User","site_admin":false},"repo":{"id":40114637,"name":"foreman_openscap","full_name":"xprazak2/foreman_openscap","owner":{"login":"xprazak2","id":2664090,"avatar_url":"https://avatars.githubusercontent.com/u/2664090?v=3","gravatar_id":"","url":"https://api.github.com/users/xprazak2","html_url":"https://github.com/xprazak2","followers_url":"https://api.github.com/users/xprazak2/followers","following_url":"https://api.github.com/users/xprazak2/following{/other_user}","gists_url":"https://api.github.com/users/xprazak2/gists{/gist_id}","starred_url":"https://api.github.com/users/xprazak2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xprazak2/subscriptions","organizations_url":"https://api.github.com/users/xprazak2/orgs","repos_url":"https://api.github.com/users/xprazak2/repos","events_url":"https://api.github.com/users/xprazak2/events{/privacy}","received_events_url":"https://api.github.com/users/xprazak2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xprazak2/foreman_openscap","description":"Foreman plug-in for displaying OpenSCAP audit reports","fork":true,"url":"https://api.github.com/repos/xprazak2/foreman_openscap","forks_url":"https://api.github.com/repos/xprazak2/foreman_openscap/forks","keys_url":"https://api.github.com/repos/xprazak2/foreman_openscap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xprazak2/foreman_openscap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xprazak2/foreman_openscap/teams","hooks_url":"https://api.github.com/repos/xprazak2/foreman_openscap/hooks","issue_events_url":"https://api.github.com/repos/xprazak2/foreman_openscap/issues/events{/number}","events_url":"https://api.github.com/repos/xprazak2/foreman_openscap/events","assignees_url":"https://api.github.com/repos/xprazak2/foreman_openscap/assignees{/user}","branches_url":"https://api.github.com/repos/xprazak2/foreman_openscap/branches{/branch}","tags_url":"https://api.github.com/repos/xprazak2/foreman_openscap/tags","blobs_url":"https://api.github.com/repos/xprazak2/foreman_openscap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xprazak2/foreman_openscap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xprazak2/foreman_openscap/git/refs{/sha}","trees_url":"https://api.github.com/repos/xprazak2/foreman_openscap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xprazak2/foreman_openscap/statuses/{sha}","languages_url":"https://api.github.com/repos/xprazak2/foreman_openscap/languages","stargazers_url":"https://api.github.com/repos/xprazak2/foreman_openscap/stargazers","contributors_url":"https://api.github.com/repos/xprazak2/foreman_openscap/contributors","subscribers_url":"https://api.github.com/repos/xprazak2/foreman_openscap/subscribers","subscription_url":"https://api.github.com/repos/xprazak2/foreman_openscap/subscription","commits_url":"https://api.github.com/repos/xprazak2/foreman_openscap/commits{/sha}","git_commits_url":"https://api.github.com/repos/xprazak2/foreman_openscap/git/commits{/sha}","comments_url":"https://api.github.com/repos/xprazak2/foreman_openscap/comments{/number}","issue_comment_url":"https://api.github.com/repos/xprazak2/foreman_openscap/issues/comments{/number}","contents_url":"https://api.github.com/repos/xprazak2/foreman_openscap/contents/{+path}","compare_url":"https://api.github.com/repos/xprazak2/foreman_openscap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xprazak2/foreman_openscap/merges","archive_url":"https://api.github.com/repos/xprazak2/foreman_openscap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xprazak2/foreman_openscap/downloads","issues_url":"https://api.github.com/repos/xprazak2/foreman_openscap/issues{/number}","pulls_url":"https://api.github.com/repos/xprazak2/foreman_openscap/pulls{/number}","milestones_url":"https://api.github.com/repos/xprazak2/foreman_openscap/milestones{/number}","notifications_url":"https://api.github.com/repos/xprazak2/foreman_openscap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xprazak2/foreman_openscap/labels{/name}","releases_url":"https://api.github.com/repos/xprazak2/foreman_openscap/releases{/id}","created_at":"2015-08-03T08:48:20Z","updated_at":"2015-08-03T08:48:20Z","pushed_at":"2015-09-14T11:05:12Z","git_url":"git://github.com/xprazak2/foreman_openscap.git","ssh_url":"git@github.com:xprazak2/foreman_openscap.git","clone_url":"https://github.com/xprazak2/foreman_openscap.git","svn_url":"https://github.com/xprazak2/foreman_openscap","homepage":null,"size":633,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"theforeman:master","ref":"master","sha":"ee3c06ac10925bf7d1bc1b05dbed98262a2cb726","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":21560665,"name":"foreman_openscap","full_name":"theforeman/foreman_openscap","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman_openscap","description":"Foreman plug-in for displaying OpenSCAP audit reports","fork":false,"url":"https://api.github.com/repos/theforeman/foreman_openscap","forks_url":"https://api.github.com/repos/theforeman/foreman_openscap/forks","keys_url":"https://api.github.com/repos/theforeman/foreman_openscap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman_openscap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman_openscap/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman_openscap/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman_openscap/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman_openscap/events","assignees_url":"https://api.github.com/repos/theforeman/foreman_openscap/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman_openscap/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman_openscap/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman_openscap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman_openscap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman_openscap/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman_openscap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman_openscap/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman_openscap/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman_openscap/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman_openscap/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman_openscap/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman_openscap/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman_openscap/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman_openscap/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman_openscap/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman_openscap/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman_openscap/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman_openscap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman_openscap/merges","archive_url":"https://api.github.com/repos/theforeman/foreman_openscap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman_openscap/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman_openscap/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman_openscap/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman_openscap/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman_openscap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman_openscap/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman_openscap/releases{/id}","created_at":"2014-07-07T07:17:09Z","updated_at":"2015-08-11T14:13:14Z","pushed_at":"2015-09-16T11:23:47Z","git_url":"git://github.com/theforeman/foreman_openscap.git","ssh_url":"git@github.com:theforeman/foreman_openscap.git","clone_url":"https://github.com/theforeman/foreman_openscap.git","svn_url":"https://github.com/theforeman/foreman_openscap","homepage":null,"size":1541,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":8,"forks":6,"open_issues":8,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/128"},"html":{"href":"https://github.com/theforeman/foreman_openscap/pull/128"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman_openscap/issues/128"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman_openscap/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman_openscap/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman_openscap/statuses/2016bd904407ddfe741ded63060b8b6408443649"}}}}