request-log-analyzer 1.12.1 → 1.12.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/request_log_analyzer.rb +0 -3
- data/request-log-analyzer.gemspec +2 -2
- metadata +64 -70
data/lib/request_log_analyzer.rb
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
require 'date'
|
2
2
|
|
3
|
-
# Satisfy ruby 1.9 sensitivity about encoding.
|
4
|
-
Encoding.default_external = 'binary' if defined? Encoding and Encoding.respond_to? 'default_external='
|
5
|
-
|
6
3
|
# RequestLogAnalyzer is the base namespace in which all functionality of RequestLogAnalyzer is implemented.
|
7
4
|
# This module itselfs contains some functions to help with class and source file loading. The actual
|
8
5
|
# application startup code resides in the {RequestLogAnalyzer::Controller} class.
|
@@ -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.12.
|
6
|
-
s.date = "2012-02-
|
5
|
+
s.version = "1.12.2"
|
6
|
+
s.date = "2012-02-29"
|
7
7
|
|
8
8
|
s.rubyforge_project = 'r-l-a'
|
9
9
|
|
metadata
CHANGED
@@ -1,80 +1,74 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: request-log-analyzer
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.1
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 1.12.2
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Willem van Bergen
|
9
9
|
- Bart ten Brinke
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
-
|
13
|
+
|
14
|
+
date: 2012-02-29 00:00:00 +01:00
|
15
|
+
default_executable: request-log-analyzer
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
16
18
|
name: rake
|
17
|
-
|
19
|
+
prerelease: false
|
20
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
21
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: "0"
|
23
26
|
type: :development
|
24
|
-
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
+
version_requirements: *id001
|
28
|
+
- !ruby/object:Gem::Dependency
|
27
29
|
name: rspec
|
28
|
-
|
30
|
+
prerelease: false
|
31
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
32
|
none: false
|
30
|
-
requirements:
|
33
|
+
requirements:
|
31
34
|
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version:
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: "2.0"
|
34
37
|
type: :development
|
35
|
-
|
36
|
-
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
+
version_requirements: *id002
|
39
|
+
- !ruby/object:Gem::Dependency
|
38
40
|
name: activerecord
|
39
|
-
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
43
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version:
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: "0"
|
45
48
|
type: :development
|
46
|
-
|
47
|
-
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
+
version_requirements: *id003
|
50
|
+
- !ruby/object:Gem::Dependency
|
49
51
|
name: sqlite3
|
50
|
-
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
51
54
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: "0"
|
56
59
|
type: :development
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
is being used, how it performs and to\n focus your optimization efforts. This
|
61
|
-
tool will parse all requests in the application's log file and aggregate the \n
|
62
|
-
\ information. Once it is finished parsing the log file(s), it will show the requests
|
63
|
-
that take op most server time \n using various metrics. It can also insert all
|
64
|
-
parsed request information into a database so you can roll your own\n analysis.
|
65
|
-
It supports Rails-, Merb- and Rack-based applications logs, Apache and Amazon S3
|
66
|
-
access logs and MySQL \n slow query logs out of the box, but file formats of
|
67
|
-
other applications can easily be supported by supplying an \n easy to write log
|
68
|
-
file format definition.\n"
|
69
|
-
email:
|
60
|
+
version_requirements: *id004
|
61
|
+
description: " Request log analyzer's purpose is to find out how your web application is being used, how it performs and to\n focus your optimization efforts. This tool will parse all requests in the application's log file and aggregate the \n information. Once it is finished parsing the log file(s), it will show the requests that take op most server time \n using various metrics. It can also insert all parsed request information into a database so you can roll your own\n analysis. It supports Rails-, Merb- and Rack-based applications logs, Apache and Amazon S3 access logs and MySQL \n slow query logs out of the box, but file formats of other applications can easily be supported by supplying an \n easy to write log file format definition.\n"
|
62
|
+
email:
|
70
63
|
- willem@railsdoctors.com
|
71
64
|
- bart@railsdoctors.com
|
72
|
-
executables:
|
65
|
+
executables:
|
73
66
|
- request-log-analyzer
|
74
67
|
extensions: []
|
75
|
-
|
68
|
+
|
69
|
+
extra_rdoc_files:
|
76
70
|
- README.rdoc
|
77
|
-
files:
|
71
|
+
files:
|
78
72
|
- .gitignore
|
79
73
|
- .infinity_test
|
80
74
|
- .travis.yml
|
@@ -217,40 +211,40 @@ files:
|
|
217
211
|
- spec/unit/tracker/traffic_tracker_spec.rb
|
218
212
|
- tasks/github-gem.rake
|
219
213
|
- tasks/request_log_analyzer.rake
|
214
|
+
has_rdoc: true
|
220
215
|
homepage: http://railsdoctors.com
|
221
216
|
licenses: []
|
217
|
+
|
222
218
|
post_install_message:
|
223
|
-
rdoc_options:
|
219
|
+
rdoc_options:
|
224
220
|
- --title
|
225
221
|
- request-log-analyzer
|
226
222
|
- --main
|
227
223
|
- README.rdoc
|
228
224
|
- --line-numbers
|
229
225
|
- --inline-source
|
230
|
-
require_paths:
|
226
|
+
require_paths:
|
231
227
|
- lib
|
232
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
228
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
233
229
|
none: false
|
234
|
-
requirements:
|
235
|
-
- -
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version:
|
238
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
|
+
requirements:
|
231
|
+
- - ">="
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: "0"
|
234
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
235
|
none: false
|
240
|
-
requirements:
|
241
|
-
- -
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version:
|
244
|
-
requirements:
|
245
|
-
- To use the database inserter, ActiveRecord and an appropriate database adapter are
|
246
|
-
required.
|
236
|
+
requirements:
|
237
|
+
- - ">="
|
238
|
+
- !ruby/object:Gem::Version
|
239
|
+
version: "0"
|
240
|
+
requirements:
|
241
|
+
- To use the database inserter, ActiveRecord and an appropriate database adapter are required.
|
247
242
|
rubyforge_project: r-l-a
|
248
|
-
rubygems_version: 1.
|
243
|
+
rubygems_version: 1.6.2
|
249
244
|
signing_key:
|
250
245
|
specification_version: 3
|
251
|
-
summary: A command line tool to analyze request logs for Apache, Rails, Merb, MySQL
|
252
|
-
|
253
|
-
test_files:
|
246
|
+
summary: A command line tool to analyze request logs for Apache, Rails, Merb, MySQL and other web application servers
|
247
|
+
test_files:
|
254
248
|
- spec/integration/command_line_usage_spec.rb
|
255
249
|
- spec/integration/mailer_spec.rb
|
256
250
|
- spec/integration/munin_plugins_rails_spec.rb
|