Commit Graph

163 Commits

Author SHA1 Message Date
Kyle Banker
67a56b64eb fixed connection uri bug (Sunny Hirai) 2010-06-12 10:11:29 -04:00
Kyle Banker
a7e2991c31 fix for boolean command response in core server 1.5.2 2010-05-31 22:52:03 -04:00
Kyle Banker
924a275ea3 check command response by default; better DB#command api 2010-05-18 16:17:17 -04:00
Kyle Banker
97ee66be02 minor: source file encoding with magic comment 2010-05-07 15:33:27 -04:00
sleverbor
ed76126a12 namespaced the OrderedHash class 2010-05-06 18:25:18 -07:00
Kyle Banker
56661c4c66 minor: docs 2010-05-04 16:06:06 -04:00
Kyle Banker
065d97ca1c Replication acknowledgment RUBY-126 2010-05-04 16:00:05 -04:00
Kyle Banker
56ecc470f5 minor: docs 2010-04-19 12:16:45 -04:00
Kyle Banker
910a82de7e must use Connection.paired for paired connections 2010-04-07 17:10:28 -04:00
Kyle Banker
c4d5cb641b renamed mongo_bson to bson 2010-04-05 10:39:55 -04:00
Kyle Banker
f2bc05f51c merge new bson commits 2010-03-19 15:23:24 -04:00
Charles Remes
a9b3c8e7a5 Try again: Split the BSON logic out to a separate gem
- changed the BSON constant to BSON_CODER and scoped it inside
      of a module

    - changed the directory layout for all of the BSON related files

    - updated the C extension to find the BSON files at their new
      directory locations

    - updated the C extension to use better/safer macros for accessing
      the C API; extension now compiles cleanly under rubinius/rbx

    - changed directory layout for BSON related tests

    - modified the Rakefile to understand the new layout
2010-03-17 14:55:19 -05:00
Kyle Banker
9dd1a5c2e3 added authentication support for copy_database 2010-03-16 13:56:30 -04:00
Kyle Banker
85076b2684 minor: docs 2010-03-01 10:39:50 -05:00
Kyle Banker
c0e8a525bd reauthenticate on reconnect 2010-02-25 14:58:32 -05:00
Kyle Banker
3479317098 raise exception on authentication failure 2010-02-24 13:05:45 -05:00
Kyle Banker
5dd2636634 minor: copyright update 2010-02-19 17:41:36 -05:00
Kyle Banker
f176a45a20 Connection.from_uri and Connection.paired. Connection API enhancement. 2010-02-17 15:15:07 -05:00
Kyle Banker
98af49f465 added core doc references 2010-02-08 12:12:18 -05:00
Kyle Banker
b4a95ac116 fixed autoreconnect (oops) RUBY-92 2010-02-04 18:07:45 -05:00
Kyle Banker
80afca2fe2 Check in connections on operation exceptions RUBY-83 2010-01-20 12:40:16 -05:00
Kyle Banker
523f0ebc2c yard for Cursor 2010-01-08 16:18:07 -05:00
Kyle Banker
5285f9de8f minor: reorganized constants / errors 2010-01-08 15:43:13 -05:00
Kyle Banker
b82e29f313 minor: yardoc for Connection 2010-01-07 12:37:53 -05:00
Kyle Banker
2310a878ea doc cleanup and initial move to YARD 2010-01-05 17:42:52 -05:00
Kyle Banker
2087cd4286 BUMP 0.18.2 2009-12-29 17:32:10 -05:00
Kyle Banker
7a08e2c84f minor: pool test working for windows on 1.8.6 2009-12-29 13:27:12 -05:00
Kyle Banker
1b189336a6 minor: test tweaks for windows 2009-12-29 12:22:01 -05:00
Kyle Banker
23c8b9d45f minor: switched from Monitor to Mutex; passing tests in 1.9.1 2009-12-28 13:05:45 -05:00
Jay Shepherd
5ccfcf95ab minor: document fixes 2009-12-23 11:12:46 -06:00
Kyle Banker
3858e70518 minor: fixes for pooling; updated history 2009-12-21 09:06:28 -05:00
Kyle Banker
5c1b3aed0f simplified connection pooling 2009-12-18 17:29:44 -05:00
Kyle Banker
f8a6d1ebb9 minor: docs, whitespace, naming 2009-12-16 14:16:49 -05:00
delano
5bf512fb80 Fix for connecting to non-default port 2009-12-02 16:24:36 -05:00
Kyle Banker
992f6c30dc minor: removed entraneous constant 2009-12-02 11:56:58 -05:00
Kyle Banker
d40f445c19 Fixes for 1.9 2009-12-01 17:23:24 -05:00
Kyle Banker
05b5fc576b Cleanup w/r/t loading c ext and testing it 2009-12-01 13:49:57 -05:00
Kyle Banker
5b5ee9e376 minor: doc fix. 2009-11-24 17:41:41 -05:00
Kyle Banker
cdb60b378f Fixes for 1.9.1 compatibility. 2009-11-24 16:13:14 -05:00
Kyle Banker
072b025cdc Updates for connection-pooled operations on replica pairs. 2009-11-24 15:20:51 -05:00
Kyle Banker
539274bb7b minor: cleanup, docs 2009-11-24 14:43:52 -05:00
Kyle Banker
ab0d189832 Simplified message sending methods names; organized Connection 2009-11-24 14:23:43 -05:00
Kyle Banker
3bdd3fdd53 Removed some unused methods. 2009-11-24 14:04:39 -05:00
Kyle Banker
154abda235 Fixes for pairing. 2009-11-24 13:55:59 -05:00
Kyle Banker
20562e96ab Tests passing for connection pooling. 2009-11-24 13:47:37 -05:00
Kyle Banker
515594ebf3 Completed deprecation of old sort options, :offset, and Collection#clear 2009-11-23 18:09:13 -05:00
Kyle Banker
fcbdfdf8e4 Doc cleanup; merge cleanup 2009-11-23 16:03:33 -05:00
Kyle Banker
11a92349e9 Merged branch for initial connection pooling code 2009-11-23 15:20:05 -05:00
Kyle Banker
7890d6e146 Fixes for replica pairs. 2009-11-23 13:13:14 -05:00
Kyle Banker
e1e6d4339a BUMP 0.17.1 added mongo_ext notice 2009-11-17 14:39:03 -05:00
Kyle Banker
20ed768460 added tests for copy_database 2009-11-04 11:57:03 -05:00
Chris Williams
1430df2fa1 Fixing a case issue. 2009-11-03 12:36:42 -05:00
Chris Williams
086d5e0357 Adding copy database functionality to Connection object. 2009-11-03 12:33:02 -05:00
Kyle Banker
44ff6c5918 Checking response on buildinfo command. 2009-11-02 13:22:46 -05:00
Kyle Banker
5c6f53e408 Added server version checking. Updated tests for compatibility > 1.1.3 2009-10-26 14:54:33 -04:00
John Nunemaker
89d420780f Added logger convenience methods to connection and database. Makes it possible to use the logger instance in the driver from the outside world. 2009-10-08 21:13:59 +08:00
Mike Dirolf
2b701119e1 complete deprecation of a bunch of stuff 2009-09-17 15:28:45 -04:00
Mike Dirolf
903e7136cf no logger by default. don't log timing because it's misleading for queries. add tests and documentation for logger 2009-09-11 12:12:24 -04:00
Cyril Mougel
5860333ed4 improve logger and fix all test with logging system 2009-09-11 00:02:03 +02:00
Cyril Mougel
58e73589bd add require needed if no require before 2009-09-10 23:27:46 +02:00
Cyril Mougel
a7ec07a957 implement a little logger with log time and query 2009-09-10 23:24:06 +02:00
Mike Dirolf
834a176dbe minor: remove unimplemented methods 2009-08-24 10:55:31 -04:00
Mike Dirolf
94fe53d96b DEPRECATE Mongo::Mongo in favor of Mongo::Connection 2009-08-20 18:48:09 -04:00