{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/comments/22439114","id":22439114,"diff_hunk":"@@ -1,10 +1,15 @@\n <%= javascript \"jquery.cookie\", \"host_checkbox\" %>\n+<% require 'action_view' %>","path":"app/views/discovered_hosts/_discovered_hosts_list.html.erb","position":2,"original_position":2,"commit_id":"281e1c0abf5d99ecf4c5520635d20ee502fd623d","original_commit_id":"627f40cb43607f48a489a4018067e1e8b5cb1d0f","user":{"login":"ohadlevy","id":20167,"avatar_url":"https://avatars.githubusercontent.com/u/20167?v=3","gravatar_id":"","url":"https://api.github.com/users/ohadlevy","html_url":"https://github.com/ohadlevy","followers_url":"https://api.github.com/users/ohadlevy/followers","following_url":"https://api.github.com/users/ohadlevy/following{/other_user}","gists_url":"https://api.github.com/users/ohadlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/ohadlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohadlevy/subscriptions","organizations_url":"https://api.github.com/users/ohadlevy/orgs","repos_url":"https://api.github.com/users/ohadlevy/repos","events_url":"https://api.github.com/users/ohadlevy/events{/privacy}","received_events_url":"https://api.github.com/users/ohadlevy/received_events","type":"User","site_admin":false},"body":"afaik this is not needed, you are already in a view context?","created_at":"2015-01-04T13:20:09Z","updated_at":"2015-01-04T13:20:09Z","html_url":"https://github.com/theforeman/foreman_discovery/pull/112#discussion_r22439114","pull_request_url":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/112","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/comments/22439114"},"html":{"href":"https://github.com/theforeman/foreman_discovery/pull/112#discussion_r22439114"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/112","id":26428904,"html_url":"https://github.com/theforeman/foreman_discovery/pull/112","diff_url":"https://github.com/theforeman/foreman_discovery/pull/112.diff","patch_url":"https://github.com/theforeman/foreman_discovery/pull/112.patch","issue_url":"https://api.github.com/repos/theforeman/foreman_discovery/issues/112","number":112,"state":"open","locked":false,"title":"Fixes #8723 - Adds CPU, mem and disk size to discovered hosts index page","user":{"login":"orrabin","id":7894647,"avatar_url":"https://avatars.githubusercontent.com/u/7894647?v=3","gravatar_id":"","url":"https://api.github.com/users/orrabin","html_url":"https://github.com/orrabin","followers_url":"https://api.github.com/users/orrabin/followers","following_url":"https://api.github.com/users/orrabin/following{/other_user}","gists_url":"https://api.github.com/users/orrabin/gists{/gist_id}","starred_url":"https://api.github.com/users/orrabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orrabin/subscriptions","organizations_url":"https://api.github.com/users/orrabin/orgs","repos_url":"https://api.github.com/users/orrabin/repos","events_url":"https://api.github.com/users/orrabin/events{/privacy}","received_events_url":"https://api.github.com/users/orrabin/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-21T15:22:28Z","updated_at":"2015-01-04T13:20:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b6aa5656a270d9f8bb6169bf40febf0891ccef2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/112/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/112/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/comments/{number}","comments_url":"https://api.github.com/repos/theforeman/foreman_discovery/issues/112/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman_discovery/statuses/281e1c0abf5d99ecf4c5520635d20ee502fd623d","head":{"label":"orrabin:8723","ref":"8723","sha":"281e1c0abf5d99ecf4c5520635d20ee502fd623d","user":{"login":"orrabin","id":7894647,"avatar_url":"https://avatars.githubusercontent.com/u/7894647?v=3","gravatar_id":"","url":"https://api.github.com/users/orrabin","html_url":"https://github.com/orrabin","followers_url":"https://api.github.com/users/orrabin/followers","following_url":"https://api.github.com/users/orrabin/following{/other_user}","gists_url":"https://api.github.com/users/orrabin/gists{/gist_id}","starred_url":"https://api.github.com/users/orrabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orrabin/subscriptions","organizations_url":"https://api.github.com/users/orrabin/orgs","repos_url":"https://api.github.com/users/orrabin/repos","events_url":"https://api.github.com/users/orrabin/events{/privacy}","received_events_url":"https://api.github.com/users/orrabin/received_events","type":"User","site_admin":false},"repo":{"id":25861383,"name":"foreman_discovery","full_name":"orrabin/foreman_discovery","owner":{"login":"orrabin","id":7894647,"avatar_url":"https://avatars.githubusercontent.com/u/7894647?v=3","gravatar_id":"","url":"https://api.github.com/users/orrabin","html_url":"https://github.com/orrabin","followers_url":"https://api.github.com/users/orrabin/followers","following_url":"https://api.github.com/users/orrabin/following{/other_user}","gists_url":"https://api.github.com/users/orrabin/gists{/gist_id}","starred_url":"https://api.github.com/users/orrabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orrabin/subscriptions","organizations_url":"https://api.github.com/users/orrabin/orgs","repos_url":"https://api.github.com/users/orrabin/repos","events_url":"https://api.github.com/users/orrabin/events{/privacy}","received_events_url":"https://api.github.com/users/orrabin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/orrabin/foreman_discovery","description":"A plugin to enable Metal-as-a-Service discovery functionality in foreman","fork":true,"url":"https://api.github.com/repos/orrabin/foreman_discovery","forks_url":"https://api.github.com/repos/orrabin/foreman_discovery/forks","keys_url":"https://api.github.com/repos/orrabin/foreman_discovery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orrabin/foreman_discovery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orrabin/foreman_discovery/teams","hooks_url":"https://api.github.com/repos/orrabin/foreman_discovery/hooks","issue_events_url":"https://api.github.com/repos/orrabin/foreman_discovery/issues/events{/number}","events_url":"https://api.github.com/repos/orrabin/foreman_discovery/events","assignees_url":"https://api.github.com/repos/orrabin/foreman_discovery/assignees{/user}","branches_url":"https://api.github.com/repos/orrabin/foreman_discovery/branches{/branch}","tags_url":"https://api.github.com/repos/orrabin/foreman_discovery/tags","blobs_url":"https://api.github.com/repos/orrabin/foreman_discovery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orrabin/foreman_discovery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orrabin/foreman_discovery/git/refs{/sha}","trees_url":"https://api.github.com/repos/orrabin/foreman_discovery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orrabin/foreman_discovery/statuses/{sha}","languages_url":"https://api.github.com/repos/orrabin/foreman_discovery/languages","stargazers_url":"https://api.github.com/repos/orrabin/foreman_discovery/stargazers","contributors_url":"https://api.github.com/repos/orrabin/foreman_discovery/contributors","subscribers_url":"https://api.github.com/repos/orrabin/foreman_discovery/subscribers","subscription_url":"https://api.github.com/repos/orrabin/foreman_discovery/subscription","commits_url":"https://api.github.com/repos/orrabin/foreman_discovery/commits{/sha}","git_commits_url":"https://api.github.com/repos/orrabin/foreman_discovery/git/commits{/sha}","comments_url":"https://api.github.com/repos/orrabin/foreman_discovery/comments{/number}","issue_comment_url":"https://api.github.com/repos/orrabin/foreman_discovery/issues/comments/{number}","contents_url":"https://api.github.com/repos/orrabin/foreman_discovery/contents/{+path}","compare_url":"https://api.github.com/repos/orrabin/foreman_discovery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orrabin/foreman_discovery/merges","archive_url":"https://api.github.com/repos/orrabin/foreman_discovery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orrabin/foreman_discovery/downloads","issues_url":"https://api.github.com/repos/orrabin/foreman_discovery/issues{/number}","pulls_url":"https://api.github.com/repos/orrabin/foreman_discovery/pulls{/number}","milestones_url":"https://api.github.com/repos/orrabin/foreman_discovery/milestones{/number}","notifications_url":"https://api.github.com/repos/orrabin/foreman_discovery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orrabin/foreman_discovery/labels{/name}","releases_url":"https://api.github.com/repos/orrabin/foreman_discovery/releases{/id}","created_at":"2014-10-28T09:15:55Z","updated_at":"2014-09-18T09:17:01Z","pushed_at":"2015-01-04T13:06:41Z","git_url":"git://github.com/orrabin/foreman_discovery.git","ssh_url":"git@github.com:orrabin/foreman_discovery.git","clone_url":"https://github.com/orrabin/foreman_discovery.git","svn_url":"https://github.com/orrabin/foreman_discovery","homepage":null,"size":771,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"181d2b0b68dec4f8b4dace542769eec8bba36659","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":8454019,"name":"foreman_discovery","full_name":"theforeman/foreman_discovery","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_discovery","description":"A plugin to enable Metal-as-a-Service discovery functionality in foreman","fork":false,"url":"https://api.github.com/repos/theforeman/foreman_discovery","forks_url":"https://api.github.com/repos/theforeman/foreman_discovery/forks","keys_url":"https://api.github.com/repos/theforeman/foreman_discovery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman_discovery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman_discovery/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman_discovery/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman_discovery/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman_discovery/events","assignees_url":"https://api.github.com/repos/theforeman/foreman_discovery/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman_discovery/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman_discovery/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman_discovery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman_discovery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman_discovery/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman_discovery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman_discovery/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman_discovery/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman_discovery/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman_discovery/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman_discovery/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman_discovery/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman_discovery/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman_discovery/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman_discovery/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman_discovery/issues/comments/{number}","contents_url":"https://api.github.com/repos/theforeman/foreman_discovery/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman_discovery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman_discovery/merges","archive_url":"https://api.github.com/repos/theforeman/foreman_discovery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman_discovery/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman_discovery/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman_discovery/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman_discovery/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman_discovery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman_discovery/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman_discovery/releases{/id}","created_at":"2013-02-27T10:45:55Z","updated_at":"2014-12-31T07:40:10Z","pushed_at":"2014-12-31T07:40:10Z","git_url":"git://github.com/theforeman/foreman_discovery.git","ssh_url":"git@github.com:theforeman/foreman_discovery.git","clone_url":"https://github.com/theforeman/foreman_discovery.git","svn_url":"https://github.com/theforeman/foreman_discovery","homepage":null,"size":1698,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":3,"forks":29,"open_issues":3,"watchers":20,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/112"},"html":{"href":"https://github.com/theforeman/foreman_discovery/pull/112"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman_discovery/issues/112"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman_discovery/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman_discovery/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman_discovery/statuses/281e1c0abf5d99ecf4c5520635d20ee502fd623d"}}}}