{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/comments/142952698","pull_request_review_id":67391923,"id":142952698,"diff_hunk":"@@ -39,6 +39,12 @@ class Engine < ::Rails::Engine\n       Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir\n     end\n \n+    initializer 'foreman_tasks.rails_executor_middleware' do\n+      Actions::Base.class_eval do\n+        middleware.use ::Actions::Middleware::RailsExecutorWrap if SETTINGS[:rails] != '4.2'","path":"lib/foreman_tasks/engine.rb","position":null,"original_position":6,"commit_id":"cfd73fb76ff4fa19857886fe58d231f1da0b6c1e","original_commit_id":"2c78624016776b2b577005b24bd1a95275e4211a","user":{"login":"jlsherrill","id":395077,"avatar_url":"https://avatars3.githubusercontent.com/u/395077?v=4","gravatar_id":"","url":"https://api.github.com/users/jlsherrill","html_url":"https://github.com/jlsherrill","followers_url":"https://api.github.com/users/jlsherrill/followers","following_url":"https://api.github.com/users/jlsherrill/following{/other_user}","gists_url":"https://api.github.com/users/jlsherrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jlsherrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlsherrill/subscriptions","organizations_url":"https://api.github.com/users/jlsherrill/orgs","repos_url":"https://api.github.com/users/jlsherrill/repos","events_url":"https://api.github.com/users/jlsherrill/events{/privacy}","received_events_url":"https://api.github.com/users/jlsherrill/received_events","type":"User","site_admin":false},"body":"For some reason i thought that class was in dynflow, i'm not really sure why i thought that","created_at":"2017-10-05T14:24:31Z","updated_at":"2017-10-05T14:24:31Z","html_url":"https://github.com/theforeman/foreman-tasks/pull/289#discussion_r142952698","pull_request_url":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/289","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/comments/142952698"},"html":{"href":"https://github.com/theforeman/foreman-tasks/pull/289#discussion_r142952698"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/289"}},"in_reply_to_id":142798904},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/289","id":144462466,"html_url":"https://github.com/theforeman/foreman-tasks/pull/289","diff_url":"https://github.com/theforeman/foreman-tasks/pull/289.diff","patch_url":"https://github.com/theforeman/foreman-tasks/pull/289.patch","issue_url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/289","number":289,"state":"open","locked":false,"title":"Fixes #21173 - rails 5 safe class reloading","user":{"login":"jlsherrill","id":395077,"avatar_url":"https://avatars3.githubusercontent.com/u/395077?v=4","gravatar_id":"","url":"https://api.github.com/users/jlsherrill","html_url":"https://github.com/jlsherrill","followers_url":"https://api.github.com/users/jlsherrill/followers","following_url":"https://api.github.com/users/jlsherrill/following{/other_user}","gists_url":"https://api.github.com/users/jlsherrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jlsherrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlsherrill/subscriptions","organizations_url":"https://api.github.com/users/jlsherrill/orgs","repos_url":"https://api.github.com/users/jlsherrill/repos","events_url":"https://api.github.com/users/jlsherrill/events{/privacy}","received_events_url":"https://api.github.com/users/jlsherrill/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-03T16:00:55Z","updated_at":"2017-10-05T14:24:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab363b8e9e0f3c344456729c2342f19eb441888d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/289/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/289/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/289/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman-tasks/statuses/cfd73fb76ff4fa19857886fe58d231f1da0b6c1e","head":{"label":"jlsherrill:21173","ref":"21173","sha":"cfd73fb76ff4fa19857886fe58d231f1da0b6c1e","user":{"login":"jlsherrill","id":395077,"avatar_url":"https://avatars3.githubusercontent.com/u/395077?v=4","gravatar_id":"","url":"https://api.github.com/users/jlsherrill","html_url":"https://github.com/jlsherrill","followers_url":"https://api.github.com/users/jlsherrill/followers","following_url":"https://api.github.com/users/jlsherrill/following{/other_user}","gists_url":"https://api.github.com/users/jlsherrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jlsherrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlsherrill/subscriptions","organizations_url":"https://api.github.com/users/jlsherrill/orgs","repos_url":"https://api.github.com/users/jlsherrill/repos","events_url":"https://api.github.com/users/jlsherrill/events{/privacy}","received_events_url":"https://api.github.com/users/jlsherrill/received_events","type":"User","site_admin":false},"repo":{"id":22438885,"name":"foreman-tasks","full_name":"jlsherrill/foreman-tasks","owner":{"login":"jlsherrill","id":395077,"avatar_url":"https://avatars3.githubusercontent.com/u/395077?v=4","gravatar_id":"","url":"https://api.github.com/users/jlsherrill","html_url":"https://github.com/jlsherrill","followers_url":"https://api.github.com/users/jlsherrill/followers","following_url":"https://api.github.com/users/jlsherrill/following{/other_user}","gists_url":"https://api.github.com/users/jlsherrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jlsherrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlsherrill/subscriptions","organizations_url":"https://api.github.com/users/jlsherrill/orgs","repos_url":"https://api.github.com/users/jlsherrill/repos","events_url":"https://api.github.com/users/jlsherrill/events{/privacy}","received_events_url":"https://api.github.com/users/jlsherrill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlsherrill/foreman-tasks","description":null,"fork":true,"url":"https://api.github.com/repos/jlsherrill/foreman-tasks","forks_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/forks","keys_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/teams","hooks_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/hooks","issue_events_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/events","assignees_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/tags","blobs_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/languages","stargazers_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/stargazers","contributors_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/contributors","subscribers_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/subscribers","subscription_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/subscription","commits_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/merges","archive_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/downloads","issues_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/labels{/name}","releases_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/jlsherrill/foreman-tasks/deployments","created_at":"2014-07-30T17:59:10Z","updated_at":"2014-07-08T09:36:29Z","pushed_at":"2017-10-05T14:20:50Z","git_url":"git://github.com/jlsherrill/foreman-tasks.git","ssh_url":"git@github.com:jlsherrill/foreman-tasks.git","clone_url":"https://github.com/jlsherrill/foreman-tasks.git","svn_url":"https://github.com/jlsherrill/foreman-tasks","homepage":null,"size":660,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"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":"35c6d6aa1ec4c61cd4498705df5df76b3c952427","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","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":14981691,"name":"foreman-tasks","full_name":"theforeman/foreman-tasks","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","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-tasks","description":"Tasks management engine and plugin for Foreman","fork":false,"url":"https://api.github.com/repos/theforeman/foreman-tasks","forks_url":"https://api.github.com/repos/theforeman/foreman-tasks/forks","keys_url":"https://api.github.com/repos/theforeman/foreman-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman-tasks/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman-tasks/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman-tasks/events","assignees_url":"https://api.github.com/repos/theforeman/foreman-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman-tasks/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman-tasks/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman-tasks/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman-tasks/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman-tasks/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman-tasks/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman-tasks/merges","archive_url":"https://api.github.com/repos/theforeman/foreman-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman-tasks/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman-tasks/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/foreman-tasks/deployments","created_at":"2013-12-06T11:52:00Z","updated_at":"2017-09-03T18:23:20Z","pushed_at":"2017-10-05T14:20:51Z","git_url":"git://github.com/theforeman/foreman-tasks.git","ssh_url":"git@github.com:theforeman/foreman-tasks.git","clone_url":"https://github.com/theforeman/foreman-tasks.git","svn_url":"https://github.com/theforeman/foreman-tasks","homepage":"http://projects.theforeman.org/projects/foreman-tasks/","size":672,"stargazers_count":15,"watchers_count":15,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":12,"forks":48,"open_issues":12,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/289"},"html":{"href":"https://github.com/theforeman/foreman-tasks/pull/289"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman-tasks/issues/289"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman-tasks/issues/289/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/289/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/289/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman-tasks/statuses/cfd73fb76ff4fa19857886fe58d231f1da0b6c1e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jlsherrill"}}