Commit Graph

1453 Commits

Author SHA1 Message Date
Mike Dirolf
141974c012 minor: gitignore 2009-08-13 15:23:55 -04:00
Mike Dirolf
64380ad00c Deprecating Collection#modify, Collection#replace and Collection#repsert in favor of Collection#update 2009-08-13 15:18:53 -04:00
Mike Dirolf
ef1f698918 BUMP 0.11.1 snapshot support 2009-08-13 10:31:00 -04:00
Mike Dirolf
860505cd47 minor: bump extension version in preparation for bumping driver 2009-08-13 10:30:39 -04:00
Mike Dirolf
acc1076df7 test that already passes 2009-08-13 10:29:08 -04:00
Mike Dirolf
4963da9e89 add support for snapshot option to Collection#find 2009-08-11 11:42:34 -04:00
Mike Dirolf
c9658f1044 minor: try tricking github into building the extension 2009-08-10 16:17:13 -04:00
Mike Dirolf
09e549eac3 BUMP 0.11 fix C extension include paths, support 64-bit int, Collection#rename, better DB#collection_names, fix a threading deadlock 2009-08-10 16:13:17 -04:00
Mike Dirolf
1e4728a77f fix a deadlock with threaded queries 2009-08-10 16:10:52 -04:00
Mike Dirolf
691e65f684 API CHANGE: fixing DB#collection_names() - only return collection name, not full name. only return names of valid collections on this database 2009-08-06 15:52:07 -04:00
Mike Dirolf
fe7d7745c7 add collection name validation 2009-08-04 14:24:18 -04:00
Mike Dirolf
91d6ab4caa rename collection 2009-08-04 14:16:02 -04:00
Mike Dirolf
fb48299975 handle longs in c extension 2009-08-04 10:39:25 -04:00
Mike Dirolf
0a60ad0d7b support for long type in pure ruby [enc|dec]oder 2009-08-03 17:57:44 -04:00
Mike Dirolf
cb52b24040 hopefully sorted out this header nonsense 2009-08-03 12:06:51 -04:00
Mike Dirolf
3d6942c257 use ruby/ include paths - really wish this would be somehow standardized for different ruby installations 2009-08-03 11:18:13 -04:00
Mike Dirolf
3185578348 minor: gitignore 2009-08-03 11:13:10 -04:00
Mike Dirolf
2e4a7f153f raise a more clear exception for range error on Fixnums on 64-bit 2009-08-03 11:08:10 -04:00
Mike Dirolf
5dc64d8c1d minor: more tests that already pass 2009-07-28 15:00:54 -04:00
Mike Dirolf
4de3f61787 minor: test that already passes 2009-07-28 14:44:35 -04:00
Mike Dirolf
fa80e356fe BUMP 0.10.1 save should always return _id, not just for new inserts 2009-07-28 12:09:28 -04:00
Mike Dirolf
7da51cc317 save returns _id as well 2009-07-28 12:08:29 -04:00
Mike Dirolf
ddf7fdf6a2 bumping extension to 0.4.1 to try to convince github to build the gem 2009-07-28 11:45:34 -04:00
Mike Dirolf
975412426f minor: revert to old include path. will have to find a separate fix for windows 2009-07-28 11:25:11 -04:00
Mike Dirolf
ffa74ba3bb BUMP 0.10 API change - insert and save return _id. dates return as UTC. GridStore.list 2009-07-28 10:09:03 -04:00
Mike Dirolf
f00ad75aaf minor: credits 2009-07-28 09:56:45 -04:00
Paul Dlug
6b9b922266 Generate _id on the client side if no _id is provided to insert/save. The generated ObjectID (or array of ObjectID's in the case of a multiple insert) is return. Closes RUBY-22 and RUBY-23.
Signed-off-by: Mike Dirolf <mike@dirolf.com>
2009-07-28 21:53:59 +08:00
Mike Dirolf
5a6a8d29a5 minor: update include paths 2009-07-20 15:22:08 -04:00
Mike Dirolf
b934c997f9 minor: tool to check if extension is installed 2009-07-17 13:29:38 -04:00
Mike Dirolf
706d06aee0 towards a working windows build for the C extension 2009-07-17 12:16:33 -04:00
Mike Dirolf
0d8ba577ba minor: oops - bad copy forgot semicolon 2009-07-16 16:36:07 -04:00
Mike Dirolf
6cd976398e minor: c ext return dates as UTC, update credits, tweak last commit 2009-07-16 16:32:57 -04:00
David James
91b1b0ad8f Fix dates to return as UTC.
Signed-off-by: Mike Dirolf <mike@dirolf.com>
2009-07-17 04:26:56 +08:00
Mike Dirolf
dbd656580d minor: fix test file for windows - open file in binary mode 2009-07-16 11:52:34 -04:00
Mike Dirolf
73d7b5ea5d GridStore.list to list gridfs files 2009-07-15 10:06:45 -04:00
Mike Dirolf
242d0020a5 minor: update README 2009-07-13 12:18:05 -04:00
Mike Dirolf
3c6a02fd19 bumiping extensions to 0.3 -> compatible with driver 0.9 2009-06-30 04:50:37 -04:00
Mike Dirolf
1cf4d0d561 BUMP 0.9 bug fixes. don't allow invalid key names on insert. API change for index_information. bulk inserts. count() fix 2009-06-27 19:29:53 -04:00
Mike Dirolf
9105888d77 gitignore 2009-06-27 19:28:37 -04:00
Mike Dirolf
c6536f0d27 count() is 0 for non-existant collections, not an error 2009-06-18 09:38:55 -04:00
Mike Dirolf
7b0da3cb7e update group 2009-06-08 11:08:59 -04:00
Mike Dirolf
70fb0a6e6a actually send bulk insert messages 2009-06-08 09:52:18 -04:00
Mike Dirolf
6099d3b67e attempt a fix for weird error on some systems 2009-06-05 14:52:01 -04:00
Mike Dirolf
ec6fcd33ce attempt at a fix for weird include paths 2009-06-04 16:51:34 -04:00
Mike Dirolf
f0e176f351 minor: fix warnings 2009-06-04 15:32:26 -04:00
Mike Dirolf
f73b76e5e7 update credits in README 2009-06-02 14:49:49 -04:00
Mike Dirolf
e5ce547e87 use repsert instead of checking for document existence, update tests to match new index_information API 2009-06-02 14:37:58 -04:00
Mike Dirolf
cb3823f48f Merge branch 'master' of git://github.com/jnunemaker/mongo-ruby-driver into jnunemaker/master 2009-06-02 14:20:19 -04:00
Mike Dirolf
25e960441b API CHANGE: better, less redundant API for index_information 2009-06-02 11:24:52 -04:00
Mike Dirolf
d87a7da617 BUG RUBY-15 don't check key names on create_index operations 2009-06-02 09:38:31 -04:00