wvanbergen-request-log-analyzer 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/TODO +0 -1
- data/bin/request-log-analyzer +28 -28
- data/bin/request-log-database +81 -0
- data/lib/base/log_parser.rb +78 -0
- data/lib/base/record_inserter.rb +139 -0
- data/lib/command_line/arguments.rb +2 -15
- data/lib/command_line/flag.rb +0 -12
- data/lib/merb_analyzer/log_parser.rb +26 -0
- data/lib/rails_analyzer/log_parser.rb +35 -0
- data/lib/rails_analyzer/record_inserter.rb +39 -0
- data/lib/request_log_analyzer.rb +161 -5
- data/tasks/test.rake +8 -0
- data/test/log_fragments/fragment_1.log +59 -0
- data/test/log_fragments/fragment_2.log +5 -0
- data/test/log_fragments/fragment_3.log +12 -0
- data/test/log_fragments/fragment_4.log +10 -0
- data/test/log_fragments/fragment_5.log +24 -0
- data/test/log_fragments/merb_1.log +84 -0
- data/test/merb_log_parser_test.rb +39 -0
- data/test/rails_log_parser_test.rb +99 -0
- data/test/record_inserter_test.rb +45 -0
- metadata +23 -16
- data/lib/request_log_analyzer/aggregator/base.rb +0 -34
- data/lib/request_log_analyzer/aggregator/database.rb +0 -86
- data/lib/request_log_analyzer/aggregator/echo.rb +0 -10
- data/lib/request_log_analyzer/aggregator/summarizer.rb +0 -53
- data/lib/request_log_analyzer/controller.rb +0 -90
- data/lib/request_log_analyzer/file_format.rb +0 -91
- data/lib/request_log_analyzer/file_format/merb.rb +0 -30
- data/lib/request_log_analyzer/file_format/rails.rb +0 -84
- data/lib/request_log_analyzer/log_parser.rb +0 -122
- data/lib/request_log_analyzer/request.rb +0 -72
- data/tasks/rspec.rake +0 -6