Commit Graph

83 Commits

Author SHA1 Message Date
Kyle Banker
6b9eef0d1f RUBY-240 minor fix for RUBY 1.8 2011-03-29 16:01:46 -04:00
Kyle Banker
002ddb06fc RUBY-240 Add StringIO methods to GridIO 2011-03-29 15:27:13 -04:00
Kyle Banker
025e56732e minor: test and doc fixes 2011-03-29 10:39:01 -04:00
Wojciech Piekutowski
d12987bf7a Always initialize @metadata and @aliases 2011-02-20 17:09:18 +01:00
Kyle Banker
0d91faf6b1 RUBY-226 minor: license update 2011-01-17 12:26:32 -05:00
Kyle Banker
8b1f20b3cb RUBY-210 GridIO#seek with GridIO#read_all 2010-12-15 15:07:30 -05:00
Kyle Banker
9a8d83ad24 Tests for GridIO#each 2010-12-01 13:30:57 -05:00
Jonathan Tron
c80cd285fa Add Mongo::GridIO#each which yield each chunks of a file, allowing Rack streaming 2010-12-01 12:55:55 -05:00
Steve Ardis
ffab7ba5a3 Fixed issue with grid.rb where 'put' was duplicating the filename attribute on the file 2010-11-11 15:18:52 -05:00
Kyle Banker
afe8fe3167 RUBY-193 don't create gridfs indexes when slave_ok 2010-10-21 13:01:32 -04:00
Kyle Banker
68cadc1987 minor: patch for JRuby 1.9 MD5 comparison bug 2010-10-14 16:35:13 -04:00
Kyle Banker
c7c309b00d RUBY-158 deprecate BSON::ObjectID for BSON::ObjectId 2010-08-24 12:49:23 -04:00
Kyle Banker
f22e81414b RUBY-141 raise exception if attempting to overwrite with Grid#put (only in safe mode) 2010-07-09 13:33:26 -04:00
Kyle Banker
924a275ea3 check command response by default; better DB#command api 2010-05-18 16:17:17 -04:00
Mike Dirolf
60ffbb2706 Check for nil response in db#command and set check_response for filemd5.
Kyle can we make check_response default to true instead of false?
2010-05-11 13:03:47 -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
7b89523315 added Grid#exist? and GridFileSystem#exist? RUBY-122 2010-05-05 11:07:52 -04:00
Kyle Banker
60f72937fd minor: removed deprecated @grid.put syntax 2010-04-28 16:21:39 -04:00
Kyle Banker
1e13187db6 minor: gridfs docs 2010-04-28 15:20:39 -04:00
Kyle Banker
56ecc470f5 minor: docs 2010-04-19 12:16:45 -04:00
Kyle Banker
3d3e983ae0 minor: docs 2010-04-07 15:58:02 -04:00
Kyle Banker
fd43eca514 unique indexes for GridFS chunks collections 2010-04-07 15:53:38 -04:00
Kyle Banker
cd32dabd52 added GridFileNotFound and GridMD5Failure exceptions 2010-04-07 14:39:05 -04:00
Kyle Banker
3133380341 allow arbitrary attirbutes in files collection 2010-04-07 13:54:49 -04:00
Kyle Banker
1e8e0c02fe removed deprecated GridStore class 2010-04-05 10:50:27 -04:00
Kyle Banker
c4d5cb641b renamed mongo_bson to bson 2010-04-05 10:39:55 -04:00
Kyle Banker
85fd06f990 options to delete old versions of GridFileSystem files 2010-03-30 13:22:22 -04:00
Kyle Banker
284c442c46 filename is now optional for Grid#put RUBY-116 2010-03-30 11:54:23 -04:00
Mike Dirolf
aa86c03bd5 test and fix for Grid#delete 2010-03-23 17:00:31 -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
38d6401d1a warn if saving zero-length file 2010-03-15 18:25:46 -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
c05503d42d minor: aliases for gridfs 2010-02-24 15:25:26 -05:00
Kyle Banker
864abe3dce gridfs docs 2010-02-24 15:24:01 -05:00
Kyle Banker
f126518566 use mime types only if we can load it 2010-02-23 18:25:28 -05:00
Kyle Banker
ff63165bdd content type detection for gridfs 2010-02-23 18:03:11 -05:00
Kyle Banker
c37ee7cd3c minor: GridFileSystem is its own class 2010-02-23 17:41:35 -05:00
Kyle Banker
e4f8a61cac GridFS docs 2010-02-23 17:40:02 -05:00
Kyle Banker
15ee9530ed deprecate GridFS::GridStore and GridFS::Chunk 2010-02-23 16:19:45 -05:00
Kyle Banker
ffd8d5f6a3 minor: docs 2010-02-23 16:04:46 -05:00
Kyle Banker
4010dbc994 minor: removed unused method 2010-02-22 18:09:56 -05:00
Kyle Banker
1d0cc7aae2 added safe more for gridfs 2010-02-22 18:06:59 -05:00
Kyle Banker
89fe06250e re-require shoulda; gridfs decoupling 2010-02-22 15:49:04 -05:00
Kyle Banker
5dd2636634 minor: copyright update 2010-02-19 17:41:36 -05:00
Kyle Banker
43452da5c6 minor: docs 2010-02-19 17:05:52 -05:00
Kyle Banker
6a09b141fd streaming for new gridfs api 2010-02-19 16:20:46 -05:00
Kyle Banker
16ea148ab1 More experimental GridFS improvements 2010-02-18 16:31:25 -05:00