lib/coverband/adapters/file_store.rb in coverband-4.2.0.beta vs lib/coverband/adapters/file_store.rb in coverband-4.2.0.rc1
- old
+ new
@@ -18,9 +18,17 @@
def clear!
File.delete(path) if File.exist?(path)
end
+ def size
+ File.size?(path).to_i
+ end
+
+ def migrate!
+ raise NotImplementedError, "FileStore doesn't support migrations"
+ end
+
private
attr_accessor :path
def save_coverage(report)