aboutsummaryrefslogtreecommitdiffstats
path: root/railties/railties.gemspec
blob: c42ed9b8915987e9698289f385c0367aa91ac798 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version = File.read("../RAILS_VERSION").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 = '>= 1.8.7'

  s.author            = 'David Heinemeier Hansson'
  s.email             = 'david@loudthinking.com'
  s.homepage          = 'http://www.rubyonrails.org'
  s.rubyforge_project = 'rails'

  s.files              = Dir['CHANGELOG', 'README', 'bin/**/*', 'builtin/**/*', 'guides/**/*', 'lib/**/{*,.[a-z]*}']
  s.require_path       = 'lib'
  s.bindir             = 'bin'
  s.executables        = ['rails']
  s.default_executable = 'rails'

  s.rdoc_options << '--exclude' << '.'
  s.has_rdoc = false

  s.add_dependency('rake',          '>= 0.8.3')
  s.add_dependency('thor',          '~> 0.13.4')
  s.add_dependency('activesupport', version)
  s.add_dependency('actionpack',    version)
end