Daniël van de Burgt
|
6e66b11f6e
|
fix: reading chunks from an empty (zero-length) grid-stored file
reading chunks from an empty file caused an endless loop
|
2011-05-10 22:58:50 -05:00 |
|
Kyle Banker
|
74faed3f38
|
Merge pull request #41 from rmm5t/refactor_gets
Fix and refactoring for GridIO#gets.
|
2011-05-09 08:12:40 -07:00 |
|
Ryan McGeary
|
7f384ebd51
|
Refactored two code paths of GridIO#gets into well-named methods
|
2011-05-03 11:54:18 -04:00 |
|
Ryan McGeary
|
c672168236
|
Fixed GridIO#gets to handle the end of a file
Neither a multi-character nor single-character separator search returned nil
after hitting the EOF.
|
2011-05-03 11:36:33 -04:00 |
|
Steve Randy Tantra
|
3a3a31a3dc
|
get_md5 should return @server_md5 when putting file in safe mode.
|
2011-05-02 01:55:54 +08:00 |
|
Kyle Banker
|
8887402ca8
|
Don't modify hash arguments.
|
2011-04-26 07:48:17 -04:00 |
|
Kyle Banker
|
9cc6bad613
|
Simplify GridIO#read_all
|
2011-04-26 07:48:16 -04:00 |
|
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 |
|
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
|
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
|
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
|
38d6401d1a
|
warn if saving zero-length file
|
2010-03-15 18:25:46 -04: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
|
e4f8a61cac
|
GridFS docs
|
2010-02-23 17:40:02 -05:00 |
|
Kyle Banker
|
ffd8d5f6a3
|
minor: docs
|
2010-02-23 16:04:46 -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 |
|