minor: more reorganization

This commit is contained in:
Kyle Banker 2010-11-03 13:00:34 -04:00
parent fe9946355f
commit de13ff5f5d
14 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,6 +1,8 @@
html html
pkg pkg
doc doc
ydoc
.yardoc
*.gem *.gem
nbproject nbproject
*.bundle *.bundle
@ -11,3 +13,4 @@ benchmark
*~ *~
*#* *#*
*.class *.class
*.swp

View File

@ -71,7 +71,7 @@ That's all there is to it!
For extensive examples, see the [MongoDB Ruby Tutorial](http://www.mongodb.org/display/DOCS/Ruby+Tutorial). For extensive examples, see the [MongoDB Ruby Tutorial](http://www.mongodb.org/display/DOCS/Ruby+Tutorial).
Bundled with the driver are many examples, located in the "examples" subdirectory. Samples include using Bundled with the driver are many examples, located in the "docs/examples" subdirectory. Samples include using
the driver and using the GridFS class GridStore. MongoDB must be running for the driver and using the GridFS class GridStore. MongoDB must be running for
these examples to work, of course. these examples to work, of course.
@ -81,7 +81,7 @@ Here's how to start MongoDB and run the "simple.rb" example:
$ ./mongod run $ ./mongod run
... then in another window ... ... then in another window ...
$ cd path/to/mongo-ruby-driver $ cd path/to/mongo-ruby-driver
$ ruby examples/simple.rb $ ruby docs/examples/simple.rb
See also the test code, especially test/test_db_api.rb. See also the test code, especially test/test_db_api.rb.