Commit Graph

16 Commits

Author SHA1 Message Date
Jim Menard
8a6d0cebda Call port.to_i in Mongo ctor. Bumped version patch number. 2009-01-29 10:54:24 -05:00
Jim Menard
3ffc8942b0 Changed Mongo#new so it takes a Hash for paired servers. 2009-01-23 13:30:59 -05:00
Jim Menard
9bc1a15c40 fixed comment 2009-01-23 12:51:36 -05:00
Jim Menard
d01a4f5fdb Added auto_reconnect and slave_ok options and behavior to DB connections. 2009-01-23 11:47:22 -05:00
Jim Menard
d3d0d5a16e Improved error messages. 2009-01-20 15:59:07 -05:00
Jim Menard
55824a4823 nil check in ensure 2009-01-20 15:55:48 -05:00
Jim Menard
bf2e35589f Added Mongo#drop_database. 2009-01-20 09:21:19 -05:00
Jim Menard
e0162aebb9 Level 1 support:
- Added PK factory support to the db class. Documented it in the README.

- Mongo#db now takes an options hash (right now, for :strict and :pk) and
  passes it in to the DB constructor.
2009-01-16 14:41:53 -05:00
Jim Menard
7291995efc Added Mongo#database_info and Mongo#database_names. 2009-01-16 09:52:31 -05:00
Jim Menard
feaa141e2b default value for nodes_or_host 2009-01-15 09:29:38 -05:00
Jim Menard
871c9ee873 comment fix 2009-01-14 18:38:25 -05:00
Jim Menard
c3d73e4151 Mongo and DB ctors can now take array of nodes. Tests now close @db in teardown. 2009-01-14 18:37:28 -05:00
Jim Menard
f709bc6290 Updated copyright dates. 2009-01-06 10:51:01 -05:00
Jim Menard
95e75995f6 Doc tweaks 2008-12-17 11:49:06 -05:00
Jim Menard
aee3ae2c9d More documentation 2008-12-17 11:43:08 -05:00
Jim Menard
5e3815bf69 first commit 2008-11-21 20:00:51 -05:00