summaryrefslogtreecommitdiffstats
path: root/spec/unit/other/checksum.rb
Commit message (Collapse)AuthorAgeFilesLines
* Feature #3347 REST-ified FileBucketJesse Wolfe2010-02-171-92/+0
| | | | | | | | | | | | | | | | FileBucket Files have been reimplemented as an indirector terminus so that they can be transmitted over REST. The old Network::Client.dipper has been replaced with a compatibility later in FileBucket::Dipper that uses the indirector to access filebucket termini. Slightly revised patch: * No longer allows nil contents in FileBucket outside of initialization * Uses File.exist? instead of the deprecated File.exists? * Tweaks JSON serialization and de-serialization to include "path" Deferred issues: * Feature #3371 "FileBucket should not keep files in memory". * Feature #3372 "Replace FileBucket Dipper with more idiomatic calls"
* Adding my first integration test, verifying thatLuke Kanies2007-09-231-13/+45
| | | | | | | | | | | checksum interaction behaves as I expect when interacting with the file terminus. I've also changed how files and checksums behave a bit. Files now create model instances with the content as the only argument during initialization, and checksums now calculate their checksums rather than having them passed in.
* Adding the first version of checksum support, which willLuke Kanies2007-09-221-0/+60
acquire the behaviour of FileBuckets.