2017-08-13 21:14:22 +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 = " rails "
2010-03-05 11:41:39 +08:00
s . version = version
2016-08-07 01:23:48 +08:00
s . summary = " Full-stack web application framework. "
s . description = " Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration. "
2010-04-02 04:46:04 +08:00
2023-12-31 02:46:43 +08:00
s . required_ruby_version = " >= 3.1.0 "
2023-02-28 07:42:28 +08:00
s . required_rubygems_version = " >= 1.8.11 "
2012-11-09 03:51:18 +08:00
2016-08-07 01:23:48 +08:00
s . license = " MIT "
2010-02-04 09:59:39 +08:00
2016-08-07 01:23:48 +08:00
s . author = " David Heinemeier Hansson "
s . email = " david@loudthinking.com "
2018-11-24 06:28:52 +08:00
s . homepage = " https://rubyonrails.org "
2010-04-13 06:09:40 +08:00
2022-07-01 09:45:33 +08:00
s . files = [ " README.md " , " MIT-LICENSE " ]
2009-09-01 08:20:44 +08:00
2019-10-12 08:47:19 +08:00
s . metadata = {
" bug_tracker_uri " = > " https://github.com/rails/rails/issues " ,
2019-11-28 04:44:54 +08:00
" changelog_uri " = > " https://github.com/rails/rails/releases/tag/v #{ version } " ,
2019-10-12 08:47:19 +08:00
" documentation_uri " = > " https://api.rubyonrails.org/v #{ version } / " ,
2020-03-26 14:21:37 +08:00
" mailing_list_uri " = > " https://discuss.rubyonrails.org/c/rubyonrails-talk " ,
2019-10-12 08:47:19 +08:00
" source_code_uri " = > " https://github.com/rails/rails/tree/v #{ version } " ,
2021-11-16 05:06:21 +08:00
" rubygems_mfa_required " = > " true " ,
2019-10-12 08:47:19 +08:00
}
2016-08-07 01:23:48 +08:00
s . add_dependency " activesupport " , version
s . add_dependency " actionpack " , version
s . add_dependency " actionview " , version
s . add_dependency " activemodel " , version
s . add_dependency " activerecord " , version
s . add_dependency " actionmailer " , version
s . add_dependency " activejob " , version
s . add_dependency " actioncable " , version
2017-08-01 04:53:09 +08:00
s . add_dependency " activestorage " , version
2018-12-25 04:16:22 +08:00
s . add_dependency " actionmailbox " , version
2019-01-05 08:43:11 +08:00
s . add_dependency " actiontext " , version
2016-08-07 01:23:48 +08:00
s . add_dependency " railties " , version
2012-11-09 03:51:18 +08:00
2021-10-09 23:03:05 +08:00
s . add_dependency " bundler " , " >= 1.15.0 "
2009-09-01 08:20:44 +08:00
end