2010-03-06 14:30:25 -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 |
2009-09-25 01:46:04 -04:00
s . platform = Gem :: Platform :: RUBY
s . name = 'activemodel'
2010-03-04 22:41:39 -05:00
s . version = version
2010-03-02 13:32:09 -05:00
s . summary = 'A toolkit for building modeling frameworks (part of Rails).'
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-07 23:30:10 -05:00
s . required_ruby_version = '>= 1.8.7'
2009-08-31 20:20:44 -04:00
2009-09-25 01:46:04 -04:00
s . author = " David Heinemeier Hansson "
s . email = " david@loudthinking.com "
s . rubyforge_project = " activemodel "
s . homepage = " http://www.rubyonrails.org "
s . has_rdoc = true
2010-03-04 22:41:39 -05:00
s . add_dependency ( 'activesupport' , version )
2009-08-31 20:20:44 -04:00
2009-09-25 01:46:04 -04:00
s . require_path = 'lib'
s . files = Dir [ " CHANGELOG " , " MIT-LICENSE " , " README " , " lib/**/* " ]
2009-08-31 20:20:44 -04:00
end