scout_apm 0.9.1.2 → 0.9.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f485e75e0d1dae06350ea8c2b8f4e94ea8350ae8
4
- data.tar.gz: f762a6dc3cb8ec0bbb808d89aa64f31521cbc142
3
+ metadata.gz: bbea4acffc30ccb7fb554cd085463eeb3d141556
4
+ data.tar.gz: c5c409c96b5984fcf88d43e40ee8cb48648fe065
5
5
  SHA512:
6
- metadata.gz: 9df9927536aa3b70b717fd58dd86e8845f8e11a50dde942626eac1f5e219f9a8eec29c1fc64a3c9747be0be9713fed07111347a327540869f202fd1402ede489
7
- data.tar.gz: 215cbe760a2293eeb0df70375345109866270236ca6e8d3b0c291cd1ddadd231dd39ddfdcf7ffd45fa222b3efd8921320d22b30d8320e521bdae8c404433dda6
6
+ metadata.gz: 7402bd4950ba20e0b8bc7f0278fe9d5c138ff7a6f06ff28278bd7eb798ab3268f210acec7fd34d83ecb300e6787fa9f96c89eaaa2a775112299e1538646f0df9
7
+ data.tar.gz: af1dbddcbc2526b2cf8ee173db79142284bec69daeb56091805f91aab4222d01b5de4cfe017089c02188b6bf20b1a06b295d911c0f64b044c662069a8b1fd3d7
@@ -21,11 +21,27 @@ module ScoutApm
21
21
  end
22
22
 
23
23
  def present?
24
- if defined?(::Unicorn) && defined?(::Unicorn::HttpServer)
25
- # Ensure Unicorn is actually initialized. It could just be required and not running.
26
- ObjectSpace.each_object(::Unicorn::HttpServer) { |x| return true }
27
- false
24
+ if defined?(::Unicorn)
25
+ logger.debug "[UNICORN] - ::Unicorn is defined"
26
+ else
27
+ logger.debug "[UNICORN] - ::Unicorn was not found"
28
+ return false
28
29
  end
30
+
31
+ if defined?(::Unicorn::HttpServer)
32
+ logger.debug "[UNICORN] - ::Unicorn::HttpServer is defined"
33
+ else
34
+ logger.debug "[UNICORN] - ::Unicorn::HttpServer was not found"
35
+ end
36
+
37
+ # Ensure Unicorn is actually initialized. It could just be required and not running.
38
+ ObjectSpace.each_object(::Unicorn::HttpServer) do |x|
39
+ logger.debug "[UNICORN] - Running ::Unicorn::HttpServer found."
40
+ return true
41
+ end
42
+
43
+ logger.debug "[UNICORN] - Running ::Unicorn::HttpServer was not found."
44
+ false
29
45
  end
30
46
 
31
47
  def install
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "0.9.1.2"
2
+ VERSION = "0.9.1.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1.2
4
+ version: 0.9.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Haynes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-02 00:00:00.000000000 Z
12
+ date: 2015-10-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest