Commit Graph

690 Commits

Author SHA1 Message Date
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
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