Commit Graph

102 Commits

Author SHA1 Message Date
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
Kyle Banker 5d1d110280 fixed bug on safe remove; style fixes 2010-02-17 16:48:23 -05:00
Kyle Banker 32606db5e9 minor: test fix 2010-02-12 18:41:34 -05:00
Kyle Banker f158aa13af Initial GridFS refactoring 2010-02-12 18:03:07 -05:00
Kyle Banker 7863b37f07 minor: fix for default root collection on gridfs 2010-02-08 17:04:35 -05:00
Kyle Banker aad2f5508c class accessors for default root collection RUBY-93 2010-02-08 13:04:28 -05:00
Kyle Banker 98af49f465 added core doc references 2010-02-08 12:12:18 -05:00
Kyle Banker 297e5f81c4 minor: GridFS fix for 1.9 2010-01-25 13:31:52 -05:00
Kyle Banker d1d1f68c2f minor: doc fixes 2010-01-19 11:30:43 -05:00
Kyle Banker c12a40ad3e minor: gridfs docs 2010-01-19 11:14:07 -05:00
Kyle Banker 16fbbe8e4e minor: yard for GridFS 2010-01-19 11:14:07 -05:00
Matt Powell 3b30cde0fb GridStore#mv 2010-01-19 11:14:07 -05:00
Kyle Banker 5864e4c776 yard doc updates; deprecated legacy objectid byte encoding support 2010-01-13 13:11:09 -05:00
Kyle Banker 4024a5b333 minor: doc updates. added ydoc rake task 2010-01-07 18:35:18 -05:00
Kyle Banker f8a6d1ebb9 minor: docs, whitespace, naming 2009-12-16 14:16:49 -05:00
Kyle Banker 2fb5c92b60 minor: cleanup 2009-12-15 16:40:40 -05:00
Kyle Banker ce1d93096c GridStore performance improvements (Sunny Hirai) 2009-12-15 14:13:04 -05:00
Kyle Banker 1cbb5d01ef minor: added grid store length accessor 2009-12-11 10:02:38 -05:00
Kyle Banker 05b5fc576b Cleanup w/r/t loading c ext and testing it 2009-12-01 13:49:57 -05:00
Kyle Banker 11a92349e9 Merged branch for initial connection pooling code 2009-11-23 15:20:05 -05:00
Mike Dirolf e65dd99667 API CHANGE: moving XGen::Mongo::Driver and XGen::Mongo to Mongo and XGen::Mongo::GridFS to GridFS 2009-08-20 10:50:48 -04:00
Mike Dirolf 73d7b5ea5d GridStore.list to list gridfs files 2009-07-15 10:06:45 -04:00
Mike Dirolf 9b9f14ce2e overhaul create_index - don't allow clients to specify their own name, allow descending indexes 2009-02-26 12:06:03 -05:00
Mike Dirolf acfd505061 use fs as root collection, not gridfs 2009-02-18 17:50:07 -05:00
Mike Dirolf 16c8170498 md5 for ruby gridfs too 2009-02-18 14:12:04 -05:00
Geir Magnusson Jr 232a7f7169 Clarify license to be the Apache License v2.0. Was a
mix and the readme still reflected AGPL
2009-02-15 08:24:14 -05:00
Jim Menard 46317fcb6e Explicitly call self.getc/self.putc. 2009-02-10 11:41:36 -05:00
Jim Menard d40c31bb00 comments 2009-02-07 14:36:08 -05:00
Jim Menard bd602ba369 More seek tests. Fixed seek. Bumped patch version number. 2009-02-02 16:45:36 -05:00
Jim Menard 9b7b45f27c removed unnecessary condition 2009-01-30 17:08:49 -05:00
Jim Menard af2b8b61d0 New GridFS Version 1.0 storage format. 2009-01-30 16:44:29 -05:00
Jim Menard b0612054f9 New option ctor arg takes :content_type and :chunk_size 2009-01-30 14:54:58 -05:00
Jim Menard 8e026ebb11 documentation 2009-01-29 11:31:45 -05:00
Jim Menard 0ef78c46c4 GridStore (GridFS) implementation. 2009-01-29 11:23:50 -05:00