2016-08-06 17:23:48 +00:00
version = File . read ( File . expand_path ( " ../../RAILS_VERSION " , __FILE__ ) ) . strip
2010-03-02 04:36:54 +00:00
2009-09-01 00:20:44 +00:00
Gem :: Specification . new do | s |
2010-02-04 01:59:39 +00:00
s . platform = Gem :: Platform :: RUBY
2016-08-06 17:23:48 +00:00
s . name = " activerecord "
2010-03-05 03:41:39 +00:00
s . version = version
2016-08-06 17:23:48 +00:00
s . summary = " Object-relational mapper framework (part of Rails). "
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 20:46:04 +00:00
2016-08-06 17:23:48 +00:00
s . required_ruby_version = " >= 2.2.2 "
2009-09-01 00:20:44 +00:00
2016-08-06 17:23:48 +00:00
s . license = " MIT "
2012-11-08 19:51:18 +00:00
2016-08-06 17:23:48 +00:00
s . author = " David Heinemeier Hansson "
s . email = " david@loudthinking.com "
s . homepage = " http://rubyonrails.org "
2009-09-25 05:46:04 +00:00
2016-08-06 17:23:48 +00:00
s . files = Dir [ " CHANGELOG.md " , " MIT-LICENSE " , " README.rdoc " , " examples/**/* " , " lib/**/* " ]
s . require_path = " lib "
2009-09-25 05:46:04 +00:00
2012-11-08 19:51:18 +00:00
s . extra_rdoc_files = %w( README.rdoc )
2016-08-06 17:23:48 +00:00
s . rdoc_options . concat [ " --main " , " README.rdoc " ]
2009-09-01 00:20:44 +00:00
2016-08-06 17:23:48 +00:00
s . add_dependency " activesupport " , version
s . add_dependency " activemodel " , version
2012-04-12 13:48:33 +00:00
2016-12-29 07:20:50 +00:00
s . add_dependency " arel " , " ~> 8.0 "
2009-09-01 00:20:44 +00:00
end