lib/filbunke/client.rb in filbunke-1.1.5 vs lib/filbunke/client.rb in filbunke-1.1.6

- old
+ new

@@ -77,10 +77,10 @@ end private def file_needs_update?(file, local_file_path) - return true if file.hash.nil || file.hash == "" + return true if file.hash.nil? || file.hash == "" return true unless File.exists?(local_file_path) local_hash = Digest::MD5.hexdigest(File.read(local_file_path)) local_hash != file.hash