2010-03-07 03:30:25 +08:00
version = File . read ( File . expand_path ( " ../../RAILS_VERSION " , __FILE__ ) ) . strip
2010-03-02 12:36:54 +08:00
2009-09-01 08:20:44 +08:00
Gem :: Specification . new do | s |
2010-02-04 09:59:39 +08:00
s . platform = Gem :: Platform :: RUBY
s . name = 'actionpack'
2010-03-05 11:41:39 +08:00
s . version = version
2010-02-04 09:59:39 +08:00
s . summary = 'Web-flow and rendering framework putting the VC in MVC (part of Rails).'
2010-03-03 02:32:09 +08: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-08 12:30:10 +08:00
s . required_ruby_version = '>= 1.8.7'
2009-09-25 13:46:04 +08:00
2010-02-04 09:59:39 +08:00
s . author = 'David Heinemeier Hansson'
s . email = 'david@loudthinking.com'
s . homepage = 'http://www.rubyonrails.org'
s . rubyforge_project = 'actionpack'
2009-09-01 08:20:44 +08:00
2010-07-22 01:00:01 +08:00
s . files = Dir [ 'CHANGELOG' , 'README.rdoc' , 'MIT-LICENSE' , 'lib/**/*' ]
2010-02-04 09:59:39 +08:00
s . require_path = 'lib'
2009-09-25 13:46:04 +08:00
s . requirements << 'none'
2009-09-01 08:20:44 +08:00
2010-02-04 09:59:39 +08:00
s . has_rdoc = true
2010-09-14 05:03:06 +08:00
s . add_dependency ( 'activesupport' , version )
s . add_dependency ( 'activemodel' , version )
2010-12-25 00:38:18 +08:00
s . add_dependency ( 'rack-cache' , '~> 1.0.0' )
2010-11-18 05:35:58 +08:00
s . add_dependency ( 'builder' , '~> 3.0.0' )
2010-11-15 01:30:09 +08:00
s . add_dependency ( 'i18n' , '~> 0.5.0' )
2010-09-14 05:03:06 +08:00
s . add_dependency ( 'rack' , '~> 1.2.1' )
2011-01-05 03:30:52 +08:00
s . add_dependency ( 'rack-test' , '~> 0.5.7' )
2010-09-14 05:03:06 +08:00
s . add_dependency ( 'rack-mount' , '~> 0.6.13' )
s . add_dependency ( 'tzinfo' , '~> 0.3.23' )
s . add_dependency ( 'erubis' , '~> 2.6.6' )
2009-09-01 08:20:44 +08:00
end