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-03-17 20:22:58 +00:00
|
|
|
s.files += ['lib/mongo.rb'] + Dir['lib/mongo/**/*.rb']
|
|
|
|
s.files += Dir['examples/**/*.rb'] + Dir['bin/**/*.rb']
|
2009-10-26 19:34:45 +00:00
|
|
|
s.test_files = Dir['test/**/*.rb']
|
|
|
|
|
|
|
|
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-07-13 18:52:39 +00:00
|
|
|
s.add_dependency(%q<bson>, [">= 1.0.4"])
|
2009-01-16 21:05:22 +00:00
|
|
|
end
|