rack-instruments 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rack/instruments.rb +5 -6
  2. metadata +2 -2
@@ -38,12 +38,11 @@ module Rack
38
38
  end
39
39
 
40
40
  data = {
41
- method: env["REQUEST_METHOD"],
42
- path: env["REQUEST_PATH"],
43
- id: request_ids.join(","),
44
- ip: env["X-FORWARDED-FOR"] || env["HTTP_X_FORWARDED_FOR"] ||
45
- env["REMOTE_ADDR"],
46
- status: lambda { status },
41
+ method: env["REQUEST_METHOD"],
42
+ path: env["REQUEST_PATH"],
43
+ ip: env["HTTP_X_FORWARDED_FOR"] || env["REMOTE_ADDR"],
44
+ request_id: request_ids.join(","),
45
+ status: lambda { status },
47
46
  }
48
47
  data.merge!(@context) if @context
49
48
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-instruments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-01 00:00:00.000000000 Z
12
+ date: 2013-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: slides