mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
bb8923dee0
RG2 packager expects each spec.files path to be a file and bombs when it tries to tarball a dir. May revert if rubygems/rubygems#413 is accepted.
24 lines
901 B
Ruby
24 lines
901 B
Ruby
version = File.read(File.expand_path('../../RAILS_VERSION', __FILE__)).strip
|
|
|
|
Gem::Specification.new do |s|
|
|
s.platform = Gem::Platform::RUBY
|
|
s.name = 'activemodel'
|
|
s.version = version
|
|
s.summary = 'A toolkit for building modeling frameworks (part of Rails).'
|
|
s.description = 'A toolkit for building modeling frameworks like Active Record. Rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing.'
|
|
|
|
s.required_ruby_version = '>= 1.9.3'
|
|
|
|
s.license = 'MIT'
|
|
|
|
s.author = 'David Heinemeier Hansson'
|
|
s.email = 'david@loudthinking.com'
|
|
s.homepage = 'http://www.rubyonrails.org'
|
|
|
|
s.files = Dir['CHANGELOG.md', 'MIT-LICENSE', 'README.rdoc', 'lib/**/*'].select { |path| File.file? path }
|
|
s.require_path = 'lib'
|
|
|
|
s.add_dependency 'activesupport', version
|
|
|
|
s.add_dependency 'builder', '~> 3.1.0'
|
|
end
|