2017-07-24 16:20:53 -04:00
# frozen_string_literal: true
2017-05-15 10:17:28 -04:00
version = File . read ( File . expand_path ( " ../RAILS_VERSION " , __dir__ ) ) . strip
2010-03-01 23:36:54 -05:00
2009-08-31 20:20:44 -04:00
Gem :: Specification . new do | s |
2010-02-03 20:59:39 -05:00
s . platform = Gem :: Platform :: RUBY
2016-08-06 13:23:48 -04:00
s . name = " actionpack "
2010-03-04 22:41:39 -05:00
s . version = version
2016-08-06 13:23:48 -04:00
s . summary = " Web-flow and rendering framework putting the VC in MVC (part of Rails). "
s . description = " Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server. "
2012-11-08 14:51:18 -05:00
2018-12-19 15:09:34 -05:00
s . required_ruby_version = " >= 2.5.0 "
2009-09-25 01:46:04 -04:00
2016-08-06 13:23:48 -04:00
s . license = " MIT "
2012-11-08 14:51:18 -05:00
2016-08-06 13:23:48 -04:00
s . author = " David Heinemeier Hansson "
s . email = " david@loudthinking.com "
2019-03-08 06:36:16 -05:00
s . homepage = " https://rubyonrails.org "
2009-08-31 20:20:44 -04:00
2016-08-06 13:23:48 -04:00
s . files = Dir [ " CHANGELOG.md " , " README.rdoc " , " MIT-LICENSE " , " lib/**/* " ]
s . require_path = " lib "
s . requirements << " none "
2009-08-31 20:20:44 -04:00
2017-06-27 06:06:28 -04:00
s . metadata = {
2019-10-11 20:47:19 -04:00
" bug_tracker_uri " = > " https://github.com/rails/rails/issues " ,
" changelog_uri " = > " https://github.com/rails/rails/blob/v #{ version } /actionpack/CHANGELOG.md " ,
" documentation_uri " = > " https://api.rubyonrails.org/v #{ version } / " ,
2020-03-26 02:21:37 -04:00
" mailing_list_uri " = > " https://discuss.rubyonrails.org/c/rubyonrails-talk " ,
2019-10-11 20:47:19 -04:00
" source_code_uri " = > " https://github.com/rails/rails/tree/v #{ version } /actionpack " ,
2017-06-27 06:06:28 -04:00
}
2019-01-08 16:19:22 -05:00
# NOTE: Please read our dependency guidelines before updating versions:
# https://edgeguides.rubyonrails.org/security.html#dependency-management-and-cves
2016-08-06 13:23:48 -04:00
s . add_dependency " activesupport " , version
2012-05-31 12:21:56 -04:00
2020-04-19 18:28:18 -04:00
s . add_dependency " rack " , " ~> 2.0 " , " >= 2.0.9 "
2017-07-19 19:04:53 -04:00
s . add_dependency " rack-test " , " >= 0.6.3 "
2019-08-08 18:07:45 -04:00
s . add_dependency " rails-html-sanitizer " , " ~> 1.0 " , " >= 1.2.0 "
2016-08-06 13:23:48 -04:00
s . add_dependency " rails-dom-testing " , " ~> 2.0 "
s . add_dependency " actionview " , version
2011-07-18 01:28:14 -04:00
2016-08-06 13:23:48 -04:00
s . add_development_dependency " activemodel " , version
2009-08-31 20:20:44 -04:00
end