scout_apm 0.9.2.1 → 0.9.2.2

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: 3ae0a262166eab1ebb0add3f1ba3b18237394dd9
4
- data.tar.gz: f1dd1cac3c3d97f8cf2a3337854726622803082b
3
+ metadata.gz: 270bf16cf2be02cef0bfc11f628da5dbae7a8efc
4
+ data.tar.gz: c6194a663576500dbfbc2eda60ac30ede43cb24f
5
5
  SHA512:
6
- metadata.gz: b82c0b7461315228065f167696bcd867e7e5778a7e08042458a115247ac4a23c4e938fd817704130cc1672f57970f6f969a40655da6d9f4b843daac3331978b9
7
- data.tar.gz: 4573b5b3de0d3735e669fcb349e220ab06eb52a99352b0b55f885eb146e15de42e3b91dc1ff8d911e4d882dd31f462ab55d3392ca2fb9ef62590774f25c65b9b
6
+ metadata.gz: 37e428f93c79c5eac815b69f9a5d3ed8f8034abbaa0ff8aa6a2c98e7fe093a5b7a6244ce868bd46c1512e104cf55d88a4d84cb49274ca373f27bce85fa67dda0
7
+ data.tar.gz: 17d50f933f9a33f99b5f53055eeb39304a8e1f518546525b654b52adce62ec07ff5e687359953c80e007f9a1a2865e17cd4ce387670917dcdb0f1871dbbf7631
@@ -17,9 +17,8 @@ module ScoutApm
17
17
  defined?(::Sinatra) && defined?(::Sinatra::Base)
18
18
  end
19
19
 
20
- # TODO: Fetch the name
21
20
  def application_name
22
- possible = ObjectSpace.each_object(Class).select { |klass| klass < Sinatra::Base } - [Sinatra::Application]
21
+ possible = ObjectSpace.each_object(Class).select { |klass| klass < ::Sinatra::Base } - [::Sinatra::Application]
23
22
  if possible.length == 1
24
23
  possible.first.name
25
24
  else
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "0.9.2.1"
2
+ VERSION = "0.9.2.2"
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.2.1
4
+ version: 0.9.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Haynes