From 97edcc3a0597ead4388a4cb113ace8ba8d2ac529 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Mon, 4 May 2015 16:28:35 -0700 Subject: [PATCH] #31 show ID in log --- lib/pdd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pdd.rb b/lib/pdd.rb index 436bfec..fe3292d 100644 --- a/lib/pdd.rb +++ b/lib/pdd.rb @@ -95,7 +95,7 @@ def xml xml.puzzles(attrs) do sources.fetch.each do |source| source.puzzles.each do |puzzle| - PDD.log.info "puzzle #{puzzle.props[:ticket]}:" \ + PDD.log.info "puzzle #{puzzle.props[:id]} " \ "#{puzzle.props[:estimate]}/#{puzzle.props[:role]}" \ " at #{puzzle.props[:file]}" render puzzle, xml