{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/livebg/smailer/pulls/20","id":38779431,"html_url":"https://github.com/livebg/smailer/pull/20","diff_url":"https://github.com/livebg/smailer/pull/20.diff","patch_url":"https://github.com/livebg/smailer/pull/20.patch","issue_url":"https://api.github.com/repos/livebg/smailer/issues/20","number":20,"state":"closed","locked":false,"title":"Fix the behaviour of QueuedMail.new(to: …, from: …, mail_campaign: …)","user":{"login":"bliof","id":540562,"avatar_url":"https://avatars.githubusercontent.com/u/540562?v=3","gravatar_id":"","url":"https://api.github.com/users/bliof","html_url":"https://github.com/bliof","followers_url":"https://api.github.com/users/bliof/followers","following_url":"https://api.github.com/users/bliof/following{/other_user}","gists_url":"https://api.github.com/users/bliof/gists{/gist_id}","starred_url":"https://api.github.com/users/bliof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bliof/subscriptions","organizations_url":"https://api.github.com/users/bliof/orgs","repos_url":"https://api.github.com/users/bliof/repos","events_url":"https://api.github.com/users/bliof/events{/privacy}","received_events_url":"https://api.github.com/users/bliof/received_events","type":"User","site_admin":false},"body":"QueuedMail#mail_campaign= and QueuedMail#mail_campaign_id= will update\r\nthe QueuedMail#mail_template (if it is present) by filling the nil\r\nfields with the ones from the mail_campaign.mail_template\r\n\r\nThe attachments will be copied if the one in the QueuedMail are blank.","created_at":"2015-06-29T14:31:40Z","updated_at":"2015-06-29T14:58:08Z","closed_at":"2015-06-29T14:58:08Z","merged_at":"2015-06-29T14:58:08Z","merge_commit_sha":"7f658d0de8aa6744a0af9bd02563553340330f75","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/livebg/smailer/pulls/20/commits","review_comments_url":"https://api.github.com/repos/livebg/smailer/pulls/20/comments","review_comment_url":"https://api.github.com/repos/livebg/smailer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/livebg/smailer/issues/20/comments","statuses_url":"https://api.github.com/repos/livebg/smailer/statuses/9ff2d8048fba816d2ecb5d01749f4da7288220f9","head":{"label":"livebg:fix-queued-mails-create","ref":"fix-queued-mails-create","sha":"9ff2d8048fba816d2ecb5d01749f4da7288220f9","user":{"login":"livebg","id":1055899,"avatar_url":"https://avatars.githubusercontent.com/u/1055899?v=3","gravatar_id":"","url":"https://api.github.com/users/livebg","html_url":"https://github.com/livebg","followers_url":"https://api.github.com/users/livebg/followers","following_url":"https://api.github.com/users/livebg/following{/other_user}","gists_url":"https://api.github.com/users/livebg/gists{/gist_id}","starred_url":"https://api.github.com/users/livebg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livebg/subscriptions","organizations_url":"https://api.github.com/users/livebg/orgs","repos_url":"https://api.github.com/users/livebg/repos","events_url":"https://api.github.com/users/livebg/events{/privacy}","received_events_url":"https://api.github.com/users/livebg/received_events","type":"Organization","site_admin":false},"repo":{"id":2315210,"name":"smailer","full_name":"livebg/smailer","owner":{"login":"livebg","id":1055899,"avatar_url":"https://avatars.githubusercontent.com/u/1055899?v=3","gravatar_id":"","url":"https://api.github.com/users/livebg","html_url":"https://github.com/livebg","followers_url":"https://api.github.com/users/livebg/followers","following_url":"https://api.github.com/users/livebg/following{/other_user}","gists_url":"https://api.github.com/users/livebg/gists{/gist_id}","starred_url":"https://api.github.com/users/livebg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livebg/subscriptions","organizations_url":"https://api.github.com/users/livebg/orgs","repos_url":"https://api.github.com/users/livebg/repos","events_url":"https://api.github.com/users/livebg/events{/privacy}","received_events_url":"https://api.github.com/users/livebg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/livebg/smailer","description":"Simple newsletter mailer for Rails","fork":false,"url":"https://api.github.com/repos/livebg/smailer","forks_url":"https://api.github.com/repos/livebg/smailer/forks","keys_url":"https://api.github.com/repos/livebg/smailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/livebg/smailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/livebg/smailer/teams","hooks_url":"https://api.github.com/repos/livebg/smailer/hooks","issue_events_url":"https://api.github.com/repos/livebg/smailer/issues/events{/number}","events_url":"https://api.github.com/repos/livebg/smailer/events","assignees_url":"https://api.github.com/repos/livebg/smailer/assignees{/user}","branches_url":"https://api.github.com/repos/livebg/smailer/branches{/branch}","tags_url":"https://api.github.com/repos/livebg/smailer/tags","blobs_url":"https://api.github.com/repos/livebg/smailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/livebg/smailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/livebg/smailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/livebg/smailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/livebg/smailer/statuses/{sha}","languages_url":"https://api.github.com/repos/livebg/smailer/languages","stargazers_url":"https://api.github.com/repos/livebg/smailer/stargazers","contributors_url":"https://api.github.com/repos/livebg/smailer/contributors","subscribers_url":"https://api.github.com/repos/livebg/smailer/subscribers","subscription_url":"https://api.github.com/repos/livebg/smailer/subscription","commits_url":"https://api.github.com/repos/livebg/smailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/livebg/smailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/livebg/smailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/livebg/smailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/livebg/smailer/contents/{+path}","compare_url":"https://api.github.com/repos/livebg/smailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/livebg/smailer/merges","archive_url":"https://api.github.com/repos/livebg/smailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/livebg/smailer/downloads","issues_url":"https://api.github.com/repos/livebg/smailer/issues{/number}","pulls_url":"https://api.github.com/repos/livebg/smailer/pulls{/number}","milestones_url":"https://api.github.com/repos/livebg/smailer/milestones{/number}","notifications_url":"https://api.github.com/repos/livebg/smailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/livebg/smailer/labels{/name}","releases_url":"https://api.github.com/repos/livebg/smailer/releases{/id}","created_at":"2011-09-02T17:06:56Z","updated_at":"2015-03-28T11:46:10Z","pushed_at":"2015-06-29T14:58:08Z","git_url":"git://github.com/livebg/smailer.git","ssh_url":"git@github.com:livebg/smailer.git","clone_url":"https://github.com/livebg/smailer.git","svn_url":"https://github.com/livebg/smailer","homepage":"","size":336,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":5,"forks":12,"open_issues":5,"watchers":26,"default_branch":"master"}},"base":{"label":"livebg:master","ref":"master","sha":"904544f507d72620e341f7c3491b1b8da1b418bf","user":{"login":"livebg","id":1055899,"avatar_url":"https://avatars.githubusercontent.com/u/1055899?v=3","gravatar_id":"","url":"https://api.github.com/users/livebg","html_url":"https://github.com/livebg","followers_url":"https://api.github.com/users/livebg/followers","following_url":"https://api.github.com/users/livebg/following{/other_user}","gists_url":"https://api.github.com/users/livebg/gists{/gist_id}","starred_url":"https://api.github.com/users/livebg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livebg/subscriptions","organizations_url":"https://api.github.com/users/livebg/orgs","repos_url":"https://api.github.com/users/livebg/repos","events_url":"https://api.github.com/users/livebg/events{/privacy}","received_events_url":"https://api.github.com/users/livebg/received_events","type":"Organization","site_admin":false},"repo":{"id":2315210,"name":"smailer","full_name":"livebg/smailer","owner":{"login":"livebg","id":1055899,"avatar_url":"https://avatars.githubusercontent.com/u/1055899?v=3","gravatar_id":"","url":"https://api.github.com/users/livebg","html_url":"https://github.com/livebg","followers_url":"https://api.github.com/users/livebg/followers","following_url":"https://api.github.com/users/livebg/following{/other_user}","gists_url":"https://api.github.com/users/livebg/gists{/gist_id}","starred_url":"https://api.github.com/users/livebg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livebg/subscriptions","organizations_url":"https://api.github.com/users/livebg/orgs","repos_url":"https://api.github.com/users/livebg/repos","events_url":"https://api.github.com/users/livebg/events{/privacy}","received_events_url":"https://api.github.com/users/livebg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/livebg/smailer","description":"Simple newsletter mailer for Rails","fork":false,"url":"https://api.github.com/repos/livebg/smailer","forks_url":"https://api.github.com/repos/livebg/smailer/forks","keys_url":"https://api.github.com/repos/livebg/smailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/livebg/smailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/livebg/smailer/teams","hooks_url":"https://api.github.com/repos/livebg/smailer/hooks","issue_events_url":"https://api.github.com/repos/livebg/smailer/issues/events{/number}","events_url":"https://api.github.com/repos/livebg/smailer/events","assignees_url":"https://api.github.com/repos/livebg/smailer/assignees{/user}","branches_url":"https://api.github.com/repos/livebg/smailer/branches{/branch}","tags_url":"https://api.github.com/repos/livebg/smailer/tags","blobs_url":"https://api.github.com/repos/livebg/smailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/livebg/smailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/livebg/smailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/livebg/smailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/livebg/smailer/statuses/{sha}","languages_url":"https://api.github.com/repos/livebg/smailer/languages","stargazers_url":"https://api.github.com/repos/livebg/smailer/stargazers","contributors_url":"https://api.github.com/repos/livebg/smailer/contributors","subscribers_url":"https://api.github.com/repos/livebg/smailer/subscribers","subscription_url":"https://api.github.com/repos/livebg/smailer/subscription","commits_url":"https://api.github.com/repos/livebg/smailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/livebg/smailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/livebg/smailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/livebg/smailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/livebg/smailer/contents/{+path}","compare_url":"https://api.github.com/repos/livebg/smailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/livebg/smailer/merges","archive_url":"https://api.github.com/repos/livebg/smailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/livebg/smailer/downloads","issues_url":"https://api.github.com/repos/livebg/smailer/issues{/number}","pulls_url":"https://api.github.com/repos/livebg/smailer/pulls{/number}","milestones_url":"https://api.github.com/repos/livebg/smailer/milestones{/number}","notifications_url":"https://api.github.com/repos/livebg/smailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/livebg/smailer/labels{/name}","releases_url":"https://api.github.com/repos/livebg/smailer/releases{/id}","created_at":"2011-09-02T17:06:56Z","updated_at":"2015-03-28T11:46:10Z","pushed_at":"2015-06-29T14:58:08Z","git_url":"git://github.com/livebg/smailer.git","ssh_url":"git@github.com:livebg/smailer.git","clone_url":"https://github.com/livebg/smailer.git","svn_url":"https://github.com/livebg/smailer","homepage":"","size":336,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":5,"forks":12,"open_issues":5,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/livebg/smailer/pulls/20"},"html":{"href":"https://github.com/livebg/smailer/pull/20"},"issue":{"href":"https://api.github.com/repos/livebg/smailer/issues/20"},"comments":{"href":"https://api.github.com/repos/livebg/smailer/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/livebg/smailer/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/livebg/smailer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/livebg/smailer/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/livebg/smailer/statuses/9ff2d8048fba816d2ecb5d01749f4da7288220f9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mitio","id":129307,"avatar_url":"https://avatars.githubusercontent.com/u/129307?v=3","gravatar_id":"","url":"https://api.github.com/users/mitio","html_url":"https://github.com/mitio","followers_url":"https://api.github.com/users/mitio/followers","following_url":"https://api.github.com/users/mitio/following{/other_user}","gists_url":"https://api.github.com/users/mitio/gists{/gist_id}","starred_url":"https://api.github.com/users/mitio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitio/subscriptions","organizations_url":"https://api.github.com/users/mitio/orgs","repos_url":"https://api.github.com/users/mitio/repos","events_url":"https://api.github.com/users/mitio/events{/privacy}","received_events_url":"https://api.github.com/users/mitio/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"commits":1,"additions":54,"deletions":13,"changed_files":4}}