{"action":"opened","number":23218,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/23218","id":57004392,"html_url":"https://github.com/rails/rails/pull/23218","diff_url":"https://github.com/rails/rails/pull/23218.diff","patch_url":"https://github.com/rails/rails/pull/23218.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/23218","number":23218,"state":"open","locked":false,"title":"Bump mail gem constraint from [~> 2.5, >= 2.5.4] to ~> 2.6","user":{"login":"karlfreeman","id":139095,"avatar_url":"https://avatars.githubusercontent.com/u/139095?v=3","gravatar_id":"","url":"https://api.github.com/users/karlfreeman","html_url":"https://github.com/karlfreeman","followers_url":"https://api.github.com/users/karlfreeman/followers","following_url":"https://api.github.com/users/karlfreeman/following{/other_user}","gists_url":"https://api.github.com/users/karlfreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/karlfreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlfreeman/subscriptions","organizations_url":"https://api.github.com/users/karlfreeman/orgs","repos_url":"https://api.github.com/users/karlfreeman/repos","events_url":"https://api.github.com/users/karlfreeman/events{/privacy}","received_events_url":"https://api.github.com/users/karlfreeman/received_events","type":"User","site_admin":false},"body":"_This PR represents a placeholder to discuss bumping the Mail gem_\r\n\r\nWithout wanting to claim the hard work of others!!! I would love to see Mail get bumped to ~> 2.6 for Rails 5, here's why:\r\n\r\n[Jeremyevan's PR to use a text-based columnar storage](https://github.com/mime-types/ruby-mime-types/pull/96) in the Mime-types gem has been shown to [significantly decrease memory when a user opts in to it](https://github.com/rubygems/rubygems.org/pull/1172) (I've seen 20mb decrease personally). This memory saving behavior is [a default in the 3.0 release of Mime-types](https://github.com/mime-types/ruby-mime-types/issues/85#issuecomment-158469362) ([as well as a raft of other, really lovely changes](https://github.com/mime-types/ruby-mime-types/commit/026ceeaab6cf6d4ca2e6a06a15affca86023ed4d)). Given that [Mail works with Mime-types 3.0](https://github.com/mikel/mail/commit/d4ffe72b0b2b0c6c8a49130bfe8e792d0542ac0e) and when [Mail 2.6.4 has finished brewing](https://github.com/mikel/mail/pull/953#issuecomment-171555920) it'll allow [Mime-types 3.0](https://github.com/mikel/mail/blob/d4ffe72b0b2b0c6c8a49130bfe8e792d0542ac0e/mail.gemspec#L17) It would be great for Rails to nudge users to pick up this behavior too.\r\n\r\nThis memory decrease could be seen as a \"feature\" and I would be ace for users get it for free when doing a major upgrade to Rails 5.\r\n\r\nI'd love to hear your thoughts @jeremy, @halostatue and others.\r\n\r\nThanks!","created_at":"2016-01-24T14:29:12Z","updated_at":"2016-01-24T14:29:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/23218/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/23218/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/23218/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/cef8b543b551023c94c274508e30d7111a3df4ea","head":{"label":"karlfreeman:bump_mail","ref":"bump_mail","sha":"cef8b543b551023c94c274508e30d7111a3df4ea","user":{"login":"karlfreeman","id":139095,"avatar_url":"https://avatars.githubusercontent.com/u/139095?v=3","gravatar_id":"","url":"https://api.github.com/users/karlfreeman","html_url":"https://github.com/karlfreeman","followers_url":"https://api.github.com/users/karlfreeman/followers","following_url":"https://api.github.com/users/karlfreeman/following{/other_user}","gists_url":"https://api.github.com/users/karlfreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/karlfreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlfreeman/subscriptions","organizations_url":"https://api.github.com/users/karlfreeman/orgs","repos_url":"https://api.github.com/users/karlfreeman/repos","events_url":"https://api.github.com/users/karlfreeman/events{/privacy}","received_events_url":"https://api.github.com/users/karlfreeman/received_events","type":"User","site_admin":false},"repo":{"id":11531129,"name":"rails","full_name":"karlfreeman/rails","owner":{"login":"karlfreeman","id":139095,"avatar_url":"https://avatars.githubusercontent.com/u/139095?v=3","gravatar_id":"","url":"https://api.github.com/users/karlfreeman","html_url":"https://github.com/karlfreeman","followers_url":"https://api.github.com/users/karlfreeman/followers","following_url":"https://api.github.com/users/karlfreeman/following{/other_user}","gists_url":"https://api.github.com/users/karlfreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/karlfreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlfreeman/subscriptions","organizations_url":"https://api.github.com/users/karlfreeman/orgs","repos_url":"https://api.github.com/users/karlfreeman/repos","events_url":"https://api.github.com/users/karlfreeman/events{/privacy}","received_events_url":"https://api.github.com/users/karlfreeman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karlfreeman/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/karlfreeman/rails","forks_url":"https://api.github.com/repos/karlfreeman/rails/forks","keys_url":"https://api.github.com/repos/karlfreeman/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karlfreeman/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karlfreeman/rails/teams","hooks_url":"https://api.github.com/repos/karlfreeman/rails/hooks","issue_events_url":"https://api.github.com/repos/karlfreeman/rails/issues/events{/number}","events_url":"https://api.github.com/repos/karlfreeman/rails/events","assignees_url":"https://api.github.com/repos/karlfreeman/rails/assignees{/user}","branches_url":"https://api.github.com/repos/karlfreeman/rails/branches{/branch}","tags_url":"https://api.github.com/repos/karlfreeman/rails/tags","blobs_url":"https://api.github.com/repos/karlfreeman/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karlfreeman/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karlfreeman/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/karlfreeman/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karlfreeman/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/karlfreeman/rails/languages","stargazers_url":"https://api.github.com/repos/karlfreeman/rails/stargazers","contributors_url":"https://api.github.com/repos/karlfreeman/rails/contributors","subscribers_url":"https://api.github.com/repos/karlfreeman/rails/subscribers","subscription_url":"https://api.github.com/repos/karlfreeman/rails/subscription","commits_url":"https://api.github.com/repos/karlfreeman/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/karlfreeman/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/karlfreeman/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/karlfreeman/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/karlfreeman/rails/contents/{+path}","compare_url":"https://api.github.com/repos/karlfreeman/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karlfreeman/rails/merges","archive_url":"https://api.github.com/repos/karlfreeman/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karlfreeman/rails/downloads","issues_url":"https://api.github.com/repos/karlfreeman/rails/issues{/number}","pulls_url":"https://api.github.com/repos/karlfreeman/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/karlfreeman/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/karlfreeman/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karlfreeman/rails/labels{/name}","releases_url":"https://api.github.com/repos/karlfreeman/rails/releases{/id}","deployments_url":"https://api.github.com/repos/karlfreeman/rails/deployments","created_at":"2013-07-19T15:39:28Z","updated_at":"2015-03-10T00:47:41Z","pushed_at":"2016-01-24T14:13:44Z","git_url":"git://github.com/karlfreeman/rails.git","ssh_url":"git@github.com:karlfreeman/rails.git","clone_url":"https://github.com/karlfreeman/rails.git","svn_url":"https://github.com/karlfreeman/rails","homepage":"http://rubyonrails.org","size":114938,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"rails:master","ref":"master","sha":"235c75972e5985e7b95e3326b8c7c1b9a15ac70c","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","deployments_url":"https://api.github.com/repos/rails/rails/deployments","created_at":"2008-04-11T02:19:47Z","updated_at":"2016-01-24T14:14:43Z","pushed_at":"2016-01-24T14:27:13Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":322068,"stargazers_count":29347,"watchers_count":29347,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11902,"mirror_url":null,"open_issues_count":849,"forks":11902,"open_issues":849,"watchers":29347,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/23218"},"html":{"href":"https://github.com/rails/rails/pull/23218"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/23218"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/23218/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/23218/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/23218/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/cef8b543b551023c94c274508e30d7111a3df4ea"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}