mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1d6355f6e1
Active Support should not know about Rails. Once classic has been removed, AS should get anything it needs from the application as usual.
48 lines
1.7 KiB
Ruby
48 lines
1.7 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
version = File.read(File.expand_path("../RAILS_VERSION", __dir__)).strip
|
|
|
|
Gem::Specification.new do |s|
|
|
s.platform = Gem::Platform::RUBY
|
|
s.name = "railties"
|
|
s.version = version
|
|
s.summary = "Tools for creating, working with, and running Rails applications."
|
|
s.description = "Rails internals: application bootup, plugins, generators, and rake tasks."
|
|
|
|
s.required_ruby_version = ">= 2.7.0"
|
|
|
|
s.license = "MIT"
|
|
|
|
s.author = "David Heinemeier Hansson"
|
|
s.email = "david@loudthinking.com"
|
|
s.homepage = "https://rubyonrails.org"
|
|
|
|
s.files = Dir["CHANGELOG.md", "README.rdoc", "MIT-LICENSE", "RDOC_MAIN.rdoc", "exe/**/*", "lib/**/{*,.[a-z]*}"]
|
|
s.require_path = "lib"
|
|
|
|
s.bindir = "exe"
|
|
s.executables = ["rails"]
|
|
|
|
s.rdoc_options << "--exclude" << "."
|
|
|
|
s.metadata = {
|
|
"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}/",
|
|
"mailing_list_uri" => "https://discuss.rubyonrails.org/c/rubyonrails-talk",
|
|
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/railties",
|
|
}
|
|
|
|
# NOTE: Please read our dependency guidelines before updating versions:
|
|
# https://edgeguides.rubyonrails.org/security.html#dependency-management-and-cves
|
|
|
|
s.add_dependency "activesupport", version
|
|
s.add_dependency "actionpack", version
|
|
|
|
s.add_dependency "rake", ">= 0.13"
|
|
s.add_dependency "thor", "~> 1.0"
|
|
s.add_dependency "method_source"
|
|
s.add_dependency "zeitwerk", "~> 2.5.0.beta3"
|
|
|
|
s.add_development_dependency "actionview", version
|
|
end
|