lib/consyncful/persisted_item.rb in consyncful-0.6.2 vs lib/consyncful/persisted_item.rb in consyncful-0.7.0

- old
+ new

@@ -13,10 +13,11 @@ @stats = stats end def persist puts Rainbow("syncing: #{@item.id}").yellow - if @item.deletion? + + if @item.deletion? || @item.excluded_by_tag? delete_model(@item.id, @stats) else create_or_update_model(@item, @sync_id, @stats) end end