rack-request_logger 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,14 +71,14 @@ module Rack
71
71
  :response_time => Time.now
72
72
  }
73
73
 
74
- add_log_params(env, status, response_headers, response_body, params)
75
-
76
74
  remote_host = remote_host(env)
77
75
  params[:remote_host] = remote_host if remote_host
78
76
 
79
77
  error ||= app_error(env)
80
78
  params[:error] = format_error(error) if error
81
79
 
80
+ add_log_params(env, status, response_headers, response_body, params)
81
+
82
82
  log_handler.write params
83
83
  rescue => e
84
84
  begin
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class RequestLogger
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mike Marion
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-08-25 00:00:00 -05:00
17
+ date: 2011-08-30 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency