aboutsummaryrefslogblamecommitdiffstats
path: root/railties/railties.gemspec
blob: 1df8b1fe39f4e0ac1d2143b1f27a2d11c8a6734f (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                             
                                                                        
 
                             
                                     
                            
                         

                                                                                             
 
                                      
 
                   
 


                                         
 

                                                                                                                        
 

                           
 
                                      
 




                                                                                                

                                           
 


                                               
 
                                                    
   
# 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.4.1"

  s.license = "MIT"

  s.author   = "David Heinemeier Hansson"
  s.email    = "david@loudthinking.com"
  s.homepage = "http://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 = {
    "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"
  }

  s.add_dependency "activesupport", version
  s.add_dependency "actionpack",    version

  s.add_dependency "rake", ">= 0.8.7"
  s.add_dependency "thor", ">= 0.18.1", "< 2.0"
  s.add_dependency "method_source"

  s.add_development_dependency "actionview", version
end