2012-11-08 14:51:18 -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 = 'activerecord'
2010-03-04 22:41:39 -05:00
s . version = version
2010-02-03 20:59:39 -05:00
s . summary = 'Object-relational mapper framework (part of Rails).'
2010-03-02 13:32:09 -05: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-01 16:46:04 -04:00
2011-12-20 13:13:23 -05:00
s . required_ruby_version = '>= 1.9.3'
2009-08-31 20:20:44 -04:00
2012-11-08 14:51:18 -05:00
s . license = 'MIT'
s . author = 'David Heinemeier Hansson'
s . email = 'david@loudthinking.com'
s . homepage = 'http://www.rubyonrails.org'
2009-09-25 01:46:04 -04:00
2012-12-09 19:14:27 -05:00
s . files = Dir [ 'CHANGELOG.md' , 'MIT-LICENSE' , 'README.rdoc' , 'examples/**/*' , 'lib/**/*' ]
2009-09-25 01:46:04 -04:00
s . require_path = 'lib'
2012-11-08 14:51:18 -05:00
s . extra_rdoc_files = %w( README.rdoc )
2010-07-21 13:00:01 -04:00
s . rdoc_options . concat [ '--main' , 'README.rdoc' ]
2009-08-31 20:20:44 -04:00
2012-11-08 14:51:18 -05:00
s . add_dependency 'activesupport' , version
s . add_dependency 'activemodel' , version
2012-04-12 09:48:33 -04:00
2013-02-25 16:44:19 -05:00
s . add_dependency 'arel' , '~> 4.0.0.beta1'
2013-01-22 11:05:53 -05:00
s . add_dependency 'activerecord-deprecated_finders' , '~> 0.0.3'
2009-08-31 20:20:44 -04:00
end