lib/universe_compiler/universe/entities.rb in universe_compiler-0.5.4 vs lib/universe_compiler/universe/entities.rb in universe_compiler-0.5.5
- old
+ new
@@ -53,10 +53,9 @@
end
end
end
# Then delete the entity
entities.delete entity
- entity.universe = nil if entity.respond_to? :'universe='
reindex_all entities
unless impacted_entities.empty?
UniverseCompiler.logger.warn "Impacts of '#{entity.as_path}' deletion:"
impacted_entities.each do |k, v|
UniverseCompiler.logger.warn " - '#{k.as_path}' fields : #{v.join ', '}"