lib/sitefuel/processors/AbstractProcessor.rb in sitefuel-0.1.0a vs lib/sitefuel/processors/AbstractProcessor.rb in sitefuel-0.1.0b
- old
+ new
@@ -82,10 +82,12 @@
# setup an AbstractProcessor
def initialize
self.logger = SiteFuelLogger.instance
@execution_list = []
@filters = []
+
+ @resource_name = nil
end
# gives a list of processors that implement AbstractProcessor
def self.find_processors
@@ -315,10 +317,10 @@
# runs all filters in the execution list
def execute
setup_filters
@execution_list.uniq.each do |filter|
- info " Running filter: #{filter}"
+ info "\t\tRunning filter: #{filter}"
run_filter(filter)
end
finish_filters
rescue => exception
error 'from %s:%s: %s' % [self.class, resource_name, exception]