{"action":"created","comment":{"url":"https://api.github.com/repos/palkan/isolator/pulls/comments/168761414","pull_request_review_id":97183882,"id":168761414,"diff_hunk":"@@ -0,0 +1,6 @@\n+# frozen_string_literal: true\n+\n+ActiveSupport.on_load(:action_mailer) do\n+  Isolator.isolate :action_mailer, ActionMailer::Base.singleton_class,","path":"lib/isolator/adapters/action_mailer.rb","position":4,"original_position":4,"commit_id":"9cd8dc6a52c33973ed355563440fcfdbd5e02482","original_commit_id":"9cd8dc6a52c33973ed355563440fcfdbd5e02482","user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars2.githubusercontent.com/u/1516722?v=4","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"body":"What if make this adapter _Rails-less_ and directly track `mail` gem (`Mail::Message#deliver` method)?\r\n\r\nThat should work with other frameworks too (like Hanami), 'cause everyone uses `mail` under the hood.\r\n\r\nNo need to rewrite specs, btw; maybe, add a _raw_ `Mail::Message` example.\r\n","created_at":"2018-02-16T13:54:49Z","updated_at":"2018-02-16T13:55:42Z","html_url":"https://github.com/palkan/isolator/pull/5#discussion_r168761414","pull_request_url":"https://api.github.com/repos/palkan/isolator/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/palkan/isolator/pulls/comments/168761414"},"html":{"href":"https://github.com/palkan/isolator/pull/5#discussion_r168761414"},"pull_request":{"href":"https://api.github.com/repos/palkan/isolator/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/palkan/isolator/pulls/5","id":169197776,"html_url":"https://github.com/palkan/isolator/pull/5","diff_url":"https://github.com/palkan/isolator/pull/5.diff","patch_url":"https://github.com/palkan/isolator/pull/5.patch","issue_url":"https://api.github.com/repos/palkan/isolator/issues/5","number":5,"state":"open","locked":false,"title":"Add ActionMailer adapter","user":{"login":"alexshgov","id":9149289,"avatar_url":"https://avatars2.githubusercontent.com/u/9149289?v=4","gravatar_id":"","url":"https://api.github.com/users/alexshgov","html_url":"https://github.com/alexshgov","followers_url":"https://api.github.com/users/alexshgov/followers","following_url":"https://api.github.com/users/alexshgov/following{/other_user}","gists_url":"https://api.github.com/users/alexshgov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexshgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexshgov/subscriptions","organizations_url":"https://api.github.com/users/alexshgov/orgs","repos_url":"https://api.github.com/users/alexshgov/repos","events_url":"https://api.github.com/users/alexshgov/events{/privacy}","received_events_url":"https://api.github.com/users/alexshgov/received_events","type":"User","site_admin":false},"body":"* Add `ActionMailer` adapter with appropriate specs\r\n* Update readme\r\n\r\n","created_at":"2018-02-14T19:16:13Z","updated_at":"2018-02-16T13:55:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dadd086b7676420cad2dab697834a6f25a9ac870","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/palkan/isolator/pulls/5/commits","review_comments_url":"https://api.github.com/repos/palkan/isolator/pulls/5/comments","review_comment_url":"https://api.github.com/repos/palkan/isolator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/palkan/isolator/issues/5/comments","statuses_url":"https://api.github.com/repos/palkan/isolator/statuses/9cd8dc6a52c33973ed355563440fcfdbd5e02482","head":{"label":"alexshgov:feature/action-mailer-adapter","ref":"feature/action-mailer-adapter","sha":"9cd8dc6a52c33973ed355563440fcfdbd5e02482","user":{"login":"alexshgov","id":9149289,"avatar_url":"https://avatars2.githubusercontent.com/u/9149289?v=4","gravatar_id":"","url":"https://api.github.com/users/alexshgov","html_url":"https://github.com/alexshgov","followers_url":"https://api.github.com/users/alexshgov/followers","following_url":"https://api.github.com/users/alexshgov/following{/other_user}","gists_url":"https://api.github.com/users/alexshgov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexshgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexshgov/subscriptions","organizations_url":"https://api.github.com/users/alexshgov/orgs","repos_url":"https://api.github.com/users/alexshgov/repos","events_url":"https://api.github.com/users/alexshgov/events{/privacy}","received_events_url":"https://api.github.com/users/alexshgov/received_events","type":"User","site_admin":false},"repo":{"id":121216863,"name":"isolator","full_name":"alexshgov/isolator","owner":{"login":"alexshgov","id":9149289,"avatar_url":"https://avatars2.githubusercontent.com/u/9149289?v=4","gravatar_id":"","url":"https://api.github.com/users/alexshgov","html_url":"https://github.com/alexshgov","followers_url":"https://api.github.com/users/alexshgov/followers","following_url":"https://api.github.com/users/alexshgov/following{/other_user}","gists_url":"https://api.github.com/users/alexshgov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexshgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexshgov/subscriptions","organizations_url":"https://api.github.com/users/alexshgov/orgs","repos_url":"https://api.github.com/users/alexshgov/repos","events_url":"https://api.github.com/users/alexshgov/events{/privacy}","received_events_url":"https://api.github.com/users/alexshgov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexshgov/isolator","description":"Detect non-atomic interactions within DB transactions","fork":true,"url":"https://api.github.com/repos/alexshgov/isolator","forks_url":"https://api.github.com/repos/alexshgov/isolator/forks","keys_url":"https://api.github.com/repos/alexshgov/isolator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexshgov/isolator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexshgov/isolator/teams","hooks_url":"https://api.github.com/repos/alexshgov/isolator/hooks","issue_events_url":"https://api.github.com/repos/alexshgov/isolator/issues/events{/number}","events_url":"https://api.github.com/repos/alexshgov/isolator/events","assignees_url":"https://api.github.com/repos/alexshgov/isolator/assignees{/user}","branches_url":"https://api.github.com/repos/alexshgov/isolator/branches{/branch}","tags_url":"https://api.github.com/repos/alexshgov/isolator/tags","blobs_url":"https://api.github.com/repos/alexshgov/isolator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexshgov/isolator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexshgov/isolator/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexshgov/isolator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexshgov/isolator/statuses/{sha}","languages_url":"https://api.github.com/repos/alexshgov/isolator/languages","stargazers_url":"https://api.github.com/repos/alexshgov/isolator/stargazers","contributors_url":"https://api.github.com/repos/alexshgov/isolator/contributors","subscribers_url":"https://api.github.com/repos/alexshgov/isolator/subscribers","subscription_url":"https://api.github.com/repos/alexshgov/isolator/subscription","commits_url":"https://api.github.com/repos/alexshgov/isolator/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexshgov/isolator/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexshgov/isolator/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexshgov/isolator/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexshgov/isolator/contents/{+path}","compare_url":"https://api.github.com/repos/alexshgov/isolator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexshgov/isolator/merges","archive_url":"https://api.github.com/repos/alexshgov/isolator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexshgov/isolator/downloads","issues_url":"https://api.github.com/repos/alexshgov/isolator/issues{/number}","pulls_url":"https://api.github.com/repos/alexshgov/isolator/pulls{/number}","milestones_url":"https://api.github.com/repos/alexshgov/isolator/milestones{/number}","notifications_url":"https://api.github.com/repos/alexshgov/isolator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexshgov/isolator/labels{/name}","releases_url":"https://api.github.com/repos/alexshgov/isolator/releases{/id}","deployments_url":"https://api.github.com/repos/alexshgov/isolator/deployments","created_at":"2018-02-12T07:55:58Z","updated_at":"2018-02-12T07:56:00Z","pushed_at":"2018-02-16T12:05:50Z","git_url":"git://github.com/alexshgov/isolator.git","ssh_url":"git@github.com:alexshgov/isolator.git","clone_url":"https://github.com/alexshgov/isolator.git","svn_url":"https://github.com/alexshgov/isolator","homepage":null,"size":93,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"palkan:master","ref":"master","sha":"5cd9d9b78ffdceb58006cf344b564f435aa00ee9","user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars2.githubusercontent.com/u/1516722?v=4","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"repo":{"id":119246604,"name":"isolator","full_name":"palkan/isolator","owner":{"login":"palkan","id":1516722,"avatar_url":"https://avatars2.githubusercontent.com/u/1516722?v=4","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/palkan/isolator","description":"Detect non-atomic interactions within DB transactions","fork":false,"url":"https://api.github.com/repos/palkan/isolator","forks_url":"https://api.github.com/repos/palkan/isolator/forks","keys_url":"https://api.github.com/repos/palkan/isolator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palkan/isolator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palkan/isolator/teams","hooks_url":"https://api.github.com/repos/palkan/isolator/hooks","issue_events_url":"https://api.github.com/repos/palkan/isolator/issues/events{/number}","events_url":"https://api.github.com/repos/palkan/isolator/events","assignees_url":"https://api.github.com/repos/palkan/isolator/assignees{/user}","branches_url":"https://api.github.com/repos/palkan/isolator/branches{/branch}","tags_url":"https://api.github.com/repos/palkan/isolator/tags","blobs_url":"https://api.github.com/repos/palkan/isolator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palkan/isolator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palkan/isolator/git/refs{/sha}","trees_url":"https://api.github.com/repos/palkan/isolator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palkan/isolator/statuses/{sha}","languages_url":"https://api.github.com/repos/palkan/isolator/languages","stargazers_url":"https://api.github.com/repos/palkan/isolator/stargazers","contributors_url":"https://api.github.com/repos/palkan/isolator/contributors","subscribers_url":"https://api.github.com/repos/palkan/isolator/subscribers","subscription_url":"https://api.github.com/repos/palkan/isolator/subscription","commits_url":"https://api.github.com/repos/palkan/isolator/commits{/sha}","git_commits_url":"https://api.github.com/repos/palkan/isolator/git/commits{/sha}","comments_url":"https://api.github.com/repos/palkan/isolator/comments{/number}","issue_comment_url":"https://api.github.com/repos/palkan/isolator/issues/comments{/number}","contents_url":"https://api.github.com/repos/palkan/isolator/contents/{+path}","compare_url":"https://api.github.com/repos/palkan/isolator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palkan/isolator/merges","archive_url":"https://api.github.com/repos/palkan/isolator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palkan/isolator/downloads","issues_url":"https://api.github.com/repos/palkan/isolator/issues{/number}","pulls_url":"https://api.github.com/repos/palkan/isolator/pulls{/number}","milestones_url":"https://api.github.com/repos/palkan/isolator/milestones{/number}","notifications_url":"https://api.github.com/repos/palkan/isolator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palkan/isolator/labels{/name}","releases_url":"https://api.github.com/repos/palkan/isolator/releases{/id}","deployments_url":"https://api.github.com/repos/palkan/isolator/deployments","created_at":"2018-01-28T09:57:47Z","updated_at":"2018-02-16T12:53:52Z","pushed_at":"2018-02-16T12:05:51Z","git_url":"git://github.com/palkan/isolator.git","ssh_url":"git@github.com:palkan/isolator.git","clone_url":"https://github.com/palkan/isolator.git","svn_url":"https://github.com/palkan/isolator","homepage":null,"size":72,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/palkan/isolator/pulls/5"},"html":{"href":"https://github.com/palkan/isolator/pull/5"},"issue":{"href":"https://api.github.com/repos/palkan/isolator/issues/5"},"comments":{"href":"https://api.github.com/repos/palkan/isolator/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/palkan/isolator/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/palkan/isolator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/palkan/isolator/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/palkan/isolator/statuses/9cd8dc6a52c33973ed355563440fcfdbd5e02482"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"palkan"}}