# File lib/nanoc/cli/commands/show-data.rb, line 99 def print_item_rep_outdatedness(items, compiler) self.print_header('Item representation outdatedness') self.sorted_reps_with_prev(items) do |rep, prev| puts if prev puts "item #{rep.item.identifier}, rep #{rep.name}:" outdatedness_reason = compiler.outdatedness_checker.outdatedness_reason_for(rep) if outdatedness_reason puts " is outdated: #{outdatedness_reason.message}" else puts " is not outdated" end end end