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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
- metadata.gz: 9011e2b94dae6364b5af80b30e652d960a89132f
4
- data.tar.gz: 86957882e9a04e2b1318b54bf7f0739244930767
3
+ metadata.gz: 90e9e52682dae635efe8277e84f6b56091e789b0
4
+ data.tar.gz: 5134b1a1fb7744cd9346e47136171b9a57248653
5
5
  SHA512:
6
- metadata.gz: bc0867cb3c43d4760c8f79b9232e232113f73ff3b85c7f19159c447326f56515e321d530540f51a6362db82cb1778c4009a8e89f84f2d6142f587c8f8df30587
7
- data.tar.gz: 16adfdda7b0c62c0888e0b39d00f4210c74510f86dc09bce3ff6329f5f6fa238a248dae46ddfae853bd2d79e7f18b759a08d089b5fa8c95d449796a0acbecbfb
6
+ metadata.gz: c982c52a35c9b684657dfbc642fa632bd4a6fa47b92f3e14ba0af8c5262c315ba7948669ade1caae6497745d96929741b98ae9139c1b45cacfeecd9c65aa3588
7
+ data.tar.gz: 49eb46adf59664450f0c64976ed1f937a3e11ce58b0f324b904aaa19f32c6c95282b3e7264c769eb31c9c35209e2bdcaed40171cdc3dbdc624078610c1625217
@@ -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]
@@ -1,3 +1,3 @@
1
1
  module RequestId
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2014-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler