2017-08-14 13:08:09 -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 = "railties"
|
2010-03-04 22:41:39 -05:00
|
|
|
s.version = version
|
2016-08-06 13:23:48 -04: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-08 14:51:18 -05:00
|
|
|
|
2018-02-17 16:02:18 -05:00
|
|
|
s.required_ruby_version = ">= 2.4.1"
|
2009-08-31 20:20:44 -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"
|
|
|
|
s.homepage = "http://rubyonrails.org"
|
2010-02-03 20:59:39 -05:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.files = Dir["CHANGELOG.md", "README.rdoc", "MIT-LICENSE", "RDOC_MAIN.rdoc", "exe/**/*", "lib/**/{*,.[a-z]*}"]
|
|
|
|
s.require_path = "lib"
|
2009-09-25 01:46:04 -04:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.bindir = "exe"
|
|
|
|
s.executables = ["rails"]
|
2011-06-28 08:35:46 -04:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.rdoc_options << "--exclude" << "."
|
2009-09-25 01:46:04 -04:00
|
|
|
|
2017-07-01 09:32:53 -04:00
|
|
|
s.metadata = {
|
|
|
|
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/railties",
|
|
|
|
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/railties/CHANGELOG.md"
|
|
|
|
}
|
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_dependency "activesupport", version
|
|
|
|
s.add_dependency "actionpack", version
|
2012-11-08 14:51:18 -05:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_dependency "rake", ">= 0.8.7"
|
2018-05-22 16:56:29 -04:00
|
|
|
s.add_dependency "thor", ">= 0.19.0", "< 2.0"
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_dependency "method_source"
|
2013-07-29 20:24:20 -04:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_development_dependency "actionview", version
|
2009-08-31 20:20:44 -04:00
|
|
|
end
|