lib/request_log_analyzer/source.rb in request-log-analyzer-1.10.1 vs lib/request_log_analyzer/source.rb in request-log-analyzer-1.11.0
- old
+ new
@@ -6,13 +6,10 @@
#
# - The base class for all sources is RequestLogAnalyzer::Source::Base. All source classes should inherit from this class.
# - Currently, RequestLogAnalyzer::Source::LogParser is the only implemented source.
module RequestLogAnalyzer::Source
- autoload :LogParser, 'request_log_analyzer/source/log_parser'
- autoload :DatabaseLoader, 'request_log_analyzer/source/database_loader'
-
# The base Source class. All other sources should inherit from this class.
#
# A source implememtation should at least implement the each_request method, which should yield
# RequestLogAnalyzer::Request instances that will be fed through the pipleine.
class Base
@@ -63,6 +60,8 @@
# wrap up, free resources, etc. can be put in this method.
def finalize
end
end
-end
\ No newline at end of file
+end
+
+require 'request_log_analyzer/source/log_parser'