plugins/model/unmanaged_files_model.rb in machinery-tool-1.1.0 vs plugins/model/unmanaged_files_model.rb in machinery-tool-1.1.1
- old
+ new
@@ -52,6 +52,15 @@
end
class UnmanagedFilesScope < FileScope
include Machinery::ScopeMixin
has_property :files, class: UnmanagedFileList
+
+ def compare_with(other)
+ if extracted != other.extracted
+ Machinery::Ui.warn("Warning: Comparing extracted with unextracted" \
+ " unmanaged files. Only common attributes are considered.")
+ end
+
+ super
+ end
end