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 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
-
@@ -3,7 +3,7 @@ module OboeHeroku
3
3
  MAJOR = 0
4
4
  MINOR = 8
5
5
  PATCH = 0
6
- BUILD = 16
6
+ BUILD = 19
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
9
9
  end
data/oboe-heroku.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
 
19
19
  s.extensions = ['ext/oboe_metal/extconf.rb']
20
20
 
21
- s.add_dependency(%q<oboe>, [">= 2.1.4"])
21
+ s.add_dependency(%q<oboe>, [">= 2.3.2"])
22
22
 
23
23
  s.add_development_dependency 'rake'
24
24
  s.add_development_dependency 'rspec'
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.16
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-09-29 00:00:00.000000000 Z
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.1.4
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.1.4
30
+ version: 2.3.2
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: rake
33
33
  requirement: !ruby/object:Gem::Requirement