oboe-heroku 0.9.8.5 → 0.9.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/base.rb +8 -0
- data/lib/heroku_metal.rb +5 -4
- data/lib/oboe-heroku/version.rb +2 -2
- data/oboe-heroku.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1065da7d1a0f64f619796886b3878e12528b814a
|
4
|
+
data.tar.gz: 7fa251e99d9f6e16672f73a27d6fa0231a10a6d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af03f9c07f86dd002ebf19f6632dc3f16ade8d9ff9b628bb736d2f6c49aa32e0386b999303774b3570542e7ff23beab63d9ba12fb2ece01ecf63450140759738
|
7
|
+
data.tar.gz: 525626a0924328b46272688aa8599b31d7692a75cfea579001a67209b9c58f464d35652fc294b8650a02f95106b6bcd62db89712c7555933b450f041e53a61f3
|
data/lib/base.rb
CHANGED
@@ -58,6 +58,14 @@ module OboeBase
|
|
58
58
|
Context.log(layer, label, options = options)
|
59
59
|
end
|
60
60
|
|
61
|
+
def heroku?
|
62
|
+
true
|
63
|
+
end
|
64
|
+
|
65
|
+
def forking_webserver?
|
66
|
+
defined?(::Unicorn)
|
67
|
+
end
|
68
|
+
|
61
69
|
##
|
62
70
|
# These methods should be implemented by the descendants
|
63
71
|
# (Oboe_metal, Oboe_metal (JRuby), Heroku_metal)
|
data/lib/heroku_metal.rb
CHANGED
@@ -50,8 +50,8 @@ module Oboe_metal
|
|
50
50
|
|
51
51
|
# The Oboe Reporter is configured via Heroku config variables.
|
52
52
|
Oboe.reporter = Oboe::Reporter.new(nil, nil)
|
53
|
-
|
54
|
-
Oboe::API.report_init
|
53
|
+
|
54
|
+
Oboe::API.report_init
|
55
55
|
|
56
56
|
rescue Exception => e
|
57
57
|
$stderr.puts e.message
|
@@ -121,11 +121,12 @@ module Oboe
|
|
121
121
|
# such as Unicorn or Passenger
|
122
122
|
#
|
123
123
|
def disconnect!
|
124
|
-
|
124
|
+
# To avoid an issue with SSL reconnects, delay Reporter initialization
|
125
|
+
# until after the fork is completed. Here, do nothing for now.
|
125
126
|
end
|
126
127
|
|
127
128
|
def reconnect!
|
128
|
-
|
129
|
+
Oboe::Reporter.start
|
129
130
|
end
|
130
131
|
end
|
131
132
|
end
|
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.9.
|
4
|
+
version: 0.9.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Giacomo Lombardo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-03-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: oboe
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.
|
20
|
+
version: 2.6.1.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '>='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 2.
|
27
|
+
version: 2.6.1.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|