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 = 'activerecord'
2010-03-05 11:41:39 +08:00
s . version = version
2010-02-04 09:59:39 +08:00
s . summary = 'Object-relational mapper framework (part of Rails).'
2010-03-03 02:32:09 +08:00
s . description = 'Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.'
2010-04-02 04:46:04 +08:00
2011-12-21 02:13:23 +08:00
s . required_ruby_version = '>= 1.9.3'
2009-09-01 08:20:44 +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'
2009-09-25 13:46:04 +08:00
2011-11-04 21:46:35 +08:00
s . files = Dir [ 'CHANGELOG.md' , 'MIT-LICENSE' , 'README.rdoc' , 'examples/**/*' , 'lib/**/*' ]
2009-09-25 13:46:04 +08:00
s . require_path = 'lib'
2010-07-22 01:00:01 +08:00
s . extra_rdoc_files = %w( README.rdoc )
s . rdoc_options . concat [ '--main' , 'README.rdoc' ]
2009-09-01 08:20:44 +08:00
2010-03-05 11:41:39 +08:00
s . add_dependency ( 'activesupport' , version )
s . add_dependency ( 'activemodel' , version )
2012-02-22 08:13:56 +08:00
s . add_dependency ( 'arel' , '~> 3.0.2' )
2012-04-12 21:48:33 +08:00
s . add_dependency ( 'active_record_deprecated_finders' , '0.0.1' )
2009-09-01 08:20:44 +08:00
end