2010-08-04 19:13:34 +00:00
|
|
|
require "./lib/mongo"
|
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
|
2009-10-05 14:36:07 +00:00
|
|
|
s.summary = 'Ruby driver for the MongoDB'
|
|
|
|
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-06-06 19:57:50 +00:00
|
|
|
s.files = ['README.rdoc', 'HISTORY', 'Rakefile',
|
2010-06-15 14:04:35 +00:00
|
|
|
'mongo.gemspec', 'LICENSE.txt']
|
2010-08-24 16:59:27 +00:00
|
|
|
s.files += ['lib/mongo.rb'] + Dir['lib/mongo/**/*.rb']
|
2010-03-17 20:22:58 +00:00
|
|
|
s.files += 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']
|
2010-03-17 19:55:19 +00:00
|
|
|
s.test_files -= Dir['test/mongo_bson/*.rb'] # remove these files from the manifest
|
2009-02-27 17:23:14 +00:00
|
|
|
|
2009-01-16 21:05:22 +00:00
|
|
|
s.has_rdoc = true
|
|
|
|
s.rdoc_options = ['--main', 'README.rdoc', '--inline-source']
|
|
|
|
s.extra_rdoc_files = ['README.rdoc']
|
|
|
|
|
2010-03-01 17:09:21 +00:00
|
|
|
s.authors = ['Jim Menard', 'Mike Dirolf', 'Kyle Banker']
|
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
|
|
|
|
2010-10-07 21:59:12 +00:00
|
|
|
s.add_dependency(%q<bson>, [">= 1.1.1"])
|
2009-01-16 21:05:22 +00:00
|
|
|
end
|