2010-04-01 16:46:04 -04: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-04-01 16:44:09 -04:00
s . platform = Gem :: Platform :: RUBY
s . name = 'activemodel'
s . version = version
s . summary = 'A toolkit for building modeling frameworks (part of Rails).'
2013-10-09 08:25:16 -04:00
s . description = 'A toolkit for building modeling frameworks like Active Record. Rich support for attributes, callbacks, validations, serialization, internationalization, and testing.'
2010-04-01 16:46:04 -04:00
2015-04-13 23:11:56 -04:00
s . required_ruby_version = '>= 2.2.2'
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'
2010-04-01 16:44:09 -04:00
2013-03-18 16:18:36 -04:00
s . files = Dir [ 'CHANGELOG.md' , 'MIT-LICENSE' , 'README.rdoc' , 'lib/**/*' ]
2010-04-01 16:44:09 -04:00
s . require_path = 'lib'
2009-09-25 01:46:04 -04:00
2012-11-08 14:51:18 -05:00
s . add_dependency 'activesupport' , version
2013-12-10 08:50:21 -05:00
s . add_dependency 'builder' , '~> 3.1'
2009-08-31 20:20:44 -04:00
end