oboe-heroku 0.8.0.19 → 0.8.0.27.beta1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/heroku_metal.rb +1 -1
- data/lib/oboe-heroku/version.rb +1 -1
- data/lib/oboe-heroku.rb +12 -8
- metadata +5 -5
data/lib/heroku_metal.rb
CHANGED
@@ -48,7 +48,7 @@ module Oboe_metal
|
|
48
48
|
# The Oboe Reporter is configured via Heroku config variables.
|
49
49
|
Oboe.reporter = Oboe::Reporter.new(nil, nil)
|
50
50
|
|
51
|
-
Oboe::API.report_init('
|
51
|
+
Oboe::API.report_init('rack') unless ["development", "test"].include? ENV['RACK_ENV']
|
52
52
|
|
53
53
|
rescue Exception => e
|
54
54
|
$stderr.puts e.message
|
data/lib/oboe-heroku/version.rb
CHANGED
data/lib/oboe-heroku.rb
CHANGED
@@ -2,16 +2,20 @@
|
|
2
2
|
# All rights reserved.
|
3
3
|
|
4
4
|
begin
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
if ENV.has_key?('TRACEVIEW_URL')
|
6
|
+
require 'oboe_metal.so'
|
7
|
+
require 'heroku_metal'
|
8
|
+
require 'oboe-heroku/loading'
|
9
|
+
require 'oboe-heroku/version'
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
::OboeHeroku::Loading.initialize
|
11
|
+
# Require the core oboe gem
|
12
|
+
require 'oboe'
|
14
13
|
|
14
|
+
::OboeHeroku::Loading.initialize
|
15
|
+
else
|
16
|
+
$stderr.puts "The TraceView addon is not part of this application. You can either run "
|
17
|
+
$stderr.puts "'heroku addons:add traceview' or remove the oboe-heroku gem from your bundle."
|
18
|
+
end
|
15
19
|
rescue LoadError
|
16
20
|
if ENV.has_key?('TRACEVIEW_DEBUG_LEVEL') and (ENV['TRACEVIEW_DEBUG_LEVEL'].to_i > 1)
|
17
21
|
$stderr.puts "[oboe-heroku/error] Could not load oboe-heroku dependencies."
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oboe-heroku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.8.0.27.beta1
|
5
|
+
prerelease: 9
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Peter Giacomo Lombardo
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-10-
|
13
|
+
date: 2013-10-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: oboe
|
@@ -119,9 +119,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
120
|
none: false
|
121
121
|
requirements:
|
122
|
-
- - ! '
|
122
|
+
- - ! '>'
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 1.3.1
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
127
|
rubygems_version: 1.8.24
|