2009-03-17 21:48:43 +00:00
|
|
|
PACKAGE_FILES = ['README.rdoc', 'Rakefile', 'mongo-ruby-driver.gemspec'] +
|
|
|
|
(Dir['bin/*'] + Dir['examples/*.rb'] + Dir['lib/**/*.rb'] + Dir["ext/**/*.{rb,c}"])
|
2009-03-13 19:22:01 +00:00
|
|
|
PACKAGE_FILES.reject! { |fn| fn.include? '.DS' }
|
2009-02-06 14:32:37 +00:00
|
|
|
|
2009-03-13 19:22:01 +00:00
|
|
|
TEST_FILES = Dir['tests/*.rb'] + Dir['tests/mongo-qa/*']
|
|
|
|
TEST_FILES.reject! { |fn| fn.include? '.DS' }
|
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-03-12 21:37:49 +00:00
|
|
|
s.version = '0.6.4'
|
2009-01-16 21:05:22 +00:00
|
|
|
s.platform = Gem::Platform::RUBY
|
2009-03-13 19:22:01 +00:00
|
|
|
s.summary = 'Ruby driver for the 10gen Mongo DB'
|
|
|
|
s.description = 'A Ruby driver for the 10gen Mongo DB. For more information about Mongo, see http://www.mongodb.org.'
|
2009-01-16 21:05:22 +00:00
|
|
|
|
2009-03-17 21:48:43 +00:00
|
|
|
s.require_paths = ['lib', 'ext']
|
2009-02-27 17:23:14 +00:00
|
|
|
|
2009-02-06 13:35:37 +00:00
|
|
|
s.files = PACKAGE_FILES
|
|
|
|
s.test_files = TEST_FILES
|
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']
|
2009-03-13 21:24:16 +00:00
|
|
|
# s.extensions << 'ext/cbson/extconf.rb'
|
2009-01-16 21:05:22 +00:00
|
|
|
|
2009-03-13 19:22:01 +00:00
|
|
|
s.authors = ['Jim Menard', 'Mike Dirolf']
|
|
|
|
s.email = 'mongodb-dev@googlegroups.com'
|
2009-01-16 21:05:22 +00:00
|
|
|
s.homepage = 'http://www.mongodb.org'
|
|
|
|
end
|