6ba2fdb2fe
Until now, Rails only droped compatibility with older rubies on new majors, but I propose to change this policy because it causes us to either keep compatibility with long EOLed rubies or to bump the Rails major more often, and to drop multiple Ruby versions at once when we bump the major. In my opinion it's a bad alignments of incentives. And we'd be much better to just drop support in new minors whenever they go EOL (so 3 years). Also Ruby being an upstream dependency, it's not even a semver violation AFAICT. Since Rails 7.2 isn't planned before a few months, we can already drop Ruby 3.0 as it will be EOL in March.
47 lines
1.7 KiB
Ruby
47 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 = "rails"
|
|
s.version = version
|
|
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."
|
|
|
|
s.required_ruby_version = ">= 3.1.0"
|
|
s.required_rubygems_version = ">= 1.8.11"
|
|
|
|
s.license = "MIT"
|
|
|
|
s.author = "David Heinemeier Hansson"
|
|
s.email = "david@loudthinking.com"
|
|
s.homepage = "https://rubyonrails.org"
|
|
|
|
s.files = ["README.md", "MIT-LICENSE"]
|
|
|
|
s.metadata = {
|
|
"bug_tracker_uri" => "https://github.com/rails/rails/issues",
|
|
"changelog_uri" => "https://github.com/rails/rails/releases/tag/v#{version}",
|
|
"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}",
|
|
"rubygems_mfa_required" => "true",
|
|
}
|
|
|
|
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
|
|
s.add_dependency "activestorage", version
|
|
s.add_dependency "actionmailbox", version
|
|
s.add_dependency "actiontext", version
|
|
s.add_dependency "railties", version
|
|
|
|
s.add_dependency "bundler", ">= 1.15.0"
|
|
end
|