request_id 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/request_id.rb +1 -1
- data/lib/request_id/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90e9e52682dae635efe8277e84f6b56091e789b0
|
4
|
+
data.tar.gz: 5134b1a1fb7744cd9346e47136171b9a57248653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c982c52a35c9b684657dfbc642fa632bd4a6fa47b92f3e14ba0af8c5262c315ba7948669ade1caae6497745d96929741b98ae9139c1b45cacfeecd9c65aa3588
|
7
|
+
data.tar.gz: 49eb46adf59664450f0c64976ed1f937a3e11ce58b0f324b904aaa19f32c6c95282b3e7264c769eb31c9c35209e2bdcaed40171cdc3dbdc624078610c1625217
|
data/lib/rack/request_id.rb
CHANGED
@@ -30,7 +30,7 @@ module Rack
|
|
30
30
|
status, headers, body = @app.call(env)
|
31
31
|
|
32
32
|
if @options[:response_header]
|
33
|
-
headers[@options[:response_header]] ||= ::RequestId.get(@options[:key])
|
33
|
+
headers[@options[:response_header]] ||= ::RequestId.get(@options[:key]).to_s
|
34
34
|
end
|
35
35
|
|
36
36
|
[status, headers, body]
|
data/lib/request_id/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: request_id
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric J. Holmes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|