oboe-heroku 0.8.0.16 → 0.8.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/heroku_metal.rb +18 -10
- data/lib/oboe-heroku/version.rb +1 -1
- data/oboe-heroku.gemspec +1 -1
- metadata +4 -4
data/lib/heroku_metal.rb
CHANGED
@@ -38,6 +38,24 @@ module Oboe_metal
|
|
38
38
|
end
|
39
39
|
|
40
40
|
class Reporter
|
41
|
+
##
|
42
|
+
# Initialize the Oboe Context, reporter and report the initialization
|
43
|
+
#
|
44
|
+
def self.start
|
45
|
+
begin
|
46
|
+
Oboe_metal::Context.init()
|
47
|
+
|
48
|
+
# The Oboe Reporter is configured via Heroku config variables.
|
49
|
+
Oboe.reporter = Oboe::Reporter.new(nil, nil)
|
50
|
+
|
51
|
+
Oboe::API.report_init('ruby') unless ["development", "test"].include? ENV['RACK_ENV']
|
52
|
+
|
53
|
+
rescue Exception => e
|
54
|
+
$stderr.puts e.message
|
55
|
+
raise
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
41
59
|
def self.sendReport(evt)
|
42
60
|
Oboe.reporter.sendReport(evt)
|
43
61
|
end
|
@@ -91,13 +109,3 @@ module Oboe
|
|
91
109
|
end
|
92
110
|
end
|
93
111
|
|
94
|
-
begin
|
95
|
-
Oboe_metal::Context.init()
|
96
|
-
|
97
|
-
# The Oboe Reporter is configured via Heroku config variables.
|
98
|
-
Oboe.reporter = Oboe::Reporter.new(nil, nil)
|
99
|
-
rescue Exception => e
|
100
|
-
$stderr.puts e.message
|
101
|
-
raise
|
102
|
-
end
|
103
|
-
|
data/lib/oboe-heroku/version.rb
CHANGED
data/oboe-heroku.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oboe-heroku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.0.
|
4
|
+
version: 0.8.0.19
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-10-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: oboe
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.
|
22
|
+
version: 2.3.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ! '>='
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: 2.
|
30
|
+
version: 2.3.2
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: rake
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|