2017-07-23 23:17:16 +08:00
# frozen_string_literal: true
2017-05-15 22:17:28 +08:00
version = File . read ( File . expand_path ( " ../RAILS_VERSION " , __dir__ ) ) . strip
2010-03-02 12:36:54 +08:00
2009-09-01 08:20:44 +08:00
Gem :: Specification . new do | s |
2010-02-04 09:59:39 +08:00
s . platform = Gem :: Platform :: RUBY
2016-08-07 01:23:48 +08:00
s . name = " actionmailer "
2010-03-05 11:41:39 +08:00
s . version = version
2018-12-28 10:15:10 +08:00
s . summary = " Email composition and delivery framework (part of Rails). "
s . description = " Email on Rails. Compose, deliver, and test emails using the familiar controller/view pattern. First-class support for multipart email and attachments. "
2012-11-09 03:51:18 +08:00
2018-12-20 04:09:34 +08:00
s . required_ruby_version = " >= 2.5.0 "
2009-09-25 13:46:04 +08:00
2016-08-07 01:23:48 +08:00
s . license = " MIT "
2012-11-09 03:51:18 +08:00
2016-08-07 01:23:48 +08:00
s . author = " David Heinemeier Hansson "
s . email = " david@loudthinking.com "
2019-03-08 19:36:16 +08:00
s . homepage = " https://rubyonrails.org "
2009-09-01 08:20:44 +08:00
2016-08-07 01:23:48 +08:00
s . files = Dir [ " CHANGELOG.md " , " README.rdoc " , " MIT-LICENSE " , " lib/**/* " ]
s . require_path = " lib "
s . requirements << " none "
2009-09-01 08:20:44 +08:00
2017-06-27 18:06:28 +08:00
s . metadata = {
" source_code_uri " = > " https://github.com/rails/rails/tree/v #{ version } /actionmailer " ,
" changelog_uri " = > " https://github.com/rails/rails/blob/v #{ version } /actionmailer/CHANGELOG.md "
}
2019-01-09 05:19:22 +08:00
# NOTE: Please read our dependency guidelines before updating versions:
# https://edgeguides.rubyonrails.org/security.html#dependency-management-and-cves
2016-08-07 01:23:48 +08:00
s . add_dependency " actionpack " , version
s . add_dependency " actionview " , version
s . add_dependency " activejob " , version
2012-11-09 03:51:18 +08:00
2016-08-07 01:23:48 +08:00
s . add_dependency " mail " , [ " ~> 2.5 " , " >= 2.5.4 " ]
s . add_dependency " rails-dom-testing " , " ~> 2.0 "
2009-09-01 08:20:44 +08:00
end