2009-03-19 17:09:59 +00:00
|
|
|
# We need to list all of the included files because we aren't allowed to use
|
|
|
|
# Dir[...] in the github sandbox.
|
|
|
|
PACKAGE_FILES = ['README.rdoc', 'Rakefile', 'mongo-ruby-driver.gemspec',
|
|
|
|
'bin/bson_benchmark.rb',
|
|
|
|
'bin/mongo_console',
|
|
|
|
'bin/run_test_script',
|
|
|
|
'bin/standard_benchmark',
|
|
|
|
'examples/admin.rb',
|
|
|
|
'examples/benchmarks.rb',
|
|
|
|
'examples/blog.rb',
|
|
|
|
'examples/capped.rb',
|
|
|
|
'examples/cursor.rb',
|
|
|
|
'examples/gridfs.rb',
|
|
|
|
'examples/index_test.rb',
|
|
|
|
'examples/info.rb',
|
|
|
|
'examples/queries.rb',
|
|
|
|
'examples/simple.rb',
|
|
|
|
'examples/strict.rb',
|
|
|
|
'examples/types.rb',
|
|
|
|
'lib/mongo/admin.rb',
|
|
|
|
'lib/mongo/collection.rb',
|
2009-08-20 22:48:09 +00:00
|
|
|
'lib/mongo/connection.rb',
|
2009-03-19 17:09:59 +00:00
|
|
|
'lib/mongo/cursor.rb',
|
|
|
|
'lib/mongo/db.rb',
|
|
|
|
'lib/mongo/gridfs/chunk.rb',
|
|
|
|
'lib/mongo/gridfs/grid_store.rb',
|
|
|
|
'lib/mongo/gridfs.rb',
|
2009-08-13 19:18:53 +00:00
|
|
|
'lib/mongo/errors.rb',
|
2009-03-19 17:09:59 +00:00
|
|
|
'lib/mongo/message/get_more_message.rb',
|
|
|
|
'lib/mongo/message/insert_message.rb',
|
|
|
|
'lib/mongo/message/kill_cursors_message.rb',
|
|
|
|
'lib/mongo/message/message.rb',
|
|
|
|
'lib/mongo/message/message_header.rb',
|
|
|
|
'lib/mongo/message/msg_message.rb',
|
|
|
|
'lib/mongo/message/opcodes.rb',
|
|
|
|
'lib/mongo/message/query_message.rb',
|
|
|
|
'lib/mongo/message/remove_message.rb',
|
|
|
|
'lib/mongo/message/update_message.rb',
|
|
|
|
'lib/mongo/message.rb',
|
|
|
|
'lib/mongo/query.rb',
|
|
|
|
'lib/mongo/types/binary.rb',
|
|
|
|
'lib/mongo/types/code.rb',
|
|
|
|
'lib/mongo/types/dbref.rb',
|
|
|
|
'lib/mongo/types/objectid.rb',
|
|
|
|
'lib/mongo/types/regexp_of_holding.rb',
|
|
|
|
'lib/mongo/util/bson.rb',
|
|
|
|
'lib/mongo/util/byte_buffer.rb',
|
|
|
|
'lib/mongo/util/ordered_hash.rb',
|
|
|
|
'lib/mongo/util/xml_to_ruby.rb',
|
|
|
|
'lib/mongo.rb']
|
2009-08-18 14:07:01 +00:00
|
|
|
TEST_FILES = ['test/mongo-qa/_common.rb',
|
|
|
|
'test/mongo-qa/admin',
|
|
|
|
'test/mongo-qa/capped',
|
|
|
|
'test/mongo-qa/count1',
|
|
|
|
'test/mongo-qa/dbs',
|
|
|
|
'test/mongo-qa/find',
|
|
|
|
'test/mongo-qa/find1',
|
|
|
|
'test/mongo-qa/gridfs_in',
|
|
|
|
'test/mongo-qa/gridfs_out',
|
|
|
|
'test/mongo-qa/indices',
|
|
|
|
'test/mongo-qa/remove',
|
|
|
|
'test/mongo-qa/stress1',
|
|
|
|
'test/mongo-qa/test1',
|
|
|
|
'test/mongo-qa/update',
|
|
|
|
'test/test_admin.rb',
|
|
|
|
'test/test_bson.rb',
|
|
|
|
'test/test_byte_buffer.rb',
|
|
|
|
'test/test_chunk.rb',
|
|
|
|
'test/test_collection.rb',
|
2009-08-20 22:48:09 +00:00
|
|
|
'test/test_connection.rb',
|
2009-08-18 14:07:01 +00:00
|
|
|
'test/test_cursor.rb',
|
|
|
|
'test/test_db.rb',
|
|
|
|
'test/test_db_api.rb',
|
|
|
|
'test/test_db_connection.rb',
|
|
|
|
'test/test_grid_store.rb',
|
|
|
|
'test/test_message.rb',
|
|
|
|
'test/test_objectid.rb',
|
|
|
|
'test/test_ordered_hash.rb',
|
|
|
|
'test/test_threading.rb',
|
2009-09-21 21:50:19 +00:00
|
|
|
'test/test_round_trip.rb']
|
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
|
|
|
|
|
|
|
# be sure to change this constant in lib/mongo.rb as well
|
2009-09-30 19:07:28 +00:00
|
|
|
s.version = '0.15'
|
2009-09-10 14:03:12 +00:00
|
|
|
|
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-19 17:09:59 +00:00
|
|
|
s.require_paths = ['lib']
|
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 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
|