{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/jhollinger/idlemailer/pulls/1","id":103910863,"html_url":"https://github.com/jhollinger/idlemailer/pull/1","diff_url":"https://github.com/jhollinger/idlemailer/pull/1.diff","patch_url":"https://github.com/jhollinger/idlemailer/pull/1.patch","issue_url":"https://api.github.com/repos/jhollinger/idlemailer/issues/1","number":1,"state":"open","locked":false,"title":"Added custom logger","user":{"login":"fidelisrafael","id":1542608,"avatar_url":"https://avatars.githubusercontent.com/u/1542608?v=3","gravatar_id":"","url":"https://api.github.com/users/fidelisrafael","html_url":"https://github.com/fidelisrafael","followers_url":"https://api.github.com/users/fidelisrafael/followers","following_url":"https://api.github.com/users/fidelisrafael/following{/other_user}","gists_url":"https://api.github.com/users/fidelisrafael/gists{/gist_id}","starred_url":"https://api.github.com/users/fidelisrafael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidelisrafael/subscriptions","organizations_url":"https://api.github.com/users/fidelisrafael/orgs","repos_url":"https://api.github.com/users/fidelisrafael/repos","events_url":"https://api.github.com/users/fidelisrafael/events{/privacy}","received_events_url":"https://api.github.com/users/fidelisrafael/received_events","type":"User","site_admin":false},"body":"This PR allow users to log to custom logger besides only `$stdout`,  and correct `template_name` to respect namespaced mailer classes, so if you have `App::V1::Mailers::UsersMailer` IdleMailer will search for `app/v1/mailers/users_mailer.html.#{type}` template file.\r\n\r\nI've monkey patched my code, if you release a new version of IdleMailer, let me know!\r\n\r\nThanks 👍  ","created_at":"2017-01-31T10:49:49Z","updated_at":"2017-01-31T10:49:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jhollinger/idlemailer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jhollinger/idlemailer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jhollinger/idlemailer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jhollinger/idlemailer/issues/1/comments","statuses_url":"https://api.github.com/repos/jhollinger/idlemailer/statuses/916424cb8c37c3d22a9b74d1cb59fa71eac0d32a","head":{"label":"fidelisrafael:custom_logger","ref":"custom_logger","sha":"916424cb8c37c3d22a9b74d1cb59fa71eac0d32a","user":{"login":"fidelisrafael","id":1542608,"avatar_url":"https://avatars.githubusercontent.com/u/1542608?v=3","gravatar_id":"","url":"https://api.github.com/users/fidelisrafael","html_url":"https://github.com/fidelisrafael","followers_url":"https://api.github.com/users/fidelisrafael/followers","following_url":"https://api.github.com/users/fidelisrafael/following{/other_user}","gists_url":"https://api.github.com/users/fidelisrafael/gists{/gist_id}","starred_url":"https://api.github.com/users/fidelisrafael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidelisrafael/subscriptions","organizations_url":"https://api.github.com/users/fidelisrafael/orgs","repos_url":"https://api.github.com/users/fidelisrafael/repos","events_url":"https://api.github.com/users/fidelisrafael/events{/privacy}","received_events_url":"https://api.github.com/users/fidelisrafael/received_events","type":"User","site_admin":false},"repo":{"id":80511853,"name":"idlemailer","full_name":"fidelisrafael/idlemailer","owner":{"login":"fidelisrafael","id":1542608,"avatar_url":"https://avatars.githubusercontent.com/u/1542608?v=3","gravatar_id":"","url":"https://api.github.com/users/fidelisrafael","html_url":"https://github.com/fidelisrafael","followers_url":"https://api.github.com/users/fidelisrafael/followers","following_url":"https://api.github.com/users/fidelisrafael/following{/other_user}","gists_url":"https://api.github.com/users/fidelisrafael/gists{/gist_id}","starred_url":"https://api.github.com/users/fidelisrafael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidelisrafael/subscriptions","organizations_url":"https://api.github.com/users/fidelisrafael/orgs","repos_url":"https://api.github.com/users/fidelisrafael/repos","events_url":"https://api.github.com/users/fidelisrafael/events{/privacy}","received_events_url":"https://api.github.com/users/fidelisrafael/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fidelisrafael/idlemailer","description":"A lightweight alternative to ActionMailer for hipsters who use Ruby but not Rails","fork":true,"url":"https://api.github.com/repos/fidelisrafael/idlemailer","forks_url":"https://api.github.com/repos/fidelisrafael/idlemailer/forks","keys_url":"https://api.github.com/repos/fidelisrafael/idlemailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidelisrafael/idlemailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidelisrafael/idlemailer/teams","hooks_url":"https://api.github.com/repos/fidelisrafael/idlemailer/hooks","issue_events_url":"https://api.github.com/repos/fidelisrafael/idlemailer/issues/events{/number}","events_url":"https://api.github.com/repos/fidelisrafael/idlemailer/events","assignees_url":"https://api.github.com/repos/fidelisrafael/idlemailer/assignees{/user}","branches_url":"https://api.github.com/repos/fidelisrafael/idlemailer/branches{/branch}","tags_url":"https://api.github.com/repos/fidelisrafael/idlemailer/tags","blobs_url":"https://api.github.com/repos/fidelisrafael/idlemailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidelisrafael/idlemailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidelisrafael/idlemailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidelisrafael/idlemailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidelisrafael/idlemailer/statuses/{sha}","languages_url":"https://api.github.com/repos/fidelisrafael/idlemailer/languages","stargazers_url":"https://api.github.com/repos/fidelisrafael/idlemailer/stargazers","contributors_url":"https://api.github.com/repos/fidelisrafael/idlemailer/contributors","subscribers_url":"https://api.github.com/repos/fidelisrafael/idlemailer/subscribers","subscription_url":"https://api.github.com/repos/fidelisrafael/idlemailer/subscription","commits_url":"https://api.github.com/repos/fidelisrafael/idlemailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidelisrafael/idlemailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidelisrafael/idlemailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidelisrafael/idlemailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidelisrafael/idlemailer/contents/{+path}","compare_url":"https://api.github.com/repos/fidelisrafael/idlemailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidelisrafael/idlemailer/merges","archive_url":"https://api.github.com/repos/fidelisrafael/idlemailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidelisrafael/idlemailer/downloads","issues_url":"https://api.github.com/repos/fidelisrafael/idlemailer/issues{/number}","pulls_url":"https://api.github.com/repos/fidelisrafael/idlemailer/pulls{/number}","milestones_url":"https://api.github.com/repos/fidelisrafael/idlemailer/milestones{/number}","notifications_url":"https://api.github.com/repos/fidelisrafael/idlemailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidelisrafael/idlemailer/labels{/name}","releases_url":"https://api.github.com/repos/fidelisrafael/idlemailer/releases{/id}","deployments_url":"https://api.github.com/repos/fidelisrafael/idlemailer/deployments","created_at":"2017-01-31T10:45:49Z","updated_at":"2017-01-31T10:45:51Z","pushed_at":"2017-01-31T10:47:02Z","git_url":"git://github.com/fidelisrafael/idlemailer.git","ssh_url":"git@github.com:fidelisrafael/idlemailer.git","clone_url":"https://github.com/fidelisrafael/idlemailer.git","svn_url":"https://github.com/fidelisrafael/idlemailer","homepage":null,"size":152,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"jhollinger:master","ref":"master","sha":"e136e2cfb46ab73a835addf10636f1246fab5f4f","user":{"login":"jhollinger","id":81826,"avatar_url":"https://avatars.githubusercontent.com/u/81826?v=3","gravatar_id":"","url":"https://api.github.com/users/jhollinger","html_url":"https://github.com/jhollinger","followers_url":"https://api.github.com/users/jhollinger/followers","following_url":"https://api.github.com/users/jhollinger/following{/other_user}","gists_url":"https://api.github.com/users/jhollinger/gists{/gist_id}","starred_url":"https://api.github.com/users/jhollinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhollinger/subscriptions","organizations_url":"https://api.github.com/users/jhollinger/orgs","repos_url":"https://api.github.com/users/jhollinger/repos","events_url":"https://api.github.com/users/jhollinger/events{/privacy}","received_events_url":"https://api.github.com/users/jhollinger/received_events","type":"User","site_admin":false},"repo":{"id":35257997,"name":"idlemailer","full_name":"jhollinger/idlemailer","owner":{"login":"jhollinger","id":81826,"avatar_url":"https://avatars.githubusercontent.com/u/81826?v=3","gravatar_id":"","url":"https://api.github.com/users/jhollinger","html_url":"https://github.com/jhollinger","followers_url":"https://api.github.com/users/jhollinger/followers","following_url":"https://api.github.com/users/jhollinger/following{/other_user}","gists_url":"https://api.github.com/users/jhollinger/gists{/gist_id}","starred_url":"https://api.github.com/users/jhollinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhollinger/subscriptions","organizations_url":"https://api.github.com/users/jhollinger/orgs","repos_url":"https://api.github.com/users/jhollinger/repos","events_url":"https://api.github.com/users/jhollinger/events{/privacy}","received_events_url":"https://api.github.com/users/jhollinger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhollinger/idlemailer","description":"A lightweight alternative to ActionMailer for hipsters who use Ruby but not Rails","fork":false,"url":"https://api.github.com/repos/jhollinger/idlemailer","forks_url":"https://api.github.com/repos/jhollinger/idlemailer/forks","keys_url":"https://api.github.com/repos/jhollinger/idlemailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhollinger/idlemailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhollinger/idlemailer/teams","hooks_url":"https://api.github.com/repos/jhollinger/idlemailer/hooks","issue_events_url":"https://api.github.com/repos/jhollinger/idlemailer/issues/events{/number}","events_url":"https://api.github.com/repos/jhollinger/idlemailer/events","assignees_url":"https://api.github.com/repos/jhollinger/idlemailer/assignees{/user}","branches_url":"https://api.github.com/repos/jhollinger/idlemailer/branches{/branch}","tags_url":"https://api.github.com/repos/jhollinger/idlemailer/tags","blobs_url":"https://api.github.com/repos/jhollinger/idlemailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhollinger/idlemailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhollinger/idlemailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhollinger/idlemailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhollinger/idlemailer/statuses/{sha}","languages_url":"https://api.github.com/repos/jhollinger/idlemailer/languages","stargazers_url":"https://api.github.com/repos/jhollinger/idlemailer/stargazers","contributors_url":"https://api.github.com/repos/jhollinger/idlemailer/contributors","subscribers_url":"https://api.github.com/repos/jhollinger/idlemailer/subscribers","subscription_url":"https://api.github.com/repos/jhollinger/idlemailer/subscription","commits_url":"https://api.github.com/repos/jhollinger/idlemailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhollinger/idlemailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhollinger/idlemailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhollinger/idlemailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhollinger/idlemailer/contents/{+path}","compare_url":"https://api.github.com/repos/jhollinger/idlemailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhollinger/idlemailer/merges","archive_url":"https://api.github.com/repos/jhollinger/idlemailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhollinger/idlemailer/downloads","issues_url":"https://api.github.com/repos/jhollinger/idlemailer/issues{/number}","pulls_url":"https://api.github.com/repos/jhollinger/idlemailer/pulls{/number}","milestones_url":"https://api.github.com/repos/jhollinger/idlemailer/milestones{/number}","notifications_url":"https://api.github.com/repos/jhollinger/idlemailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhollinger/idlemailer/labels{/name}","releases_url":"https://api.github.com/repos/jhollinger/idlemailer/releases{/id}","deployments_url":"https://api.github.com/repos/jhollinger/idlemailer/deployments","created_at":"2015-05-08T04:11:43Z","updated_at":"2015-05-08T05:13:21Z","pushed_at":"2015-08-28T01:58:27Z","git_url":"git://github.com/jhollinger/idlemailer.git","ssh_url":"git@github.com:jhollinger/idlemailer.git","clone_url":"https://github.com/jhollinger/idlemailer.git","svn_url":"https://github.com/jhollinger/idlemailer","homepage":null,"size":152,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jhollinger/idlemailer/pulls/1"},"html":{"href":"https://github.com/jhollinger/idlemailer/pull/1"},"issue":{"href":"https://api.github.com/repos/jhollinger/idlemailer/issues/1"},"comments":{"href":"https://api.github.com/repos/jhollinger/idlemailer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jhollinger/idlemailer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jhollinger/idlemailer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jhollinger/idlemailer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jhollinger/idlemailer/statuses/916424cb8c37c3d22a9b74d1cb59fa71eac0d32a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":158,"deletions":55,"changed_files":11}}
{"actor":{"display_login":"fidelisrafael"}}