Commit Graph

23 Commits

Author SHA1 Message Date
VvanGemert 417000da7b Added back support for :delete_old option and wrote tests for :versions option on GridFilesystem. 2012-01-10 17:37:25 +01:00
VvanGemert c70b1d1b30 Added support for keeping a limited amount of documents in GridFS and removed the delete_old option.
The delete_old removed all the old files while having a versioning system you might want to keep a limited set of files. This small little patch does that. You can specify a number of versions to keep by using the new versions option.
2012-01-05 16:27:05 +01:00
Kyle Banker 93f228aaf1 RUBY-351 Build GridFS indexes when a primary is present. 2011-11-15 15:44:31 -05:00
Kyle Banker 8887402ca8 Don't modify hash arguments. 2011-04-26 07:48:17 -04:00
Kyle Banker 0d91faf6b1 RUBY-226 minor: license update 2011-01-17 12:26:32 -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 c7c309b00d RUBY-158 deprecate BSON::ObjectID for BSON::ObjectId 2010-08-24 12:49:23 -04:00
Kyle Banker 97ee66be02 minor: source file encoding with magic comment 2010-05-07 15:33:27 -04:00
Kyle Banker 7b89523315 added Grid#exist? and GridFileSystem#exist? RUBY-122 2010-05-05 11:07:52 -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 85fd06f990 options to delete old versions of GridFileSystem files 2010-03-30 13:22:22 -04:00
Kyle Banker 85076b2684 minor: docs 2010-03-01 10:39:50 -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 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 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