2010-03-06 14:30:25 -05:00
version = File . read ( File . expand_path ( " ../../RAILS_VERSION " , __FILE__ ) ) . 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
s . name = 'actionpack'
2010-03-04 22:41:39 -05:00
s . version = version
2010-02-03 20:59:39 -05:00
s . summary = 'Web-flow and rendering framework putting the VC in MVC (part of Rails).'
2010-03-02 13:32:09 -05:00
s . description = 'Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.'
2010-02-07 23:30:10 -05:00
s . required_ruby_version = '>= 1.8.7'
2009-09-25 01:46:04 -04:00
2010-02-03 20:59:39 -05:00
s . author = 'David Heinemeier Hansson'
s . email = 'david@loudthinking.com'
s . homepage = 'http://www.rubyonrails.org'
s . rubyforge_project = 'actionpack'
2009-08-31 20:20:44 -04:00
2010-02-03 20:59:39 -05:00
s . files = Dir [ 'CHANGELOG' , 'README' , 'MIT-LICENSE' , 'lib/**/*' ]
s . require_path = 'lib'
2009-09-25 01:46:04 -04:00
s . requirements << 'none'
2009-08-31 20:20:44 -04:00
2010-02-03 20:59:39 -05:00
s . has_rdoc = true
2010-03-04 22:41:39 -05:00
s . add_dependency ( 'activesupport' , version )
s . add_dependency ( 'activemodel' , version )
2009-12-22 16:45:10 -05:00
s . add_dependency ( 'rack' , '~> 1.1.0' )
2009-11-09 16:27:58 -05:00
s . add_dependency ( 'rack-test' , '~> 0.5.0' )
2010-04-16 17:40:24 -04:00
s . add_dependency ( 'rack-mount' , '~> 0.6.3' )
2009-11-14 05:39:38 -05:00
s . add_dependency ( 'erubis' , '~> 2.6.5' )
2009-08-31 20:20:44 -04:00
end