lib/daybreak/db.rb in daybreak-0.0.2 vs lib/daybreak/db.rb in daybreak-0.0.3
- old
+ new
@@ -143,17 +143,17 @@
end
copy_db.close!
# Empty this database
empty!
+ close!
# Move the copy into place
tmp_file.close
FileUtils.mv tmp_file.path, @file_name
tmp_file.unlink
# Reset this database
- close!
reset!
read!
end
# Read all values from the log file. If you want to check for changed data