utopia 0.9.25 → 0.9.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module Utopia
21
21
 
22
22
  class Logger
23
23
  ACCESS_LOG = "access_log"
24
- HEADER = [:ip, :agent, :method, :url, :status, :location, :length]
24
+ HEADER = [:ip, :agent, :method, :url, :status, :location, :referer, :length]
25
25
 
26
26
  def write_log(env, response)
27
27
  request = Rack::Request.new(env)
@@ -30,6 +30,7 @@ module Utopia
30
30
  :ip => request.ip,
31
31
  :host => request.host,
32
32
  :url => request.url,
33
+ :referer => request.referer,
33
34
  :agent => env['HTTP_USER_AGENT'],
34
35
  :status => response[0],
35
36
  :method => request.request_method,
@@ -17,7 +17,7 @@ module Utopia
17
17
  module VERSION #:nodoc:
18
18
  MAJOR = 0
19
19
  MINOR = 9
20
- TINY = 25
20
+ TINY = 26
21
21
 
22
22
  STRING = [MAJOR, MINOR, TINY].join('.')
23
23
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 25
9
- version: 0.9.25
8
+ - 26
9
+ version: 0.9.26
10
10
  platform: ruby
11
11
  authors:
12
12
  - Samuel Williams