2017-08-15 01:08:09 +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 = "railties"
|
2010-03-05 11:41:39 +08:00
|
|
|
s.version = version
|
2016-08-07 01:23:48 +08:00
|
|
|
s.summary = "Tools for creating, working with, and running Rails applications."
|
|
|
|
s.description = "Rails internals: application bootup, plugins, generators, and rake tasks."
|
2012-11-09 03:51:18 +08:00
|
|
|
|
2023-12-31 02:46:43 +08:00
|
|
|
s.required_ruby_version = ">= 3.1.0"
|
2009-09-01 08:20:44 +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"
|
2010-02-04 09:59:39 +08:00
|
|
|
|
2023-01-29 15:02:31 +08:00
|
|
|
s.files = Dir["CHANGELOG.md", "README.rdoc", "MIT-LICENSE", "RDOC_MAIN.md", "exe/**/*", "lib/**/{*,.[a-z]*}"]
|
2016-08-07 01:23:48 +08:00
|
|
|
s.require_path = "lib"
|
2009-09-25 13:46:04 +08:00
|
|
|
|
2016-08-07 01:23:48 +08:00
|
|
|
s.bindir = "exe"
|
|
|
|
s.executables = ["rails"]
|
2011-06-28 20:35:46 +08:00
|
|
|
|
2016-08-07 01:23:48 +08:00
|
|
|
s.rdoc_options << "--exclude" << "."
|
2009-09-25 13:46:04 +08:00
|
|
|
|
2017-07-01 21:32:53 +08:00
|
|
|
s.metadata = {
|
2019-10-12 08:47:19 +08:00
|
|
|
"bug_tracker_uri" => "https://github.com/rails/rails/issues",
|
|
|
|
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/railties/CHANGELOG.md",
|
|
|
|
"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}/railties",
|
2021-11-16 05:06:21 +08:00
|
|
|
"rubygems_mfa_required" => "true",
|
2017-07-01 21:32:53 +08:00
|
|
|
}
|
|
|
|
|
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 "activesupport", version
|
|
|
|
s.add_dependency "actionpack", version
|
2012-11-09 03:51:18 +08:00
|
|
|
|
2023-01-21 01:01:27 +08:00
|
|
|
s.add_dependency "rackup", ">= 1.0.0"
|
2021-10-07 23:58:03 +08:00
|
|
|
s.add_dependency "rake", ">= 12.2"
|
2023-05-06 02:15:17 +08:00
|
|
|
s.add_dependency "thor", "~> 1.0", ">= 1.2.2"
|
2022-06-14 05:43:42 +08:00
|
|
|
s.add_dependency "zeitwerk", "~> 2.6"
|
2023-02-25 07:57:22 +08:00
|
|
|
s.add_dependency "irb"
|
2013-07-30 08:24:20 +08:00
|
|
|
|
2016-08-07 01:23:48 +08:00
|
|
|
s.add_development_dependency "actionview", version
|
2009-09-01 08:20:44 +08:00
|
|
|
end
|