2010-03-02 12:36:54 +08:00
|
|
|
$:.unshift "lib"
|
|
|
|
require "active_record/version"
|
|
|
|
|
2009-09-01 08:20:44 +08:00
|
|
|
Gem::Specification.new do |s|
|
2010-02-04 09:59:39 +08:00
|
|
|
s.platform = Gem::Platform::RUBY
|
|
|
|
s.name = 'activerecord'
|
2010-03-02 12:36:54 +08:00
|
|
|
s.version = ActiveRecord::VERSION::STRING
|
2010-02-04 09:59:39 +08:00
|
|
|
s.summary = 'Object-relational mapper framework (part of Rails).'
|
|
|
|
s.description = 'Object-relational mapper framework (part of Rails).'
|
2010-02-08 12:30:10 +08:00
|
|
|
s.required_ruby_version = '>= 1.8.7'
|
2009-09-01 08:20:44 +08:00
|
|
|
|
2010-02-04 09:59:39 +08:00
|
|
|
s.author = 'David Heinemeier Hansson'
|
|
|
|
s.email = 'david@loudthinking.com'
|
|
|
|
s.homepage = 'http://www.rubyonrails.org'
|
|
|
|
s.rubyforge_project = 'activerecord'
|
2009-09-25 13:46:04 +08:00
|
|
|
|
2010-02-04 09:59:39 +08:00
|
|
|
s.files = Dir['CHANGELOG', 'README', 'examples/**/*', 'lib/**/*']
|
2009-09-25 13:46:04 +08:00
|
|
|
s.require_path = 'lib'
|
|
|
|
|
2010-02-04 09:59:39 +08:00
|
|
|
s.has_rdoc = true
|
2009-09-25 13:46:04 +08:00
|
|
|
s.extra_rdoc_files = %w( README )
|
|
|
|
s.rdoc_options.concat ['--main', 'README']
|
2009-09-01 08:20:44 +08:00
|
|
|
|
2010-03-02 12:36:54 +08:00
|
|
|
s.add_dependency('activesupport', "= #{ActiveRecord::VERSION::STRING}")
|
|
|
|
s.add_dependency('activemodel', "= #{ActiveRecord::VERSION::STRING}")
|
2010-02-06 01:21:45 +08:00
|
|
|
s.add_dependency('arel', '~> 0.2.1')
|
2009-09-01 08:20:44 +08:00
|
|
|
end
|