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-04-02 04:44:09 +08:00
s . platform = Gem :: Platform :: RUBY
s . name = 'activemodel'
s . version = version
s . summary = 'A toolkit for building modeling frameworks (part of Rails).'
2010-03-03 02:32:09 +08:00
s . description = 'A toolkit for building modeling frameworks like Active Record and Active Resource. Rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing.'
2010-02-08 12:30:10 +08:00
s . required_ruby_version = '>= 1.8.7'
2009-09-01 08:20:44 +08:00
2010-04-02 04:44:09 +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
s . rubyforge_project = " activemodel "
2010-04-02 04:44:09 +08:00
s . files = Dir [ " CHANGELOG " , " MIT-LICENSE " , " README " , " lib/**/* " ]
s . require_path = 'lib'
2009-09-25 13:46:04 +08:00
s . has_rdoc = true
2010-03-05 11:41:39 +08:00
s . add_dependency ( 'activesupport' , version )
2009-09-01 08:20:44 +08:00
end