Commit Graph

1727 Commits

Author SHA1 Message Date
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
Mike Dirolf
2743fd39b1 failing test case for index on subfield 2009-06-02 09:27:50 -04:00
John Nunemaker
13a9cfe83f Merge branch 'mongodb/master' 2009-06-01 23:24:16 -04:00
Mike Dirolf
71d7ff726b don't allow invalid key names on inserts 2009-06-01 17:38:11 -04:00
Mike Dirolf
6e9a5194f9 credits 2009-06-01 09:21:59 -04:00
Jon Crosby
c346ded1aa Fix syntax warning
Signed-off-by: mongodb <mongodb@10gen.com>
2009-06-01 21:19:38 +08:00
John Nunemaker
f95102c2bb Updated save to actually check if id exists in the collection. 2009-05-31 22:45:05 -04:00
John Nunemaker
4cfa9cbcf3 Fixed lack of parenthesis ruby warning that I was receiving on 1.8.6. 2009-05-31 22:17:20 -04:00
John Nunemaker
4d7f06a6be Implemented that index fields can also be specified with symbols. 2009-05-31 22:16:01 -04:00
Mike Dirolf
d679a17478 BUMP 0.8 Collection#save, DB#previous_error and DB#reset_error_history 2009-05-26 15:28:13 -04:00
Mike Dirolf
cabca61e0d previous_error and reset_error_history. snuck in a quick fix to OrderedHash equality 2009-05-26 15:26:20 -04:00
Mike Dirolf
dc44751d2f add credits 2009-05-18 10:02:10 -04:00
Mike Dirolf
d5bed6e43e test save 2009-05-18 09:59:10 -04:00
Aman Gupta
2fafddd7fa Add Collection#save 2009-05-15 18:21:10 -07:00
Mike Dirolf
dfd2f1abc8 BUMP 0.7 mainly adding support for negative integers 2009-05-15 11:20:51 -04:00
Mike Dirolf
37d6e16fe7 test and fix for BSON w/ negative integers. raise RangeError for out of range ints 2009-05-15 11:19:13 -04:00
Mike Dirolf
a9aa5e5271 fix for pure ruby encoder when _id is a falsey value. more tests 2009-05-12 14:21:17 -04:00
Eliot Horowitz
124409ee03 change test for spider monkey 2009-05-08 17:17:58 -04:00
Mike Dirolf
981ff1a4ce BUMP 0.6.7 group, dereference 2009-04-28 16:01:27 -04:00
Mike Dirolf
cea73c2712 dereference helper method 2009-04-28 14:55:36 -04:00
Mike Dirolf
a153eae543 minor: remove To Dofrom README 2009-04-27 14:20:28 -04:00
Mike Dirolf
29cdfe64f1 add group method on collections 2009-04-27 14:19:38 -04:00
Mike Dirolf
2dffc4b504 don't set _id to default value for hash 2009-04-24 10:03:40 -04:00
Mike Dirolf
1c5bb1405f remove entire output dir, not just a single version 2009-04-23 15:39:57 -04:00
Mike Dirolf
bb6d0330c2 BUMP 0.6.6 a bunch of minor updates 2009-04-23 11:09:49 -04:00
Mike Dirolf
c5ccdfe5b8 update tests for auto create _id index 2009-04-22 15:23:46 -04:00
Mike Dirolf
02b37f6e48 decoder for data_timestamp 2009-04-22 13:49:56 -04:00