From 6be9581d36db7e06e2fc5e3bf025368ef7f0f5b3 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 12 Apr 2012 19:23:31 -0400 Subject: [PATCH] config changes --- lib/flowerbox/configuration.rb | 2 +- lib/flowerbox/reporter/progress.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/flowerbox/configuration.rb b/lib/flowerbox/configuration.rb index 52c7410..78e8b02 100644 --- a/lib/flowerbox/configuration.rb +++ b/lib/flowerbox/configuration.rb @@ -58,7 +58,7 @@ module Flowerbox end if reporters.empty? - reporters << Flowerbox::Reporter.for(:progress) + reporters << :progress end end end diff --git a/lib/flowerbox/reporter/progress.rb b/lib/flowerbox/reporter/progress.rb index fcb93c8..a2c89bd 100644 --- a/lib/flowerbox/reporter/progress.rb +++ b/lib/flowerbox/reporter/progress.rb @@ -1,3 +1,5 @@ +require 'flowerbox/reporter/console_base' + module Flowerbox::Reporter class Progress < ConsoleBase def report_progress(result)