From 595bb0e3ebb49960a17dce16384d600d3e220e76 Mon Sep 17 00:00:00 2001 From: Jim Menard Date: Fri, 16 Jan 2009 16:05:22 -0500 Subject: [PATCH] add gemspec --- .gitignore | 1 - mongo-ruby-driver.gemspec | 62 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 mongo-ruby-driver.gemspec diff --git a/.gitignore b/.gitignore index 4d8d3ad..2fc5882 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,5 @@ html t pkg doc -mongo-ruby-driver.gemspec mongo-ruby-driver-*.gem mongo-qa diff --git a/mongo-ruby-driver.gemspec b/mongo-ruby-driver.gemspec new file mode 100644 index 0000000..0b10cff --- /dev/null +++ b/mongo-ruby-driver.gemspec @@ -0,0 +1,62 @@ +Gem::Specification.new do |s| + s.name = 'mongo' + s.version = '0.1.3' + s.platform = Gem::Platform::RUBY + s.summary = 'Simple pure-Ruby driver for the 10gen Mongo DB' + s.description = 'A pure-Ruby driver for the 10gen Mongo DB. For more information about Mongo, see http://www.mongodb.org.' + + s.require_paths = ['lib'] + + s.files = ['bin/mongo_console', 'bin/validate', + 'examples/benchmarks.rb', + 'examples/blog.rb', + 'examples/index_test.rb', + 'examples/simple.rb', + 'lib/mongo.rb', + 'lib/mongo/admin.rb', + 'lib/mongo/collection.rb', + 'lib/mongo/cursor.rb', + 'lib/mongo/db.rb', + '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/mongo.rb', + 'lib/mongo/query.rb', + 'lib/mongo/types/binary.rb', + 'lib/mongo/types/dbref.rb', + 'lib/mongo/types/objectid.rb', + 'lib/mongo/types/regexp_of_holding.rb', + 'lib/mongo/types/undefined.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', + 'README.rdoc', 'Rakefile', 'mongo-ruby-driver.gemspec'] + s.test_files = ['tests/test_admin.rb', + 'tests/test_bson.rb', + 'tests/test_byte_buffer.rb', + 'tests/test_cursor.rb', + 'tests/test_db.rb', + 'tests/test_db_api.rb', + 'tests/test_db_connection.rb', + 'tests/test_message.rb', + 'tests/test_objectid.rb', + 'tests/test_ordered_hash.rb', + 'tests/test_round_trip.rb'] + + s.has_rdoc = true + s.rdoc_options = ['--main', 'README.rdoc', '--inline-source'] + s.extra_rdoc_files = ['README.rdoc'] + + s.author = 'Jim Menard' + s.email = 'jim@10gen.com' + s.homepage = 'http://www.mongodb.org' +end