request-log-analyzer 1.4.0.1 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/request_log_analyzer.rb
CHANGED
@@ -11,7 +11,7 @@ module RequestLogAnalyzer
|
|
11
11
|
|
12
12
|
# The current version of request-log-analyzer.
|
13
13
|
# Do not change the value by hand; it will be updated automatically by the gem release script.
|
14
|
-
VERSION = "1.4.
|
14
|
+
VERSION = "1.4.1"
|
15
15
|
|
16
16
|
# Loads constants in the RequestLogAnalyzer namespace using self.load_default_class_file(base, const)
|
17
17
|
# <tt>const</tt>:: The constant that is not yet loaded in the RequestLogAnalyzer namespace. This should be passed as a string or symbol.
|
@@ -31,6 +31,7 @@ module RequestLogAnalyzer
|
|
31
31
|
options[:reset_database] = arguments[:reset_database]
|
32
32
|
options[:debug] = arguments[:debug]
|
33
33
|
options[:yaml] = arguments[:dump]
|
34
|
+
options[:mail] = arguments[:mail]
|
34
35
|
options[:parse_strategy] = arguments[:parse_strategy]
|
35
36
|
options[:no_progress] = arguments[:no_progress]
|
36
37
|
options[:format] = arguments[:format]
|
@@ -130,7 +131,7 @@ module RequestLogAnalyzer
|
|
130
131
|
output_object = %w[File StringIO].include?(options[:file].class.name) ? options[:file] : File.new(options[:file], "w+")
|
131
132
|
output_args = {:width => 80, :color => false, :characters => :ascii, :sort => output_sort, :amount => output_amount }
|
132
133
|
elsif options[:mail]
|
133
|
-
output_object = RequestLogAnalyzer::Mailer.new(
|
134
|
+
output_object = RequestLogAnalyzer::Mailer.new(options[:mail])
|
134
135
|
output_args = {:width => 80, :color => false, :characters => :ascii, :sort => output_sort, :amount => output_amount }
|
135
136
|
else
|
136
137
|
output_object = STDOUT
|
@@ -2,8 +2,8 @@ Gem::Specification.new do |s|
|
|
2
2
|
s.name = "request-log-analyzer"
|
3
3
|
|
4
4
|
# Do not set the version and date field manually, this is done by the release script
|
5
|
-
s.version = "1.4.
|
6
|
-
s.date = "2009-10-
|
5
|
+
s.version = "1.4.1"
|
6
|
+
s.date = "2009-10-07"
|
7
7
|
|
8
8
|
s.rubyforge_project = 'r-l-a'
|
9
9
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: request-log-analyzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willem van Bergen
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-10-
|
13
|
+
date: 2009-10-07 00:00:00 +02:00
|
14
14
|
default_executable: request-log-analyzer
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|