2011-05-17 18:22:08 +00:00
|
|
|
require File.expand_path('../lib/mongo/version', __FILE__)
|
2009-02-06 13:35:37 +00:00
|
|
|
|
2009-01-16 21:05:22 +00:00
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = 'mongo'
|
2009-09-10 14:03:12 +00:00
|
|
|
|
2009-10-26 19:34:45 +00:00
|
|
|
s.version = Mongo::VERSION
|
2009-09-10 14:03:12 +00:00
|
|
|
|
2009-01-16 21:05:22 +00:00
|
|
|
s.platform = Gem::Platform::RUBY
|
2012-02-06 22:45:41 +00:00
|
|
|
s.summary = 'Ruby driver for MongoDB'
|
2009-10-05 14:36:07 +00:00
|
|
|
s.description = 'A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.'
|
2009-01-16 21:05:22 +00:00
|
|
|
|
2009-03-19 17:09:59 +00:00
|
|
|
s.require_paths = ['lib']
|
2009-10-26 19:34:45 +00:00
|
|
|
|
2010-11-04 18:26:45 +00:00
|
|
|
s.files = ['README.md', 'Rakefile', 'mongo.gemspec', 'LICENSE.txt']
|
2010-08-24 16:59:27 +00:00
|
|
|
s.files += ['lib/mongo.rb'] + Dir['lib/mongo/**/*.rb']
|
2010-11-04 18:26:45 +00:00
|
|
|
s.files += Dir['docs/**/*.md'] + Dir['examples/**/*.rb'] + Dir['bin/**/*.rb']
|
2010-09-20 18:43:23 +00:00
|
|
|
s.files += Dir['bin/mongo_console']
|
2009-10-26 19:34:45 +00:00
|
|
|
s.test_files = Dir['test/**/*.rb']
|
|
|
|
|
2010-09-20 18:43:23 +00:00
|
|
|
s.executables = ['mongo_console']
|
|
|
|
|
2009-10-26 19:34:45 +00:00
|
|
|
s.has_rdoc = true
|
|
|
|
s.test_files = Dir['test/**/*.rb']
|
2009-02-27 17:23:14 +00:00
|
|
|
|
2009-01-16 21:05:22 +00:00
|
|
|
s.has_rdoc = true
|
2010-11-02 20:09:43 +00:00
|
|
|
s.rdoc_options = ['--main', 'README.md', '--inline-source']
|
|
|
|
s.extra_rdoc_files = ['README.md']
|
2009-01-16 21:05:22 +00:00
|
|
|
|
2012-02-22 15:41:44 +00:00
|
|
|
s.authors = ['Jim Menard', 'Mike Dirolf', 'Kyle Banker', 'Tyler Brock']
|
2009-03-13 19:22:01 +00:00
|
|
|
s.email = 'mongodb-dev@googlegroups.com'
|
2009-01-16 21:05:22 +00:00
|
|
|
s.homepage = 'http://www.mongodb.org'
|
2010-04-08 03:47:06 +00:00
|
|
|
|
2011-05-17 18:33:50 +00:00
|
|
|
s.add_dependency('bson', Mongo::VERSION)
|
2009-01-16 21:05:22 +00:00
|
|
|
end
|