{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/comments/36278198","id":36278198,"diff_hunk":"@@ -1,18 +1,20 @@\n class Targeting < ActiveRecord::Base\n \n   STATIC_TYPE = 'static_query'\n-  DYNAMIC_TYPE = 'dynamic_bookmark'\n-  TYPES = {STATIC_TYPE => N_('Static Query'), DYNAMIC_TYPE => N_('Dynamic Bookmark')}\n+  DYNAMIC_TYPE = 'dynamic_query'\n+  TYPES = {STATIC_TYPE => N_('Static Query'), DYNAMIC_TYPE => N_('Dynamic Query')}","path":"app/models/targeting.rb","position":7,"original_position":7,"commit_id":"0787b5de0a7bb084a1f80f227f908a9884abcf2e","original_commit_id":"0787b5de0a7bb084a1f80f227f908a9884abcf2e","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'll fix that (even thought it's not my code :-)","created_at":"2015-08-05T08:09:00Z","updated_at":"2015-08-05T08:09:00Z","html_url":"https://github.com/theforeman/foreman_remote_execution/pull/13#discussion_r36278198","pull_request_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/comments/36278198"},"html":{"href":"https://github.com/theforeman/foreman_remote_execution/pull/13#discussion_r36278198"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/13","id":41562230,"html_url":"https://github.com/theforeman/foreman_remote_execution/pull/13","diff_url":"https://github.com/theforeman/foreman_remote_execution/pull/13.diff","patch_url":"https://github.com/theforeman/foreman_remote_execution/pull/13.patch","issue_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/13","number":13,"state":"open","locked":false,"title":"Job invocations creation UI","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":"","created_at":"2015-08-04T12:05:19Z","updated_at":"2015-08-05T08:09:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"245aee7aee6e417aa9c6f09e1b276271528e352c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/13/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/13/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/13/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/statuses/0787b5de0a7bb084a1f80f227f908a9884abcf2e","head":{"label":"ares:job_invocations_ui","ref":"job_invocations_ui","sha":"0787b5de0a7bb084a1f80f227f908a9884abcf2e","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},"repo":{"id":37311733,"name":"foreman_remote_execution","full_name":"ares/foreman_remote_execution","owner":{"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},"private":false,"html_url":"https://github.com/ares/foreman_remote_execution","description":"A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality","fork":true,"url":"https://api.github.com/repos/ares/foreman_remote_execution","forks_url":"https://api.github.com/repos/ares/foreman_remote_execution/forks","keys_url":"https://api.github.com/repos/ares/foreman_remote_execution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ares/foreman_remote_execution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ares/foreman_remote_execution/teams","hooks_url":"https://api.github.com/repos/ares/foreman_remote_execution/hooks","issue_events_url":"https://api.github.com/repos/ares/foreman_remote_execution/issues/events{/number}","events_url":"https://api.github.com/repos/ares/foreman_remote_execution/events","assignees_url":"https://api.github.com/repos/ares/foreman_remote_execution/assignees{/user}","branches_url":"https://api.github.com/repos/ares/foreman_remote_execution/branches{/branch}","tags_url":"https://api.github.com/repos/ares/foreman_remote_execution/tags","blobs_url":"https://api.github.com/repos/ares/foreman_remote_execution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ares/foreman_remote_execution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ares/foreman_remote_execution/git/refs{/sha}","trees_url":"https://api.github.com/repos/ares/foreman_remote_execution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ares/foreman_remote_execution/statuses/{sha}","languages_url":"https://api.github.com/repos/ares/foreman_remote_execution/languages","stargazers_url":"https://api.github.com/repos/ares/foreman_remote_execution/stargazers","contributors_url":"https://api.github.com/repos/ares/foreman_remote_execution/contributors","subscribers_url":"https://api.github.com/repos/ares/foreman_remote_execution/subscribers","subscription_url":"https://api.github.com/repos/ares/foreman_remote_execution/subscription","commits_url":"https://api.github.com/repos/ares/foreman_remote_execution/commits{/sha}","git_commits_url":"https://api.github.com/repos/ares/foreman_remote_execution/git/commits{/sha}","comments_url":"https://api.github.com/repos/ares/foreman_remote_execution/comments{/number}","issue_comment_url":"https://api.github.com/repos/ares/foreman_remote_execution/issues/comments{/number}","contents_url":"https://api.github.com/repos/ares/foreman_remote_execution/contents/{+path}","compare_url":"https://api.github.com/repos/ares/foreman_remote_execution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ares/foreman_remote_execution/merges","archive_url":"https://api.github.com/repos/ares/foreman_remote_execution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ares/foreman_remote_execution/downloads","issues_url":"https://api.github.com/repos/ares/foreman_remote_execution/issues{/number}","pulls_url":"https://api.github.com/repos/ares/foreman_remote_execution/pulls{/number}","milestones_url":"https://api.github.com/repos/ares/foreman_remote_execution/milestones{/number}","notifications_url":"https://api.github.com/repos/ares/foreman_remote_execution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ares/foreman_remote_execution/labels{/name}","releases_url":"https://api.github.com/repos/ares/foreman_remote_execution/releases{/id}","created_at":"2015-06-12T08:43:22Z","updated_at":"2015-06-12T09:10:13Z","pushed_at":"2015-08-05T06:39:53Z","git_url":"git://github.com/ares/foreman_remote_execution.git","ssh_url":"git@github.com:ares/foreman_remote_execution.git","clone_url":"https://github.com/ares/foreman_remote_execution.git","svn_url":"https://github.com/ares/foreman_remote_execution","homepage":"","size":1176,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"0187dd4c607e4630680c0dc77e69f258e064b4c9","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":34800230,"name":"foreman_remote_execution","full_name":"theforeman/foreman_remote_execution","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_remote_execution","description":"A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality","fork":false,"url":"https://api.github.com/repos/theforeman/foreman_remote_execution","forks_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/forks","keys_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/events","assignees_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/merges","archive_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman_remote_execution/releases{/id}","created_at":"2015-04-29T14:57:15Z","updated_at":"2015-06-20T11:05:23Z","pushed_at":"2015-08-05T06:39:33Z","git_url":"git://github.com/theforeman/foreman_remote_execution.git","ssh_url":"git@github.com:theforeman/foreman_remote_execution.git","clone_url":"https://github.com/theforeman/foreman_remote_execution.git","svn_url":"https://github.com/theforeman/foreman_remote_execution","homepage":"","size":1384,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/13"},"html":{"href":"https://github.com/theforeman/foreman_remote_execution/pull/13"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/13"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman_remote_execution/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman_remote_execution/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman_remote_execution/statuses/0787b5de0a7bb084a1f80f227f908a9884abcf2e"}}}}