From a91e27132305376d31e4d4e31f4b946fb6a730cb Mon Sep 17 00:00:00 2001 From: Adrian Madrid Date: Thu, 4 Dec 2008 17:07:49 -0700 Subject: [PATCH] Renamed demo to simple --- examples/{demo.rb => simple.rb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename examples/{demo.rb => simple.rb} (89%) diff --git a/examples/demo.rb b/examples/simple.rb similarity index 89% rename from examples/demo.rb rename to examples/simple.rb index bf159d2..338ee78 100644 --- a/examples/demo.rb +++ b/examples/simple.rb @@ -7,8 +7,7 @@ host = ARGV[0] || 'localhost' port = ARGV[1] || XGen::Mongo::Driver::Mongo::DEFAULT_PORT puts "Connecting to #{host}:#{port}" - -db = Mongo.new(host, port).db('ruby-mongo-demo') +db = Mongo.new(host, port).db('ruby-mongo-examples-simple') coll = db.collection('test') coll.clear