search for: file_hash

Displaying 1 result from an estimated 1 matches for "file_hash".

2006 Nov 16
1
Assigning to results - missing something
Hi, I''m trying to convert an app to use 0.2.0, and having a little trouble understanding how to use the results hash. Formerly my worker had an instance variable, @file_stats which was initialized to an empty hash; I have replaced @file_stats with results[:file_hash]. Actually my initial pass at this was just to do a s/@file_stats/results[:file_hash]/. Which gets me the following: results[:file_stats] = {} logger.debug " Generating checksum for #{path}..." results[:file_stats][path][:checksum] = Digest::MD5.hexdigest(File.r...