oboe 1.4.2 → 1.4.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,9 +11,11 @@ module Oboe
11
11
 
12
12
  def call(env)
13
13
  report_kvs = {}
14
- xtrace = env['HTTP_X_TRACE']
14
+ xtrace = nil
15
15
 
16
16
  begin
17
+ xtrace = env['HTTP_X_TRACE'] if env.is_a?(Hash)
18
+
17
19
  req = ::Rack::Request.new(env)
18
20
  report_kvs[:SampleRate] = Oboe::Config[:sample_rate]
19
21
  report_kvs['HTTP-Host'] = req.host
@@ -3,7 +3,7 @@ module Oboe
3
3
  MAJOR = 1
4
4
  MINOR = 4
5
5
  PATCH = 2
6
- BUILD = nil
6
+ BUILD = 2
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oboe
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 115
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
9
  - 2
10
- version: 1.4.2
10
+ - 2
11
+ version: 1.4.2.2
11
12
  platform: ruby
12
13
  authors:
13
14
  - Tracelytics, Inc.
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2013-04-30 00:00:00 Z
19
+ date: 2013-05-16 00:00:00 Z
19
20
  dependencies: []
20
21
 
21
22
  description: The oboe gem provides AppNeta instrumentation for Ruby and Ruby frameworks.