Skip to content
Browse files

Rename expected application.rb processor to application_processor.rb

  • Loading branch information...
1 parent 1dd0f8a commit b80ddfd3094958dcd5f7febc8c8a3b992eb7d0c6 @gnufied committed Apr 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/activemessaging.rb
View
4 lib/activemessaging.rb
@@ -61,9 +61,9 @@ def self.load_config
def self.load_processors(first=true)
#Load the parent processor.rb, then all child processor classes
logger.debug "ActiveMessaging: Loading #{APP_ROOT + '/app/processors/application.rb'}" if first
- load "#{APP_ROOT}/app/processors/application.rb" if File.exist?("#{APP_ROOT}/app/processors/application.rb")
+ load "#{APP_ROOT}/app/processors/application_processor.rb" if File.exist?("#{APP_ROOT}/app/processors/application_processor.rb")
Dir["#{APP_ROOT}/app/processors/*.rb"].each do |f|
- unless f.match(/\/application.rb/)
+ unless f.match(/\/application_processor.rb/)
logger.debug "ActiveMessaging: Loading #{f}" if first
load f
end

0 comments on commit b80ddfd

Please sign in to comment.
Something went wrong with that request. Please try again.